/* style/casino.css */

/* Variables from shared.css */
:root {
    --primary-color: #26A9E0; /* Main brand color */
    --secondary-color: #FFFFFF; /* Accent color */
    --background-color: #FFFFFF; /* Default body background from shared */
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --header-offset: 120px; /* Fallback, actual value from shared.css */
    --login-button-color: #EA7C07; /* Custom color for login */
}

/* Base styles for the page content */
.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-color);
}

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

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

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

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

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

.page-casino__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-casino__text-block--light a {
    color: var(--secondary-color);
}

.page-casino__grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.page-casino__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* CTA Button Styles */
.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__cta-button--primary {
    background: var(--login-button-color); /* Use custom login color */
    color: var(--secondary-color);
    border: 2px solid transparent;
}

.page-casino__cta-button--primary:hover {
    background: #c76505; /* A slightly darker shade of EA7C07 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid transparent;
}

.page-casino__cta-button--secondary:hover {
    background: #1f8ac1; /* A slightly darker shade of 26A9E0 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 5px;
}

.page-casino__cta-button--outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-casino__cta-button--outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-casino__cta-button--outline-light {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-casino__cta-button--outline-light:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sections */
.page-casino__introduction-section,
.page-casino__games-overview-section,
.page-casino__safety-support-section,
.page-casino__faq-section {
    padding: 80px 0;
}

.page-casino__quick-access-section,
.page-casino__promotions-section,
.page-casino__blog-section {
    padding: 80px 0;
    background-color: var(--primary-color); /* Dark background for contrast */
    color: var(--text-light);
}

/* 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); /* Ensure space for fixed header */
    background: linear-gradient(135deg, #26A9E0, #34BFF7); /* Slightly varied gradient for hero background */
}

.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;
    max-width: 900px; /* Limit hero image width */
}

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

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

.page-casino__hero-title {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color); /* White text for hero title */
}

.page-casino__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color); /* White text for hero description */
}