/* 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, #0A1931); /* Inherit from shared or use default */
}

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

.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;
    color: #E0B973; /* Auxiliary color for titles */
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    box-sizing: border-box;
}

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

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 49, 0.7), rgba(10, 25, 49, 0.9));
    z-index: 2;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.8em;
    color: #E0B973;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

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

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

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

.page-slot-games__btn-primary:hover {
    background-color: #ffda8e;
    border-color: #ffda8e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 185, 115, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #E0B973;
    color: #0A1931;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 185, 115, 0.4);
}

.page-slot-games__btn-tertiary {
    background-color: #0A1931;
    color: #E0B973;
    border: 2px solid #0A1931;
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #E0B973;
    color: #0A1931;
    border-color: #E0B973;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(224, 185, 115, 0.3);
}

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

.page-slot-games__btn-wide {
    min-width: 250px;
}

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

/* Introduction */
.page-slot-games__introduction .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* Game Types */
.page-slot-games__game-types {
    background-color: #0A1931; /* Dark background for this section */
    color: #ffffff;
}

.page-slot-games__game-types .page-slot-games__section-title {
    color: #E0B973;
}

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #ffffff;
}

.page-slot-games__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(224, 185, 115, 0.3);
}

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

.page-slot-games__card-title {
    font-size: 1.6em;
    color: #E0B973;
    margin-bottom: 15px;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

/* Benefits Section */
.page-slot-games__benefits {
    background-color: #1a2a47; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-slot-games__benefits .page-slot-games__section-title {
    color: #E0B973;
}

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

.page-slot-games__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.page-slot-games__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(224, 185, 115, 0.3);
}

.page-slot-games__feature-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-slot-games__feature-title {
    font-size: 1.8em;
    color: #E0B973;
    margin-bottom: 15px;
}

.page-slot-games__feature-item p {
    font-size: 1em;
    color: #f0f0f0;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    background-color: #0A1931;
    color: #ffffff;
}

.page-slot-games__how-to-play .page-slot-games__section-title {
    color: #E0B973;
}

.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-slot-games__step-title {
    font-size: 1.8em;
    color: #E0B973;
    margin-bottom: 15px;
}

.page-slot-games__step-item p {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-slot-games__step-item a {
    color: #E0B973;
    text-decoration: underline;
}

.page-slot-games__step-item a:hover {
    color: #ffda8e;
}

/* Strategy Section */
.page-slot-games__strategy {
    background-color: #1a2a47;
    color: #ffffff;
}

.page-slot-games__strategy .page-slot-games__section-title {
    color: #E0B973;
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #E0B973;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-slot-games__strategy-item:hover {
    background-color: rgba(224, 185, 115, 0.1);
}

.page-slot-games__strategy-heading {
    font-size: 1.6em;
    color: #E0B973;
    margin-bottom: 10px;
}

.page-slot-games__strategy-item p {
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games__strategy-item a {
    color: #E0B973;
    text-decoration: underline;
}

.page-slot-games__strategy-item a:hover {
    color: #ffda8e;
}

/* Promotions Section */
.page-slot-games__promotions {
    background-color: #0A1931;
    color: #ffffff;
}

.page-slot-games__promotions .page-slot-games__section-title {
    color: #E0B973;
}

.page-slot-games__promo-cards {
    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.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #ffffff;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(224, 185, 115, 0.3);
}

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

.page-slot-games__promo-title {
    font-size: 1.6em;
    color: #E0B973;
    margin-bottom: 15px;
}

.page-slot-games__promo-card p {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq {
    background-color: #1a2a47;
    color: #ffffff;
}

.page-slot-games__faq .page-slot-games__section-title {
    color: #E0B973;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-item:hover {
    background-color: rgba(224, 185, 115, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #E0B973;
    cursor: pointer;
    border-bottom: 1px solid rgba(224, 185, 115, 0.3);
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
    border-bottom: none;
}

.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 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

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

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

.page-slot-games__faq-answer a {
    color: #E0B973;
    text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
    color: #ffda8e;
}

/* CTA Section */
.page-slot-games__cta {
    background-color: #0A1931;
    color: #ffffff;
    padding: 80px 20px;
}

.page-slot-games__cta .page-slot-games__section-title {
    color: #E0B973;
}

.page-slot-games__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

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

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-slot-games__hero-title {
        font-size: 2.5em;
    }

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

    .page-slot-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-actions,
    .page-slot-games__cta-actions,
    .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;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-slot-games__section {
        padding: 40px 10px;
    }

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

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

    .page-slot-games__grid,
    .page-slot-games__features-grid,
    .page-slot-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-slot-games__card-image,
    .page-slot-games__feature-icon,
    .page-slot-games__promo-image,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }

    .page-slot-games__card-title,
    .page-slot-games__feature-title,
    .page-slot-games__step-title,
    .page-slot-games__strategy-heading,
    .page-slot-games__promo-title {
        font-size: 1.4em;
    }

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

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

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px 20px 20px;
    }

    .page-slot-games__cta-actions {
        flex-direction: column;
    }

    /* Ensure all content containers are responsive */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__grid,
    .page-slot-games__features-grid,
    .page-slot-games__promo-cards,
    .page-slot-games__step-list,
    .page-slot-games__strategy-list,
    .page-slot-games__faq-list,
    .page-slot-games__cta-actions {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 2em;
    }
    .page-slot-games__section-title {
        font-size: 1.6em;
    }
}

/* Color Contrast Fixes (if needed) */
.page-slot-games__dark-bg {
  color: #ffffff; /* Deep dark background, ensure light text */
  background: #0A1931;
}

.page-slot-games__light-bg {
  color: #333333; /* Light background, ensure dark text */
  background: #ffffff;
}

/* Specific elements for contrast */
.page-slot-games__text-block strong {
    color: #E0B973;
}

.page-slot-games p, .page-slot-games li {
    color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
    color: #ffda8e;
}

.page-slot-games__card-image, .page-slot-games__feature-icon, .page-slot-games__promo-image {
    filter: none; /* Ensure no CSS filter changes original image colors */
}

/* Content area image size enforcement */
.page-slot-games img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider) {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-slot-games img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider) {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}