/* style/slot-games.css */

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

.page-slot-games {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
    overflow: hidden;
    text-align: center;
    color: var(--page-slot-games-text-main);
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-top: 30px; /* Space between image and content */
}

.page-slot-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__section {
    padding: 60px 0;
}

.page-slot-games__introduction {
    background-color: var(--page-slot-games-background);
}

.page-slot-games__game-types {
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__benefits {
    background-color: var(--page-slot-games-background);
}

.page-slot-games__guide {
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__strategy {
    background-color: var(--page-slot-games-background);
}

.page-slot-games__faq-section {
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__download {
    background-color: var(--page-slot-games-background);
}

.page-slot-games__cta {
    background-color: var(--page-slot-games-deep-green);
    padding: 80px 0;
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-secondary {
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-slot-games-gold);
}

.page-slot-games__card-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__btn-primary {
    display: inline-block;
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
}

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

.page-slot-games__btn-margin-top {
    margin-top: 30px;
}

.page-slot-games__grid-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.page-slot-games__benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__benefit-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2357E38D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
    background-size: 24px;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
    font-size: 1em;
}

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

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

.page-slot-games__strategy-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>') no-repeat left center;
    background-size: 24px;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
    font-size: 1em;
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--page-slot-games-text-main);
    list-style: none; /* Remove default marker */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    color: var(--page-slot-games-gold);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__cta-content {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-slot-games__section-title {
        font-size: clamp(1.6em, 4vw, 2.5em);
    }

    .page-slot-games__grid-half {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .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__hero-section {
        padding: 10px 15px 40px 15px;
    }

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

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

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em) !important;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.5em, 5vw, 2.2em) !important;
    }

    .page-slot-games p,
    .page-slot-games li,
    .page-slot-games__card-text {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Mobile image responsiveness */
    .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__hero-section,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-slot-games__btn-primary,
    .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-left: 15px;
        padding-right: 15px;
    }

    .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;
        gap: 10px;
    }

    .page-slot-games__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-slot-games__grid-half--reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .page-slot-games__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

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

@media (max-width: 480px) {
    .page-slot-games__card-title {
        font-size: 1.3em;
    }
    .page-slot-games__btn-primary {
        font-size: 1em;
        padding: 12px 20px;
    }
}