/* style/casino.css */

/* Base Styles & Typography */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #1a1a1a (dark), so use light text */
}

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

.page-casino__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-casino__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    color: #f0f0f0; /* Light grey for text on dark background */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-casino__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-casino__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-casino__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-casino__hero-title {
    font-size: 3.5em;
    color: #FFFF00; /* Login/Register font color, high contrast */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* For responsive text wrapping */
    word-wrap: break-word; /* For responsive text wrapping */
    text-align: center;
}

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

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

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

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

.page-casino__btn-tertiary {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-casino__btn-tertiary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-casino__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

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

/* Section specific styles */
.page-casino__introduction-section,
.page-casino__live-casino-section,
.page-casino__how-to-section,
.page-casino__payment-section,
.page-casino__cta-final-section {
    background-color: #1a1a1a; /* Dark background */
    padding: 80px 0;
}

.page-casino__games-section,
.page-casino__benefits-section,
.page-casino__promotions-section,
.page-casino__faq-section {
    background-color: #0d0d0d; /* Slightly darker background for contrast */
    padding: 80px 0;
}

.page-casino__introduction-section .page-casino__section-title,
.page-casino__live-casino-section .page-casino__section-title,
.page-casino__how-to-section .page-casino__section-title,
.page-casino__payment-section .page-casino__section-title,
.page-casino__cta-final-section .page-casino__section-title {
    color: #017439; /* Brand color for titles on light-ish background */
}

.page-casino__introduction-section .page-casino__text-block,
.page-casino__live-casino-section .page-casino__text-block,
.page-casino__how-to-section .page-casino__text-block,
.page-casino__payment-section .page-casino__text-block,
.page-casino__cta-final-section .page-casino__text-block {
    color: #f0f0f0; /* Light text on dark background */
}


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

.page-casino__game-card,
.page-casino__benefit-card,
.page-casino__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-casino__game-card:hover,
.page-casino__benefit-card:hover,
.page-casino__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__game-image,
.page-casino__benefit-icon,
.page-casino__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
    min-width: 200px; /* Enforce min image size */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__game-title,
.page-casino__benefit-title,
.page-casino__promo-title {
    font-size: 1.6em;
    color: #017439; /* Brand color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-casino__game-description,
.page-casino__benefit-description,
.page-casino__promo-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows descriptions to take up available space */
}


/* Live Casino Section */
.page-casino__content-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-casino__text-content {
    flex: 1;
    min-width: 300px;
    color: #f0f0f0;
}

.page-casino__image-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-casino__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    min-height: 200px; /* Enforce min image size */
    min-width: 200px; /* Enforce min image size */
}

/* How-To Section (Steps) */
.page-casino__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__step-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}