/* style/casino.css */

/* Base Styles for page-casino */
.page-casino {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: #121212; /* Matches body background from shared.css */
}

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

.page-casino__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700; /* Gold for main titles */
}

.page-casino__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: #f0f0f0; /* Light grey for descriptions */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Color Contrast Classes */
.page-casino__dark-bg {
    background-color: #121212;
    color: #ffffff;
}

.page-casino__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

/* Hero Intro Section */
.page-casino__hero-intro-section {
    padding: 100px 0; /* Adjust as needed, assuming shared provides body padding-top */
    text-align: center;
    background: linear-gradient(135deg, #8B0000, #FFD700);
    padding-top: var(--header-offset, 120px); /* Use CSS variable for spacing, default 120px if not defined */
}

.page-casino__main-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
}

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

.page-casino__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #121212; /* Dark text for contrast */
}

.page-casino__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #FFD700; /* Gold border */
}

.page-casino__btn-secondary:hover {
    background-color: #FFD700;
    color: #121212;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-tertiary {
    background-color: #8B0000; /* Dark Red */
    color: #ffffff;
    border: 2px solid #8B0000;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

.page-casino__btn-tertiary:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-casino__center-cta {
    text-align: center;
    margin-top: 50px;
}

/* Why Choose Section */
.page-casino__why-choose-section {
    padding: 80px 0;
}

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

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

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

.page-casino__feature-item img {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
}

.page-casino__feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #8B0000; /* Dark Red */
}

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

/* Top Lobbies Section */
.page-casino__top-lobbies-section {
    padding: 80px 0;
}

.page-casino__lobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-casino__lobby-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-casino__lobby-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-casino__lobby-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 20px 10px 20px;
    color: #FFD700;
}

.page-casino__lobby-card p {
    font-size: 15px;
    margin: 0 20px 20px 20px;
    color: #f0f0f0;
}

/* Popular Games Section */
.page-casino__popular-games-section {
    padding: 80px 0;
}

.page-casino__games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-casino__game-detail-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

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

.page-casino__game-detail-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-casino__game-detail-title {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 20px 10px 20px;
    color: #8B0000;
}

.page-casino__game-detail-text {
    font-size: 16px;
    margin: 0 20px 20px 20px;
    color: #555555;
}

/* Promotions Section */
.page-casino__promotions-section {
    padding: 80px 0;
}

.page-casino__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-casino__promotion-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding-bottom: 20px;
}

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