/* style/slot-games.css */

/* Base styles for the slot-games page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: transparent; /* Inherit from body var(--background-dark) */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff; /* Default for dark sections */
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Colors and contrast */
.page-slot-games__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #017439; /* Dark green title on light background */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    /* padding-top: var(--header-offset, 120px); - Removed as shared.css is assumed to handle body padding */
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.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;
    cursor: pointer;
    text-align: center;
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */    border: 2px solid #C30808;
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__video-wrapper {
    max-width: 800px;
    margin: 30px auto;
    position: relative;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video-link {
    display: block;
    cursor: pointer;
}

.page-slot-games__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Game Types Grid */
.page-slot-games__game-types {
    text-align: center;
}

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

.page-slot-games__card {
    background-color: #f8f8f8;
    color: #333333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}