/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
    font-family: Arial, sans-serif;
    color: #1A1A1A; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

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

.page-casino__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__text-content--call-to-action {
    font-weight: bold;
    color: #1A1A1A;
    font-size: 1.2em;
}

.page-casino__text-content--call-to-action a {
    color: #FFD700;
    text-decoration: underline;
}

.page-casino__text-content--call-to-action a:hover {
    color: #b39700;
}

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

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

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

.page-casino__button--secondary {
    background-color: #1A1A1A; /* Dark background button */
    color: #FFD700; /* Gold text on dark */
    border: 2px solid #FFD700;
}

.page-casino__button--secondary:hover {
    background-color: #333333;
    color: #e6c200;
    transform: translateY(-2px);
}

.page-casino__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-casino__button--large {
    padding: 15px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}

.page-casino__button--extra-large {
    padding: 20px 40px;
    font-size: 1.5em;
    margin-top: 40px;
    border-radius: 10px;
}

/* Hero Section */
.page-casino__hero-section {
    background-color: #1A1A1A; /* Dark background for hero */
    color: #ffffff;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-casino__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-casino__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-casino__hero-image {
    width: 100%;
    max-width: 1200px; /* Constrain image width to container */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

/* Game Types Section */
.page-casino__game-types-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

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

.page-casino__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-casino__game-card-title {
    font-size: 1.5em;
    color: #1A1A1A;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-casino__game-card-title a {
    color: #1A1A1A;
    text-decoration: none;
}

.page-casino__game-card-title a:hover {
    color: #FFD700;
}

.page-casino__game-card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    flex-grow: 1;
}

/* Download Guide Section */
.page-casino__download-guide-section {
    background-color: #1A1A1A;
    color: #ffffff;
    padding: 60px 0;
}

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

.page-casino__step-item {
    background-color: #333333;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__step-title {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-casino__step-description {
    font-size: 0.95em;
    color: #cccccc;
}

.page-casino__download-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-casino__features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-casino__feature-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__feature-title {
    font-size: 1.4em;
    color: #1A1A1A;
    margin-bottom: 10px;
}

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

.page-casino__why-choose-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-casino__promo-card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-casino__promo-card-title {
    font-size: 1.5em;
    color: #1A1A1A;
    margin-bottom: 10px;
    padding: 0 15px;
}

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

/* FAQ Section */
.page-casino__faq-section {
    background-color: #1A1A1A;
    color: #ffffff;
    padding: 60px 0;
}

.page-casino__faq-accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__faq-item {
    background-color: #333333;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
    font-size: 1.2em;
    color: #FFD700;
    padding: 20px;
    cursor: pointer;
    margin: 0;
    position: relative;
    text-align: left;
}

.page-casino__faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.page-casino__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #cccccc;
}

.page-casino__faq-answer p {
    margin-top: 0;
    padding-bottom: 20px;
}

.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding: 0 20px 20px;
}

.page-casino__faq-answer a {
    color: #FFD700;
    text-decoration: underline;
}

.page-casino__faq-answer a:hover {
    color: #e6c200;
}

/* CTA Section */
.page-casino__cta-section {
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 80px 20px;
    text-align: center;
}

.page-casino__cta-section .page-casino__section-title {
    color: #1A1A1A;
}

.page-casino__cta-section .page-casino__text-content {
    color: #333333;
}

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

@media (max-width: 768px) {
    .page-casino__hero-title {
        font-size: 2.5em;
    }
    .page-casino__hero-description {
        font-size: 1.1em;
    }
    .page-casino__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino__button--large, .page-casino__button--extra-large {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .page-casino__game-card-image, .page-casino__promo-card-image {
        height: 200px;
    }
    .page-casino__hero-image, .page-casino__download-image, .page-casino__why-choose-image {
        max-width: 100%;
        height: auto;
    }
    /* Mobile content area images must not cause horizontal scrolling */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
    .page-casino__game-card-image, .page-casino__promo-card-image, .page-casino__download-image, .page-casino__why-choose-image {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all content area images are at least 200px wide for display, if not constrained by max-width: 100% */
    .page-casino__game-card-image {
        min-width: 200px;
    }
    .page-casino__promo-card-image {
        min-width: 200px;
    }
    .page-casino__download-image {
        min-width: 200px;
    }
    .page-casino__why-choose-image {
        min-width: 200px;
    }
    .page-casino__faq-answer {
        max-height: 250px; /* Adjust for potentially longer mobile answers */
    }
}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: 2em;
    }
    .page-casino__section-title {
        font-size: 1.8em;
    }
    .page-casino__hero-description {
        font-size: 1em;
    }
    .page-casino__button--large, .page-casino__button--extra-large {
        width: 90%;
    }
    .page-casino__game-card-image, .page-casino__promo-card-image {
        height: 180px;
    }
    .page-casino__faq-question {
        font-size: 1.1em;
    }
    .page-casino__faq-question::after {
        font-size: 1.2em;
    }
}