/* style/casino.css */

/* Base Styles */
.page-casino {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css #0a0a0a */
}

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

.page-casino__section-title {
    font-size: 38px;
    font-weight: bold;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-casino__section-description {
    font-size: 18px;
    color: #f0f0f0; /* Light grey for descriptions */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-casino__text-block {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box; /* Responsive button */
    white-space: normal; /* Responsive button text */
    word-wrap: break-word; /* Responsive button text */
}

.page-casino__btn-primary {
    background-color: #0047AB;
    color: #ffffff;
    border: 2px solid #0047AB;
}

.page-casino__btn-primary:hover {
    background-color: #003a8a;
    border-color: #003a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-casino__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-tertiary {
    background-color: #FFD700;
    color: #000000;
    border: 2px solid #FFD700;
}

.page-casino__btn-tertiary:hover {
    background-color: #e0c000;
    border-color: #e0c000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    /* Fixed header spacing */
    padding-top: var(--header-offset, 120px);
    margin-top: 0;
    background: linear-gradient(135deg, #0047AB, #0a0a0a 70%); /* Blend with body background */
}

.page-casino__hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    gap: 40px;
}

.page-casino__hero-text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 2;
}

.page-casino__hero-title {
    font-size: 52px;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 25px;
    line-height: 1.1;
}

.page-casino__hero-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-casino__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    width: 100%; /* Ensure container fills space */
    max-width: 100%; /* Ensure container fills space */
    box-sizing: border-box;
    overflow: hidden;
}

.page-casino__hero-cta-buttons .page-casino__btn-primary,
.page-casino__hero-cta-buttons .page-casino__btn-secondary {
    flex: 1;
    min-width: 200px; /* Minimum width for buttons */
}

.page-casino__hero-image-wrapper {
    flex: 1;
    max-width: 600px;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter is applied */
}

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

.page-casino__introduction-section .page-casino__section-title {
    color: #FFD700;
}

.page-casino__introduction-section .page-casino__section-description {
    color: #f0f0f0;
}

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

.page-casino__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-casino__feature-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-casino__feature-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-casino__feature-text {
    font-size: 16px;
    color: #f0f0f0;
}

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

.page-casino__game-category-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.08); /* Slightly transparent white */
    border-radius: 10px;
    overflow: hidden;
    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;
    padding-bottom: 20px;
}

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

.page-casino__game-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

.page-casino__game-title {
    font-size: 22px;
    color: #FFD700;
    margin: 20px 20px 10px 20px;
}

.page-casino__game-description {
    font-size: 15px;
    color: #cccccc;
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-casino__game-card .page-casino__btn-tertiary {
    margin: 0 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
    background-color: #0047AB; /* Dark blue background */
    color: #ffffff;
}

.page-casino__promotions-section .page-casino__section-title {
    color: #FFD700;
}

.page-casino__promotions-section .page-casino__section-description {
    color: #f0f0f0;
}

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