/* style/slot-games.css */
/* Custom color variables */
:root {
    --win55-primary-color: #11A84E;
    --win55-secondary-color: #22C768;
    --win55-button-gradient-start: #2AD16F;
    --win55-button-gradient-end: #13994A;
    --win55-card-bg: #11271B;
    --win55-background: #08160F;
    --win55-text-main: #F2FFF6;
    --win55-text-secondary: #A7D9B8;
    --win55-border-color: #2E7A4E;
    --win55-glow-color: #57E38D;
    --win55-gold-color: #F2C14E;
    --win55-divider-color: #1E3A2A;
    --win55-deep-green: #0A4B2C;
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    background-color: var(--win55-background);
    color: var(--win55-text-main);
    text-align: center;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7); /* Adjust brightness for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--win55-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.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-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, var(--win55-button-gradient-start) 0%, var(--win55-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--win55-primary-color);
    border: 2px solid var(--win55-primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--win55-primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-slot-games__intro-section,
.page-slot-games__promotions-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

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

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--win55-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: inherit; /* Inherit color from parent section */
}

.page-slot-games__text-block--center {
    text-align: center;
}

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

.page-slot-games__game-card,
.page-slot-games__feature-card,
.page-slot-games__step-card,
.page-slot-games__tip-card {
    background-color: var(--win55-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--win55-text-main);
    border: 1px solid var(--win55-border-color);
}

.page-slot-games__game-card:hover,
.page-slot-games__feature-card:hover,
.page-slot-games__step-card:hover,
.page-slot-games__tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-image,
.page-slot-games__feature-image,
.page-slot-games__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--win55-divider-color);
}

.page-slot-games__card-title,
.page-slot-games__feature-title,
.page-slot-games__step-title,
.page-slot-games__promo-title,
.page-slot-games__tip-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--win55-gold-color);
    margin-bottom: 15px;
}

.page-slot-games__card-description,
.page-slot-games__feature-description,
.page-slot-games__step-description,
.page-slot-games__tip-description {
    font-size: 1rem;
    color: var(--win55-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, var(--win55-button-gradient-start) 0%, var(--win55-button-gradient-end) 100%);
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__card-button:hover {
    opacity: 0.9;
}

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

.page-slot-games__promo-card {
    background-color: var(--win55-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--win55-text-main);
    border: 1px solid var(--win55-border-color);
}

.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-slot-games__promo-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--win55-text-secondary);
}

.page-slot-games__highlight-text {
    color: var(--win55-gold-color);
}

/* Guide Section */
.page-slot-games__cta-buttons--center {
    margin-top: 40px;
    text-align: center;
}

/* Features Section */
.page-slot-games__feature-card {
    background-color: var(--win55-card-bg);
    color: var(--win55-text-main);
    border: 1px solid var(--win55-border-color);
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--win55-gold-color);
    background-color: var(--win55-deep-green);
    border-bottom: 1px solid var(--win55-border-color);
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
    border-bottom: 1px solid var(--win55-border-color);
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--win55-gold-color);
    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: 20px 25px;
    font-size: 1.05rem;
    color: var(--win55-text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 15px;
    }

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

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

    .page-slot-games__description {
        font-size: 1rem;
    }

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

    .page-slot-games__text-block {
        font-size: 1rem;
    }

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

    .page-slot-games__promo-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__card-button,
    .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-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

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

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__feature-card,
    .page-slot-games__step-card,
    .page-slot-games__tip-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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