/* style/slot-games-classic.css */

/* Base styles for the page content */
.page-slot-games-classic {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--black-color); /* Inherit from shared.css, assumed dark */
}

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

/* Hero Section */
.page-slot-games-classic__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Using brand primary color */
    overflow: hidden;
    min-height: 600px;
}

.page-slot-games-classic__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2; /* Subtle background image */
}

.page-slot-games-classic__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #ffffff;
}

.page-slot-games-classic__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-classic__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-slot-games-classic__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* For mobile responsiveness */
}

/* Section common styles */
.page-slot-games-classic__intro-section,
.page-slot-games-classic__popular-games,
.page-slot-games-classic__tips-strategies,
.page-slot-games-classic__faq-section {
    padding: 80px 0;
    color: #333333; /* Dark text for light background */
    background-color: #ffffff; /* Explicit light background */
}

.page-slot-games-classic__why-choose-us,
.page-slot-games-classic__how-to-play,
.page-slot-games-classic__promotions,
.page-slot-games-classic__cta-section {
    padding: 80px 0;
    color: #ffffff; /* Light text for dark background */
    background-color: #26A9E0; /* Brand primary color */
}

.page-slot-games-classic__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
}

.page-slot-games-classic__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-slot-games-classic__text-block a {
    color: #EA7C07; /* Login color for links, ensure contrast on white background */
    text-decoration: underline;
}

/* Image grid */
.page-slot-games-classic__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-slot-games-classic__grid-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Feature Grid */
.page-slot-games-classic__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games-classic__feature-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on brand primary */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-slot-games-classic__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-slot-games-classic__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games-classic__feature-card a {
    color: #EA7C07; /* Login color for links, ensure contrast on dark background */
    text-decoration: underline;
}

/* Game Grid */
.page-slot-games-classic__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-slot-games-classic__game-card {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    padding-bottom: 20px;
}

.page-slot-games-classic__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games-classic__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games-classic__game-title a {
    color: #26A9E0; /* Brand primary for game titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games-classic__game-title a:hover {
    color: #1a7bbd;
}

.page-slot-games-classic__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
}

/* How to Play / Tips & Strategies Lists */
.page-slot-games-classic__steps-list,
.page-slot-games-classic__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games-classic__list-item {
    background: rgba(255, 255, 255, 0.1); /* For dark sections */
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.page-slot-games-classic__light-bg .page-slot-games-classic__list-item {
    background: #f8f8f8; /* For light sections */
    color: #333333;
}

.page-slot-games-classic__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: inherit;
}

.page-slot-games-classic__list-item p {
    color: inherit;
}

.page-slot-games-classic__list-item a {
    color: #EA7C07; /* Login color for links */
    text-decoration: underline;
}

.page-slot-games-classic__full-width-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-slot-games-classic__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games-classic__promo-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-slot-games-classic__promo-card .page-slot-games-classic__card-title {
    color: #ffffff;
}

.page-slot-games-classic__promo-card .page-slot-games-classic__card-description {
    color: #f0f0f0;
}

.page-slot-games-classic__promo-card a {
    color: #EA7C07; /* Login color for links */
    text-decoration: underline;
}

/* FAQ Section */
.page-slot-games-classic__faq-list {
    margin-top: 40px;
}

.page-slot-games-classic__faq-item {
    background: #f8f8f8; /* Light background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games-classic__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #ffffff; /* White background for question area */
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-slot-games-classic__faq-question:hover {
    background-color: #eef;
}

.page-slot-games-classic__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-slot-games-classic__faq-item.active .page-slot-games-classic__faq-toggle {
    transform: rotate(45deg); /* Plus to X/minus */
}

.page-slot-games-classic__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-slot-games-classic__faq-item.active .page-slot-games-classic__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 25px;
}

.page-slot-games-classic__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
    color: #555555;
}

.page-slot-games-classic__faq-answer a {
    color: #26A9E0; /* Brand primary for links in FAQ answer */
    text-decoration: underline;
}

/* Call to Action Section */
.page-slot-games-classic__cta-content {
    text-align: center;
}

/* Buttons */
.page-slot-games-classic__btn-primary,
.page-slot-games-classic__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap; /* Prevent text wrapping for desktop */
    box-sizing: border-box;
}

.page-slot-games-classic__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-slot-games-classic__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
    transform: translateY(-2px);
}

.page-slot-games-classic__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand primary for secondary action */
    border: 2px solid #26A9E0;
}

.page-slot-games-classic__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-slot-games-classic__mt-40 {
    margin-top: 40px;
}

.page-slot-games-classic__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games-classic__hero-title {
        font-size: 3em;
    }
    .page-slot-games-classic__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games-classic__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-slot-games-classic__hero-title {
        font-size: 2.5em;
    }

    .page-slot-games-classic__hero-description {
        font-size: 1em;
    }

    .page-slot-games-classic__section-title {
        font-size: 1.8em;
    }

    .page-slot-games-classic__text-block {
        font-size: 1em;
        text-align: left; /* Adjust text alignment for mobile readability */
    }

    .page-slot-games-classic__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile image responsiveness */
    .page-slot-games-classic img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games-classic__image-grid,
    .page-slot-games-classic__feature-grid,
    .page-slot-games-classic__game-grid,
    .page-slot-games-classic__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games-classic__game-image {
        height: auto; /* Allow height to adjust for mobile */
    }

    /* Mobile button responsiveness */
    .page-slot-games-classic__btn-primary,
    .page-slot-games-classic__btn-secondary,
    .page-slot-games-classic a[class*="button"],
    .page-slot-games-classic a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center; /* Center button text */
    }
    
    .page-slot-games-classic__hero-buttons,
    .page-slot-games-classic__button-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to button group itself */
    }

    /* FAQ specific mobile styles */
    .page-slot-games-classic__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-slot-games-classic__faq-answer {
        padding: 0 20px;
    }

    .page-slot-games-classic__faq-item.active .page-slot-games-classic__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-slot-games-classic__list-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-slot-games-classic__hero-title {
        font-size: 2em;
    }
    .page-slot-games-classic__section-title {
        font-size: 1.5em;
    }
    .page-slot-games-classic__feature-card,
    .page-slot-games-classic__game-card,
    .page-slot-games-classic__promo-card {
        padding: 20px;
    }
    .page-slot-games-classic__card-title,
    .page-slot-games-classic__game-title {
        font-size: 1.3em;
    }
}

/* Ensure no filter on images */
.page-slot-games-classic img {
    filter: none; /* Absolutely no CSS filter for images */
}

/* Contrast Fixes */
.page-slot-games-classic__dark-bg a {
    color: #EA7C07; /* Login color on dark background */
}
.page-slot-games-classic__light-bg a {
    color: #26A9E0; /* Primary brand color on light background */
}
.page-slot-games-classic__text-block a {
    color: #EA7C07; /* Login color for text links */
}
.page-slot-games-classic__faq-answer a {
    color: #26A9E0; /* Primary brand color for FAQ links */
}