/* style/casino.css */

/* Root variables for colors */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-color-dark: #0A0A0A;
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-casino {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Light text for dark background */
    line-height: 1.6;
    background-color: var(--background-color-dark); /* Ensure main content area matches body background if needed */
    padding-bottom: 50px; /* Some padding at the bottom */
}

/* Fixed header spacing - only small top padding for first section */
.page-casino__hero-section {
    padding-top: 10px; /* Small top spacing, relying on body for header offset */
    padding-bottom: 50px;
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-casino__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop to fill space, but will be 'contain' on mobile */
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-casino__hero-content {
    position: relative; /* Not absolute to stack below image */
    z-index: 2;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the image, but not overlapping text */
    background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-casino__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--glow-color);
}

.page-casino__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.page-casino__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

.page-casino__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-casino__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-casino__btn-secondary {
    background: var(--card-bg-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-casino__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--background-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}