/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure consistency with body background */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    height: 700px; /* Adjusted height for better visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-casino__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

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

.page-casino__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-casino__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
    padding-top: 40px;
}

.page-casino__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #f0f0f0; /* Light text for dark backgrounds */
}

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

.page-casino__about-section .page-casino__section-title {
    color: #26A9E0; /* Brand color for titles */
}

.page-casino__about-section .page-casino__section-description {
    color: #333333; /* Dark text for light backgrounds */
}

.page-casino__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-casino__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333333; /* Dark text for light background */
}

.page-casino__image-wrapper {
    text-align: center;
}

.page-casino__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* Game Categories Section */
.page-casino__game-categories {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
}

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

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

.page-casino__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-casino__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card titles */
}

.page-casino__card-title a {
    color: #26A9E0; /* Link color for card titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__card-title a:hover {
    color: #ffffff;
}

.page-casino__card-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Promotions Section */
.page-casino__promotions-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background */
}

.page-casino__promotions-section .page-casino__section-title {
    color: #26A9E0;
}

.page-casino__promotions-section .page-casino__section-description {
    color: #333333;
}

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

.page-casino__promotion-card {
    background: #f8f8f8; /* Light background for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333333;
}

.page-casino__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-casino__promotion-card .page-casino__card-image {
    height: 200px; /* Fixed height for consistency */
}

.page-casino__promotion-card .page-casino__card-title {
    color: #26A9E0;
}

.page-casino__promotion-card .page-casino__card-description {
    color: #555555;
}

/* Download Guide Section */
.page-casino__download-guide {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
}

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

.page-casino__step-item {
    background: rgba(255, 255, 255, 0.08); /* Card background on dark section */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-casino__step-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-casino__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-casino__why-choose-section .page-casino__section-title {
    color: #26A9E0;
}

.page-casino__why-choose-section .page-casino__section-description {
    color: #333333;
}

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

.page-casino__feature-card {
    background: #f8f8f8; /* Light background for cards */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
}

.page-casino__feature-card .page-casino__card-title {
    color: #26A9E0;
}

.page-casino__feature-card .page-casino__card-description {
    color: #555555;
}

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

.page-casino__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-casino__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Card background on dark section */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #000000; /* Darker background for question */
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
    background-color: #26A9E0; /* Brand color on hover */
}

.page-casino__faq-title {
    font-size: 1.3em;
    margin: 0;
    color: #ffffff;
}

.page-casino__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for toggle */
    transition: transform 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-casino__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
}

.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value for content */
    padding: 15px 25px;
    color: #f0f0f0;
}

.page-casino__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* Contact Section */
.page-casino__contact-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background */
}

.page-casino__contact-section .page-casino__section-title {
    color: #26A9E0;
}

.page-casino__contact-section .page-casino__section-description {
    color: #333333;
}

.page-casino__contact-info {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #333333;
}

.page-casino__contact-info p {
    margin-bottom: 10px;
}