.page-casino {
    color: #ffffff; /* Text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css, which is #000000 */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-casino__hero-section {
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.page-casino__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

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

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

.page-casino__button--register {
    background-color: #FFFFFF;
    color: #000000;
}

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

.page-casino__button--login {
    background-color: #FCBC45;
    color: #000000;
}

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

.page-casino__section-title {
    font-size: 2.8em;
    text-align: center;
    margin: 60px 0 20px;
    color: #FCBC45;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-casino__games-overview,
.page-casino__why-choose,
.page-casino__payments,
.page-casino__responsible-gaming,
.page-casino__latest-news {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-casino__category-card {
    background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

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

.page-casino__category-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

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

.page-casino__category-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-casino__button--details {
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-casino__button--details:hover {
    background-color: #e0a53a;
}

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

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

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

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

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

.page-casino__feature-text a {
    color: #FCBC45;
    text-decoration: none;
}

.page-casino__feature-text a:hover {
    text-decoration: underline;
}

.page-casino__payments,
.page-casino__responsible-gaming {
    text-align: center;
}

.page-casino__payment-options,
.page-casino__responsible-content {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.page-casino__payment-text,
.page-casino__responsible-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #cccccc;
}

.page-casino__button--learn-more {
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    font-size: 1em;
}

.page-casino__button--learn-more:hover {
    background-color: #e0a53a;
}

.page-casino__responsible-text a {
    color: #FCBC45;
    text-decoration: none;
}

.page-casino__responsible-text a:hover {
    text-decoration: underline;
}

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

.page-casino__news-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-casino__news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-casino__news-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

.page-casino__news-title a:hover {
    color: #FFFFFF;
}

.page-casino__news-text {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-casino__button--read-more {
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    font-size: 0.95em;
    align-self: flex-start;
}

.page-casino__button--read-more:hover {
    background-color: #e0a53a;
}

.page-casino__cta-section {
    background: linear-gradient(135deg, rgba(252, 188, 69, 0.1), rgba(0, 0, 0, 0.8));
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 60px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-casino__cta-title {
    font-size: 3em;
    color: #FCBC45;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-casino__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-casino__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.page-casino__button--download {
    background-color: #FFFFFF;
    color: #000000;
}

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

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

@media (max-width: 768px) {
    .page-casino__hero-section {
        padding: 60px 15px 30px;
    }
    .page-casino__hero-title {
        font-size: 2.2em;
    }
    .page-casino__hero-description {
        font-size: 1em;
    }
    .page-casino__hero-buttons,
    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-casino__section-title {
        font-size: 1.8em;
    }
    .page-casino__section-description {
        font-size: 0.95em;
    }
    .page-casino__category-card,
    .page-casino__feature-item,
    .page-casino__news-item {
        padding: 20px;
    }
    .page-casino__category-image,
    .page-casino__feature-icon,
    .page-casino__news-image {
        max-width: 100%;
        height: auto; /* Ensure images scale down */
        min-width: 200px; /* Enforce min size even on mobile */
        min-height: 200px; /* Enforce min size even on mobile */
    }
    .page-casino__cta-title {
        font-size: 2em;
    }
    .page-casino__cta-description {
        font-size: 1em;
    }
    /* Mobile image constraint */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
    /* Ensuring all content images are at least 200px wide in mobile */
    .page-casino__hero-image,
    .page-casino__category-image,
    .page-casino__feature-icon,
    .page-casino__news-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: 1.8em;
    }
    .page-casino__section-title {
        font-size: 1.5em;
    }
    .page-casino__cta-title {
        font-size: 1.6em;
    }
    .page-casino__button {
        padding: 12px 20px;
        font-size: 1em;
    }
}