/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set background as per color scheme */
    padding-top: var(--header-offset, 120px); /* Mandatory padding for fixed header */
}

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

.page-casino__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-casino__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__paragraph {
    font-size: 1em;
    color: #333333;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-casino__btn--register {
    background-color: #000000; /* Main color for primary action */
    color: #FFFFFF; /* White text for contrast */
    margin-right: 15px;
}

.page-casino__btn--register:hover {
    background-color: #333333;
    color: #FCBC45;
}

.page-casino__btn--login {
    background-color: #FCBC45; /* Login specific color */
    color: #000000; /* Dark text for contrast */
    border: 1px solid #FCBC45;
}

.page-casino__btn--login:hover {
    background-color: #e0a538;
    color: #FFFFFF;
}

.page-casino__btn--primary {
    background-color: #FCBC45;
    color: #000000;
    margin-top: 20px;
}

.page-casino__btn--primary:hover {
    background-color: #e0a538;
    color: #FFFFFF;
}

.page-casino__btn--secondary {
    background-color: #000000;
    color: #FFFFFF;
    border: 1px solid #000000;
    margin-top: 20px;
}

.page-casino__btn--secondary:hover {
    background-color: #333333;
    color: #FCBC45;
}

.page-casino__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 15px;
}

.page-casino__btn--small:hover {
    background-color: #333333;
    color: #FCBC45;
}

.page-casino__btn--play {
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    margin-top: 15px;
    display: block; /* Make it a block button within card */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__btn--play:hover {
    background-color: #e0a538;
    color: #FFFFFF;
}

.page-casino__btn--hero {
    background-color: #FCBC45;
    color: #000000;
    font-size: 1.2em;
    padding: 15px 30px;
    margin-top: 30px;
}

.page-casino__btn--hero:hover {
    background-color: #e0a538;
    color: #FFFFFF;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    text-align: center;
    background-color: #000000; /* Dark background for hero text area */
    color: #FFFFFF;
}

.page-casino__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    filter: brightness(0.4); /* Darken image for text readability */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-casino__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45;
    line-height: 1.2;
}

.page-casino__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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


/* Game Categories Section */
.page-casino__game-categories {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-casino__category-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-casino__category-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__card-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 10px;
}

.page-casino__card-title a {
    color: #000000;
    text-decoration: none;
}

.page-casino__card-title a:hover {
    color: #FCBC45;
}

.page-casino__card-text {
    color: #555555;
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Featured Slots Section */
.page-casino__featured-slots {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-casino__slot-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino__slot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__slot-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__view-all {
    text-align: center;
    margin-top: 40px;
}

/* Why Choose Us Section */
.page-casino__why-choose-us {
    padding: 60px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-casino__why-choose-us .page-casino__section-title,
.page-casino__why-choose-us .page-casino__section-description {
    color: #FFFFFF;
}

.page-casino__why-choose-us .page-casino__section-title::after {
    background-color: #FCBC45;
}

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

.page-casino__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on black */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino__feature-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: #FCBC45;
    margin-bottom: 10px;
}

.page-casino__feature-text {
    color: #f0f0f0;
    font-size: 0.95em;
    flex-grow: 1;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming {
    padding: 60px 0;
    background-color: #f0f0f0;
    text-align: center;
}

/* Payment Methods Section */
.page-casino__payment-methods {
    padding: 60px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.page-casino__payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.page-casino__payment-icon {
    width: 100%;
    max-width: 250px; /* Larger width for payment method showcase images */
    height: auto;
    object-fit: contain;
    min-width: 200px;
    min-height: 200px;
}


/* Call to Action Section */
.page-casino__cta-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
    text-align: center;
}

.page-casino__cta-section .page-casino__section-title,
.page-casino__cta-section .page-casino__section-description {
    color: #FFFFFF;
}

.page-casino__cta-section .page-casino__section-title::after {
    background-color: #FCBC45;
}


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

@media (max-width: 768px) {
    /* Mobile content area images must be constrained */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }

    .page-casino__hero-section {
        padding: 60px 0;
    }
    .page-casino__hero-title {
        font-size: 2.5em;
    }
    .page-casino__hero-description {
        font-size: 1em;
    }
    .page-casino__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino__btn--register,
    .page-casino__btn--login {
        margin-right: 0;
        width: 100%;
    }
    .page-casino__section-title {
        font-size: 2em;
    }
    .page-casino__section-description {
        font-size: 0.95em;
    }
    .page-casino__categories-grid,
    .page-casino__slots-grid,
    .page-casino__features-grid {
        grid-template-columns: 1fr;
    }
    .page-casino__category-card,
    .page-casino__slot-card,
    .page-casino__feature-item {
        padding: 20px;
    }
    .page-casino__payment-icons {
        flex-direction: column;
        align-items: center;
    }
    .page-casino__payment-icon {
        max-width: 80%;
    }
}

@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.8em;
    }
    .page-casino__section-description {
        font-size: 0.9em;
    }
    .page-casino__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-casino__btn--hero {
        font-size: 1em;
        padding: 12px 25px;
    }
}