/* style/casino-games.css */
.page-casino-games {
    font-family: 'Arial', sans-serif;
    color: #E5E5E5; /* Light grey text on dark background */
    background-color: #1A1A1A; /* Dark background */
    line-height: 1.6;
}

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

.page-casino-games__section-title {
    color: #FFD700; /* Gold for titles */
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-casino-games__section-description,
.page-casino-games__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #CCCCCC; /* Slightly lighter grey for descriptions */
}

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

.page-casino-games__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A1A1A; /* Dark text on gold */
    border: 2px solid #FFD700;
}

.page-casino-games__btn--primary:hover {
    background-color: #b39700; /* Darker gold on hover */
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-casino-games__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-casino-games__btn--secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #1A1A1A; /* Dark text on gold */
    transform: translateY(-2px);
}

.page-casino-games__btn--small {
    padding: 10px 20px;
    font-size: 1em;
}

/* Hero Section */
.page-casino-games__hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%); /* Dark gradient background */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-casino-games__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
    padding: 20px;
}

.page-casino-games__hero-title {
    font-size: 3.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino-games__hero-description {
    font-size: 1.3em;
    color: #E5E5E5; /* Light grey description */
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-casino-games__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.page-casino-games__hero-image-wrapper {
    flex-shrink: 0;
    width: 500px;
    height: 350px;
    position: relative;
    z-index: 1;
}

.page-casino-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.page-casino-games__intro {
    padding: 80px 0;
    background-color: #222222;
}

.page-casino-games__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-casino-games__feature-list li {
    background-color: #1A1A1A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05em;
    color: #CCCCCC;
}

.page-casino-games__feature-list li strong {
    color: #FFD700;
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

.page-casino-games__feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Categories Section */
.page-casino-games__categories {
    padding: 80px 0;
    background-color: #1A1A1A;
}

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

.page-casino-games__game-card {
    background-color: #222222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-casino-games__game-card--visible {
  opacity: 1;
  transform: translateY(0);
}

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

.page-casino-games__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-casino-games__game-card-title {
    color: #FFD700;
    font-size: 1.8em;
    padding: 20px 20px 10px 20px;
    margin: 0;
}

.page-casino-games__game-card-description {
    color: #CCCCCC;
    font-size: 1em;
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Make description take up available space */
}

.page-casino-games__game-card .page-casino-games__btn {
    margin: 0 20px 20px 20px;
    align-self: flex-start;
}

/* Offers Section */
.page-casino-games__offers {
    padding: 80px 0;
    background-color: #222222;
}

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

.page-casino-games__offer-card {
    background-color: #1A1A1A;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 30px;
}

.page-casino-games__offer-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-casino-games__offer-title {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-casino-games__offer-text {
    color: #CCCCCC;
    font-size: 1em;
    padding: 0 20px;
}

.page-casino-games__center-cta {
    text-align: center;
    margin-top: 50px;
}

/* Responsible Gaming Section */
.page-casino-games__responsible-gaming {
    padding: 80px 0;
    background-color: #1A1A1A;
}

/* Final CTA Section */
.page-casino-games__cta-final {
    padding: 80px 0;
    background-color: #222222;
    text-align: center;
}

.page-casino-games__final-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-casino-games__hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .page-casino-games__hero-content {
        text-align: center;
        max-width: 100%;
    }

    .page-casino-games__hero-title {
        font-size: 3em;
    }

    .page-casino-games__hero-description {
        font-size: 1.1em;
    }

    .page-casino-games__hero-actions {
        justify-content: center;
    }

    .page-casino-games__hero-image-wrapper {
        width: 80%;
        height: auto;
    }

    .page-casino-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-casino-games__hero {
        padding: 40px 0;
    }

    .page-casino-games__hero-title {
        font-size: 2.5em;
    }

    .page-casino-games__hero-description {
        font-size: 1em;
    }

    .page-casino-games__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-casino-games__feature-list,
    .page-casino-games__game-list,
    .page-casino-games__offer-grid {
        grid-template-columns: 1fr;
    }

    .page-casino-games__feature-list li {
        flex-direction: column;
        text-align: center;
    }

    .page-casino-games__feature-icon {
        margin-bottom: 10px;
    }

    .page-casino-games__game-card-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-casino-games__hero-title {
        font-size: 2em;
    }

    .page-casino-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-casino-games__btn {
        width: 100%;
    }

    .page-casino-games__section-title {
        font-size: 1.8em;
    }

    .page-casino-games__hero-image-wrapper {
        width: 95%;
    }

    .page-casino-games__final-actions {
        flex-direction: column;
    }
}