/* style/casino.css */

/* --- General Page Styles --- */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-casino__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-casino__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #8B0000; /* Dark red accent */
    border-radius: 2px;
}

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

.page-casino__highlight {
    color: #FFD700;
    font-weight: bold;
}

/* --- Buttons --- */
.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-casino__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #121212; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

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

.page-casino__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-casino__btn-secondary:hover {
    background-color: #FFD700;
    color: #121212;
}

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

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

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

.page-casino__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken video for text readability */
}

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

.page-casino__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-casino__hero-description {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 40px;
}

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

/* --- About Section --- */
.page-casino__about-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background for content */
    color: #f0f0f0;
}

.page-casino__image-full-width {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

/* --- Games Section --- */
.page-casino__games-section {
    padding: 80px 0;
    background-color: #121212; /* Dark background */
    color: #f0f0f0;
}

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

.page-casino__game-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-casino__game-card:hover {
    transform: translateY(-10px);
}

.page-casino__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-casino__card-title {
    font-size: 1.5em;
    color: #FFD700;
    padding: 15px 20px 5px;
    margin: 0;
}

.page-casino__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__card-title a:hover {
    color: #ffffff;
}

.page-casino__card-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-casino__card-link {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background-color: #8B0000; /* Dark red for links */
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-casino__card-link:hover {
    background-color: #a00000;
}

/* --- Promotion Section --- */
.page-casino__promo-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-casino__promo-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.page-casino__promo-card .page-casino__card-image {
    height: 250px; /* Adjust height for promo images */
    min-width: 200px;
    min-height: 200px;
}

.page-casino__promo-card .page-casino__card-title {
    font-size: 1.6em;
}

.page-casino__promo-card .page-casino__card-description {
    font-size: 1em;
    flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-primary,
.page-casino__promo-card .page-casino__btn-secondary {
    margin: 15px 20px 20px;
    width: calc(100% - 40px);
}

/* --- Why Choose Us Section --- */
.page-casino__why-choose-us {
    padding: 80px 0;
    background-color: #121212;
    color: #f0f0f0;
}

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

.page-casino__feature-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}