/* style/slot-games.css */

:root {
    --sodo66-primary-color: #017439;
    --sodo66-secondary-color: #FFFFFF;
    --sodo66-register-color: #C30808;
    --sodo66-login-color: #C30808;
    --sodo66-text-on-dark: #FFFFFF;
    --sodo66-text-on-light: #333333;
    --sodo66-register-login-font: #FFFF00;
    --body-background-color: #121212; /* From shared.css analysis */
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--sodo66-text-on-dark);
    text-align: center;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-slot-games__hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-slot-games__hero-section > .page-slot-games__container {
    position: relative;
    z-index: 2;
}

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

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.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 {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    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(--sodo66-register-color); /* Custom color for Register */
    color: var(--sodo66-register-login-font); /* Custom font color for Register */
    border: 2px solid var(--sodo66-register-color);
}

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--sodo66-register-color), 10%);
    border-color: darken(var(--sodo66-register-color), 10%);
}

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

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

/* General Section Styles */
.page-slot-games__intro-section,
.page-slot-games__game-types-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--sodo66-secondary-color); /* Light background for content */
    color: var(--sodo66-text-on-light); /* Dark text on light background */
}

.page-slot-games__dark-bg {
    background-color: var(--sodo66-primary-color);
    color: var(--sodo66-text-on-dark);
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

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

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

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

.page-slot-games__feature-icon {
    width: 100%;
    max-width: 250px; /* Ensure images are not too small */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

/* Game Types Section */
.page-slot-games__game-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.page-slot-games__game-type-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-type-card h3,
.page-slot-games__game-type-card p {
    padding: 0 20px;
}

.page-slot-games__game-type-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--sodo66-primary-color);
}

.page-slot-games__game-type-description {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Tips Section */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-slot-games__tips-list li {
    background-color: #f9f9f9;
    border-left: 5px solid var(--sodo66-primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    color: var(--sodo66-text-on-light);
}

.page-slot-games__list-icon {
    font-size: 1.4em;
    margin-right: 15px;
    color: var(--sodo66-primary-color);
    line-height: 1;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--sodo66-text-on-dark);
    padding-bottom: 20px;
}

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

.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    margin: 0 20px 10px;
    font-weight: bold;
    color: var(--sodo66-secondary-color);
}

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

.page-slot-games__promo-card .page-slot-games__btn-secondary {
    margin: 0 20px;
    width: calc(100% - 40px);
    text-align: center;
    display: block;
    color: var(--sodo66-secondary-color);
    border-color: var(--sodo66-secondary-color);
}

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

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 800px;
    margin: 40px auto;
}

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

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

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

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

.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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fefefe;
}

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

.page-slot-games__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* CTA Section */
.page-slot-games__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-slot-games__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--sodo66-secondary-color);
}

.page-slot-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: var(--sodo66-secondary-color);
}

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 10px;
}

/* Image specific styles - ensuring minimum size and no filters */
.page-slot-games img {
    min-width: 200px; /* Global minimum for all content images */
    min-height: 200px;
    filter: none; /* No image filters allowed */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title,
    .page-slot-games__cta-title {
        font-size: 2em;
    }
    .page-slot-games__hero-section {
        min-height: 500px;
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    /* Fixed header spacing for mobile, if shared.css doesn't handle body padding */
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 400px;
    }
    
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title,
    .page-slot-games__cta-title {
        font-size: 1.8em;
    }

    .page-slot-games__text-block {
        font-size: 0.95em;
    }

    .page-slot-games__feature-card,
    .page-slot-games__game-type-card,
    .page-slot-games__promo-card {
        padding: 20px;
    }

    .page-slot-games__feature-title,
    .page-slot-games__game-type-title,
    .page-slot-games__promo-title {
        font-size: 1.2em;
    }

    .page-slot-games__tips-list li {
        font-size: 0.95em;
        padding: 12px 15px;
    }

    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 15px;
    }

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size even on mobile */
        min-height: 200px !important;
    }
    
    .page-slot-games__image-wrapper,
    .page-slot-games__feature-card,
    .page-slot-games__game-type-card,
    .page-slot-games__promo-card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-slot-games__hero-section .page-slot-games__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__cta-buttons, .page-slot-games__game-type-grid, .page-slot-games__feature-grid, .page-slot-games__promo-grid {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__promo-card .page-slot-games__btn-secondary {
        width: calc(100% - 30px); /* Adjust for container padding */
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title,
    .page-slot-games__cta-title {
        font-size: 1.5em;
    }
    .page-slot-games__btn-large {
        padding: 15px 30px;
        font-size: 1em;
    }
}