/* style/slot-games.css */

/* Base styles for the slot games page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Text Main */
    background: #F5F7FA; /* Background */
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Ensure all images are responsive by default */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* General section styling */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-slot-games__section-title {
    font-size: 36px;
    color: #E53935; /* Main color */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-slot-games__section-description {
    font-size: 18px;
    color: #333333;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #F5F7FA; /* Fallback */
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop hero */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-slot-games__hero-content {
    background: #FFFFFF; /* Card BG */
    padding: 40px 20px;
    max-width: 800px;
    margin: -80px auto 0; /* Overlap slightly with image for visual effect */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-slot-games__hero-title {
    font-size: 48px;
    color: #E53935; /* Main color */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 20px;
    color: #333333;
    margin-bottom: 30px;
}

/* Primary Button */
.page-slot-games__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

/* Secondary Button */
.page-slot-games__btn-secondary {
    display: inline-block;
    background: #FFFFFF; /* Card BG */
    color: #E53935; /* Main color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #E53935; /* Main color border */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.2);
}

/* Introduction Section */
.page-slot-games__introduction {
    background: #FFFFFF; /* Card BG */
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__text-block p {
    font-size: 17px;
    margin-bottom: 20px;
    color: #333333;
}

.page-slot-games__image-block {
    flex: 1;
    max-width: 50%;
}

.page-slot-games__image-block--center {
    max-width: 100%;
    margin-top: 40px;
}

.page-slot-games__image {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-slot-games__dark-section {
    background: #E53935; /* Main color */
    color: #ffffff;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__section-description {
    color: #ffffff;
}

.page-slot-games__type-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.page-slot-games__type-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-slot-games__type-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__type-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
}

.page-slot-games__type-description {
    font-size: 16px;
    color: #f0f0f0;
}

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

.page-slot-games__feature-card {
    background: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E0E0E0; /* Border */
    color: #333333;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-title {
    font-size: 22px;
    color: #E53935; /* Main color */
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-slot-games__feature-description {
    font-size: 16px;
    color: #333333;
}

/* How To Play Section */
.page-slot-games__dark-bg {
    background: #E53935; /* Main color */
    color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__section-description {
    color: #ffffff;
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    counter-reset: step-counter;
}

.page-slot-games__step-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    counter-increment: step-counter;
}

.page-slot-games__step-item::before {
    content: "0" counter(step-counter);
    position: absolute;
    top: -15px;
    left: 20px;
    background: #FF5A4F; /* Auxiliary color */
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid #E53935; /* Main color */
}

.page-slot-games__step-title {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.page-slot-games__step-description {
    font-size: 16px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background: #F5F7FA; /* Background */
}

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

details.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #E0E0E0; /* Border */
    overflow: hidden;
    background: #FFFFFF; /* Card BG */
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #333333;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
    background: #f5f5f5;
}
.page-slot-games__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #E53935; /* Main color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #333333;
}
.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* General responsive adjustments */
    .page-slot-games {
        font-size: 16px;
        line-height: 1.5;
    }

    .page-slot-games__section {
        padding: 40px 15px;
    }

    .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-slot-games__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Hero Section - Mobile */
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-slot-games__hero-image-wrapper {
        height: 300px; /* Adjust height for mobile */
    }

    .page-slot-games__hero-content {
        padding: 25px 15px;
        margin: -40px auto 0; /* Adjust overlap for mobile */
        border-radius: 8px;
    }

    .page-slot-games__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Buttons - Mobile */
    .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: 12px 20px;
        font-size: 16px;
    }

    /* Button containers - Mobile */
    .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; /* Allow buttons to wrap */
        gap: 10px; /* Space between buttons */
        display: flex;
        flex-direction: column; /* Stack buttons vertically by default */
    }

    /* Introduction Section - Mobile */
    .page-slot-games__introduction {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .page-slot-games__content-wrapper {
        flex-direction: column; /* Stack text and image vertically */
        gap: 20px;
    }

    .page-slot-games__text-block {
        flex: none;
        width: 100%;
    }

    .page-slot-games__text-block p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .page-slot-games__image-block {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .page-slot-games__image-block--center {
        margin-top: 20px;
    }

    /* Game Types Section - Mobile */
    .page-slot-games__type-list {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-bottom: 30px;
    }

    .page-slot-games__type-item {
        padding: 25px;
    }

    .page-slot-games__type-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-slot-games__type-description {
        font-size: 15px;
    }

    /* Why Choose Section - Mobile */
    .page-slot-games__feature-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-slot-games__feature-card {
        padding: 25px;
    }

    .page-slot-games__feature-title {
        font-size: 20px;
    }

    .page-slot-games__feature-description {
        font-size: 15px;
    }

    /* How To Play Section - Mobile */
    .page-slot-games__steps-list {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
        margin-bottom: 30px;
    }

    .page-slot-games__step-item {
        padding: 25px;
    }

    .page-slot-games__step-item::before {
        font-size: 28px;
        width: 50px;
        height: 50px;
        top: -10px;
        left: 15px;
    }

    .page-slot-games__step-title {
        font-size: 20px;
        margin-top: 15px;
    }

    .page-slot-games__step-description {
        font-size: 15px;
    }

    /* FAQ Section - Mobile */
    .page-slot-games__faq-list {
        margin-top: 30px;
    }

    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-qtext {
        font-size: 16px;
    }
    .page-slot-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-slot-games__faq-answer p {
        font-size: 15px;
    }

    /* Universal image responsive for content area */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__content-wrapper,
    .page-slot-games__feature-grid,
    .page-slot-games__type-list,
    .page-slot-games__steps-list,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}