/* style/slot-games.css */

/* Base Styles for page-slot-games */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Main content background is transparent to show body background */
}

.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: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text on dark background */
}

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small padding-top as body handles header offset */
    background: linear-gradient(135deg, #1a1a2e, #0f0f1d); /* Dark gradient for hero background */
    color: #ffffff;
    text-align: center;
}

.page-slot-games__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    order: 2; /* Text below image */
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login button color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    order: 1; /* Image above text */
}

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

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background from body */
    color: #ffffff;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 60px 0;
    background-color: #0f0f1d; /* Slightly lighter dark background */
}

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent light background for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #f0f0f0;
}

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

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

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__btn-text {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-slot-games__btn-text:hover {
    color: #ffffff;
}

.page-slot-games__arrow {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.page-slot-games__btn-text:hover .page-slot-games__arrow {
    margin-left: 12px;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-slot-games__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-slot-games__feature-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
    background-color: #0f0f1d;
}

.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    color: #f0f0f0;
}

.page-slot-games__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #26A9E0;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #0f0f1d;
}

.page-slot-games__step-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Tips Section */
.page-slot-games__tips-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

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

.page-slot-games__card--no-image {
    text-align: left;
    padding: 30px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
    background-color: #0f0f1d;
    text-align: center;
}

.page-slot-games__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Safety Section */
.page-slot-games__safety-section {
    padding: 60px 0;
    background-color: #1a1a2e;
    text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #0f0f1d;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__faq-question::marker {
    display: none;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become X or - */
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-slot-games__final-cta-section {
    padding: 60px 0;
    background-color: #1a1a2e;
    text-align: center;
}

/* Color Contrast Enforcement - Dark Background */
.page-slot-games__dark-bg {
    background-color: #1a1a2e; /* Ensure dark background */
    color: #ffffff; /* Light text */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__grid--two-columns {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 10px 15px 40px;
    }
    .page-slot-games__hero-content {
        margin-bottom: 30px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }

    .page-slot-games__grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__card {
        padding: 20px;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__card-title {
        font-size: 1.3em;
    }

    .page-slot-games__feature-list,
    .page-slot-games__step-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games__feature-item,
    .page-slot-games__step-item {
        padding: 25px;
    }

    .page-slot-games__promo-image {
        max-width: 100%;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 12px 20px 15px;
    }

    /* Mobile image/video overflow prevention */
    .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__card,
    .page-slot-games__promo-image,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Ensure containers have padding on mobile to prevent content touching edges */
    .page-slot-games__introduction-section .page-slot-games__container,
    .page-slot-games__game-types-section .page-slot-games__container,
    .page-slot-games__features-section .page-slot-games__container,
    .page-slot-games__how-to-play-section .page-slot-games__container,
    .page-slot-games__tips-section .page-slot-games__container,
    .page-slot-games__promotions-section .page-slot-games__container,
    .page-slot-games__safety-section .page-slot-games__container,
    .page-slot-games__faq-section .page-slot-games__container,
    .page-slot-games__final-cta-section .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}