/* style/slot-games.css */

/* Variables for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Page background */
}

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

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-text-main);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    min-height: 600px;
    overflow: hidden;
}

.page-slot-games__hero-image {
    position: relative; /* Changed from absolute to relative to be in normal flow */
    width: 100%;
    height: auto;
    max-height: 675px;
    object-fit: cover;
    z-index: 1;
    margin-bottom: 40px;
}

.page-slot-games__hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin-bottom: 40px; /* Space between content and image */
}

.page-slot-games__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--color-primary);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure desktop width is 100% */
    max-width: 1000px; /* Max width for video */
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 20px;
}

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

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

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-divider);
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Popular Games Section */
.page-slot-games__popular-games {
    padding: 60px 20px;
}

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

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

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__game-image {
    width: 100%;
    height: 180px; /* Fixed height for game thumbnails */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--color-divider);
}

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

.page-slot-games__game-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    padding: 60px 20px;
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-slot-games__step-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-slot-games__step-number {
    font-size: 2em;
    font-weight: bold;
    color: var(--color-gold);
    margin-right: 20px;
    background-color: var(--color-deep-green);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--color-glow);
}

.page-slot-games__step-content {
    text-align: left;
}

.page-slot-games__step-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-slot-games__step-description a {
    color: var(--color-glow);
    text-decoration: underline;
}

.page-slot-games__step-description a:hover {
    color: var(--color-gold);
}

/* Security Section */
.page-slot-games__security-section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px auto;
    display: block;
    border: 1px solid var(--color-divider);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__promotion-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px auto;
    display: block;
    border: 1px solid var(--color-divider);
}

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

.page-slot-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-slot-games__faq-item {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-slot-games__faq-answer p {
    margin-bottom: 0;
}

.page-slot-games__faq-answer a {
    color: var(--color-glow);
    text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
    color: var(--color-gold);
}

/* Final CTA Section */
.page-slot-games__cta-final {
    padding: 60px 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section,
    .page-slot-games__video-section,
    .page-slot-games__features-section,
    .page-slot-games__popular-games,
    .page-slot-games__how-to-play,
    .page-slot-games__security-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final {
        padding: 40px 15px;
    }

    .page-slot-games__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

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

    .page-slot-games__section-description,
    .page-slot-games__hero-description {
        font-size: 1em;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-slot-games__video-wrapper {
        padding-bottom: 56.25%;
        height: auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__faq-item,
    .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__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .page-slot-games__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-slot-games__step-content {
        text-align: center;
    }

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

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.5rem, 9vw, 2rem);
    }
}