/* style/slot-games.css */

/* Custom properties for colors from the prompt */
:root {
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-background: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming body has dark background (var(--bg-dark)) */
.page-slot-games {
    background-color: var(--page-slot-games-background); /* Overall dark background */
    color: var(--page-slot-games-text-main); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Ensure default links are visible on dark background */
.page-slot-games a {
    color: var(--page-slot-games-gold); /* Gold for links */
    text-decoration: none;
}
.page-slot-games a:hover {
    text-decoration: underline;
    color: var(--page-slot-games-glow);
}

/* Section titles */
.page-slot-games__section-title {
    color: var(--page-slot-games-text-main);
    font-size: clamp(28px, 3.5vw, 48px); /* Responsive font size for H2 */
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Main titles (H1) */
.page-slot-games__main-title {
    color: var(--page-slot-games-gold); /* Gold for H1 */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* Text blocks */
.page-slot-games__text-block {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--page-slot-games-text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__highlight {
    color: var(--page-slot-games-glow);
    font-weight: bold;
}

/* Container for sections */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add some horizontal padding */
    box-sizing: border-box;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically if image allows */
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
    min-height: 500px;
    box-sizing: border-box;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--page-slot-games-glow); /* Glow color for secondary button text */
    border: 2px solid var(--page-slot-games-glow);
}

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-glow);
    color: var(--page-slot-games-deep-green); /* Darker text on hover */
    transform: translateY(-2px);
}

.page-slot-games__btn-link {
    background: transparent;
    color: var(--page-slot-games-gold);
    border: 1px solid var(--page-slot-games-border);
    padding: 8px 15px;
    font-size: 0.9em;
}
.page-slot-games__btn-link:hover {
    background: var(--page-slot-games-border);
    color: var(--page-slot-games-text-main);
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-dark-section-bg, var(--page-slot-games-deep-green));
}
.page-slot-games__dark-section {
    background-color: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-text-main);
}


/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

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

.page-slot-games__game-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-slot-games-border);
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-card-title {
    color: var(--page-slot-games-gold);
    font-size: 1.4em;
    margin: 20px 15px 10px;
}

.page-slot-games__game-card-description {
    color: var(--page-slot-games-text-secondary);
    padding: 0 15px 20px;
    font-size: 0.95em;
}

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


/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
}

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

.page-slot-games__step-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    border: 1px solid var(--page-slot-games-border);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--page-slot-games-glow);
    margin-bottom: 15px;
}

.page-slot-games__step-title {
    color: var(--page-slot-games-gold);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.9em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

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

.page-slot-games__promo-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-slot-games-border);
    color: var(--page-slot-games-text-main);
    display: flex;
    flex-direction: column;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-slot-games__promo-card-image {
    width: 100%;
    height: 180px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-card-title {
    color: var(--page-slot-games-gold);
    font-size: 1.3em;
    margin: 20px 15px 10px;
}

.page-slot-games__promo-card-description {
    color: var(--page-slot-games-text-secondary);
    padding: 0 15px;
    font-size: 0.9em;
    flex-grow: 1; /* Make description take available space */
}

.page-slot-games__promo-card .page-slot-games__btn-link {
    margin: 20px 15px 15px;
    align-self: flex-start; /* Align link to the left */
}

/* Security Section */
.page-slot-games__security-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games__security-text {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__security-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-slot-games-text-secondary);
    font-size: 1.05em;
}

.page-slot-games__security-list li {
    margin-bottom: 10px;
}

.page-slot-games__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-slot-games__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: block; /* Ensure no extra space below image */
    margin: 0 auto; /* Center image */
}

/* Responsible Gambling Section */
.page-slot-games__responsible-gambling-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__responsible-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-slot-games-text-secondary);
    font-size: 1.05em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__responsible-list li {
    margin-bottom: 10px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-slot-games-gold);
    background-color: var(--page-slot-games-card-bg); /* Ensure summary has background */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details tag */
}
.page-slot-games__faq-question::marker {
    display: none; /* Hide default marker for details tag */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or just change to '-' */
}
.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    background-color: var(--page-slot-games-deep-green); /* Darker background when open */
    border-bottom: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    background-color: var(--page-slot-games-card-bg);
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95em;
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
    text-align: center;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap */
}


/* --- Responsive Design --- */
/* All images responsive by default */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }

    .page-slot-games__hero-content {
        padding: 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(24px, 6vw, 36px); /* Adjust H1 for mobile */
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title {
        font-size: clamp(24px, 5vw, 36px);
        margin-bottom: 20px;
    }

    .page-slot-games__text-block {
        font-size: 15px;
    }

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

    .page-slot-games__game-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr; /* Single column layout for cards */
        gap: 20px;
    }

    .page-slot-games__game-card-image,
    .page-slot-games__promo-card-image {
        height: 150px; /* Smaller height for mobile card images */
    }

    .page-slot-games__security-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-slot-games__security-list,
    .page-slot-games__responsible-list {
        margin-left: 15px;
        font-size: 1em;
    }

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

    .page-slot-games__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9em;
    }

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

    /* Content area image/video container rules for mobile */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Specific image handling for mobile */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}