/* style/slot-games.css */

:root {
    --page-slot-games-primary-color: #007bff;
    --page-slot-games-secondary-color: #ffc107;
    --page-slot-games-text-dark: #333333;
    --page-slot-games-text-light: #ffffff;
    --page-slot-games-bg-light: #f8f9fa;
    --page-slot-games-bg-dark: #0d0d0d; /* Assuming --bg-dark from shared.css is very dark */
    --page-slot-games-card-bg-dark: rgba(255, 255, 255, 0.1);
    --page-slot-games-card-bg-light: #ffffff;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-slot-games-text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from shared.css */
}

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-slot-games__section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-light);
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--page-slot-games-text-light);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 80px;
    background-color: var(--page-slot-games-primary-color); /* Primary color background for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.page-slot-games__hero-content {
    max-width: 600px;
    text-align: left;
    color: var(--page-slot-games-text-light);
    flex: 1;
    min-width: 300px;
}

.page-slot-games__hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-slot-games-text-light);
}

.page-slot-games__hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-light);
}

.page-slot-games__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.page-slot-games__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--page-slot-games-secondary-color), 10%);
    border-color: darken(var(--page-slot-games-secondary-color), 10%);
    transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-text-light);
    color: var(--page-slot-games-primary-color);
    transform: translateY(-2px);
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-slot-games__cta-buttons--center {
    justify-content: center;
}

.page-slot-games__cta-buttons--left {
    justify-content: flex-start;
}

/* Intro Section */
.page-slot-games__intro-section {
    background-color: var(--page-slot-games-bg-dark);
    color: var(--page-slot-games-text-light);
}

/* Game Types Section */
.page-slot-games__game-types-section {
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-light);
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--page-slot-games-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
    object-fit: cover;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--page-slot-games-text-light);
}

.page-slot-games__card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Benefits Section */
.page-slot-games__benefits-section {
    background-color: var(--page-slot-games-bg-dark);
    color: var(--page-slot-games-text-light);
}

.page-slot-games__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-slot-games__list-item {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--page-slot-games-text-light);
}

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

/* Guide Section */
.page-slot-games__guide-section {
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-light);
}

.page-slot-games__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background-color: var(--page-slot-games-card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--page-slot-games-text-light);
}

.page-slot-games__step-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--page-slot-games-secondary-color);
    margin-bottom: 15px;
}

.page-slot-games__step-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--page-slot-games-text-light);
}

.page-slot-games__step-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Strategy Section */
.page-slot-games__strategy-section {
    background-color: var(--page-slot-games-bg-dark);
    color: var(--page-slot-games-text-light);
}

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

.page-slot-games__strategy-item {
    background-color: var(--page-slot-games-card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--page-slot-games-text-light);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-slot-games__strategy-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-slot-games__strategy-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--page-slot-games-text-light);
}

.page-slot-games__strategy-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Promo Section */
.page-slot-games__promo-section {
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-light);
}

.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

/* App Section */
.page-slot-games__app-section {
    background-color: var(--page-slot-games-bg-dark);
    color: var(--page-slot-games-text-light);
}

.page-slot-games__app-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-slot-games__app-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-slot-games__app-benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-slot-games__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-light);
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg-dark);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--page-slot-games-text-light);
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
    margin: 0;
    color: var(--page-slot-games-text-light);
    font-size: 1.2rem;
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-slot-games-secondary-color);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(0deg); /* +/- transition */
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    background-color: var(--page-slot-games-bg-dark);
    color: var(--page-slot-games-text-light);
    padding-bottom: 80px;
}

/* General dark background text colors */
.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__text-block,
.page-slot-games__dark-bg .page-slot-games__card-title,
.page-slot-games__dark-bg .page-slot-games__card-description,
.page-slot-games__dark-bg .page-slot-games__list-item,
.page-slot-games__dark-bg .page-slot-games__step-title,
.page-slot-games__dark-bg .page-slot-games__step-description,
.page-slot-games__dark-bg .page-slot-games__strategy-title,
.page-slot-games__dark-bg .page-slot-games__strategy-description,
.page-slot-games__dark-bg .page-slot-games__faq-title {
    color: var(--page-slot-games-text-light);
}

.page-slot-games__dark-bg .page-slot-games__card {
    background-color: var(--page-slot-games-card-bg-dark);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3rem;
    }
    .page-slot-games__hero-description {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-slot-games__hero-content {
        text-align: center;
    }
    .page-slot-games__hero-buttons {
        justify-content: center;
    }
    .page-slot-games__hero-title {
        font-size: 2.5rem;
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__text-block {
        font-size: 1rem;
    }
    .page-slot-games__list-item {
        font-size: 1rem;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Images responsive */
    .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__app-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
        overflow: hidden !important;
    }
    .page-slot-games__card-image,
    .page-slot-games__strategy-image,
    .page-slot-games__app-image {
        min-width: unset;
        min-height: unset;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Video responsive (if any) */
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__video-section,
    .page-slot-games__video-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;
    }

    /* General section/container padding for mobile */
    .page-slot-games__section,
    .page-slot-games__container,
    .page-slot-games__card,
    .page-slot-games__step-item,
    .page-slot-games__strategy-item,
    .page-slot-games__app-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__game-grid,
    .page-slot-games__step-by-step,
    .page-slot-games__strategy-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }
    .page-slot-games__faq-title {
        font-size: 1.1rem;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 2rem;
    }
    .page-slot-games__section-title {
        font-size: 1.8rem;
    }
    .page-slot-games__card-title,
    .page-slot-games__step-title,
    .page-slot-games__strategy-title {
        font-size: 1.3rem;
    }
    .page-slot-games__faq-question {
        font-size: 1rem;
    }
    .page-slot-games__faq-title {
        font-size: 1rem;
    }
}