/* style/slot-games.css */

/* Custom Colors */
:root {
    --page-slot-games-primary-color: #11A84E;
    --page-slot-games-secondary-color: #22C768;
    --page-slot-games-btn-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;
}

.page-slot-games {
    background-color: var(--page-slot-games-background); /* Dark background from custom colors */
    color: var(--page-slot-games-text-secondary); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Sections */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-color: var(--page-slot-games-background);
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
    color: var(--page-slot-games-text-main);
    background-color: var(--page-slot-games-deep-green);
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--page-slot-games-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-slot-games__description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-btn-gradient);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--page-slot-games-glow), 0.4);
}

.page-slot-games__btn-secondary {
    background: none;
    color: var(--page-slot-games-text-main);
    border-color: var(--page-slot-games-border);
}

.page-slot-games__btn-secondary:hover {
    background-color: rgba(var(--page-slot-games-text-main), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--page-slot-games-glow), 0.2);
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-slot-games__btn-large {
    padding: 16px 35px;
    font-size: 1.1rem;
}

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

.page-slot-games__intro-section,
.page-slot-games__featured-games-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
    background-color: var(--page-slot-games-text-main);
    color: #333333; /* Dark text for light background */
}

.page-slot-games__why-choose-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-strategy-section,
.page-slot-games__cta-section {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-secondary); /* Light text for dark background */
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-slot-games-primary-color); /* Use primary color for section titles on light backgrounds */
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__text-main {
    color: var(--page-slot-games-text-main); /* White text for section titles on dark backgrounds */
}

.page-slot-games__text-block {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.page-slot-games__text-secondary {
    color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-slot-games-text-secondary);
    border: 1px solid var(--page-slot-games-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(var(--page-slot-games-glow), 0.3);
}

.page-slot-games__card-image,
.page-slot-games__game-thumbnail,
.page-slot-games__promo-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-slot-games__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

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

.page-slot-games__game-card .page-slot-games__card-title,
.page-slot-games__promo-card .page-slot-games__card-title {
    color: var(--page-slot-games-primary-color); /* Use primary color for titles on light background */
}

.page-slot-games__game-card,
.page-slot-games__promo-card {
    background-color: #ffffff;
    color: #333333; /* Dark text for light card background */
    border: 1px solid #e0e0e0;
}

.page-slot-games__game-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__game-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

/* How To Play Steps */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-card {
    padding-top: 60px;
    position: relative;
}

.page-slot-games__step-number {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-slot-games-gold);
    color: #000000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--page-slot-games-text-main);
}

/* Tips List */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__list-item {
    background-color: var(--page-slot-games-card-bg);
    border-left: 5px solid var(--page-slot-games-primary-color);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__list-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__list-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.page-slot-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333; /* Dark text for light background */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #f9f9f9;
    color: var(--page-slot-games-primary-color);
    border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid #e0e0e0;
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 25px;
    text-align: center;
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
}

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

.page-slot-games__cta-container .page-slot-games__section-title {
    margin-bottom: 25px;
}

.page-slot-games__cta-container .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

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

    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }

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

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

    .page-slot-games__description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        font-size: 1rem !important;
    }

    .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__container {
        padding: 30px 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-list,
    .page-slot-games__promo-list,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-slot-games__card {
        padding: 20px;
    }

    .page-slot-games__card-image,
    .page-slot-games__game-thumbnail,
    .page-slot-games__promo-thumbnail,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: auto !important; /* Adjust height for aspect ratio */
    }

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

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

    .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,
    .page-slot-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
}