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

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--bg-primary); /* Assuming body background is dark */
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    text-align: center;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.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 {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--btn-primary-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--btn-border);
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 122, 78, 0.4);
}

.page-slot-games__section {
    padding: 60px 20px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--divider);
}

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

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

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.5);
}

.page-slot-games__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-slot-games__text-block {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 30px;
}

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

.page-slot-games__highlight {
    color: var(--gold);
    font-weight: bold;
}

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

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

.page-slot-games__game-card,
.page-slot-games__promo-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--divider);
}

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

.page-slot-games__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.page-slot-games__guide-list li,
.page-slot-games__strategy-list li,
.page-slot-games__security-list li {
    background-color: var(--bg-card);
    border-left: 5px solid var(--gold);
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.page-slot-games__guide-list li:hover,
.page-slot-games__strategy-list li:hover,
.page-slot-games__security-list li:hover {
    transform: translateX(5px);
}

.page-slot-games__guide-step-title,
.page-slot-games__strategy-title,
.page-slot-games__security-feature-title {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__guide-list p,
.page-slot-games__strategy-list p,
.page-slot-games__security-list p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

.page-slot-games__faq-section {
    background-color: var(--bg-primary);
}

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

.page-slot-games__faq-item {
    background-color: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--text-main);
}

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--gold);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider);
}

.page-slot-games__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

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

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

.page-slot-games__cta-final {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--deep-green);
}

.page-slot-games__cta-final .page-slot-games__section-title {
    color: var(--gold);
    margin-bottom: 25px;
}

.page-slot-games__cta-final .page-slot-games__section-description {
    color: var(--text-main);
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        padding: 10px 15px 40px;
    }

    .page-slot-games__hero-content {
        padding: 25px 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: clamp(0.95rem, 3.5vw, 1.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 20px;
        font-size: 1rem;
    }

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

    .page-slot-games__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 25px;
    }

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

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

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__cta-buttons,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-slot-games__video-section {
        padding-top: 10px !important;
    }

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

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

    .page-slot-games__guide-list li,
    .page-slot-games__strategy-list li,
    .page-slot-games__security-list li {
        padding: 15px 20px;
    }

    .page-slot-games__guide-step-title,
    .page-slot-games__strategy-title,
    .page-slot-games__security-feature-title {
        font-size: 1.1rem;
    }

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

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

    .page-slot-games__cta-final {
        padding: 60px 15px;
    }
}