.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* A very light grey for subtle contrast with white sections */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #0A2463 0%, #0A2463 70%, #E0B048 100%); /* Brand colors */
    color: #ffffff;
    overflow: hidden; /* Prevent image overflow */
}

.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;
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-casino__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #E0B048; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
    font-size: 1.25em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-casino__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* For mobile */
}

.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%; /* For mobile */
    box-sizing: border-box; /* For mobile */
    white-space: normal; /* For mobile */
    word-wrap: break-word; /* For mobile */
}

.page-casino__cta-button--primary {
    background: #E0B048;
    color: #0A2463;
    border: 2px solid #E0B048;
}

.page-casino__cta-button--primary:hover {
    background: #f0c258;
    border-color: #f0c258;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button--secondary {
    background: #0A2463;
    color: #E0B048;
    border: 2px solid #E0B048;
}

.page-casino__cta-button--secondary:hover {
    background: #1a3a7a;
    border-color: #f0c258;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-casino__section {
    padding: 60px 20px;
    margin-bottom: 0; /* Sections should not have external margins */
}

.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Ensure container takes full width on mobile */
    box-sizing: border-box; /* Include padding in width */
}

.page-casino__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-casino__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #555555;
}

/* Dark background section */
.page-casino__dark-bg {
    background-color: #0A2463;
    color: #ffffff;
}

.page-casino__dark-bg .page-casino__section-title {
    color: #E0B048;
}

.page-casino__dark-bg .page-casino__text-block {
    color: #f0f0f0;
}

/* Introduction Section */
.page-casino__introduction-section {
    background-color: #ffffff;
}

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

.page-casino__feature-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-casino__feature-item p {
    color: #666666;
    font-size: 1em;
}

/* Quick Access Section */
.page-casino__quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-casino__quick-link-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__quick-link-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__quick-link-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #E0B048;
}

.page-casino__quick-link-card p {
    color: #f0f0f0;
    font-size: 0.95em;
}

/* Games Section */
.page-casino__games-section {
    background-color: #ffffff;
}

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

.page-casino__game-category {
    background: #fefefe;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-casino__game-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-casino__game-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-casino__game-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-casino__game-category p {
    color: #666666;
    font-size: 0.95em;
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-casino__btn-text {
    color: #E0B048;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino__btn-text:hover {
    background-color: #E0B048;
    color: #0A2463;
}

/* Promotions Section */
.page-casino__promotions-section {
    background-color: #f0f0f0; /* Light background for contrast */
}

.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: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}