/* style/casino.css */

.page-casino {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.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;
    font-weight: bold;
}

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

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #f0f0f0;
    overflow: hidden;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-casino__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FCBC45; /* Login button color for emphasis */
    line-height: 1.2;
}

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

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

.page-casino__button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.page-casino__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-casino__button--register:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-casino__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-casino__button--login:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

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

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

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

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

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

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

/* Games Category Section */
.page-casino__games-category-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.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 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-casino__category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__category-title {
    font-size: 1.6em;
    color: #000000;
    margin: 10px 15px;
    font-weight: bold;
}

.page-casino__category-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

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

.page-casino__category-text {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-casino__button--play {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: auto;
}

.page-casino__button--play:hover {
    background-color: #333333;
    border-color: #333333;
}

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

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

.page-casino__promo-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.page-casino__promo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__promo-title {
    font-size: 1.6em;
    color: #000000;
    margin: 10px 15px;
    font-weight: bold;
}

.page-casino__promo-text {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-casino__button--claim {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: auto;
}

.page-casino__button--claim:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

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

.page-casino__advantages-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 800px;
}

.page-casino__advantage-item {
    background-color: #FFFFFF;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-size: 1.1em;
    color: #333333;
}

.page-casino__advantage-item strong {
    color: #000000;
}

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

.page-casino__button--explore {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-casino__button--explore:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-casino__button--responsible {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.page-casino__button--responsible:hover {
    background-color: #f0f0f0;
}

/* Details List Section */
.page-casino__details-list-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-casino__details-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-casino__details-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-casino__details-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

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

.page-casino__details-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-casino__button--view-details {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: auto;
}

.page-casino__button--view-details:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

/* FAQ Section */
.page-casino__faq-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.page-casino__faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-casino__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-casino__faq-answer {
    font-size: 1em;
    color: #555555;
}

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

@media (max-width: 768px) {
    .page-casino__hero-section {
        padding-top: var(--header-offset, 120px);
        height: auto;
        min-height: 500px; /* Ensure some height for mobile hero */
    }
    .page-casino__hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 20px;
        background: rgba(0, 0, 0, 0.7);
        width: 100%;
        max-width: none;
        border-radius: 0;
    }
    .page-casino__hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .page-casino__hero-image img {
        height: 100%;
        max-width: 100%;
        object-fit: cover;
    }
    .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__button {
        width: 100%;
        max-width: 300px;
    }
    .page-casino__features, .page-casino__categories-grid, .page-casino__promo-grid, .page-casino__details-grid {
        grid-template-columns: 1fr;
    }
    .page-casino__section-title {
        font-size: 1.8em;
    }
    .page-casino__section-description {
        font-size: 0.95em;
    }
    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    /* Mobile content area image constraints */
    .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__feature-title, .page-casino__category-title, .page-casino__promo-title, .page-casino__details-title, .page-casino__faq-question {
        font-size: 1.4em;
    }
}