/* style/slot-games.css */
/* Base styles for the page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #f0f2f5 */
    background-color: #f0f2f5;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Prevent image overflow */
}

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

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

.page-slot-games__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 1;
}

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play {
    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;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding is included in width */
    text-align: center;
}

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login/Action color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

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

.page-slot-games__btn-play {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__btn-play:hover {
    background-color: #1e87b3;
    border-color: #1e87b3;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image wrapper */
    margin-top: 40px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* General Section Styles */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand primary color for titles */
}

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

.page-slot-games__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-slot-games__dark-bg .page-slot-games__section-subtitle {
    color: #f0f0f0;
}

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

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

/* About Section */
.page-slot-games__about-section,
.page-slot-games__games-showcase,
.page-slot-games__promo-section,
.page-slot-games__how-to-play,
.page-slot-games__responsible-gaming,
.page-slot-games__faq-section {
    padding: 60px 0;
}

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

.page-slot-games__feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-slot-games__dark-bg .page-slot-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-item:hover {
    transform: translateY(-10px);
}

.page-slot-games__feature-icon {
    width: 100%; /* Ensure feature icons are large */
    height: auto;
    max-width: 250px; /* Adjust as needed for visual balance */
    margin-bottom: 20px;
    border-radius: 8px;
    display: block; /* Ensure it behaves as a block element for margin auto */
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__dark-bg .page-slot-games__feature-title {
    color: #ffffff;
}

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

.page-slot-games__dark-bg .page-slot-games__feature-description {
    color: #f0f0f0;
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-slot-games__dark-bg .page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-info {
    padding: 25px;
}

.page-slot-games__game-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

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

.page-slot-games__dark-bg .page-slot-games__game-title a {
    color: #ffffff;
}

.page-slot-games__game-title a:hover {
    color: #EA7C07;
}

.page-slot-games__game-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-slot-games__dark-bg .page-slot-games__game-description {
    color: #f0f0f0;
}

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

.page-slot-games__promo-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.page-slot-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    padding: 15px 20px 0;
    color: #26A9E0;
}

.page-slot-games__promo-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 20px 20px;
}

.page-slot-games__promo-card .page-slot-games__btn-play {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 20px;
    font-size: 1em;
}

/* How to Play Section */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__steps-list li {
    background-color: #f9f9f9;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.page-slot-games__steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

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

.page-slot-games__step-description {
    font-size: 1.1em;
    color: #555555;
    margin-top: 0;
}

.page-slot-games__step-description a {
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
}

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

/* Video Section */
.page-slot-games__video-section {
    padding-top: 60px; /* Override previous padding-top for this section */
    padding-bottom: 60px;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100%) */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming .page-slot-games__text-block a {
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__responsible-gaming .page-slot-games__text-block a:hover {
    text-decoration: underline;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    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-title {
    font-size: 1.3em;
    margin: 0;
    color: #26A9E0;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
    border-bottom: none;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-slot-games__hero-content {
        margin-bottom: 30px;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 1em;
    }

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

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-subtitle {
        font-size: 1em;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-item,
    .page-slot-games__game-card,
    .page-slot-games__promo-card {
        padding: 20px;
    }

    .page-slot-games__game-image,
    .page-slot-games__promo-image {
        height: 180px; /* Adjust height for mobile */
    }

    .page-slot-games__steps-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .page-slot-games__steps-list li::before {
        margin-bottom: 15px;
    }

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

    .page-slot-games__video-wrapper {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .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,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .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;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-slot-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically */
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
    }
    .page-slot-games__faq-title {
        font-size: 1.1em;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 10px 20px 20px;
    }
}