/* style/slot-games.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey */
    --accent-color: #FF4500; /* Orange-Red for emphasis */
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --bg-light: #ffffff;
    --bg-dark: #1A1A1A;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-on-light); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Default light background */
}

.page-slot-games__dark-section {
    background-color: var(--secondary-color);
    color: var(--text-on-dark);
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--text-on-dark);
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* General Section Titles */
.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: var(--primary-color);
}

.page-slot-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

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

.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: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    color: var(--text-on-dark);
}

.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__btn-text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-slot-games__btn-text-link:hover {
    color: darken(var(--primary-color), 15%);
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
    padding: 80px 0;
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--text-on-dark);
}

.page-slot-games__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-slot-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
}

/* Popular Games Section */
.page-slot-games__popular-games {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.page-slot-games__game-card {
    background-color: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    color: var(--text-on-light);
}

.page-slot-games__game-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.page-slot-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__game-card h3 {
    padding: 15px 20px 0 20px;
    font-size: 1.3em;
}

.page-slot-games__game-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-slot-games__game-card h3 a:hover {
    color: var(--primary-color);
}

.page-slot-games__game-description {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* How To Play Section */
.page-slot-games__how-to-play {
    padding: 80px 0;
}

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

.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--text-on-dark);
    position: relative;
}

.page-slot-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--secondary-color);
}

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

.page-slot-games__step-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.page-slot-games__promo-card {
    background-color: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    color: var(--text-on-light);
}

.page-slot-games__promo-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.page-slot-games__promo-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__promo-card h3 {
    padding: 15px 20px 0 20px;
    font-size: 1.3em;
}

.page-slot-games__promo-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-slot-games__promo-card h3 a:hover {
    color: var(--primary-color);
}

.page-slot-games__promo-description {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
    margin: 0 20px 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
}

/* Mobile App Section */
.page-slot-games__mobile-app {
    padding: 80px 0;
}

.page-slot-games__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-slot-games__mobile-text {
    flex: 1;
    color: var(--text-on-dark);
}

.page-slot-games__mobile-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-slot-games__mobile-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__app-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

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

.page-slot-games__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-on-light);
}

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

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

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change to minus sign visually */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

.page-slot-games__faq-answer p {
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--text-on-light);
}

/* Final CTA Section */
.page-slot-games__final-cta {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__final-cta-content {
    max-width: 900px;
}

.page-slot-games__final-cta .page-slot-games__section-title,
.page-slot-games__final-cta .page-slot-games__section-intro {
    color: var(--text-on-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__feature-title, .page-slot-games__game-title, .page-slot-games__step-title, .page-slot-games__promo-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 60vh;
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-intro {
        font-size: 0.95em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 300px !important; /* Constraint for mobile buttons */
        margin: 5px 0;
        padding: 12px 20px;
    }

    .page-slot-games__mobile-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__mobile-image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .page-slot-games__app-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__container,
    .page-slot-games__hero-content,
    .page-slot-games__mobile-app-content,
    .page-slot-games__final-cta-content {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Image responsive handling */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__hero-image,
    .page-slot-games__feature-icon,
    .page-slot-games__game-image,
    .page-slot-games__promo-image,
    .page-slot-games__mobile-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__feature-icon,
    .page-slot-games__game-image,
    .page-slot-games__promo-image {
        min-height: 200px !important; /* Ensure images are not too small */
    }
    .page-slot-games__feature-card, .page-slot-games__game-card, .page-slot-games__promo-card, .page-slot-games__step-card {
        padding: 20px;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
}

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