/* style/slot-games.css */

/* Base Styles for the Slot Games Page */
.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 body, set explicitly for clarity */
}

.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;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-slot-games__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

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

.page-slot-games__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

.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;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
}

.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-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

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

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

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

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

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

.page-slot-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.page-slot-games__text-content {
    flex: 1;
    text-align: left;
}

.page-slot-games__text-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333333;
}

.page-slot-games__image-content {
    flex: 0 0 600px;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-slot-games__card {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.page-slot-games__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #333333;
}

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

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

.page-slot-games__step-card {
    background: #f8f8f8;
    color: #333333;
    border-left: 5px solid #26A9E0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-slot-games__step-text {
    font-size: 1em;
    line-height: 1.7;
    color: #333333;
}

.page-slot-games__image-full-width {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__strategy-list li {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-slot-games__strategy-list h3 {
    color: #26A9E0;
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-slot-games__strategy-list p {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

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

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

.page-slot-games__benefit-item {
    background: #f0f0f0;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.page-slot-games__benefit-text {
    font-size: 1em;
    line-height: 1.7;
    color: #333333;
}

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

/* 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;
    max-width: 100%;
    background: #000;
    margin: 40px auto 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-slot-games__faq-item {
    background: #f8f8f8;
    color: #333333;
    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;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question::marker {
    display: none;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #333333;
    background-color: #f8f8f8;
}

/* Responsible Gambling Section */
.page-slot-games__responsible-gambling-section {
    padding: 80px 0;
}

.page-slot-games__responsible-list {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 30px;
    color: #f0f0f0;
}

.page-slot-games__responsible-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

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

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

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

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

    .page-slot-games__image-content {
        flex: 0 0 450px;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
    }

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

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

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

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

    .page-slot-games__section-title {
        font-size: 1.8em;
        padding-top: 30px;
    }

    .page-slot-games__section-description {
        font-size: 0.95em;
    }

    .page-slot-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-slot-games__image-content {
        flex: 0 0 auto;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-slot-games__card-image {
        height: 180px;
    }

    .page-slot-games__image-full-width {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Ensure all images are responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for video section */
    }
    
    /* Video specific overrides for mobile */
    .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: 0px; /* Video wrapper handles its own padding */
        padding-right: 0px; /* Video wrapper handles its own padding */
        overflow: hidden !important;
    }

    .page-slot-games__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }

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

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

    .page-slot-games__card-title {
        font-size: 1.5em;
    }

    .page-slot-games__step-title {
        font-size: 1.3em;
    }

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