/* style/casino.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
}

.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--secondary-color); /* Default white background */
}

.page-casino__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-casino__section-title {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f0f8ff;
    overflow: hidden;
}

.page-casino__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-casino__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-casino__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Use clamp for H1 font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-casino__hero-description {
    font-size: 1.3em;
    color: #444444;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-primary {
    background: var(--login-color); /* Login color for primary actions */
    color: var(--text-light);
    border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
    background: darken(var(--login-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.page-casino__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

/* Introduction Section */
.page-casino__introduction-section {
    background-color: var(--secondary-color);
    padding-top: 40px;
}

.page-casino__introduction-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

/* Games Section */
.page-casino__games-section {
    background-color: var(--background-light);
}

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

.page-casino__game-card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-casino__game-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-casino__game-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
    text-align: left;
}

/* Promotions Section */
.page-casino__promotions-section {
    background-color: var(--primary-color); /* Dark background */
    color: var(--text-light);
}

.page-casino__promotions-section .page-casino__section-title,
.page-casino__promotions-section .page-casino__section-description {
    color: var(--text-light);
}

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

.page-casino__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.page-casino__promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.page-casino__promo-card img {
    width: 100%;
    
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-casino__promo-title {
    font-size: 1.6em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-casino__promo-card p {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 15px;
    text-align: left;
}

.page-casino__promo-card .page-casino__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid transparent;
    box-shadow: none;
}

.page-casino__promo-card .page-casino__btn-primary:hover {
    background: #e0e0e0;
    color: var(--primary-color);
}

/* Security Section */
.page-casino__security-section {
    background-color: var(--secondary-color);
}

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

.page-casino__feature-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.page-casino__feature-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-card img {
    width: 100%;
    
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-casino__feature-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
    text-align: left;
}

/* Payments Section */
.page-casino__payments-section {
    background-color: var(--background-light);
}

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

.page-casino__payment-item {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: left;
}

.page-casino__payment-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-casino__payment-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.page-casino__payment-item ul li {
    font-size: 1em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-casino__payment-item ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.page-casino__payment-item p {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
}

/* Support Section */
.page-casino__support-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-casino__support-section .page-casino__section-title,
.page-casino__support-section .page-casino__section-description {
    color: var(--text-light);
}

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

.page-casino__channel-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__channel-card img {
    width: 100%;
    
    object-fit: contain; /* Use contain for icons/logos */
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Invert for dark background */
}

.page-casino__channel-title {
    font-size: 1.5em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-casino__channel-card p {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.9;
}

/* FAQ Section */
.page-casino__faq-section {
    background-color: var(--secondary-color);
}

.page-casino__faq-list {
    margin-top: 40px;
    text-align: left;
}

details.page-casino__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
details.page-casino__faq-item summary.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
    display: none;
}
details.page-casino__faq-item summary.page-casino__faq-question:hover {
    background: var(--background-light);
}
.page-casino__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-dark);
}
.page-casino__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 20px 20px;
    background: var(--background-light);
    border-radius: 0 0 8px 8px;
    color: #555;
    font-size: 1em;
    line-height: 1.6;
}
details.page-casino__faq-item .page-casino__faq-answer p {
    margin-bottom: 10px;
    text-align: left;
}

/* Conclusion Section */
.page-casino__conclusion-section {
    background-color: var(--background-light);
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino__section-title {
        font-size: 2.5em;
    }
    .page-casino__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-casino__section {
        padding: 40px 15px;
    }
    .page-casino__section-title {
        font-size: 2em;
    }
    .page-casino__section-description {
        font-size: 1em;
    }
    .page-casino__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        line-height: 1.3;
    }
    .page-casino__hero-description {
        font-size: 1em;
    }
    .page-casino__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino__hero-image img,
    .page-casino__games-grid img,
    .page-casino__promotions-grid img,
    .page-casino__security-features img,
    .page-casino__channel-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-casino__game-card img,
    .page-casino__promo-card img,
    .page-casino__feature-card img {
         /* Adjust height for mobile cards */
    }
    .page-casino__cta-button,
    .page-casino__btn-primary,
    .page-casino__btn-secondary,
    .page-casino a[class*="button"],
    .page-casino a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino__cta-buttons,
    .page-casino__button-group,
    .page-casino__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }
    .page-casino__game-card,
    .page-casino__promo-card,
    .page-casino__feature-card,
    .page-casino__payment-item,
    .page-casino__channel-card {
        padding: 20px;
    }
    .page-casino__faq-qtext {
        font-size: 1em;
    }
    details.page-casino__faq-item summary.page-casino__faq-question {
        padding: 15px;
    }
    details.page-casino__faq-item .page-casino__faq-answer {
        padding: 0 15px 15px;
    }
    .page-casino__channel-card img {
        filter: brightness(0) invert(1); /* Keep filter for dark background */
    }
}