/* style/resources-w88-fast-gaming-experience.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #0a0a0a;
    --light-bg-color: #ffffff;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --login-button-color: #EA7C07;
}

.page-resources-w88-fast-gaming-experience {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for dark body background */
    background-color: var(--dark-bg-color); /* Body background from shared.css */
}

.page-resources-w88-fast-gaming-experience__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-w88-fast-gaming-experience__section-title {
    font-size: 2.5em;
    color: var(--text-on-dark);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-w88-fast-gaming-experience__section-subtitle {
    font-size: 1.2em;
    color: var(--text-on-dark);
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-w88-fast-gaming-experience__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 700px;
    padding: var(--header-offset, 120px) 0 60px; /* Use header offset */
    overflow: hidden;
    background-color: var(--dark-bg-color);
    color: var(--text-on-dark);
}

.page-resources-w88-fast-gaming-experience__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.page-resources-w88-fast-gaming-experience__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7); /* Allowed for background effect, not changing image color */
}

.page-resources-w88-fast-gaming-experience__hero-section > .page-resources-w88-fast-gaming-experience__container {
    position: relative;
    z-index: 2;
}

.page-resources-w88-fast-gaming-experience__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    line-height: 1.1;
}

.page-resources-w88-fast-gaming-experience__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-on-dark);
}

.page-resources-w88-fast-gaming-experience__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-w88-fast-gaming-experience__btn-primary,
.page-resources-w88-fast-gaming-experience__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

.page-resources-w88-fast-gaming-experience__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-w88-fast-gaming-experience__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-resources-w88-fast-gaming-experience__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-w88-fast-gaming-experience__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* General Section Styling */
.page-resources-w88-fast-gaming-experience__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--text-on-dark);
    padding: 80px 0;
}

.page-resources-w88-fast-gaming-experience__light-bg {
    background-color: var(--light-bg-color);
    color: var(--text-on-light);
    padding: 80px 0;
}

.page-resources-w88-fast-gaming-experience__light-bg .page-resources-w88-fast-gaming-experience__section-title {
    color: var(--text-on-light);
}

.page-resources-w88-fast-gaming-experience__light-bg .page-resources-w88-fast-gaming-experience__section-subtitle {
    color: var(--text-on-light);
}

/* Content Grid for About/Mobile Sections */
.page-resources-w88-fast-gaming-experience__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-resources-w88-fast-gaming-experience__content-grid--reverse {
    direction: rtl; /* Reverse order for content-grid, images on left */
}

.page-resources-w88-fast-gaming-experience__content-grid--reverse > * {
    direction: ltr; /* Reset text direction */
}

.page-resources-w88-fast-gaming-experience__text-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-resources-w88-fast-gaming-experience__image-wrapper {
    text-align: center;
}

.page-resources-w88-fast-gaming-experience__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-resources-w88-fast-gaming-experience__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-w88-fast-gaming-experience__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-w88-fast-gaming-experience__feature-card:hover {
    transform: translateY(-10px);
}

.page-resources-w88-fast-gaming-experience__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-w88-fast-gaming-experience__feature-card p {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-w88-fast-gaming-experience__card-link {
    display: inline-block;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-resources-w88-fast-gaming-experience__card-link:hover {
    background-color: #1e87b7;
}

/* Video Section */
.page-resources-w88-fast-gaming-experience__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-w88-fast-gaming-experience__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-resources-w88-fast-gaming-experience__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* FAQ Section */
.page-resources-w88-fast-gaming-experience__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-w88-fast-gaming-experience__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-w88-fast-gaming-experience__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

.page-resources-w88-fast-gaming-experience__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-w88-fast-gaming-experience__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-w88-fast-gaming-experience__faq-item.active .page-resources-w88-fast-gaming-experience__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-w88-fast-gaming-experience__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-on-light);
}

.page-resources-w88-fast-gaming-experience__faq-item.active .page-resources-w88-fast-gaming-experience__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-w88-fast-gaming-experience__faq-answer p {
    margin-bottom: 10px;
}

.page-resources-w88-fast-gaming-experience__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-resources-w88-fast-gaming-experience__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-resources-w88-fast-gaming-experience__cta-section {
    text-align: center;
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-w88-fast-gaming-experience__hero-title {
        font-size: 3em;
    }

    .page-resources-w88-fast-gaming-experience__hero-description {
        font-size: 1.2em;
    }

    .page-resources-w88-fast-gaming-experience__section-title {
        font-size: 2em;
    }

    .page-resources-w88-fast-gaming-experience__content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-resources-w88-fast-gaming-experience__content-grid--reverse {
        direction: ltr; /* Remove reverse on mobile */
    }
    .page-resources-w88-fast-gaming-experience__content-grid--reverse > * {
        direction: ltr;
    }

    .page-resources-w88-fast-gaming-experience__image-wrapper {
        order: -1; /* Image first on mobile for reverse grid */
    }

    .page-resources-w88-fast-gaming-experience__about-section .page-resources-w88-fast-gaming-experience__image-wrapper {
        order: 0; /* Image second for non-reverse grid */
    }
}

@media (max-width: 768px) {
    .page-resources-w88-fast-gaming-experience__hero-section {
        min-height: 500px;
        padding: var(--header-offset, 120px) 0 40px;
    }

    .page-resources-w88-fast-gaming-experience__hero-title {
        font-size: 2.5em;
    }

    .page-resources-w88-fast-gaming-experience__hero-description {
        font-size: 1em;
    }

    .page-resources-w88-fast-gaming-experience__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-resources-w88-fast-gaming-experience__btn-primary,
    .page-resources-w88-fast-gaming-experience__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-w88-fast-gaming-experience__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-w88-fast-gaming-experience__section-subtitle {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-resources-w88-fast-gaming-experience__dark-bg,
    .page-resources-w88-fast-gaming-experience__light-bg {
        padding: 60px 0;
    }
}