/* style/slot-games.css */

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

.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: #26A9E0; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: var(--header-offset, 120px) 0 60px; /* Fixed header offset */
    overflow: hidden;
    background-color: #0d0d0d; /* Slightly lighter dark for hero background */
    text-align: center;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5rem;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
}

.page-slot-games__hero-description {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-slot-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box; /* Responsive button */
    white-space: normal; /* Responsive button */
    word-wrap: break-word; /* Responsive button */
}

.page-slot-games__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
    background-color: #1e87b6;
    border-color: #1e87b6;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* About Section */
.page-slot-games__about-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
}

.page-slot-games__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #f0f0f0;
}

.page-slot-games__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #f0f0f0;
}

.page-slot-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__game-card {
    background-color: #1f1f1f; /* Dark card background for this section */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
}

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

.page-slot-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-slot-games__game-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__game-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #cccccc;
}

/* Advantages Section */
.page-slot-games__advantages-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
}

.page-slot-games__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-slot-games__advantage-item {
    background-color: #1f1f1f;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__advantage-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__advantage-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__advantage-text {
    font-size: 0.95rem;
    color: #cccccc;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #f0f0f0;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-slot-games__step-card {
    background-color: #1f1f1f;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #f0f0f0;
}

.page-slot-games__step-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__step-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #cccccc;
}

.page-slot-games__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

.page-slot-games__cta-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: bold;
    color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
}

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

.page-slot-games__promo-card {
    background-color: #1f1f1f;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #f0f0f0;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
    margin-top: 15px;
    width: calc(100% - 40px); /* Adjust for padding */
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.page-slot-games__promo-card h3, .page-slot-games__promo-card p {
    padding: 0 20px;
}

.page-slot-games__promo-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__promo-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #cccccc;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #f0f0f0;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__faq-item {
    background-color: #1f1f1f;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    color: #26A9E0;
    background-color: #2a2a2a;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #3a3a3a;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #1f1f1f;
    color: #cccccc;
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 1rem;
}

/* Final CTA Section */
.page-slot-games__cta-final {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background from body */
    text-align: center;
    color: #ffffff;
}

.page-slot-games__cta-content {
    max-width: 800px;
}

.page-slot-games__cta-title {
    font-size: 2.8rem;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__cta-description {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3rem;
    }
    .page-slot-games__section-title {
        font-size: 2.2rem;
    }
    .page-slot-games__cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset is applied */
    }

    .page-slot-games__hero-title {
        font-size: 2.5rem;
    }

    .page-slot-games__hero-description {
        font-size: 1.1rem;
    }

    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title {
        font-size: 2rem;
    }

    .page-slot-games__section-description {
        font-size: 1rem;
    }

    .page-slot-games__content-grid {
        flex-direction: column;
    }

    .page-slot-games__games-grid,
    .page-slot-games__advantages-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__image-wrapper,
    .page-slot-games__game-card,
    .page-slot-games__advantage-item,
    .page-slot-games__step-card,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Removed as container already has it */
        /* padding-right: 15px; */ /* Removed as container already has it */
    }

    .page-slot-games__image,
    .page-slot-games__hero-image,
    .page-slot-games__game-image,
    .page-slot-games__advantage-icon,
    .page-slot-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__faq-question {
        font-size: 1.05rem;
        padding: 15px 20px;
    }

    .page-slot-games__faq-answer {
        padding: 10px 20px;
    }

    .page-slot-games__promo-card .page-slot-games__btn-secondary {
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-slot-games__cta-title {
        font-size: 2.2rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games__text-block strong.page-slot-games__text-highlight {
        color: #26A9E0 !important; /* Ensure highlights are visible */
    }
}

/* Color Contrast Enforcement */
.page-slot-games__dark-bg {
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #1f1f1f;
    color: #f0f0f0;
}

.page-slot-games a {
    color: #26A9E0;
    text-decoration: none;
}
.page-slot-games a:hover {
    text-decoration: underline;
    color: #1e87b6;
}

/* Specific color for login button if needed, as per custom color rules */
.page-slot-games__btn-login {
    background-color: #EA7C07; /* Orange for login */
    color: #ffffff;
    border: 2px solid #EA7C07;
}
.page-slot-games__btn-login:hover {
    background-color: #c06500;
    border-color: #c06500;
}

/* General text elements for contrast */
p,
li,
.page-slot-games__text-block p,
.page-slot-games__game-description,
.page-slot-games__advantage-text,
.page-slot-games__step-text,
.page-slot-games__promo-text,
.page-slot-games__faq-answer p {
    color: #cccccc;
}

.page-slot-games__text-highlight {
    color: #26A9E0;
    font-weight: bold;
}