/* style/slot-games.css */

/* Custom properties for colors */
:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
    --primary-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --primary-color: #11A84E; /* Main color */
    --secondary-color: #22C768; /* Auxiliary color */
}

.page-slot-games {
    background-color: var(--page-bg);
    color: var(--text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
}

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 */
    font-weight: bold;
    color: var(--gold-color); /* Using gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

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

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

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

.page-slot-games__btn-primary {
    background: var(--primary-btn-gradient);
    color: var(--text-main); /* Light text */
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    filter: brightness(1.1);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
}

/* General Section Styling */
.page-slot-games__about-section,
.page-slot-games__game-showcase,
.page-slot-games__promotions-section,
.page-slot-games__how-to-start,
.page-slot-games__tips-section,
.page-slot-games__responsible-gaming-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final {
    padding: 80px 0;
    position: relative;
    z-index: 0;
}

.page-slot-games__dark-bg {
    background-color: var(--page-bg);
    color: var(--text-main);
}

.page-slot-games__light-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-slot-games__deep-green-bg {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-slot-games__card {
    background-color: var(--card-bg);
    color: var(--text-main);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

/* Features Grid */
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__feature-item {
    text-align: center;
}

.page-slot-games__feature-icon {
    width: 100%; /* Image width within card */
    height: auto;
    max-height: 200px; /* Constrain height */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.page-slot-games__game-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-slot-games__game-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-slot-games__btn-play {
    background: var(--primary-btn-gradient);
    color: var(--text-main);
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(17, 168, 78, 0.3);
}

.page-slot-games__btn-play:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(17, 168, 78, 0.5);
}

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

.page-slot-games__promo-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__promo-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slot-games__btn-promo {
    background-color: var(--secondary-color);
    color: var(--text-main);
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(34, 199, 104, 0.3);
}

.page-slot-games__btn-promo:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(34, 199, 104, 0.5);
}

/* How-to-Start Steps */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-slot-games__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-slot-games__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--primary-btn-gradient);
    color: var(--text-main);
    font-size: 2em;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

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

.page-slot-games__step-item p {
    color: var(--text-secondary);
}

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

/* Tips Section */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 50px auto 0 auto;
    text-align: left;
}

.page-slot-games__tips-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-size: 1.05em;
}

.page-slot-games__tips-list li strong {
    color: var(--primary-color);
}

/* Responsible Gaming */
.page-slot-games__responsible-gaming-section {
    text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

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

.page-slot-games__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: var(--card-bg);
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1); /* Slightly lighter hover */
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: var(--gold-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: "−";
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}

.page-slot-games__faq-answer p {
    margin-top: 15px;
}

/* Final CTA */
.page-slot-games__cta-final {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        margin-bottom: 30px;
    }
    .page-slot-games__features-grid,
    .page-slot-games__games-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-slot-games__hero-content {
        padding: 0 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play,
    .page-slot-games__btn-promo,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* All images responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    /* All video responsive (though none are currently in HTML) */
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* All content containers for mobile */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
    }

    .page-slot-games__about-section,
    .page-slot-games__game-showcase,
    .page-slot-games__promotions-section,
    .page-slot-games__how-to-start,
    .page-slot-games__tips-section,
    .page-slot-games__responsible-gaming-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final {
        padding: 40px 0;
    }
    .page-slot-games__text-block {
        margin-bottom: 30px;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        font-size: 1em;
        padding: 0 20px 15px 20px;
    }
    .page-slot-games__tips-list li {
        font-size: 1em;
        padding: 15px 20px;
    }
}