/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light body background */
    background-color: #ffffff; /* Explicitly set for clarity, though shared.css likely handles body */
}

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

/* Section styling */
.page-slot-games__hero-section,
.page-slot-games__introduction-section,
.page-slot-games__popular-games-section,
.page-slot-games__benefits-section,
.page-slot-games__how-to-play-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
    padding: 60px 0;
    text-align: center;
}

/* Color schemes for sections */
.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
    background-color: #017439; /* Dark background for hero */
    color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
    /* This padding-top is for the header offset, applied to the entire section */
    padding-top: var(--header-offset, 120px);
}

.page-slot-games__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-slot-games__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; /* Ensure no filter changes video color */
    opacity: 0.2; /* Subtle background video */
    min-width: 200px; /* Video minimum size */
    min-height: 200px; /* Video minimum size */
    cursor: pointer; /* Indicate it's clickable */
}

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

.page-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
}

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

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

/* General 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;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-slot-games__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    border-color: #017439;
}

.page-slot-games__btn-primary:hover {
    background-color: #005f2e; /* Slightly darker green */
    border-color: #005f2e;
}

.page-slot-games__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand primary color */
    border-color: #ffffff;
}

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #f0f0f0;
}

/* Section Titles and Descriptions */
.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherits color from parent section */
}

.page-slot-games__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit;
}

.page-slot-games__highlight {
    color: #FFFF00; /* Yellow for highlights, used for registration/login fonts as well */
    font-weight: bold;
}

/* Introduction Section */
.page-slot-games__intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-slot-games__intro-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.page-slot-games__intro-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* White transparent background on dark section */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
}

.page-slot-games__game-card-image {
    width: 100%;
    max-width: 400px; /* Max width for card images */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__game-card-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-games__game-card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take up available space */
    color: #f0f0f0;
}

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

.page-slot-games__benefit-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__benefit-icon {
    width: 100%;
    max-width: 250px; /* Max width for benefit icons */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__benefit-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #017439; /* Brand primary color for titles */
}

.page-slot-games__benefit-description {
    font-size: 1em;
    color: #555555;
}

/* How to Play Section */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-slot-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.page-slot-games__step-number {
    background-color: #FFFF00; /* Yellow for numbers */
    color: #017439; /* Green text on yellow background */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-right: 20px;
}

.page-slot-games__step-content h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-games__step-content h3 a {
    color: #ffffff;
    text-decoration: none;
}

.page-slot-games__step-content h3 a:hover {
    text-decoration: underline;
}

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

/* Strategy Section */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-slot-games__strategy-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-slot-games__strategy-item h3 {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #017439;
}

.page-slot-games__strategy-item p {
    color: #555555;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly more opaque white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__promo-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

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

.page-slot-games__cta-center {
    margin-top: 40px;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #017439;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    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;
    background-color: #f9f9f9;
    color: #555555;
}

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

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

.page-slot-games__faq-answer a {
    color: #017439;
    text-decoration: none;
}

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

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

/* Links within text */
.page-slot-games a {
    color: #017439; /* Brand primary for links */
    text-decoration: none;
}

.page-slot-games a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__hero-description {
        font-size: 1.2em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .page-slot-games__intro-image-wrapper {
        order: -1; /* Image above text on mobile */
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
}