/* style/casino.css */

/* Custom Properties for Colors */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #1a1a1a;
    --border-color: #e0e0e0;
}

/* Base styles for the casino page content */
.page-casino {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light body background */
    line-height: 1.6;
    background-color: #ffffff; /* Explicitly setting for clarity based on default */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Section styling */
.page-casino__section {
    padding: 60px 0;
    text-align: center;
}

.page-casino__section-title {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-casino__section-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #666;
}

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

/* Dark background sections for contrast */
.page-casino__dark-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-casino__dark-section .page-casino__section-title,
.page-casino__dark-section .page-casino__section-description,
.page-casino__dark-section .page-casino__info-title,
.page-casino__dark-section .page-casino__info-text {
    color: var(--text-light);
}

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

/* CTA Buttons */
.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

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

.page-casino__cta-button--primary:hover {
    background-color: #E6C200; /* Darker gold */
    border-color: #E6C200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-casino__cta-center {
    margin-top: 50px;
}

/* Images - Global responsive */
.page-casino img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 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;
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Fallback if image not loaded */
    color: var(--text-light);
    overflow: hidden; /* Ensure no overflow from hero image */
}

.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;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 12px;
    margin-top: -80px; /* Overlap with image slightly */
}

.page-casino__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Module 1: Introduction Section */
.page-casino__introduction-section {
    background-color: #ffffff;
}

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

.page-casino__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__feature-item img {
    
    
    object-fit: contain;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    padding: 5px;
}

.page-casino__feature-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-casino__feature-text {
    font-size: 16px;
    color: #555;
}

/* Module 2: Quick Links */
.page-casino__quick-links-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-casino__quick-links-section .page-casino__section-title {
    color: var(--primary-color);
}

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

.page-casino__quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-casino__quick-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

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

.page-casino__quick-link-item.page-casino__btn-primary:hover {
    background-color: #E6C200; /* Darker gold */
    border-color: #E6C200;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__quick-link-item.page-casino__btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.page-casino__quick-link-item.page-casino__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__quick-link-icon {
    font-size: 24px;
    margin-right: 15px;
}

.page-casino__quick-link-text {
    flex-grow: 1;
    text-align: left;
}

.page-casino__backup-info {
    margin-top: 50px;
    font-size: 16px;
    color: #e0e0e0;
}

/* Module 3: Core Games Section */
.page-casino__core-games-section {
    background-color: #f8f8f8;
}

.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-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
}

.page-casino__game-title {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 20px 10px 20px;
    color: var(--secondary-color);
}

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

.page-casino__game-title a:hover {
    color: var(--primary-color);
}

.page-casino__game-text {
    font-size: 16px;
    color: #555;
    padding: 0 20px 20px 20px;
}

/* Module 4: Promotions Section */
.page-casino__promotions-section {
    background-color: var(--background-light);
}

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

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

.page-casino__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__promo-card img {
    width: 100%;
    
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
}

.page-casino__promo-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 10px 20px;
    color: var(--secondary-color);
}

.page-casino__promo-text {
    font-size: 15px;
    color: #555;
    padding: 0 20px;
    flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-secondary {
    margin: 20px;
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 5px;
}

/* Module 5: Security & Support Section */
.page-casino__security-support-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-casino__security-support-section .page-casino__section-title {
    color: var(--primary-color);
}

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

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

.page-casino__info-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-casino__info-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-casino__info-item img {
    
    
    object-fit: contain;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-color: var(--primary-color);
    padding: 10px;
}

.page-casino__info-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-casino__info-text {
    font-size: 16px;
    color: #f0f0f0;
}

/* Module 6: FAQ Section */
.page-casino__faq-section {
    background-color: #ffffff;
}

.page-casino__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-casino__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}