.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF; /* White text for dark background */
    overflow: hidden;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 30px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Special color for title for impact */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

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

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Blend with background color */
}

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

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

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #017439; /* Brand primary color for titles on light background */
}

.page-slot-games__section-title--white {
    color: #FFFFFF; /* White for titles on dark background */
}

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

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

.page-slot-games__highlight {
    font-weight: bold;
    color: #017439; /* Highlight color */
}

.page-slot-games__text-block--white .page-slot-games__highlight {
    color: #FFFF00; /* Yellow highlight on dark background */
}

.page-slot-games__link-inline {
    color: #017439;
    text-decoration: underline;
}

.page-slot-games__text-block--white .page-slot-games__link-inline {
    color: #FFFF00;
}

.page-slot-games__text-center {
    text-align: center;
}

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

/* 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, border-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    white-space: nowrap; /* Prevent text wrapping by default */
}

.page-slot-games__btn-primary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-slot-games__btn-primary:hover {
    background-color: #02944d; /* Slightly darker green */
    border-color: #02944d;
}

.page-slot-games__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #017439;
    border-color: #017439;
}

/* Specific button colors for Register/Login */
.page-slot-games__btn-register {
    background-color: #C30808; /* Red for Register */
    color: #FFFF00; /* Yellow for Register font */
    border-color: #C30808;
}
.page-slot-games__btn-register:hover {
    background-color: #e00a0a;
    border-color: #e00a0a;
}

.page-slot-games__btn-login {
    background-color: #C30808; /* Red for Login */
    color: #FFFF00; /* Yellow for Login font */
    border-color: #C30808;
}
.page-slot-games__btn-login:hover {
    background-color: #e00a0a;
    border-color: #e00a0a;
}


/* Grid Layouts */
.page-slot-games__grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #017439;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #555555;
}

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

.page-slot-games__game-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #555555;
}

/* Feature List */
.page-slot-games__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-slot-games__feature-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #017439;
}

.page-slot-games__feature-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Steps Grid */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: #333333;
    border: 1px solid #e0e0e0;
    position: relative;
    padding-top: 60px;
}

.page-slot-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #017439;
    color: #FFFFFF;
    font-size: 2em;
    font-weight: bold;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: #555555;
}