/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background: var(--background-color, #FFFFFF); /* Inherit from shared.css or default white */
}

/* Fixed header offset */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* 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: 600px;
    color: #ffffff; /* White text for dark background */
    overflow: hidden;
}

.page-slot-games__hero-image,
.page-slot-games__hero-video {
    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: 20px;
}

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

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

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

.page-slot-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Ensure link is above video but below content */
    display: block;
    cursor: pointer;
}

.page-slot-games__hero-video {
    z-index: 1;
}

/* General Content Area */
.page-slot-games__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #ffffff; /* Explicitly light background for content */
    color: #333333; /* Dark text for light background */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-slot-games__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-slot-games__text-block strong {
    color: #017439;
}

/* 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: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

.page-slot-games__btn-primary:hover {
    background: #005a2e;
    border-color: #005a2e;
}

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

.page-slot-games__btn-secondary:hover {
    background: #e6e6e6;
    color: #005a2e;
}

/* Custom button colors for Register/Login */
.page-slot-games__btn-register {
    background: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}
.page-slot-games__btn-register:hover {
    background: #a10707;
    border-color: #a10707;
}

.page-slot-games__btn-login {
    background: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}
.page-slot-games__btn-login:hover {
    background: #a10707;
    border-color: #a10707;
}

.page-slot-games__cta-buttons--center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

/* Images */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
    filter: none; /* Ensure no filter is used for images */
}

.page-slot-games__image-full-width {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 40px 0;
}

.page-slot-games__image-centered {
    display: block;
    margin: 40px auto;
    max-width: 80%; /* Smaller than full width, centered */
}

/* Features Grid */
.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-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

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

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