.page-live {
    color: #333333;
}

.page-live__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-live__hero-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the background image for text readability */
}

.page-live__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 80%;
    z-index: 10;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-live__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-live__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-live__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.page-live__container--wide {
    max-width: 1400px;
}

.page-live__section-title {
    font-size: 2.8em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-live__section-title--light {
    color: #FFD700;
}

.page-live__section-title--dark {
    color: #8B0000;
}

.page-live__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__section-intro--light {
    color: #f0f0f0;
}

.page-live__section-intro--dark {
    color: #333333;
}

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

.page-live__btn--primary {
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-live__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-live__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-live__btn--secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-3px);
}

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

.page-live__btn--light {
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-live__btn--light:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-live__btn--dark {
    background-color: #8B0000;
    color: #FFD700;
    border: 2px solid #8B0000;
}

.page-live__btn--dark:hover {
    background-color: #a00000;
    border-color: #a00000;
}

.page-live__btn--outline {
    background-color: transparent;
    color: #8B0000;
    border: 2px solid #8B0000;
}

.page-live__btn--outline:hover {
    background-color: #8B0000;
    color: #FFD700;
}

/* Feature Section */
.page-live__feature-grid, .page-live__game-grid, .page-live__why-choose-grid, .page-live__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-live__feature-card, .page-live__game-card, .page-live__why-choose-item, .page-live__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 450px; /* Ensure cards have similar height */
}

.page-live__feature-card:hover, .page-live__game-card:hover, .page-live__why-choose-item:hover, .page-live__step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-live__feature-icon, .page-live__game-image, .page-live__why-choose-icon, .page-live__step-icon {
    width: 100%; /* Ensure images are responsive within their containers */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live__feature-card-title, .page-live__game-card-title, .page-live__why-choose-title, .page-live__step-card-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__feature-card-description, .page-live__game-card-description, .page-live__why-choose-description, .page-live__step-card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-live__game-card .page-live__btn {
    margin-top: auto; /* Push button to the bottom */
}

/* Why Choose Section */
.page-live__why-choose-item {
    padding: 25px;
}

.page-live__why-choose-item .page-live__why-choose-icon {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-live__why-choose-item .page-live__why-choose-title {
    font-size: 1.6em;
}

.page-live__why-choose-item .page-live__why-choose-description {
    font-size: 0.95em;
}

.page-live__cta-bottom {
    text-align: center;
    margin-top: 60px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Getting Started Section */
.page-live__step-card {
    min-height: 420px; /* Adjust height for step cards */
}

.page-live__step-card .page-live__btn {
    margin-top: auto;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
    background-color: #8B0000; /* Auxiliary color for background */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-live__responsible-gaming-text {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 30px auto 40px auto;
    color: #f0f0f0;
}

.page-live__responsible-gaming-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

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

/* FAQ Section */
.page-live__faq-accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
}

.page-live__faq-question {
    font-size: 1.4em;
    color: #8B0000;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.page-live__faq-question:hover {
    background-color: #fff8e1;
}

.page-live__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-question::after {
    transform: rotate(45deg);
}

.page-live__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live__faq-item.active .page-live__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px 25px 25px;
}

.page-live__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-live__faq-answer a {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
}

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

/* Join Us Section */
.page-live__join-us-section {
    background-color: #FFD700; /* Main color for background */
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-live__join-us-content {
    text-align: center;
    max-width: 600px;
    margin-right: 40px;
}

.page-live__join-us-image {
    width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }
    .page-live__hero-description {
        font-size: 1.2em;
    }
    .page-live__join-us-section .page-live__container--wide {
        flex-direction: column;
        text-align: center;
    }
    .page-live__join-us-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-live__hero-section {
        padding-top: var(--header-offset, 120px);
    }
    .page-live__hero-content {
        max-width: 90%;
        padding: 15px;
    }
    .page-live__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-live__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-live__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__btn {
        width: 100%;
    }
    .page-live__section-title {
        font-size: 2em;
    }
    .page-live__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-live__feature-grid, .page-live__game-grid, .page-live__why-choose-grid, .page-live__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-live__feature-card, .page-live__game-card, .page-live__why-choose-item, .page-live__step-card {
        min-height: auto;
    }
    .page-live__feature-icon, .page-live__game-image, .page-live__why-choose-icon, .page-live__step-icon {
        max-width: 100%;
        height: auto; /* Allow height to adjust for mobile */
        min-height: 200px; /* Ensure minimum size */
    }
    .page-live__responsible-gaming-section, .page-live__join-us-section {
        padding: 50px 20px;
    }
    .page-live__join-us-image {
        width: 100%;
        max-width: 400px;
        margin-top: 30px;
    }
    .page-live__faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }
    .page-live__faq-answer p {
        font-size: 0.95em;
    }
    /* Ensure all images within .page-live do not overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__btn {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__faq-question {
        font-size: 1.1em;
    }
}