/* style/slot-games.css */

/* Custom Colors */
:root {
    --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.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: #f8f9fa; /* Default light background for contrast */
    color: #333333; /* Dark text for light background */
}

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

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

.page-slot-games__gold {
    color: var(--page-slot-games-gold);
}

.page-slot-games__card-bg {
    background-color: var(--page-slot-games-card-bg);
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 30px; /* Space between image and content */
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-slot-games-gold);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__hero-description {
    font-size: clamp(1em, 1.5vw, 1.25em);
    margin-bottom: 30px;
    color: var(--page-slot-games-text-secondary);
}

.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;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-btn-gradient);
    color: #ffffff;
    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-gold);
    border: 2px solid var(--page-slot-games-gold);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-gold);
    color: var(--page-slot-games-background);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

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

.page-slot-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__section:last-of-type {
    border-bottom: none;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-slot-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--page-slot-games-gold);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-slot-games__grid--two-columns {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.page-slot-games__grid--reverse {
    flex-direction: row-reverse;
}

.page-slot-games__card {
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-slot-games-border);
}

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

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

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-slot-games__card-description {
    font-size: 0.95em;
    line-height: 1.5;
}

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

.page-slot-games__feature-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

.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 {
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-slot-games-border);
    position: relative;
    overflow: hidden;
}

.page-slot-games__step-number {
    font-size: 3em;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0.1;
    line-height: 1;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 15px;
    padding-top: 40px; /* Space for step number */
}

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

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__list-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--page-slot-games-gold);
}

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

.page-slot-games__list-description {
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__faq-item {
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-slot-games__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.1);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-slot-games__grid--two-columns {
        grid-template-columns: 1fr;
    }

    .page-slot-games__grid--reverse {
        flex-direction: column;
    }
    
    .page-slot-games__hero-content {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }

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

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

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

    .page-slot-games__hero-description {
        font-size: clamp(0.9em, 3vw, 1.1em);
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__card-image,
    .page-slot-games__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__container,
    .page-slot-games__card,
    .page-slot-games__step-card,
    .page-slot-games__list-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games__hero-image-wrapper {
        max-height: 400px;
    }

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

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

    .page-slot-games__step-title {
        font-size: 1.4em;
        padding-top: 30px;
    }

    .page-slot-games__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 1.8em;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }

    .page-slot-games__hero-description {
        font-size: clamp(0.85em, 3.5vw, 1em);
    }

    .page-slot-games__card-title {
        font-size: 1.3em;
    }

    .page-slot-games__list-title {
        font-size: 1.2em;
    }
}