/* style/slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

.page-slot-games__dark-bg {
    background-color: #000000; /* Explicit dark background for sections */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff; /* Explicit light background for sections */
    color: #333333; /* Dark text on light background */
}

.page-slot-games__dark-text {
    color: #333333; /* Force dark text on light backgrounds */
}

/* Container for content */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    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 spacing */
    min-height: 700px;
    background-color: #000000; /* Ensure hero has a dark background */
    overflow: hidden; /* Prevent image overflow */
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
    display: block;
}

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
    line-height: 1.2;
}

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

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 0;
}

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

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-slot-games__section-text {
    font-size: 1em;
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__card-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand primary color for text */
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-slot-games__card-link {
    background-color: #26A9E0;
    color: #ffffff;
    border: none;
    font-size: 0.9em;
    padding: 10px 20px;
    text-align: center;
    max-width: 100%; /* Ensure card links are responsive */
}

.page-slot-games__card-link:hover {
    background-color: #1a7fb0;
}

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

.page-slot-games__game-card {
    background-color: #ffffff; /* Light background for cards on dark section */
    color: #333333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}

.page-slot-games__game-image {
    width: 100%;
    height: 285px; /* Maintain aspect ratio */
    object-fit: cover;
    margin-bottom: 15px;
    display: block; /* Ensure no extra space below image */
}

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

.page-slot-games__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1; /* Push link to bottom */
}

/* Feature Grid (Why w33win) */
.page-slot-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__feature-item {
    background-color: #ffffff; /* Light background for features */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

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

.page-slot-games__feature-text {
    margin-bottom: 20px;
}

.page-slot-games__feature-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

/* Steps Grid (How to Play) */
.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; /* Light background for steps */
    color: #333333;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 15px;
}

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