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

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Default background for the page */
}

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

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

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

/* Section Backgrounds */
.page-slot-games__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

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

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

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

/* Buttons */
.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--color-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 20px;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 20px;
}

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

.page-slot-games__feature-item {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 20px;
}

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

.page-slot-games__game-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

.page-slot-games__game-card-button {
    width: 100%;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 20px;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 20px;
    text-align: center;
}

.page-slot-games__promotion-banner {
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    display: block;
}

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

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

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-border);
}

.page-slot-games__faq-question:hover {
    background-color: var(--color-primary);
}

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

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

.page-slot-games__faq-item[open] .page-slot-games__faq-qtext {
    color: var(--color-gold);
}

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

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

/* Details element native toggle */
.page-slot-games__faq-item > summary {
    list-style: none;
}

.page-slot-games__faq-item > summary::-webkit-details-marker {
    display: none;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--color-divider);
}

/* Responsive Design */

/* All images base responsive style */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All videos base responsive style */
.page-slot-games video,
.page-slot-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container base responsive style */
.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;
}

/* All buttons base responsive style */
.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button container base responsive style */
.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

    .page-slot-games__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-slot-games__hero-section {
        min-height: 450px;
        padding-bottom: 40px;
    }

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

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-slot-games__cta-button {
        width: 100%;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-cards-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__feature-item,
    .page-slot-games__game-card,
    .page-slot-games__list-item,
    .page-slot-games__faq-item {
        margin-bottom: 15px;
    }

    .page-slot-games__intro-section,
    .page-slot-games__features-section,
    .page-slot-games__game-types-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__cta-section,
    .page-slot-games__faq-section,
    .page-slot-games__responsible-gaming-section {
        padding: 40px 15px;
    }

    /* Mobile forced responsive for images */
    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    /* All containers with images/videos/buttons must have these */
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__features-section,
    .page-slot-games__game-types-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__cta-section,
    .page-slot-games__faq-section,
    .page-slot-games__responsible-gaming-section,
    .page-slot-games__feature-item,
    .page-slot-games__game-card,
    .page-slot-games__promotion-banner,
    .page-slot-games__faq-item,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .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;
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Mobile forced responsive for videos */
    .page-slot-games video,
    .page-slot-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    /* Video section top padding for mobile, body handles --header-offset */
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }

    /* Mobile forced responsive for buttons */
    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .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;
    }

    /* For button groups, allow wrapping in mobile */
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}