/* style/slot-games.css */

/* Custom Colors */
:root {
    --page-slot-games-primary: #11A84E;
    --page-slot-games-secondary: #22C768;
    --page-slot-games-btn-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);
    color: var(--page-slot-games-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.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;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 20px 60px;
    max-width: 800px;
    width: 100%; /* Ensure content block takes full width up to max-width */
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 as per instruction */
    font-weight: 700;
    color: var(--page-slot-games-gold); /* Using gold for prominence */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

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

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

.page-slot-games__btn-primary {
    background: var(--page-slot-games-btn-gradient);
    color: var(--page-slot-games-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

.page-slot-games__btn-secondary {
    background-color: 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-color: var(--page-slot-games-gold);
    color: var(--page-slot-games-background);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-slot-games__text-block strong {
    color: var(--page-slot-games-gold);
}

/* Game Types Grid */
.page-slot-games__grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-slot-games__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--page-slot-games-border);
    color: var(--page-slot-games-text-main); /* Ensure text is light on dark card bg */
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

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

.page-slot-games__card-text {
    font-size: 0.95rem;
    color: var(--page-slot-games-text-secondary);
}

/* Provider List */
.page-slot-games__provider-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.page-slot-games__list-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 8px;
    padding: 15px 20px;
    color: var(--page-slot-games-text-main);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Strategy Section */
.page-slot-games__strategy-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__strategy-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: var(--page-slot-games-deep-green); /* Use a darker green for contrast */
    color: var(--page-slot-games-text-main);
    text-align: center;
}

.page-slot-games__promotion-banner {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* How-to-Play Section */
.page-slot-games__how-to-play-section .page-slot-games__grid {
    align-items: center;
}

.page-slot-games__steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-slot-games__step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__step-number {
    background: var(--page-slot-games-gold);
    color: var(--page-slot-games-background);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.page-slot-games__step-title {
    font-size: 1.3rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 5px;
    font-weight: 600;
}

.page-slot-games__registration-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-text-main);
}

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

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

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-slot-games-gold);
    background-color: var(--page-slot-games-card-bg);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-item summary:hover {
    background-color: var(--page-slot-games-divider);
}

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

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-slot-games-glow);
}

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

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        padding: 30px 15px 50px;
    }
    .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.6rem, 3.5vw, 2.2rem);
    }
    .page-slot-games__grid--2-cols {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__hero-content {
        padding: 20px 15px 40px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: 0.95rem;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Force responsive for images, videos, buttons */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__registration-image-wrapper,
    .page-slot-games__promotion-banner {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__grid,
    .page-slot-games__provider-list,
    .page-slot-games__strategy-item,
    .page-slot-games__steps,
    .page-slot-games__faq-list,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-slot-games__grid--3-cols,
    .page-slot-games__grid--2-cols {
        grid-template-columns: 1fr;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-slot-games__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
}