/* style/live.css */
.page-live {
    color: #ffffff; /* Text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-live__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-live__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
}

.page-live__hero-title {
    font-size: 3.5em;
    color: #E5B80B; /* Accent color for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-live__button {
    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, transform 0.3s ease;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.page-live__button--primary {
    background-color: #E5B80B; /* Accent color */
    color: #0A2342; /* Dark text for contrast */
    border: 2px solid #E5B80B;
}

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

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

.page-live__button--secondary:hover {
    background-color: rgba(229, 184, 11, 0.1);
    transform: translateY(-3px);
}

.page-live__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: unset;
}

.page-live__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 250px;
}

.page-live__section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-live__section-title {
    font-size: 2.5em;
    color: #E5B80B;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-live__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E5B80B;
    border-radius: 2px;
}

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

.page-live__features-grid,
.page-live__game-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__step-card,
.page-live__bonus-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px 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;
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__step-card:hover,
.page-live__bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-live__feature-icon,
.page-live__game-image,
.page-live__bonus-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-live__feature-title,
.page-live__game-title,
.page-live__step-title,
.page-live__bonus-title {
    font-size: 1.6em;
    color: #E5B80B;
    margin-bottom: 15px;
}

.page-live__feature-text,
.page-live__game-text,
.page-live__step-text,
.page-live__bonus-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-live__mobile-content,
.page-live__security-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    text-align: left;
    margin-top: 40px;
}

.page-live__mobile-text-content,
.page-live__security-text-content {
    flex: 1;
}

.page-live__mobile-text-content p,
.page-live__security-text-content p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-live__mobile-image-wrapper,
.page-live__security-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-live__mobile-image,
.page-live__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-live__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid #E5B80B;
}

.page-live__faq-question {
    font-size: 1.3em;
    color: #E5B80B;
    margin-bottom: 10px;
}

.page-live__faq-answer {
    font-size: 1em;
    color: #cccccc;
}

.page-live__cta-section {
    background-color: #0A2342;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 5px solid #E5B80B;
}

.page-live__cta-title {
    font-size: 3em;
    color: #E5B80B;
    margin-bottom: 20px;
}

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

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

@media (max-width: 768px) {
    .page-live__hero-title {
        font-size: 2.2em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        min-width: unset;
        width: 100%;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__mobile-content,
    .page-live__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-live__mobile-image-wrapper,
    .page-live__security-image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .page-live__cta-title {
        font-size: 2em;
    }
    .page-live__button--large {
        width: 100%;
        min-width: unset;
    }

    /* Ensure content images are responsive and do not overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    .page-live__hero-image {
        height: 400px; /* Adjust hero image height for mobile */
    }
    .page-live__hero-content {
        padding: 10px;
    }
    .page-live__feature-icon,
    .page-live__game-image,
    .page-live__bonus-image,
    .page-live__mobile-image,
    .page-live__security-image {
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__cta-title {
        font-size: 1.8em;
    }
    .page-live__feature-card,
    .page-live__game-card,
    .page-live__step-card,
    .page-live__bonus-card {
        padding: 20px;
    }
    .page-live__hero-image {
        height: 300px;
    }
}