/* style/casino.css */

/* --- General Styles --- */
.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background is white */
}

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

.page-casino__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size for H2 */
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-casino__section-title--light {
    color: #FFFFFF;
}

.page-casino__description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__description--light {
    color: #f0f0f0;
}

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

.page-casino__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-casino__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-casino__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-casino__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-casino__btn-tertiary {
    background-color: #EA7C07; /* Login color for a distinct action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
    font-size: 14px;
    padding: 8px 15px;
}

.page-casino__btn-tertiary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

.page-casino__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-casino__full-width-cta {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-casino__full-width-cta .page-casino__btn-primary {
    width: auto; /* Adjust as needed for full-width on mobile */
    min-width: 250px;
    padding: 15px 30px;
    font-size: 18px;
}


/* --- Hero Section --- */
.page-casino__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-casino__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-casino__hero-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #FFFFFF;
    padding: 20px 0;
    max-width: 900px;
}

.page-casino__main-title {
    font-size: clamp(36px, 6vw, 56px); /* Responsive H1 */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    color: #FFFFFF;
}

.page-casino__hero-section .page-casino__description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* --- Intro Section --- */
.page-casino__intro-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-casino__intro-section p {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: left;
}

.page-casino__intro-section strong {
    color: #26A9E0;
}

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

.page-casino__feature-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

/* --- Games Section --- */
.page-casino__games-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF;
}

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

.page-casino__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px; /* For button */
}

.page-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-casino__game-title {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-casino__game-description {
    font-size: 15px;
    color: #f0f0f0;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

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

.page-casino__promo-card {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    overflow: hidden;
}