/* 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: #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-background); /* #08160F */
    color: var(--page-slot-games-text-main); /* #F2FFF6 */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding */
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

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

.page-slot-games__main-title {
    font-weight: 700;
    color: var(--page-slot-games-gold); /* #F2C14E */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-size: 2.5em; /* Using em for relative sizing, will be adjusted by clamp if needed */
}

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

.page-slot-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
}

.page-slot-games__cta-buttons--center {
    margin-top: 40px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    min-width: 180px;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: var(--page-slot-games-text-main); /* #F2FFF6 */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--page-slot-games-primary-color); /* #11A84E */
    border: 2px solid var(--page-slot-games-primary-color); /* #11A84E */
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__section-title {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-slot-games-gold); /* #F2C14E */
}

.page-slot-games__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__introduction-section,
.page-slot-games__types-section,
.page-slot-games__tips-section,
.page-slot-games__promotions-section,
.page-slot-games__conclusion-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__how-to-play-section,
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG, but used for section background here for contrast */
    color: var(--page-slot-games-text-main);
}

.page-slot-games__how-to-play-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
    color: var(--page-slot-games-gold);
}

.page-slot-games__how-to-play-section .page-slot-games__text-block,
.page-slot-games__how-to-play-section .page-slot-games__steps-list,
.page-slot-games__how-to-play-section .page-slot-games__steps-list strong,
.page-slot-games__faq-section .page-slot-games__faq-item,
.page-slot-games__faq-section .page-slot-games__faq-question,
.page-slot-games__faq-section .page-slot-games__faq-answer {
    color: var(--page-slot-games-text-main);
}

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

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

.page-slot-games__type-card,
.page-slot-games__promo-card {
    background-color: var(--page-slot-games-card-bg); /* #11271B */
    border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-slot-games-gold); /* #F2C14E */
}

.page-slot-games__card-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

.page-slot-games__steps-list li {
    background-color: var(--page-slot-games-card-bg); /* #11271B */
    border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    font-size: 1.05em;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__steps-list li strong {
    color: var(--page-slot-games-gold); /* #F2C14E */
    flex-shrink: 0;
}

.page-slot-games__text-link {
    color: var(--page-slot-games-primary-color); /* #11A84E */
    text-decoration: underline;
}

.page-slot-games__text-link:hover {
    color: var(--page-slot-games-secondary-color); /* #22C768 */
}

.page-slot-games__content-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-slot-games__text-column {
    flex: 1;
}

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

.page-slot-games__image-right {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-slot-games__tips-list {
    list-style: disc;
    padding-left: 25px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__tips-list li {
    margin-bottom: 10px;
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__tips-list li strong {
    color: var(--page-slot-games-gold);
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg); /* #11271B */
    border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--page-slot-games-gold); /* #F2C14E */
    outline: none;
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-slot-games-primary-color); /* #11A84E */
}

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

.page-slot-games__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 2.2em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__content-flex {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__image-column {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 15px;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__hero-content {
        padding: 0 15px;
    }
    .page-slot-games__main-title {
        font-size: 1.8em;
    }
    .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 {
        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__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-slot-games__introduction-section,
    .page-slot-games__types-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__conclusion-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__faq-section {
        padding: 60px 0;
    }
    .page-slot-games__type-card-grid,
    .page-slot-games__promo-grid {
        gap: 20px;
    }
    .page-slot-games__card-image,
    .page-slot-games__image-right,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__type-card,
    .page-slot-games__promo-card,
    .page-slot-games__container,
    .page-slot-games__cta-buttons,
    .page-slot-games__content-flex,
    .page-slot-games__image-column,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__steps-list li,
    .page-slot-games__faq-item summary {
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.6em;
    }
    .page-slot-games__section-title {
        font-size: 1.4em;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-slot-games__steps-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}