.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-color); /* Inherit from shared */
}

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

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

.page-slot-games__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast with body */
    color: #ffffff;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
    font-weight: bold;
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #ffffff; /* White for titles on dark sections */
}

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

.page-slot-games__section-text a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-slot-games__section-text a:hover {
    color: #4ac1f7;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    box-sizing: border-box;
}

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

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

.page-slot-games__btn-primary:hover {
    background-color: #1f8ec4;
    transform: translateY(-2px);
}

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

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

.page-slot-games__cta-center {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

/* Grid Container for Cards */
.page-slot-games__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__card {
    background-color: #1a1a1a; /* Darker background for cards on dark section */
    color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px; /* Ensure cards have minimum height */
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0; /* Brand color for card titles */
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1; /* Allow text to grow and push button to bottom */
}

.page-slot-games__card-text a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-slot-games__promotion-card .page-slot-games__btn-secondary {
    margin-top: auto; /* Push button to the bottom of the card */
}

/* Lists */
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    list-style-position: inside; /* Keep list markers inside */
}