body {
    background-color: var(--background-color, #08160F);
}

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-main, #F2FFF6); /* Default text color for the page content */
    background-color: var(--background-color, #08160F);
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles --header-offset, so this is small */
    background-color: var(--background-color, #08160F);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-slot-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-slot-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gold, #F2C14E);
    margin-bottom: 20px;
    text-shadow: 0px 0px 10px rgba(87, 227, 141, 0.5); /* Subtle glow */
}

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

.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,
.page-slot-games__btn-small,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    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(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
}

.page-slot-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
}

.page-slot-games__section-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--gold, #F2C14E);
    text-shadow: 0px 0px 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games__video-section {
    padding: 10px 20px 60px 20px; /* Small top padding, body handles header offset */
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__video-container {
    width: 100%;
    max-width: 1000px; /* Example max width for video */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%; /* Ensure it takes full width */
    max-width: 100%; /* Ensure it does not overflow */
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__video-caption {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: var(--text-secondary, #A7D9B8);
}

.page-slot-games__features-section {
    padding: 60px 20px;
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games__feature-card {
    background-color: var(--card-bg, #11271B);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 300px; /* Recommended size for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-slot-games__card-description {
    color: var(--text-secondary, #A7D9B8);
    font-size: 0.95em;
}

.page-slot-games__guide-section {
    padding: 60px 20px;
    background-color: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
}

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

.page-slot-games__step-card {
    background-color: var(--card-bg, #11271B);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--glow, #57E38D);
    margin-bottom: 15px;
}

.page-slot-games__step-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-main, #F2FFF6);
}

.page-slot-games__step-description {
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.page-slot-games__promotions-section {
    padding: 60px 20px;
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-slot-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games__promotion-card {
    background-color: var(--card-bg, #11271B);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #2E7A4E);
    transition: transform 0.3s ease;
}

.page-slot-games__promotion-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__btn-tertiary {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
    background: transparent;
    color: var(--glow, #57E38D);
    border: 1px solid var(--glow, #57E38D);
    margin-top: 15px;
}

.page-slot-games__btn-tertiary:hover {
    background: rgba(87, 227, 141, 0.1);
}

.page-slot-games__faq-section {
    padding: 60px 20px;
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
}

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

.page-slot-games__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary, #A7D9B8);
    line-height: 1.6;
}

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

.page-slot-games__call-to-action {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
}

.page-slot-games__call-to-action .page-slot-games__section-title {
    color: var(--gold, #F2C14E);
    margin-bottom: 30px;
}

.page-slot-games__call-to-action .page-slot-games__description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-secondary, #A7D9B8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 2.5em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__main-title {
        font-size: 2em !important;
    }

    .page-slot-games__section-title {
        font-size: 1.8em !important;
    }

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-small,
    .page-slot-games__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-slot-games__features-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-slot-games__hero-image,
    .page-slot-games__feature-icon,
    .page-slot-games__promotion-image,
    .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__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__feature-card,
    .page-slot-games__step-card,
    .page-slot-games__promotion-card,
    .page-slot-games__faq-item,
    .page-slot-games__call-to-action,
    .page-slot-games__features-section,
    .page-slot-games__guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-slot-games__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    }

    .page-slot-games__faq-item summary {
        padding: 15px 20px;
    }

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

    .page-slot-games__call-to-action {
        padding: 60px 15px;
    }
}