/* style/casino.css */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is #000 from shared.css */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

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

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

.page-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Register and Login font color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styling */
.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.page-casino__dark-section .page-casino__section-title {
    color: #ffffff;
}

.page-casino__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0; /* Light grey for readability on dark background */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
    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 #C30808;
}

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

/* About Section */
.page-casino__about-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 60px 0;
}

.page-casino__about-section .page-casino__text-block {
    color: #ffffff;
}

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

.page-casino__game-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.05); /* Slightly lighter card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-casino__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-casino__game-card .page-casino__card-title {
    font-size: 1.4em;
    margin: 15px 15px 10px 15px;
    color: #FFFF00; /* Yellow for titles */
}

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

.page-casino__game-card .page-casino__card-title a:hover {
    color: #e02020; /* Red on hover */
}

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

.page-casino__game-card .page-casino__btn-primary {
    margin: 0 15px 15px 15px;
    width: calc(100% - 30px);
}

/* Advantages Section */
.page-casino__advantages-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

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

.page-casino__advantage-item {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__advantage-icon {
    width: 200px; /* Enforce min-size */
    height: 200px; /* Enforce min-size */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-casino__advantage-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for titles */
}

.page-casino__advantage-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Promotions Section */
.page-casino__promotions-section {
    background-color: #0d0d0d;
    padding: 60px 0;
}

.page-casino__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 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 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-casino__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-casino__promo-card .page-casino__card-title {
    font-size: 1.4em;
    margin: 15px 15px 10px 15px;
    color: #FFFF00;
}

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

.page-casino__promo-card .page-casino__card-title a:hover {
    color: #e02020;
}

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

.page-casino__promo-card .page-casino__btn-secondary {
    margin: 0 15px 15px 15px;
    width: calc(100% - 30px);
}

.page-casino__promotions-section .page-casino__btn-primary {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* How to Join Section */
.page-casino__how-to-join-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}