/* style/slot-games.css */

/* Variables from custom palette */
: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;
}

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

/* Text Colors */
.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 .text-gold {
    color: var(--page-slot-games-gold-color);
}

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    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: 700;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

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

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

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

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

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

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

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__introduction-section,
.page-slot-games__benefits-section,
.page-slot-games__strategy-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-slot-games__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-slot-games__text-block {
    flex: 1;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
}

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

.page-slot-games__text-block a:hover {
    text-decoration: underline;
}

.page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-slot-games__game-cards {
    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;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-slot-games-text-secondary);
    border: 1px solid var(--page-slot-games-border-color);
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
    padding: 0 15px;
}

.page-slot-games__card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 15px;
}

.page-slot-games__benefits-list,
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__benefits-list li,
.page-slot-games__strategy-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__benefits-list li::before,
.page-slot-games__strategy-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-slot-games-gold-color);
    font-size: 1.2rem;
    line-height: 1;
}

.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-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-secondary);
    border: 1px solid var(--page-slot-games-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-slot-games__step-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--page-slot-games-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: 1rem;
    line-height: 1.7;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}

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

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Details element specific styling */
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-item summary {
    list-style: none;
}

.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--page-slot-games-background);
    position: relative;
    overflow: hidden;
}

.page-slot-games__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-slot-games__cta-section .page-slot-games__section-title,
.page-slot-games__cta-section .page-slot-games__section-description,
.page-slot-games__cta-section .page-slot-games__btn-large {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__content-wrapper--reversed {
        flex-direction: column;
    }

    .page-slot-games__image-block {
        margin-top: 30px;
    }

    .page-slot-games__benefits-list li,
    .page-slot-games__strategy-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
        min-height: 500px;
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

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

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

    .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;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 auto;
    }

    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__benefits-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 50px 0;
    }

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

    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 20px;
    }

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

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

    .page-slot-games__card-image {
        height: 180px; /* Adjust for mobile if needed, but ensure >= 200px if original is smaller */
    }

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

    .page-slot-games__step-title {
        font-size: 1.4rem;
    }

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

    .page-slot-games__faq-answer {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .page-slot-games__cta-section .page-slot-games__btn-large {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
        min-height: 400px;
    }

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

    .page-slot-games__hero-description {
        font-size: 0.9rem;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .page-slot-games__card-image {
        height: 150px; /* Ensure still >= 200px if original image is larger */
    }

    .page-slot-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}