.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--dark-bg, #0d0d0d); /* Assuming shared --dark-bg is dark */
}

/* Ensure main content is visible on dark body background */
.page-slot-games__hero-section,
.page-slot-games__video-section,
.page-slot-games__popular-games-section,
.page-slot-games__faq-section {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    color: #ffffff; /* White text for dark backgrounds */
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #26A9E0;
    font-weight: bold;
}

.page-slot-games__section-title--white {
    color: #ffffff;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__text-block--white {
    color: #ffffff;
}

.page-slot-games a {
    color: #EA7C07; /* Login color for links, for emphasis */
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-content {
    z-index: 1;
    position: relative;
    max-width: 900px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay for text readability */
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games__cta-buttons--center {
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-primary:hover {
    background-color: #d66e06;
    border-color: #d66e06;
}

.page-slot-games__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
}

/* Image wrappers for content images */
.page-slot-games__image-wrapper {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

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

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__video-link {
    display: block; /* Ensure the link covers the video */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Make sure the link is clickable over the video */
}

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

.page-slot-games__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-slot-games__feature-icon {
    width: 100%; /* Ensure large images are used as content, not icons */
    height: auto;
    max-width: 250px; /* Constraint feature image size */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}}