/* style/slot-games.css */

/* Custom Colors */
:root {
    --page-slot-games-bg: #08160F;
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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-bg);
    color: var(--page-slot-games-text-main);
    font-family: 'Arial', sans-serif;
}

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

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 2;
    padding: 0 20px;
}

.page-slot-games__hero-title {
    color: var(--page-slot-games-gold);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

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

/* Section Titles */
.page-slot-games__section-title {
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--page-slot-games-text-main);
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--page-slot-games-glow);
    border-radius: 2px;
}

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

.page-slot-games__sub-title {
    color: var(--page-slot-games-gold);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Text Blocks */
.page-slot-games__text-block p {
    line-height: 1.7;
    margin-bottom: 1em;
    color: var(--page-slot-games-text-main);
}

/* Buttons */
.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;
    font-weight: 700;
    font-size: 1.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-btn-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

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

.page-slot-games__button-group {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

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

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

.page-slot-games__card-title {
    color: var(--page-slot-games-gold);
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-slot-games__card-title a {
    color: var(--page-slot-games-gold);
    text-decoration: none;
}

.page-slot-games__card-title a:hover {
    text-decoration: underline;
}

.page-slot-games__card-description {
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-bg);
}

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

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

.page-slot-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__game-card {
    text-align: center;
    padding: 20px;
}

.page-slot-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

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

.page-slot-games__step-card {
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-card .page-slot-games__btn-secondary {
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__tip-item {
    padding: 25px;
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__tip-item p {
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__promo-card {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
    margin-top: 20px;
}

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

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-slot-games__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    width: 30px;
    text-align: center;
    color: var(--page-slot-games-glow);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    background-color: var(--page-slot-games-deep-green);
}

/* Dark/Light Background Specifics for Contrast */
.page-slot-games__dark-section {
    background-color: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-contrast-fix {
    color: var(--page-slot-games-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .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-top: 10px !important;
        padding-bottom: 40px;
    }

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

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

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

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

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

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

    .page-slot-games__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__step-card,
    .page-slot-games__promo-card,
    .page-slot-games__tip-item {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games img {
        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;
    }

    .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__cta-buttons {
        flex-direction: column;
    }

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

    .page-slot-games__faq-qtext {
        font-size: 1em;
    }

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