/* style/casino.css */
/* Base styles for the casino page content */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text color for light background */
    background-color: var(--secondary-color); /* Matches body background from shared.css */
}

.page-casino__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-casino__section-title {
    font-size: 36px;
    color: #26A9E0; /* Primary color for titles */
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-casino__text-block {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-casino__highlight {
    color: #26A9E0;
    font-weight: bold;
}

/* Button styles */
.page-casino__cta-button,
.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-casino__btn-primary {
    background: #26A9E0; /* Primary color */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
    background: #1e87c0; /* Slightly darker primary on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary {
    background: #ffffff;
    color: #26A9E0; /* Primary color for text */
    border: 2px solid #26A9E0;
}

.page-casino__btn-secondary:hover {
    background: #f0f0f0;
    color: #1e87c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-casino__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Color contrast handling */
.page-casino__dark-bg {
    background-color: #26A9E0; /* Primary color as dark background */
    color: #ffffff; /* White text for contrast */
}

.page-casino__dark-bg .page-casino__section-title,
.page-casino__dark-bg .page-casino__text-block,
.page-casino__dark-bg .page-casino__highlight,
.page-casino__dark-bg .page-casino__feature-title,
.page-casino__dark-bg .page-casino__feature-description,
.page-casino__dark-bg .page-casino__game-title,
.page-casino__dark-bg .page-casino__game-description,
.page-casino__dark-bg .page-casino__promo-title,
.page-casino__dark-bg .page-casino__promo-description,
.page-casino__dark-bg .page-casino__security-title,
.page-casino__dark-bg .page-casino__security-description,
.page-casino__dark-bg .page-casino__step-title,
.page-casino__dark-bg .page-casino__step-description,
.page-casino__dark-bg .page-casino__news-title,
.page-casino__dark-bg .page-casino__news-excerpt,
.page-casino__dark-bg .page-casino__faq-question-text {
    color: #ffffff; /* Ensure all text within dark background is white */
}

.page-casino__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for contrast */
}

.page-casino__light-bg .page-casino__section-title,
.page-casino__light-bg .page-casino__highlight {
    color: #26A9E0; /* Primary color for titles/highlights on light 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); /* Fixed header offset */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-casino__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-casino__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* No filter for images */
}

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

.page-casino__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff; /* White text on dark hero background */
}

.page-casino__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for description */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section Grid */
.page-casino__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__feature-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-casino__feature-title {
    font-size: 22px;
    color: #26A9E0;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-casino__feature-description {
    font-size: 16px;
    color: #666666;
}

/* Games Section Grid */
.page-casino__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__game-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    filter: none; /* No filter for images */
}

.page-casino__game-card h3 {
    margin: 15px 15px 10px;
    font-size: 22px;
    font-weight: bold;
}

.page-casino__game-card h3 a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__game-card h3 a:hover {
    color: #1e87c0;
}

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

.page-casino__game-card .page-casino__btn-secondary {
    margin: 0 15px 15px;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 16px;
}

/* Promotions Section Grid */
.page-casino__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__promo-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-casino__promo-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    filter: none; /* No filter for images */
}

.page-casino__promo-title {
    margin: 15px 15px 10px;
    font-size: 22px;
    color: #26A9E0;
    font-weight: bold;
}

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

.page-casino__promo-card .page-casino__btn-primary {
    margin: 0 15px 15px;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 16px;
}

/* Security and Support Section Grid */
.page-casino__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-casino__security-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #ffffff;
}

.page-casino__security-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* No filter for images */
}

.page-casino__security-title {
    font-size: 22px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-casino__security-description {
    font-size: 16px;
    color: #f0f0f0;
}

/* Guide Section Steps */
.page-casino__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__step-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-casino__step-icon {
    font-size: 48px;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e0f2f7;
}
}
}
}