/* style/slot-games.css */

/* Variables */
:root {
    --cwin99-primary: #11A84E;
    --cwin99-secondary: #22C768;
    --cwin99-bg-card: #11271B;
    --cwin99-bg-main: #08160F;
    --cwin99-text-main: #F2FFF6;
    --cwin99-text-secondary: #A7D9B8;
    --cwin99-border: #2E7A4E;
    --cwin99-glow: #57E38D;
    --cwin99-gold: #F2C14E;
    --cwin99-divider: #1E3A2A;
    --cwin99-deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--cwin99-text-main);
    background-color: var(--cwin99-bg-main);
}

.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 */
    overflow: hidden;
    background-color: var(--cwin99-bg-main);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Adjust as needed */
    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: 2;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly with the image for visual effect, but not covering text */
    background: linear-gradient(to top, rgba(8, 22, 15, 1) 0%, rgba(8, 22, 15, 0.7) 70%, rgba(8, 22, 15, 0) 100%);
    padding-top: 150px;
    padding-bottom: 50px;
}

.page-slot-games__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--cwin99-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--cwin99-text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

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

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

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid var(--cwin99-primary);
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--cwin99-primary);
    border: 2px solid var(--cwin99-primary);
}

.page-slot-games__btn-secondary:hover {
    background: var(--cwin99-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-slot-games__section {
    padding: 60px 20px;
    background-color: var(--cwin99-bg-main);
}

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

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--cwin99-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--cwin99-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__text-link {
    color: var(--cwin99-secondary);
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-slot-games__game-card,
.page-slot-games__benefit-item,
.page-slot-games__promotion-card {
    background-color: var(--cwin99-bg-card);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--cwin99-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-card:hover,
.page-slot-games__benefit-item:hover,
.page-slot-games__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-card-image,
.page-slot-games__promotion-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__game-card-title,
.page-slot-games__promotion-card-title {
    font-size: 1.4rem;
    color: var(--cwin99-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__game-card-description,
.page-slot-games__promotion-card-description {
    font-size: 1rem;
    color: var(--cwin99-text-secondary);
    line-height: 1.6;
}

.page-slot-games__benefit-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
}

.page-slot-games__benefit-title {
    font-size: 1.2rem;
    color: var(--cwin99-primary);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__benefit-description {
    font-size: 0.95rem;
    color: var(--cwin99-text-secondary);
    line-height: 1.5;
}

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

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

.page-slot-games__guide-list li {
    background-color: var(--cwin99-bg-card);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--cwin99-text-main);
    border-left: 5px solid var(--cwin99-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__guide-list li strong {
    color: var(--cwin99-gold);
    font-weight: bold;
}

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

.page-slot-games__faq-section {
    background-color: var(--cwin99-deep-green);
    padding: 60px 20px;
}

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

.page-slot-games__faq-item {
    background-color: var(--cwin99-bg-card);
    border: 1px solid var(--cwin99-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--cwin99-gold);
    cursor: pointer;
    background-color: var(--cwin99-bg-card);
    border-bottom: 1px solid var(--cwin99-divider);
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--cwin99-gold);
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--cwin99-primary);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cwin99-text-secondary);
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-slot-games__hero-content {
        margin-top: -100px;
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .page-slot-games__main-title {
        font-size: 2.5rem;
    }

    .page-slot-games__tagline {
        font-size: 1rem;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100%;
        padding: 10px 20px;
        font-size: 1rem;
    }

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

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

    .page-slot-games__text-block {
        font-size: 1rem;
    }

    .page-slot-games__game-grid,
    .page-slot-games__benefits-grid,
    .page-slot-games__promotion-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__guide-list li {
        padding: 15px;
        font-size: 1rem;
    }

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

    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

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

    .page-slot-games__hero-image-wrapper,
    .page-slot-games__game-card,
    .page-slot-games__benefit-item,
    .page-slot-games__promotion-card,
    .page-slot-games__container,
    .page-slot-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Remove padding for hero section if needed, as container handles it */
    .page-slot-games__hero-section {
        padding-left: 0;
        padding-right: 0;
    }

    .page-slot-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        padding-left: 0;
        padding-right: 0;
    }
}