/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Inherited from shared.css, explicitly set for clarity */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-color: #017439; /* Brand primary color for hero */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a decent height */
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Highlighted color for main title */
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__cta-buttons--centered {
    justify-content: center;
    margin-top: 40px;
}

/* 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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-slot-games__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
}

.page-slot-games__btn-tertiary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #005a2b;
    border-color: #005a2b;
}


/* Section Styles */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__promotions-section,
.page-slot-games__guide-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for content sections */
    color: #333333; /* Dark text for light background */
}

.page-slot-games__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section (white for dark, dark for light) */
}

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__paragraph--small {
    font-size: 0.9em;
    margin-top: 20px;
}

.page-slot-games__image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.page-slot-games__features-grid,
.page-slot-games__strategy-grid,
.page-slot-games__promo-grid,
.page-slot-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__feature-card,
.page-slot-games__strategy-card,
.page-slot-games__promo-card,
.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg cards */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__introduction-section .page-slot-games__feature-card,
.page-slot-games__game-types-section .page-slot-games__feature-card,
.page-slot-games__promotions-section .page-slot-games__promo-card,
.page-slot-games__guide-section .page-slot-games__step-card {
    background-color: #ffffff; /* White background for light bg cards */
    color: #333333;
    border: 1px solid #e0e0e0;
}


.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: inherit;
}

.page-slot-games__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__list {
    list-style: disc inside;
    text-align: left;
    max-width: 800px;
    margin: 20px auto 40px auto;
    padding-left: 20px;
}

.page-slot-games__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-slot-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Video Section */
.page-slot-games__video-section {
    position: relative;
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    font-weight: bold;
    color: #ffffff;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFFF00;
    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, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px 25px;
}

.page-slot-games__faq-answer .page-slot-games__paragraph {
    text-align: left;
    margin-bottom: 0;
    color: #f0f0f0;
}

/* Bottom CTA Section */
.page-slot-games__cta-bottom {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .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__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section {
        padding: 80px 0;
        min-height: 400px;
    }

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

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    
    .page-slot-games__cta-buttons {
      display: flex;
      flex-direction: column;
    }

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

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

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

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .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;
    }

    .page-slot-games__video-wrapper {
        padding-bottom: 75%; /* Adjust aspect ratio for better mobile viewing if needed, e.g., 4:3 */
    }

    .page-slot-games__faq-question {
        padding: 15px 20px;
    }

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

/* Global image styling for content area to prevent small icons */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Specific content area image styling (targeting any img within page-slot-games) */
.page-slot-games__introduction-section img,
.page-slot-games__game-types-section img,
.page-slot-games__promotions-section img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
}

/* Card images must be large */
.page-slot-games__promo-card .page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter on images */
.page-slot-games img {
    filter: none !important;
}

/* Ensure content area images are not tiny on mobile */
@media (max-width: 768px) {
  .page-slot-games img {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}