/* 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 dark background */
    background-color: var(--page-slot-games-background); /* Default background */
}

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

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

.page-slot-games__text-contrast-fix {
    color: #333333; /* Ensure dark text on light background */
}

.page-slot-games__text-link {
    color: var(--page-slot-games-gold-color); /* Use gold for links */
    text-decoration: none;
}

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

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-slot-games__main-title {
    color: var(--page-slot-games-text-main);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 100%;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-slot-games__description {
    color: var(--page-slot-games-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.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 {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

.page-slot-games__content-section,
.page-slot-games__game-providers-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-section,
.page-slot-games__promotions-section,
.page-slot-games__why-choose-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--page-slot-games-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #333333;
}

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

.page-slot-games__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--page-slot-games-text-main);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-slot-games__light-bg .page-slot-games__sub-title {
    color: #333333;
}

.page-slot-games__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__light-bg .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__highlight {
    color: var(--page-slot-games-gold-color);
    font-weight: bold;
}

.page-slot-games__feature-list,
.page-slot-games__tips-list,
.page-slot-games__advantages-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-slot-games__feature-item,
.page-slot-games__tip-item,
.page-slot-games__advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background-color: var(--page-slot-games-card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--page-slot-games-border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-slot-games__light-bg .page-slot-games__feature-item,
.page-slot-games__light-bg .page-slot-games__tip-item,
.page-slot-games__light-bg .page-slot-games__advantage-item {
    background-color: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-slot-games__feature-icon,
.page-slot-games__advantage-icon {
    font-size: 1.8rem;
    color: var(--page-slot-games-gold-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.page-slot-games__feature-text,
.page-slot-games__tip-description,
.page-slot-games__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__light-bg .page-slot-games__feature-text,
.page-slot-games__light-bg .page-slot-games__tip-description,
.page-slot-games__light-bg .page-slot-games__card-description {
    color: #555555;
}

.page-slot-games__game-providers-section {
    background-color: #f8f8f8;
}

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

.page-slot-games__provider-card,
.page-slot-games__step-card,
.page-slot-games__promotion-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--page-slot-games-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__light-bg .page-slot-games__provider-card,
.page-slot-games__light-bg .page-slot-games__step-card,
.page-slot-games__light-bg .page-slot-games__promotion-card {
    background-color: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-slot-games__provider-logo,
.page-slot-games__step-image,
.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    max-height: 200px; /* Limit height for uniform cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__card-title {
    font-size: 1.35rem;
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-slot-games__light-bg .page-slot-games__card-title {
    color: #333333;
}

.page-slot-games__step-card .page-slot-games__card-title {
    min-height: 40px; /* Ensure consistent height for titles */
}

.page-slot-games__tips-section .page-slot-games__tip-title {
    font-size: 1.25rem;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 10px;
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
}

.page-slot-games__light-bg .page-slot-games__faq-item {
    background-color: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-slot-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--page-slot-games-text-main);
    position: relative;
}

.page-slot-games__light-bg .page-slot-games__faq-item summary {
    color: #333333;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.page-slot-games__light-bg .page-slot-games__faq-answer {
    color: #555555;
}

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

.page-slot-games__advantage-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.page-slot-games__advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    margin-right: 0;
}

.page-slot-games__advantage-item .page-slot-games__card-title {
    margin-bottom: 10px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding: 40px 20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__description {
        font-size: 1rem;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-slot-games__sub-title {
        font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust clamp for mobile */
    }
    .page-slot-games__description {
        font-size: 0.95rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__content-section,
    .page-slot-games__game-providers-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-bottom-section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-slot-games__sub-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }
    .page-slot-games__text-block {
        font-size: 0.95rem;
    }
    .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__provider-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotion-cards,
    .page-slot-games__faq-list,
    .page-slot-games__advantages-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__provider-card,
    .page-slot-games__step-card,
    .page-slot-games__promotion-card,
    .page-slot-games__advantage-item {
        padding: 20px;
    }
    .page-slot-games__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section {
        padding: 20px 10px;
        padding-top: 10px !important;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: 0.9rem;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }
    .page-slot-games__sub-title {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
    }
    .page-slot-games__text-block {
        font-size: 0.9rem;
    }
    .page-slot-games__feature-item,
    .page-slot-games__tip-item,
    .page-slot-games__advantage-item {
        padding: 15px;
    }
    .page-slot-games__faq-item summary {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px 12px;
    }
}