/* style/slot-games.css */

/* Variables for colors */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --register-login-bg: #C30808;
    --register-login-text: #FFFF00;
}

/* Base styles for the page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light backgrounds */
    line-height: 1.6;
    background-color: var(--secondary-color); /* Default light background */
}

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

/* Section titles */
.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

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

.page-slot-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background-color: #006030; /* Darker green */
    border-color: #006030;
}

.page-slot-games__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Custom button colors for Register/Login if they appear */
.page-slot-games__hero-cta-buttons .page-slot-games__btn-primary,
.page-slot-games__cta-section .page-slot-games__btn-primary { /* Assuming register/login intent for primary CTAs */
    background-color: var(--register-login-bg);
    color: var(--register-login-text);
    border-color: var(--register-login-bg);
}
.page-slot-games__hero-cta-buttons .page-slot-games__btn-primary:hover,
.page-slot-games__cta-section .page-slot-games__btn-primary:hover {
    background-color: #A80707; /* Darker red */
    border-color: #A80707;
}

.page-slot-games__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Card styles */
.page-slot-games__card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

/* Image styles - IMPORTANT: No filter properties */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    /* Ensure minimum size for content images */
    min-width: 200px;
    min-height: 200px;
}

/* Section background colors */
.page-slot-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: var(--text-light);
}
.page-slot-games__dark-bg .page-slot-games__section-intro {
    color: var(--text-light);
}
.page-slot-games__dark-bg .page-slot-games__game-card .page-slot-games__game-title a {
    color: var(--text-light);
}
.page-slot-games__dark-bg .page-slot-games__promo-card .page-slot-games__promo-title a {
    color: var(--text-light);
}


.page-slot-games__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    padding: 80px 20px 40px; /* Added padding-top to ensure content is not hidden by header */
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    overflow: hidden; /* Prevent image overflow */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4; /* Slightly dim the background image */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--text-light);
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-light);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-light);
}

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

/* Intro Video Section */
.page-slot-games__intro-video-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

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

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
    cursor: pointer; /* Add pointer cursor for click-to-jump */
}

.page-slot-games__video-description {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dark);
}


/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
}

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

.page-slot-games__feature-item {
    background-color: var(--secondary-color);
}

.page-slot-games__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-slot-games__feature-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Games Showcase Section */
.page-slot-games__games-showcase-section {
    padding: 80px 0;
}

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

.page-slot-games__game-card {
    background-color: var(--secondary-color);
    padding: 0; /* Remove padding from card itself, content will have it */
    overflow: hidden;
    text-align: left;
}
.page-slot-games__dark-bg .page-slot-games__game-card {
    background-color: var(--secondary-color); /* Override card background for dark section */
    color: var(--text-dark);
}

.page-slot-games__game-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.page-slot-games__game-info {
    padding: 20px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}
.page-slot-games__game-title a {
    text-decoration: none;
    color: var(--primary-color); /* Default for light background cards */
    transition: color 0.3s ease;
}
.page-slot-games__game-title a:hover {
    color: #006030; /* Darker green */
}
.page-slot-games__dark-bg .page-slot-games__game-title a {
    color: var(--primary-color); /* Ensure link color is primary */
}


.page-slot-games__game-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-slot-games__view-all-button {
    text-align: center;
    margin-top: 40px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__step-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

.page-slot-games__step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-slot-games__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Ensure descriptions take equal height */
    color: var(--text-dark);
}

.page-slot-games__additional-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    font-style: italic;
    color: var(--text-dark);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
}

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

.page-slot-games__promo-card {
    background-color: var(--secondary-color);
    padding: 0;
    overflow: hidden;
    text-align: left;
}
.page-slot-games__dark-bg .page-slot-games__promo-card {
    background-color: var(--secondary-color); /* Override card background for dark section */
    color: var(--text-dark);
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.page-slot-games__promo-content {
    padding: 20px;
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}
.page-slot-games__promo-title a {
    text-decoration: none;
    color: var(--primary-color); /* Default for light background cards */
    transition: color 0.3s ease;
}
.page-slot-games__promo-title a:hover {
    color: #006030; /* Darker green */
}
}