/* style/slot-games.css */

/* Variables for colors */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A202C; /* Dark Charcoal */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #1A202C;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Assuming body background is dark */
}

.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;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-light); /* Ensure contrast on dark background */
}

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

/* Buttons */
.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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure padding/border included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-slot-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button */
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background-color: #e6c200; /* Darken primary color */
    border-color: #e6c200;
    color: var(--text-light);
}

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

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding: 60px 20px;
    background-color: var(--background-dark);
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden; /* Prevent image overflow */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: var(--text-light);
}

.page-slot-games__hero-title {
    font-size: 3.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
}

/* About Slots Section */
.page-slot-games__about-slots-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

/* Why Kubet Section */
.page-slot-games__why-kubet-section {
    padding: 80px 0;
    background-color: var(--background-light); /* Light background for contrast */
    color: var(--text-dark); /* Dark text on light background */
}

.page-slot-games__why-kubet-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

.page-slot-games__why-kubet-section .page-slot-games__text-block {
    color: var(--text-dark);
}

.page-slot-games__why-kubet-section .page-slot-games__highlight {
    color: var(--primary-color);
}

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

.page-slot-games__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.page-slot-games__feature-card:hover {
    transform: translateY(-10px);
}

.page-slot-games__feature-icon {
    width: 100%; /* Ensure large image */
    height: auto;
    max-height: 250px; /* Limit height */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: var(--text-dark);
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.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: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: var(--text-light);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-slot-games__promotions-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

.page-slot-games__promotions-section .page-slot-games__text-block {
    color: var(--text-dark);
}

.page-slot-games__promotions-section .page-slot-games__highlight {
    color: var(--primary-color);
}

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

.page-slot-games__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    text-align: center;
}

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

.page-slot-games__promo-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-slot-games__promo-description {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

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

.page-slot-games__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #e5e5e5;
}

.page-slot-games__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: var(--secondary-color);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
    background-color: #ffffff;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px 25px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.page-slot-games__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.2em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }

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

    .page-slot-games__hero-cta-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    /* Images responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
    }

    /* Ensure content containers don't overflow */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__feature-card,
    .page-slot-games__step-card,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Specific adjustment for cards that already have internal padding */
    .page-slot-games__feature-card,
    .page-slot-games__step-card,
    .page-slot-games__promo-card {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-slot-games__faq-item {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__faq-question {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-slot-games__faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
}