/* style/support.css */

.page-support {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-support__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.page-support__hero-container {
    position: relative;
    width: 100%;
    max-width: 100%; /* Ensure no overflow */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-support__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
    z-index: 10;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-support__hero-title {
    font-size: 2.8em;
    color: #FFD700; /* Auxiliary color for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-support__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color */
    color: #1A202C; /* Main color for text on auxiliary background */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__cta-button:hover {
    background-color: #e5c100; /* Slightly darker gold on hover */
    color: #000000;
}

.page-support__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-support__section-title {
    font-size: 2.2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
}

.page-support__section-intro {
    font-size: 1.1em;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* FAQ Section */
.page-support__faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-support__faq-item {
    background-color: #1A202C; /* Main color as background */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold border */
}

.page-support__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__faq-answer {
    font-size: 1em;
    color: #f0f0f0;
}

.page-support__faq-answer a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__faq-answer a:hover {
    color: #e5c100;
    text-decoration: underline;
}

.page-support__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-support__cta-bottom p {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 25px;
}

/* Guides Section */
.page-support__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-support__guide-card {
    background-color: #1A202C;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__guide-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.page-support__guide-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-support__guide-title a.page-support__guide-link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__guide-title a.page-support__guide-link:hover {
    color: #e5c100;
    text-decoration: underline;
}

.page-support__guide-description {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 20px;
    min-height: 80px; /* Ensure consistent height for description area */
}

.page-support__guide-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__guide-button:hover {
    background-color: #e5c100;
    color: #000000;
}

/* Contact Section */
.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-support__contact-option {
    background-color: #1A202C;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__contact-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__contact-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    min-height: 70px; /* Consistent height */
}

.page-support__contact-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__contact-button:hover {
    background-color: #e5c100;
    color: #000000;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    background-color: #1A202C;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    margin-top: 60px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-support__responsible-gaming-section .page-support__section-title {
    color: #FFD700;
}

.page-support__responsible-gaming-section .page-support__section-intro {
    color: #cccccc;
}

.page-support__responsible-gaming-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-support__responsible-gaming-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__responsible-gaming-text {
    flex: 2;
    min-width: 300px;
}

.page-support__responsible-gaming-text p {
    color: #f0f0f0;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-support__responsible-gaming-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-support__responsible-gaming-text ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-support__responsible-gaming-text a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__responsible-gaming-text a:hover {
    color: #e5c100;
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.4em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-content {
        width: 95%;
        padding: 15px;
    }
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 0.9em;
    }
    .page-support__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-support__content-area {
        padding: 40px 15px;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-support__faq-grid,
    .page-support__guides-grid,
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }
    .page-support__faq-question {
        font-size: 1.2em;
    }
    .page-support__guide-description,
    .page-support__contact-description {
        min-height: auto;
    }
    .page-support__responsible-gaming-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-support__responsible-gaming-image {
        max-width: 100%;
        width: 100%;
    }
    /* Mobile image overflow prevention */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.6em;
    }
    .page-support__hero-description {
        font-size: 0.85em;
    }
    .page-support__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__faq-question {
        font-size: 1.1em;
    }
}