/* style/casino.css */

/* --- General Page Styles --- */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default background for main content sections */
}

.page-casino__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-casino__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-casino__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* --- Hero Section --- */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF; /* Light text for dark/video background */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
}

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

.page-casino__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability, but not changing color */
}

.page-casino__hero-video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Above video, below content */
    cursor: pointer;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
    border-radius: 10px;
}

.page-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Yellow for main title, as per Register/Login font */
    line-height: 1.2;
}

.page-casino__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

/* --- Buttons --- */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-register,
.page-casino__btn-login,
.page-casino__btn-download {
    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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-casino__btn-primary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-casino__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-casino__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-casino__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

.page-casino__btn-register,
.page-casino__btn-login {
    background-color: #C30808; /* Red for Register/Login */
    color: #FFFF00; /* Yellow font for Register/Login */
    border: 2px solid #C30808;
}

.page-casino__btn-register:hover,
.page-casino__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-casino__btn-download {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-casino__btn-download:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

/* --- Why Choose Us Section --- */
.page-casino__why-choose-us {
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-casino__feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-icon {
    width: 200px; /* Min size for image */
    height: 150px; /* Min size for image */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-casino__feature-description {
    font-size: 1em;
    color: #666666;
    flex-grow: 1; /* Ensures consistent height */
}

.page-casino__cta-section {
    text-align: center;
    margin-top: 60px;
}

/* --- Featured Games Section --- */
.page-casino__featured-games {
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-casino__featured-games .page-casino__section-title {
    color: #FFFFFF; /* White title for dark background */
}

.page-casino__featured-games .page-casino__section-intro {
    color: #e0e0e0;
}

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

.page-casino__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-casino__game-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-casino__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-casino__game-title a {
    color: #FFFF00; /* Yellow for game titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__game-title a:hover {
    color: #FFFFFF;
}

.page-casino__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Getting Started Section --- */
.page-casino__getting-started {
    background-color: #FFFFFF;
    color: #333333;
}