/* style/slot-games.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0a0a0a;
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

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

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

/* Fixed Nav Bar Spacing */
.page-slot-games__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-slot-games__section:first-of-type {
    padding-top: 120px; /* Fallback if no hero, or for first non-hero section */
}

/* Hero Banner Section */
.page-slot-games__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #2a4b8a); /* Darker gradient for text contrast */
    overflow: hidden;
}

.page-slot-games__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.page-slot-games__hero-content {
    text-align: center;
    width: 100%;
    max-width: 900px;
    color: var(--text-light);
}

.page-slot-games__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-slot-games__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

.page-slot-games__btn-primary:hover {
    background: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
    background: #1a3c7a;
    border-color: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-slot-games__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-slot-games__section-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-slot-games__section-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #666;
}

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

.page-slot-games__game-types-section .page-slot-games__section-title,
.page-slot-games__why-choose-us-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

.page-slot-games__text-block {
    text-align: left;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: inherit;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
}

.page-slot-games__text-block h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-slot-games__dark-bg .page-slot-games__text-block h3 {
    color: var(--secondary-color);
}

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

.page-slot-games__grid--2-cols {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
}

.page-slot-games__card {
    background-color: var(--card-background);
    color: var(--text-dark);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-slot-games__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-slot-games__card-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slot-games__tips-section .page-slot-games__text-block h3 {
    color: var(--primary-color);
}

.page-slot-games__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.page-slot-games__section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-list p {
    margin-bottom: 20px;
}

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

.page-slot-games__additional-tips .page-slot-games__cta-button,
.page-slot-games__additional-promos .page-slot-games__cta-button {
    margin-top: 30px;
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__section-title {
    color: var(--primary-color);
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-slot-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
    background: #eeeeee;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--primary-color);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--text-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.page-slot-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 40px;
    }
    .page-slot-games__hero-description {
        font-size: 18px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__text-block h3 {
        font-size: 22px;
    }
    .page-slot-games__card-title {
        font-size: 22px;
    }
    .page-slot-games__grid--2-cols {
        grid-template-columns: 1fr;
    }
    .page-slot-games__image-block {
        order: -1; /* Image first on mobile */
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-slot-games__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__cta-button {
        width: 100%;
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-slot-games__section {
        padding: 40px 15px;
    }
    .page-slot-games__section:first-of-type {
        padding-top: 100px !important; /* Mobile: Adjust for first non-hero section */
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-slot-games__section-subtitle {
        font-size: 16px;
    }
    .page-slot-games__text-block {
        font-size: 15px;
    }
    .page-slot-games__text-block h3 {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-slot-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-slot-games__card {
        padding: 25px;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__card-title {
        font-size: 20px;
    }
    .page-slot-games__card-description {
        font-size: 14px;
    }
    .page-slot-games__section-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        box-sizing: border-box !important;
    }
    .page-slot-games__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__hero-image {
        border-radius: 8px;
    }
    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-slot-games__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image adaptation */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 28px;
    }
    .page-slot-games__section-title {
        font-size: 24px;
    }
    .page-slot-games__text-block h3 {
        font-size: 18px;
    }
    .page-slot-games__card-title {
        font-size: 18px;
    }
}