/* style/slot-games.css */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: var(--primary-color);
}

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

.page-slot-games__dark-bg {
    background-color: #0A192F;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #FFD700;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.page-slot-games__hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.8em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-small {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #FFD700;
    color: #0A192F;
    border: none;
}

.page-slot-games__btn-small:hover {
    background-color: #e0b800;
}

/* About Section */
.page-slot-games__about-section {
    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-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

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

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #0A192F;
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__advantages-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 700px;
    text-align: left;
}

.page-slot-games__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.1em;
    position: relative;
    padding-left: 40px;
}

.page-slot-games__advantage-item::before {
    content: '✔';
    color: #FFD700;
    position: absolute;
    left: 15px;
    font-weight: bold;
}

.page-slot-games__cta-buttons {
    margin-top: 40px;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 0;
}

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

.page-slot-games__game-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: #333333;
}

.page-slot-games__game-card img {
    width: 100%;
    height: 267px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    color: #0A192F;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-title a {
    color: #0A192F;
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    color: #FFD700;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 20px;
}

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

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

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    color: #ffffff;
    position: relative;
}

.page-slot-games__step-number {
    background-color: #FFD700;
    color: #0A192F;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games__video-wrapper {
    margin-top: 50px;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
}

.page-slot-games__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    cursor: pointer;
}

.page-slot-games__video-caption {
    color: #f0f0f0;
    margin-top: 15px;
    font-style: italic;
    font-size: 0.9em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
}

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

.page-slot-games__promo-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: #333333;
}

.page-slot-games__promo-card img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    color: #0A192F;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__promo-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

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

.page-slot-games__cta-content {
    background-color: #0A192F;
    border-radius: 10px;
    padding: 50px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-slot-games__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

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

/* Responsive Styles */
@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;
    }
    .page-slot-games__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }
    .page-slot-games__features-grid,
    .page-slot-games__game-grid,
    .page-slot-games__promo-cards,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__feature-item,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__step-item,
    .page-slot-games__cta-content {
        padding: 20px;
    }
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__cta-title {
        font-size: 1.8em;
    }
    .page-slot-games__cta-description {
        font-size: 1em;
    }
    .page-slot-games__faq-question {
        font-size: 1.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__hero-description {
        font-size: 0.9em;
    }
    .page-slot-games__section-title {
        font-size: 1.6em;
    }
    .page-slot-games__cta-title {
        font-size: 1.6em;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
    }
}