/* style/support.css */

/* --- General Styles for Support Page --- */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-support__section-title {
    font-size: 36px;
    color: #FFD700; /* Gold/Yellow for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-support__section-description {
    font-size: 18px;
    color: #cccccc;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    padding: 100px 20px 80px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, #CC0000 0%, #800000 100%); /* Deep red gradient */
    text-align: center;
    overflow: hidden;
}

.page-support__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-support__main-title {
    font-size: 48px;
    color: #FFD700; /* Gold/Yellow for H1 */
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-support__hero-description {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.7;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-support__cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #FFD700; /* Gold/Yellow CTA button */
    color: #CC0000; /* Red text for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.page-support__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-support__cta-button--secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: none;
}

.page-support__cta-button--secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Contact Options Section --- */
.page-support__contact-options-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Dark background */
}

.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__contact-card {
    background: #1a1a1a; /* Slightly lighter dark for card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333333;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-support__contact-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-width: 250px; /* Limit icon size */
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 2px solid #CC0000;
}

.page-support__card-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__contact-card p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 25px;
}

.page-support__card-button {
    display: inline-block;
    padding: 12px 30px;
    background: #CC0000; /* Red button for action */
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__card-button:hover {
    background: #990000; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #000000; /* Primary dark background */
}

.page-support__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #333333;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #1a1a1a; /* Darker background for question */
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    border-bottom: 1px solid transparent; /* To prevent double border when active */
}

.page-support__faq-item.active .page-support__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #2a2a2a;
    border-color: #CC0000;
}

.page-support__faq-question:hover {
    background: #2a2a2a;
}

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #FFD700; /* Gold/Yellow for FAQ question */
    pointer-events: none;
}

.page-support__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-support__faq-item.active .page-support__faq-toggle {
    color: #ffffff;
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #1a1a1a; /* Dark background for answer */
    color: #cccccc;
    font-size: 16px;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 10px 10px;
}

/* --- Guides Section --- */
.page-support__guides-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

.page-support__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__guide-card {
    display: block;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: 1px solid #333333;
}

.page-support__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-support__guide-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #CC0000;
}

.page-support__guide-card h3.page-support__guide-title {
    font-size: 22px;
    color: #FFD700;
    padding: 20px 20px 10px;
    margin: 0;
    font-weight: bold;
}

.page-support__guide-card p.page-support__guide-excerpt {
    font-size: 16px;
    color: #cccccc;
    padding: 0 20px 20px;
    margin: 0;
}

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

/* --- Responsible Gambling Section --- */
.page-support__responsible-gambling-section {
    padding: 80px 0;
    background-color: #000000;
    text-align: center;
}

.page-support__cta-button--outline {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.page-support__cta-button--outline:hover {
    background: #FFD700;
    color: #CC0000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 42px;
    }
    .page-support__hero-description {
        font-size: 18px;
    }
    .page-support__section-title {
        font-size: 32px;
    }
    .page-support__section-description {
        font-size: 16px;
    }
    .page-support__faq-question h3 {
        font-size: 17px;
    }
    .page-support__faq-toggle {
        font-size: 26px;
        width: 30px;
        height: 30px;
    }
    .page-support__guide-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }
    .page-support__main-title {
        font-size: 34px;
        margin-bottom: 15px;
    }
    .page-support__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .page-support__cta-button,
    .page-support__cta-button--secondary,
    .page-support__card-button,
    .page-support__cta-button--outline {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 14px 25px !important;
        font-size: 18px !important;
    }

    .page-support__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-support__contact-options-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__responsible-gambling-section {
        padding: 50px 0;
    }
    
    .page-support__container {
        padding: 0 15px;
    }

    .page-support__contact-grid,
    .page-support__guides-grid {
        gap: 20px;
    }

    .page-support__contact-card,
    .page-support__guide-card {
        padding: 25px;
    }

    .page-support__contact-icon {
        max-width: 200px;
    }

    .page-support__card-title {
        font-size: 20px;
    }
    .page-support__contact-card p {
        font-size: 15px;
    }

    .page-support__faq-list {
        margin-top: 30px;
    }
    .page-support__faq-question {
        padding: 18px 20px;
    }
    .page-support__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px); /* Adjust for toggle icon */
    }
    .page-support__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 10px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px !important;
    }
    
    .page-support__guide-image {
        height: 180px;
    }
    .page-support__guide-card h3.page-support__guide-title {
        font-size: 18px;
        padding: 15px 15px 8px;
    }
    .page-support__guide-card p.page-support__guide-excerpt {
        font-size: 14px;
        padding: 0 15px 15px;
    }
    .page-support__cta-bottom {
        margin-top: 40px;
    }

    /* Images and Videos Responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-support video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__contact-card,
    .page-support__guide-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-support__contact-options-section .page-support__container,
    .page-support__faq-section .page-support__container,
    .page-support__guides-section .page-support__container,
    .page-support__responsible-gambling-section .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: 28px;
    }
    .page-support__hero-description {
        font-size: 15px;
    }
    .page-support__section-title {
        font-size: 24px;
    }
    .page-support__faq-question h3 {
        font-size: 15px;
    }
    .page-support__faq-toggle {
        font-size: 22px;
        width: 26px;
        height: 26px;
    }
}