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

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

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    position: relative;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
    background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
    color: var(--gold-color);
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-slot-games__description {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-slot-games__section-title {
    color: var(--gold-color);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.5);
}

.page-slot-games__dark-bg {
    background-color: var(--page-bg);
    padding: 60px 0;
}

.page-slot-games__card-bg {
    background-color: var(--card-bg);
    padding: 60px 0;
}

.page-slot-games__text-content {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-slot-games__feature-list,
.page-slot-games__strategy-list,
.page-slot-games__promo-list,
.page-slot-games__mobile-benefits,
.page-slot-games__security-list,
.page-slot-games__support-channels {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-slot-games__feature-item,
.page-slot-games__strategy-item,
.page-slot-games__promo-item,
.page-slot-games__mobile-benefit-item,
.page-slot-games__security-item,
.page-slot-games__support-channel-item {
    background-color: var(--deep-green);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: var(--text-main);
    font-size: 1.05em;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-item strong,
.page-slot-games__strategy-item strong,
.page-slot-games__promo-item strong,
.page-slot-games__mobile-benefit-item strong,
.page-slot-games__security-item strong,
.page-slot-games__support-channel-item strong {
    color: var(--gold-color);
}

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

.page-slot-games__game-card {
    background-color: var(--deep-green);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.page-slot-games__game-card-title {
    color: var(--gold-color);
    font-size: 1.4em;
    margin: 20px 15px 10px;
}

.page-slot-games__game-card-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    padding: 0 15px 20px;
    line-height: 1.5;
}

.page-slot-games__promotions-image,
.page-slot-games__mobile-image,
.page-slot-games__security-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promotions-text,
.page-slot-games__mobile-text,
.page-slot-games__security-text,
.page-slot-games__support-text,
.page-slot-games__video-description {
    color: var(--text-secondary);
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.page-slot-games__promotions-text a,
.page-slot-games__support-text a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__promotions-text a:hover,
.page-slot-games__support-text a:hover {
    text-decoration: underline;
}

.page-slot-games__step-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__step-item {
    counter-increment: step-counter;
    background-color: var(--deep-green);
    padding: 20px 25px 20px 60px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    color: var(--text-main);
    font-size: 1.05em;
    line-height: 1.6;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

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

.page-slot-games__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* body already handles --header-offset */
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin: 30px auto;
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__faq-list {
    margin-top: 30px;
}

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

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

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

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


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-content {
      margin-left: 10px;
      margin-right: 10px;
    }
}

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

    .page-slot-games__hero-section,
    .page-slot-games__about-slots,
    .page-slot-games__game-types,
    .page-slot-games__how-to-play,
    .page-slot-games__strategies,
    .page-slot-games__promotions,
    .page-slot-games__mobile-experience,
    .page-slot-games__security,
    .page-slot-games__customer-support,
    .page-slot-games__video-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 40px 0;
    }

    .page-slot-games__hero-content {
        padding: 15px;
        margin-top: 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-slot-games__text-content,
    .page-slot-games__feature-item,
    .page-slot-games__strategy-item,
    .page-slot-games__promo-item,
    .page-slot-games__mobile-benefit-item,
    .page-slot-games__security-item,
    .page-slot-games__support-channel-item,
    .page-slot-games__game-card-description,
    .page-slot-games__promotions-text,
    .page-slot-games__mobile-text,
    .page-slot-games__security-text,
    .page-slot-games__support-text,
    .page-slot-games__video-description,
    .page-slot-games__faq-answer p {
        font-size: 0.95em;
    }

    .page-slot-games__game-card-image {
        height: 180px;
    }

    .page-slot-games__promotions-image,
    .page-slot-games__mobile-image,
    .page-slot-games__security-image {
        margin: 20px auto;
    }

    .page-slot-games__video-wrapper {
        margin: 20px auto;
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__video-section {
      padding-top: 10px !important;
    }

    /* Images responsive */
    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    /* Ensure all containers with images/videos/buttons are responsive */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__about-slots,
    .page-slot-games__game-types,
    .page-slot-games__how-to-play,
    .page-slot-games__strategies,
    .page-slot-games__promotions,
    .page-slot-games__mobile-experience,
    .page-slot-games__security,
    .page-slot-games__customer-support,
    .page-slot-games__video-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

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

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

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        border-radius: 0;
    }
    .page-slot-games__game-card-image {
      height: 150px;
    }
    .page-slot-games__grid-layout {
      grid-template-columns: 1fr;
    }
}