/* style/casino.css */

/* Variables */
:root {
    --primary-color: #0A246A;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #0A246A;
    --border-color: #e0e0e0;
}

/* Base styles for the casino page */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: #ffffff; /* Assuming default white body background */
}

/* 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 content is below fixed header */
    background-color: var(--primary-color); /* Dark background for hero */
    color: var(--text-light);
}

.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;
    position: relative;
    z-index: 1; /* Image behind text if needed, but text is below image here */
}

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

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

.page-casino__hero-content h1 {
    font-size: 3.2em;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Golden title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-casino__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-casino__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-grow: 1;
    max-width: 250px; /* Limit individual button width */
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

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

.page-casino__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* General Section Styles */
.page-casino__section {
    padding: 80px 20px;
    text-align: center;
}

.page-casino__dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-casino__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

.page-casino__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-casino__dark-section .page-casino__section-title {
    color: var(--secondary-color);
}

.page-casino__section-description {
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Game Categories Grid */
.page-casino__game-grid,
.page-casino__promo-grid,
.page-casino__strategy-grid,
.page-casino__features-grid,
.page-casino__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__game-card,
.page-casino__promo-card,
.page-casino__news-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    color: var(--text-dark);
}

.page-casino__dark-section .page-casino__promo-card,
.page-casino__dark-section .page-casino__news-card {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.page-casino__game-card:hover,
.page-casino__promo-card:hover,
.page-casino__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__game-card img,
.page-casino__promo-card img,
.page-casino__news-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-casino__dark-section .page-casino__promo-card img,
.page-casino__dark-section .page-casino__news-card img {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-casino__card-content {
    padding: 25px;
}

.page-casino__card-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-casino__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__dark-section .page-casino__card-title a {
    color: var(--secondary-color);
}

.page-casino__card-title a:hover {
    color: var(--secondary-color);
}

.page-casino__dark-section .page-casino__card-title a:hover {
    color: #e6c200;
}

.page-casino__card-content p {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-casino__dark-section .page-casino__card-content p {
    color: #cccccc;
}

.page-casino__btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-casino__btn-small:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-casino__dark-section .page-casino__btn-small {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-casino__dark-section .page-casino__btn-small:hover {
    background: #e6c200;
    color: var(--primary-color);
}

/* Strategy Section */
.page-casino__strategy-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}