/* style/slot-games.css */

/* Custom Colors */
: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 from shared.css */
.page-slot-games {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

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

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

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

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--page-slot-games-glow);
}

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

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

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--page-slot-games-gold);
    border: 2px solid var(--page-slot-games-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-play {
    background: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-text-main);
    border: none;
    font-size: 0.9em;
    padding: 10px 20px;
}

.page-slot-games__btn-play:hover {
    background: var(--page-slot-games-glow);
    color: var(--page-slot-games-background);
}

.page-slot-games__btn-view-promo {
    background: transparent;
    color: var(--page-slot-games-gold);
    border: 1px solid var(--page-slot-games-gold);
    font-size: 0.9em;
    padding: 8px 18px;
}

.page-slot-games__btn-view-promo:hover {
    background: var(--page-slot-games-gold);
    color: var(--page-slot-games-background);
}

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font-size */
    color: var(--page-slot-games-text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
    padding: 80px 20px;
    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-bottom: 40px;
}

.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: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__game-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
    padding: 80px 20px;
    background-color: var(--page-slot-games-background); /* Using page background for consistency */
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-contrast-fix {
    color: var(--page-slot-games-text-main) !important; /* Ensure light text on dark background */
}

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

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

.page-slot-games__feature-icon {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__feature-title {
    font-size: 1.4em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 10px;
}

.page-slot-games__feature-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95em;
}

/* Promotions Section */
.page-slot-games__promotions {
    padding: 80px 20px;
    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-bottom: 40px;
}

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

.page-slot-games__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 10px;
}

.page-slot-games__promo-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    padding: 80px 20px;
    background-color: var(--page-slot-games-background);
}

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

.page-slot-games__step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    background-color: var(--page-slot-games-gold);
    color: var(--page-slot-games-background);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__step-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.9em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 20px;
    background-color: var(--page-slot-games-background);
}

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

.page-slot-games__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--page-slot-games-text-main);
    cursor: pointer;
    background-color: var(--page-slot-games-card-bg);
    border-radius: 8px;
    border: 1px solid var(--page-slot-games-border);
    transition: background-color 0.3s ease;
    list-style: none; /* For details tag */
}

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

.page-slot-games__faq-question:hover {
    background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__faq-answer {
    padding: 15px 25px 5px;
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
    background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card bg */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: 1px solid var(--page-slot-games-border);
    border-right: 1px solid var(--page-slot-games-border);
    border-bottom: 1px solid var(--page-slot-games-border);
    padding-top: 0;
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
    color: var(--page-slot-games-text-secondary);
}

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

@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;
    }

    .page-slot-games__hero-image-wrapper,
    .page-slot-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !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__games-showcase,
    .page-slot-games__why-choose-us,
    .page-slot-games__promotions,
    .page-slot-games__how-to-play,
    .page-slot-games__faq-section {
        padding: 40px 15px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-slot-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-slot-games__game-image,
    .page-slot-games__feature-icon,
    .page-slot-games__promo-image,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers with images */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__game-card,
    .page-slot-games__feature-item,
    .page-slot-games__promo-card,
    .page-slot-games__step-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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