/* style/slot-games.css */

/* Variables from custom color scheme */
:root {
    --page-slot-games-primary-color: #11A84E;
    --page-slot-games-secondary-color: #22C768;
    --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-color: #2E7A4E;
    --page-slot-games-glow-color: #57E38D;
    --page-slot-games-gold-color: #F2C14E;
    --page-slot-games-divider-color: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

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

/* Ensure headings and paragraphs inherit color or are explicitly set for contrast */
.page-slot-games h1, .page-slot-games h2, .page-slot-games h3, .page-slot-games h4, .page-slot-games h5, .page-slot-games h6 {
    color: var(--page-slot-games-text-main);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-slot-games p {
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-link {
    color: var(--page-slot-games-gold-color);
    text-decoration: underline;
}

.page-slot-games__text-link:hover {
    color: var(--page-slot-games-glow-color);
}

/* Section styling */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-slot-games__light-bg h1, .page-slot-games__light-bg h2, .page-slot-games__light-bg h3 {
    color: #000000;
}

.page-slot-games__light-bg p, .page-slot-games__light-bg li {
    color: #333333;
}

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

.page-slot-games__section-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
}

.page-slot-games__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__list-item::before {
    content: '•';
    color: var(--page-slot-games-glow-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

/* Hero Section */
.page-slot-games__hero-section {
    padding: 10px 0 60px 0; /* body already handles padding-top, this is decorative */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text contrast */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px 15px;
    text-align: center;
    margin-top: -150px; /* Adjust to pull content up over darkened image, but not overlap */
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    color: var(--page-slot-games-text-main);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-text {
    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;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--page-slot-games-glow-color); /* Glow color text for secondary */
    border: 2px solid var(--page-slot-games-glow-color);
    box-shadow: 0 2px 10px rgba(87, 227, 141, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-slot-games__btn-text {
    background: transparent;
    color: var(--page-slot-games-gold-color);
    border: none;
    padding: 5px 10px;
    font-size: 0.95em;
    text-decoration: underline;
}

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

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px; /* Ensure content spacing */
    border: 1px solid var(--page-slot-games-border-color);
}

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

.page-slot-games__card-image,
.page-slot-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid var(--page-slot-games-divider-color);
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__card-title,
.page-slot-games__promo-title {
    font-size: 1.6em;
    margin: 20px 15px 10px;
    color: var(--page-slot-games-gold-color);
}

.page-slot-games__card-description,
.page-slot-games__promo-description {
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
    padding: 0 15px;
    margin-bottom: 20px;
}

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

.page-slot-games__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__step-item h3 {
    color: var(--page-slot-games-deep-green);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-slot-games__step-icon {
    width: 50px;
    height: 50px;
    background: var(--page-slot-games-button-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.4);
}

.page-slot-games__step-description {
    color: #555555;
    margin-bottom: 15px;
}

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

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

.page-slot-games__faq-item[open] {
    background-color: var(--page-slot-games-deep-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: var(--page-slot-games-glow-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: 0 25px 20px;
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__faq-answer .page-slot-games__text-link {
    color: var(--page-slot-games-gold-color);
}

/* Final CTA */
.page-slot-games__final-cta {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__final-cta .page-slot-games__section-title {
    color: #ffffff;
    margin-bottom: 30px;
}

.page-slot-games__final-cta .page-slot-games__text-block {
    color: var(--page-slot-games-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* General image styling */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none; /* No CSS filter to change image color */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -100px;
    }
    .page-slot-games__main-title {
        font-size: 2.8em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 15px;
    }
    .page-slot-games__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-slot-games__hero-content {
        margin-top: -80px;
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: 2.2em;
    }
    .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-text {
        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__card-image,
    .page-slot-games__promo-image {
        height: 180px; /* Adjust height for mobile */
    }
    .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__promo-card,
    .page-slot-games__step-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }
    .page-slot-games__card-image,
    .page-slot-games__promo-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8em;
    }
    .page-slot-games__hero-description {
        font-size: 0.95em;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-slot-games__hero-content {
        margin-top: -60px;
    }
}