/* style/casino.css */

/* Base styles for the casino page content */
.page-casino {
    color: #333333; /* Dark text on light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4; /* Ensuring consistent background, though shared.css defines body */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-casino__section-title {
    font-size: 2.5em;
    color: #FF6B00; /* Primary color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg, #FF6B00, #ff8c00); /* Gradient background for hero */
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-casino__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 40px;
}

.page-casino__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
    z-index: 1;
}

.page-casino__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
}

.page-casino__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    max-width: none; /* Override section-description max-width */
}

.page-casino__hero-cta {
    display: inline-block;
    background-color: #00A86B; /* Secondary color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-right: 20px;
    margin-bottom: 15px; /* For mobile stacking */
}

.page-casino__hero-cta:hover {
    background-color: #00764b;
    transform: translateY(-3px);
}

.page-casino__hero-cta--secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
}

.page-casino__hero-cta--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.page-casino__hero-image {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.page-casino__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block; /* Ensures no extra space below img */
    min-width: 200px;
    min-height: 200px;
}

/* Introduction Section */
.page-casino__introduction-section {
    padding: 60px 0;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

/* Game Categories Section */
.page-casino__game-categories-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-casino__category-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-casino__category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__category-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
    min-width: 200px;
    min-height: 200px;
}