/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared, fallback to white */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px; /* Adjust as needed */
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #26A9E0; /* Fallback if image not loaded */
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 8px;
}

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

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

.page-slot-games__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

.page-slot-games__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Section Titles */
.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0;
}

.page-slot-games__introduction-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__text-block--center {
    text-align: center;
}

/* Dark Background Section */
.page-slot-games__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #FFFFFF;
}

.page-slot-games__dark-section a {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-slot-games__dark-section a:hover {
    color: #e0f2f7;
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__feature-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #FFFFFF;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-slot-games__guide-item {
    background-color: #f0f8ff; /* Light blue background */
    border-left: 5px solid #26A9E0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-slot-games__guide-description a:hover {
    color: #1a8cc7;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background */
}

.page-slot-games__popular-games-section .page-slot-games__section-title {
    color: #26A9E0;
}

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

.page-slot-games__game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 180px; /* Fixed height for game images */
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-slot-games__game-title {
    font-size: 1.3em;
    margin: 15px 15px 5px;
    color: #26A9E0;
}

.page-slot-games__game-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    text-decoration: underline;
    color: #1a8cc7;
}

.page-slot-games__game-provider {
    font-size: 0.9em;
    color: #777777;
    margin: 0 15px 15px;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for video */
    color: #FFFFFF;
}

.page-slot-games__video-section .page-slot-games__section-title {
    color: #FFFFFF;
}

.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-top: 30px;
    border-radius: 10px;
}

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

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


/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-slot-games__faq-item {
    background-color: #f0f8ff; /* Light blue background for FAQ item */
    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 25px;
    cursor: pointer;
    background-color: #26A9E0;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

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

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Plus becomes an X */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #e0f2f7; /* Lighter blue for answer background */
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

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

.page-slot-games__faq-answer a:hover {
    color: #1a8cc7;
}

/* CTA Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-slot-games__cta-content {
    max-width: 900px;
}

.page-slot-games__cta-section .page-slot-games__section-title {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-slot-games__cta-section .page-slot-games__text-block {
    color: #FFFFFF;
    margin-bottom: 40px;
}

.page-slot-games__cta-section a {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-slot-games__cta-section a:hover {
    color: #e0f2f7;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is applied */
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__feature-image,
    .page-slot-games__game-image {
        min-width: unset;
        min-height: unset;
        height: auto;
    }

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

    /* General container padding for mobile */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__guide-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__guide-item,
    .page-slot-games__faq-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__hero-content {
        width: calc(100% - 30px); /* Adjust for padding in container */
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__hero-section {
        height: 400px;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-question h3 {
        font-size: 1em;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px 20px;
    }
}

/* Specific color for login button if needed, based on custom color rule */
.page-slot-games__btn-login {
    background-color: #EA7C07; /* Custom login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}
.page-slot-games__btn-login:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}