/* style/slot-games.css */

/* Custom Colors */
:root {
    --b52win-primary: #11A84E;
    --b52win-secondary: #22C768;
    --b52win-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --b52win-card-bg: #11271B;
    --b52win-background: #08160F;
    --b52win-text-main: #F2FFF6;
    --b52win-text-secondary: #A7D9B8;
    --b52win-border: #2E7A4E;
    --b52win-glow: #57E38D;
    --b52win-gold: #F2C14E;
    --b52win-divider: #1E3A2A;
    --b52win-deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    background-color: var(--b52win-background); /* Body background from custom colors */
    color: var(--b52win-text-main); /* Text color for dark background */
    line-height: 1.6;
}

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

.page-slot-games__dark-bg {
    background-color: var(--b52win-background);
    color: var(--b52win-text-main);
}

.page-slot-games__card {
    background: var(--b52win-card-bg);
    color: var(--b52win-text-main);
    border: 1px solid var(--b52win-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--b52win-glow);
}

.page-slot-games__section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--b52win-gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-slot-games__section-description {
    font-size: 1.1rem;
    color: var(--b52win-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__text-content p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--b52win-text-main);
}

.page-slot-games__text-content strong {
    color: var(--b52win-gold);
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content slightly over the image for better flow */
    background: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--b52win-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.8);
}

.page-slot-games__hero-description {
    font-size: 1.2rem;
    color: var(--b52win-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--b52win-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px var(--b52win-glow);
    opacity: 0.9;
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--b52win-primary);
    border: 2px solid var(--b52win-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: var(--b52win-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px var(--b52win-glow);
}

.page-slot-games__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-slot-games__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    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-top: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

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

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

.page-slot-games__video-caption {
    font-size: 1rem;
    color: var(--b52win-text-secondary);
    margin-top: 20px;
}

.page-slot-games__intro-section,
.page-slot-games__advantages-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-cta {
    padding: 80px 0;
    border-top: 1px solid var(--b52win-divider);
}

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

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

.page-slot-games__image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image-container.page-slot-games__center-image {
    flex: none;
    width: 100%;
    margin-top: 40px;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: block;
}

.page-slot-games__featured-games {
    padding: 80px 0;
    border-top: 1px solid var(--b52win-divider);
}

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

.page-slot-games__game-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-title {
    font-size: 1.4rem;
    color: var(--b52win-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__card-description {
    font-size: 0.95rem;
    color: var(--b52win-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__card-button {
    width: 100%;
}

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

.page-slot-games__advantage-item {
    text-align: center;
}

.page-slot-games__advantage-title {
    font-size: 1.5rem;
    color: var(--b52win-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__advantage-description {
    font-size: 1rem;
    color: var(--b52win-text-secondary);
}

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

.page-slot-games__step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    background: var(--b52win-primary);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__step-title {
    font-size: 1.3rem;
    color: var(--b52win-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__step-description {
    font-size: 0.95rem;
    color: var(--b52win-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__promotion-list,
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-slot-games__promotion-list li,
.page-slot-games__tips-list li {
    background: var(--b52win-card-bg);
    border: 1px solid var(--b52win-divider);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--b52win-text-main);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promotion-list li::before,
.page-slot-games__tips-list li::before {
    content: '✅'; /* Unicode checkmark */
    font-size: 1.2em;
    color: var(--b52win-glow);
    line-height: 1;
    flex-shrink: 0;
}

.page-slot-games__promotion-callout,
.page-slot-games__tips-callout {
    font-size: 1.1rem;
    color: var(--b52win-gold);
    text-align: center;
    margin-top: 30px;
    font-style: italic;
}

.page-slot-games__view-all-promos,
.page-slot-games__view-all-faq,
.page-slot-games__final-cta {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--b52win-primary);
    padding: 15px 20px;
    background-color: var(--b52win-card-bg);
    border-bottom: 1px solid var(--b52win-divider);
    border-radius: 12px;
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

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

.page-slot-games__faq-question:hover {
    background-color: var(--b52win-deep-green);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--b52win-text-main);
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--b52win-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
    padding: 15px 20px 10px;
    font-size: 1rem;
    color: var(--b52win-text-secondary);
    background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter card bg for answer */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top: 1px solid var(--b52win-divider);
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}

.page-slot-games__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__hero-content {
        margin-top: -50px;
        padding: 25px 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-slot-games__hero-description {
        font-size: 1.1rem;
    }

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

    .page-slot-games__text-content,
    .page-slot-games__image-container {
        flex: none;
        width: 100%;
    }

    .page-slot-games__image {
        max-width: 80%;
    }

    .page-slot-games__game-grid,
    .page-slot-games__advantages-grid,
    .page-slot-games__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section,
    .page-slot-games__video-section,
    .page-slot-games__intro-section,
    .page-slot-games__featured-games,
    .page-slot-games__advantages-section,
    .page-slot-games__guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__tips-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-cta {
        padding: 40px 0;
    }

    .page-slot-games__hero-content {
        margin-top: -30px;
        padding: 20px 10px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-slot-games__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: 12px 15px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__video-section {
        padding-top: 10px !important; /* body handles header offset, this is for visual spacing */
    }

    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px;
    }

    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__image-container,
    .page-slot-games__content-wrapper,
    .page-slot-games__game-grid,
    .page-slot-games__advantages-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__promotion-list,
    .page-slot-games__tips-list,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 20px;
    }

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

    .page-slot-games__card {
        padding: 20px;
    }

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

    .page-slot-games__advantage-title,
    .page-slot-games__step-title {
        font-size: 1.3rem;
    }

    .page-slot-games__faq-question {
        font-size: 1.05rem;
        padding: 12px 15px;
    }

    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }

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

    .page-slot-games__promotion-list li,
    .page-slot-games__tips-list li {
        padding: 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        margin-top: -20px;
    }
    .page-slot-games__game-grid,
    .page-slot-games__advantages-grid,
    .page-slot-games__guide-steps {
        grid-template-columns: 1fr;
    }
}