/* style/slot-games.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --background-color-dark: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-slot-games {
    background-color: var(--background-color-dark);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

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

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

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

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-main-color);
    line-height: 1.2;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: var(--deep-green-color);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__light-bg .page-slot-games__text-block {
    color: #555555;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 15px;
}

.page-slot-games__main-title {
    font-size: 3em;
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--glow-color), 0.4);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--background-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--gold-color), 0.3);
}

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

.page-slot-games__card {
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 400px; /* Ensure cards have a minimum height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-slot-games__dark-bg-card .page-slot-games__card-title {
    color: var(--gold-color);
}

.page-slot-games__card-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
}

/* Guide Steps */
.page-slot-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__guide-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__guide-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-slot-games__guide-description {
    color: var(--text-secondary-color);
    font-size: 1em;
}

.page-slot-games__cta-center {
    margin-top: 40px;
    text-align: center;
}

/* Strategies Section */
.page-slot-games__list-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__image-right {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

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

.page-slot-games__list-item {
    background-color: var(--card-bg-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--gold-color);
    color: var(--text-main-color);
    font-size: 1.05em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__list-item strong {
    color: var(--gold-color);
}

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

.page-slot-games__promo-card {
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

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

.page-slot-games__promo-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--gold-color);
}

.page-slot-games__promo-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-slot-games__feature-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__feature-description {
    color: var(--text-secondary-color);
    font-size: 1em;
}

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

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-main-color);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-slot-games__faq-answer {
    padding: 15px 25px;
    color: var(--text-secondary-color);
    font-size: 1em;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid var(--divider-color);
}

/* Conclusion Section */
.page-slot-games__conclusion {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-slot-games__list-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .page-slot-games__image-right {
        order: 2;
        flex: 1;
        margin-left: 40px;
    }

    .page-slot-games__strategy-list {
        order: 1;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 15px;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-slot-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

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

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__card,
    .page-slot-games__guide-item,
    .page-slot-games__promo-card,
    .page-slot-games__feature-item,
    .page-slot-games__faq-item {
        padding: 20px;
    }

    .page-slot-games__card-image,
    .page-slot-games__promo-image,
    .page-slot-games__image-full-width,
    .page-slot-games__image-right {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__list-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .page-slot-games__image-right {
        margin-left: 0;
    }

    .page-slot-games__strategy-list,
    .page-slot-games__faq-list {
        max-width: 100%;
    }

    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-slot-games__faq-answer {
        padding: 10px 20px;
    }

    .page-slot-games__video-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

/* Ensure all images in content area are responsive */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all videos in content area are responsive */
.page-slot-games video,
.page-slot-games__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}