/* style/casino.css */

/* Base Styles for the Casino Page */
.page-casino {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-casino__section-title {
    font-size: 2.8em;
    color: #008000; /* Auxiliary green for titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

.page-casino__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #555555;
}

.page-casino__btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.page-casino__btn--primary {
    background-color: #FFD700; /* Main brand gold */
    color: #333333;
    border: 2px solid #FFD700;
}

.page-casino__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-casino__btn--secondary {
    background-color: transparent;
    color: #008000; /* Auxiliary green for text */
    border: 2px solid #008000;
}

.page-casino__btn--secondary:hover {
    background-color: #008000;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-casino__btn--small {
    padding: 8px 20px;
    font-size: 0.9em;
}

.page-casino__link {
    color: #008000; /* Auxiliary green for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-casino__link:hover {
    color: #FFD700; /* Gold on hover */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-casino__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-casino__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-casino__hero-actions .page-casino__btn {
    margin: 0 15px;
}

/* About Section */
.page-casino__about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

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

.page-casino__feature-card:hover {
    transform: translateY(-10px);
}

.page-casino__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-casino__feature-title {
    font-size: 1.8em;
    color: #008000;
    margin-bottom: 15px;
}

.page-casino__feature-text {
    font-size: 1em;
    color: #666666;
}

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

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

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

.page-casino__game-card:hover {
    transform: translateY(-10px);
}

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

.page-casino__game-title {
    font-size: 1.6em;
    color: #008000;
    margin: 20px 0 10px;
}

.page-casino__game-description {
    font-size: 0.95em;
    color: #666666;
    padding: 0 20px 20px;
}

.page-casino__game-card .page-casino__btn {
    margin-bottom: 20px;
}

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

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

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

.page-casino__promo-card:hover {
    transform: translateY(-10px);
}

.page-casino__promo-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.page-casino__promo-title {
    font-size: 1.8em;
    color: #008000;
    margin: 20px 0 10px;
}

.page-casino__promo-text {
    font-size: 1em;
    color: #666666;
    padding: 0 20px 20px;
}

.page-casino__promo-card .page-casino__btn {
    margin-bottom: 20px;
}

/* Security Section */
.page-casino__security-section {
    padding: 80px 0;
}

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

.page-casino__security-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-casino__security-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-casino__security-subtitle {
    font-size: 1.8em;
    color: #FFD700; /* Gold for security titles */
    margin-bottom: 15px;
}

.page-casino__security-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 15px;
}

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

.page-casino__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__benefit-item {
    background-color: #ffffff;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    color: #333333;
    display: flex;
    align-items: center;
}

.page-casino__benefit-item::before {
    content: '✅';
    margin-right: 15px;
    font-size: 1.2em;
}

.page-casino__benefit-item span {
    font-weight: bold;
    color: #008000;
}

/* Call to Action Section */
.page-casino__cta-section {
    padding: 80px 0;
    background-color: #008000; /* Green background for CTA */
    color: #ffffff;
    text-align: center;
}

.page-casino__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-casino__cta-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-content {
    max-width: 800px;
}

.page-casino__cta-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title on green background */
    font-weight: bold;
}

.page-casino__cta-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-casino__cta-actions .page-casino__btn {
    margin: 0 15px;
}

.page-casino__cta-actions .page-casino__btn--primary {
    background-color: #FFD700;
    color: #333333;
    border-color: #FFD700;
}

.page-casino__cta-actions .page-casino__btn--primary:hover {
    background-color: #e6c200;
}

.page-casino__cta-actions .page-casino__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-casino__cta-actions .page-casino__btn--secondary:hover {
    background-color: #FFD700;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino__hero-title {
        font-size: 3em;
    }
    .page-casino__hero-description {
        font-size: 1.2em;
    }
    .page-casino__section-title {
        font-size: 2.2em;
    }
    .page-casino__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-casino {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-casino__hero-section {
        height: 60vh;
        min-height: 400px;
    }
    .page-casino__hero-title {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    .page-casino__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-casino__hero-actions .page-casino__btn {
        margin: 10px 0;
        width: 100%;
        display: block;
    }
    .page-casino__section-title {
        font-size: 1.8em;
        padding-top: 30px;
    }
    .page-casino__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-casino__about-features, .page-casino__game-categories, .page-casino__promo-grid, .page-casino__security-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-casino__feature-icon, .page-casino__security-icon {
        width: 150px;
        height: 150px;
    }
    .page-casino__feature-title, .page-casino__game-title, .page-casino__promo-title, .page-casino__security-subtitle {
        font-size: 1.4em;
    }
    .page-casino__cta-title {
        font-size: 2em;
    }
    .page-casino__cta-text {
        font-size: 1em;
    }
    .page-casino__cta-actions .page-casino__btn {
        margin: 10px 0;
        width: 100%;
    }
    .page-casino__container {
        padding: 0 15px;
    }
    /* Ensure all images within .page-casino do not overflow on mobile */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: 2em;
    }
    .page-casino__hero-description {
        font-size: 0.9em;
    }
    .page-casino__section-title {
        font-size: 1.5em;
    }
    .page-casino__cta-title {
        font-size: 1.8em;
    }
}