:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-btn-bg: #C30808;
    --register-login-text: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --border-light: #e0e0e0;
}

.page-casino {
    background-color: var(--secondary-color); /* Matches general background #FFFFFF */
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

/* Hero Banner Section */
.page-casino__hero-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Blend of brand colors */
}

.page-casino__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-casino__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-casino__hero-title {
    font-size: 48px;
    color: var(--text-light); /* White text on dark/gradient background */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-casino__hero-description {
    font-size: 20px;
    color: var(--text-light); /* White text on dark/gradient background */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-casino__cta-button--register {
    background: var(--register-btn-bg); /* #C30808 */
    color: var(--register-login-text); /* #FFFF00 */
    border: 2px solid var(--register-login-text);
}

.page-casino__cta-button--register:hover {
    background: #a30707; /* Manually darkened */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--promotions {
    background: var(--primary-color); /* #017439 */
    color: var(--text-light); /* #FFFFFF */
    border: 2px solid var(--primary-color);
}

.page-casino__cta-button--promotions:hover {
    background: #005f2e; /* Manually darkened */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-casino__section {
    padding: 60px 0;
    margin-bottom: 20px;
    overflow: hidden; /* Prevent content overflow */
}

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

.page-casino__section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-casino__section-title--light {
    color: var(--text-light);
}

.page-casino__paragraph {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.page-casino__paragraph--light {
    color: var(--text-light);
}

.page-casino__highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.page-casino__paragraph--light .page-casino__highlight {
    color: var(--register-login-text); /* Yellow highlight on dark background */
}

.page-casino__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Introduction Section */
.page-casino__introduction-section {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Games Section */
.page-casino__games-section {
    background-color: var(--primary-color); /* Dark background for this section */
    color: var(--text-light);
}

.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: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
    border-radius: 10px;
    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;
    align-items: center;
}

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