/* style/casino-live-dealer.css */

/* General page styling */
.page-casino-live-dealer {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark #121212, so text should be light */
    background-color: #121212; /* Inherited from shared, but explicitly set for clarity */
}

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

.page-casino-live-dealer__section {
    padding: 60px 0;
    text-align: center;
}

.page-casino-live-dealer__dark-bg {
    background-color: #0d0d0d; /* Slightly darker than body for section distinction */
    color: #ffffff;
}

.page-casino-live-dealer__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #017439; /* Primary brand color for titles */
    font-weight: bold;
}

.page-casino-live-dealer__section-title--white {
    color: #ffffff; /* White title for dark sections */
}

.page-casino-live-dealer__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for body text on dark background */
}

.page-casino-live-dealer__text-block--white {
    color: #ffffff;
}

/* Buttons */
.page-casino-live-dealer__btn-primary {
    display: inline-block;
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't push width */
}

.page-casino-live-dealer__btn-primary:hover {
    background-color: #005a2e; /* Darker shade on hover */
}

.page-casino-live-dealer__btn-register,
.page-casino-live-dealer__btn-login {
    display: inline-block;
    background-color: #C30808; /* Specific color for register/login */
    color: #FFFF00; /* Specific text color for register/login */
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-casino-live-dealer__btn-register:hover,
.page-casino-live-dealer__btn-login:hover {
    background-color: #9f0606; /* Darker red on hover */
}

.page-casino-live-dealer__btn-large {
    font-size: 1.2em;
    padding: 15px 40px;
}

/* Hero Section */
.page-casino-live-dealer__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
}

.page-casino-live-dealer__hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden; /* Ensure video doesn't overflow */
}

.page-casino-live-dealer__hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6); /* Darken video for text readability */
}

.page-casino-live-dealer__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2; /* Make the link clickable above video */
    cursor: pointer;
}

.page-casino-live-dealer__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 3;
}

.page-casino-live-dealer__hero-content {
    position: relative;
    z-index: 4;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-casino-live-dealer__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-casino-live-dealer__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* Game Types Section */
.page-casino-live-dealer__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino-live-dealer__game-card {
    background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Ensure cards have equal height */
    color: #ffffff;
}

.page-casino-live-dealer__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%; /* Ensure images take full card width */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
}

.page-casino-live-dealer__game-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #017439;
}

.page-casino-live-dealer__game-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
    color: #f0f0f0;
}

/* Why Choose Us Section */
.page-casino-live-dealer__why-choose-us {
    background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-casino-live-dealer__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino-live-dealer__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-casino-live-dealer__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
}

.page-casino-live-dealer__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-casino-live-dealer__feature-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

/* Promotions Section */
.page-casino-live-dealer__promo-section {
    background-color: #0d0d0d;
}