/* style/casino.css */

/* --- General Styles for .page-casino --- */
.page-casino {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-casino__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-casino__section-title {
    font-size: 36px;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-casino__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-casino p {
    margin-bottom: 15px;
    font-size: 17px;
}

/* --- 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); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Fades from brand blue to white */
    overflow: hidden; /* Prevent content overflow */
}

.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;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

.page-casino__main-title {
    font-size: 48px;
    color: #FFFFFF; /* White text on blue gradient */
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-casino__intro-text {
    font-size: 20px;
    color: #f0f0f0; /* Slightly off-white for better contrast on gradient */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__cta-button:hover {
    background: #FF9933;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-casino__game-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    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: 250px; /* Fixed height for consistency */
    object-fit: cover;
    filter: none; /* No filter on images */
    border-bottom: 1px solid #eee;
}

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

.page-casino__game-title a {
    color: #26A9E0; /* Brand primary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__game-title a:hover {
    color: #1a7bbd;
    text-decoration: underline;
}

.page-casino__game-card p {
    font-size: 15px;
    color: #555555;
    padding: 0 15px 20px;
}

/* --- Dark Section (e.g., Advantages, Responsible Gaming) --- */
.page-casino__dark-section {
    background: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 80px 0;
}

.page-casino__dark-section .page-casino__section-title {
    color: #ffffff;
}

.page-casino__dark-section .page-casino__section-title::after {
    background-color: #ffffff;
}

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

.page-casino__feature-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on blue */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-casino__feature-item p {
    font-size: 16px;
    color: #f0f0f0;
}

/* --- Promotions Section --- */
.page-casino__promo-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: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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%;
    height: 280px; /* Fixed height for promo images */
    object-fit: cover;
    filter: none; /* No filter on images */
    border-bottom: 1px solid #eee;
}

.page-casino__promo-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 15px 10px;
}

.page-casino__promo-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__promo-title a:hover {
    color: #1a7bbd;
    text-decoration: underline;
}

.page-casino__promo-card p {
    font-size: 15px;
    color: #555555;
    padding: 0 15px 20px;
}

.page-casino__button-group {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-casino__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-primary:hover {
    background: #1a7bbd;
    border-color: #1a7bbd;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-casino__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__btn-secondary:hover {
    background: #e0f2f7;
    color: #1a7bbd;
    border-color: #1a7bbd;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

.page-casino__security-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-casino__security-item h3 {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}