/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-slot-games__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Button styles */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow long words to break */
    cursor: pointer;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
    background-color: #1e87b7; /* Darker shade of brand color */
    border-color: #1e87b7;
}

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

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

/* Specific login button style (if needed, as per color config) */
.page-slot-games__btn-login {
    background-color: #EA7C07; /* Login specific color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-login:hover {
    background-color: #c96a06;
    border-color: #c96a06;
}

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

.page-slot-games__cta-buttons--center {
    justify-content: center;
}

/* Section specific backgrounds */
.page-slot-games__dark-bg {
    background-color: #1a1a2e; /* Dark background from body */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #242440; /* Slightly lighter dark for contrast sections */
    color: #ffffff;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed for visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

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

.page-slot-games__main-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* About Slots Section */
.page-slot-games__about-slots {
    padding: 80px 0;
}

.page-slot-games__image-content {
    text-align: center;
    margin: 40px 0;
}

.page-slot-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element for max-width */
    margin: 0 auto;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

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

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for contrast */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #ffffff; /* Light text for dark card background */
}

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

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

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

.page-slot-games__feature-card p a {
    color: #26A9E0;
    text-decoration: underline;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    padding: 80px 0;
}

.page-slot-games__step-by-step {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-slot-games__step-number {
    font-size: 2.5em;
    color: #26A9E0;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__step-item p {
    color: #f0f0f0;
}

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

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
}

.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: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

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

.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

.page-slot-games__promo-card .page-slot-games__card-title {
    font-size: 1.4em;
    margin: 20px 20px 10px;
    text-align: left;
    color: #26A9E0;
}

.page-slot-games__promo-card p {
    color: #f0f0f0;
    margin: 0 20px 20px;
    flex-grow: 1;
    text-align: left;
}

.page-slot-games__promo-card p a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* Mobile App Section */
.page-slot-games__mobile-app-section {
    padding: 80px 0;
}

.page-slot-games__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-slot-games__mobile-text {
    flex: 1;
}

.page-slot-games__mobile-image {
    flex: 1;
    text-align: center;
}

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

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

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

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-slot-games__faq-question h3 {
    margin: 0;
    color: #26A9E0;
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

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

/* Contact CTA Section */
.page-slot-games__contact-cta {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__contact-content {
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.2em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__mobile-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__mobile-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-slot-games__main-title {
        font-size: 2.2em;
    }

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

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

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

    /* Images responsiveness */
    .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__content-image,
    .page-slot-games__promo-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Video responsiveness */
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .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;
    }

    /* Button responsiveness */
    .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;
        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-direction: column !important; /* Stack buttons vertically */
        gap: 15px; /* Adjust gap for stacked buttons */
        overflow: hidden !important;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__step-by-step,
    .page-slot-games__promo-cards {
        grid-template-columns: 1fr;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }
    
    .page-slot-games__hero-section,
    .page-slot-games__about-slots,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play,
    .page-slot-games__promotions-section,
    .page-slot-games__mobile-app-section,
    .page-slot-games__video-section,
    .page-slot-games__faq-section,
    .page-slot-games__contact-cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8em;
    }
    .page-slot-games__hero-description {
        font-size: 0.9em;
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__hero-section {
        height: 400px;
    }
}