.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency, though body handles main bg */
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevent content overflow issues */
}

.page-slot-games__section-title {
    font-size: 3em;
    color: #FFB81C; /* Gold for titles */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 0; /* Assumes shared.css handles body padding-top: var(--header-offset) */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
    background: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%); /* Fallback gradient */
    overflow: hidden;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__main-title {
    font-size: 3.5em;
    color: #E44D26; /* Orange for main title */
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-slot-games__intro-description {
    font-size: 1.3em;
    color: #f8f8f8;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%; /* Ensure buttons adapt to screen width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
    background-color: #E44D26; /* Orange */
    color: #ffffff;
    border-color: #E44D26;
}

.page-slot-games__btn-primary:hover {
    background-color: #FFB81C; /* Gold on hover */
    border-color: #FFB81C;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(228, 77, 38, 0.4);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFB81C; /* Gold */
    border-color: #FFB81C;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFB81C; /* Gold on hover */
    color: #0a0a0a; /* Dark text on gold */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 184, 28, 0.4);
}

/* --- Features Grid --- */
.page-slot-games__why-play {
    background-color: #1a1a1a;
}

.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: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3a3a3a;
}

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

.page-slot-games__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-slot-games__feature-title {
    font-size: 1.8em;
    color: #FFB81C;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* --- Game Types Section --- */
.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: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3a3a3a;
}

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

.page-slot-games__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-slot-games__game-title {
    font-size: 1.6em;
    color: #E44D26;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* --- Cockfighting Integration Section --- */
.page-slot-games__cockfighting-integration {
    background-color: #E44D26; /* Brand primary color as background */
    color: #ffffff; /* White text for contrast */
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__integration-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-slot-games__integration-text {
    flex: 1;
}

.page-slot-games__integration-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #fff;
}

.page-slot-games__integration-image {
    flex: 1;
    text-align: center;
}

.page-slot-games__integration-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* --- How To Play Section --- */
.page-slot-games__how-to-play {
    background-color: #0a0a0a;
}

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

.page-slot-games__step-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3a3a3a;
}

.page-slot-games__step-title {
    font-size: 1.8em;
    color: #FFB81C;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__step-item p {
    color: #e0e0e0;
    font-size: 1em;
}

.page-slot-games__step-item a {
    color: #E44D26;
    text-decoration: underline;
}

.page-slot-games__step-item a:hover {
    color: #FFB81C;
}

/* --- Promotions Section --- */
.page-slot-games__promotions {
    background-color: #1a1a1a; /* Darker background for light-bg section */
    color: #f0f0f0;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #FFB81C;
}

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

.page-slot-games__promo-card {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3a3a3a;
}

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