/* style/live.css */
.page-live {
    color: #333333; /* Default text color for light background */
}

.page-live__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #003366;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-live__hero-container {
    position: relative;
    width: 100%;
    max-width: 1600px; /* Limit hero container width */
    margin: 0 auto;
}

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

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

.page-live__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-live__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-live__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #003366;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-live__section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.page-live__section:nth-of-type(even) {
    background-color: #ffffff;
}

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

.page-live__section-title {
    font-size: 2.8em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-live__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
}

.page-live__subsection-title {
    font-size: 2.2em;
    color: #003366;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-live__paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
    text-align: justify;
}

.page-live__secondary-cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    background-color: #003366;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__secondary-cta-button:hover {
    background-color: #002244;
    transform: translateY(-2px);
}

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

.page-live__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-live__card-title {
    font-size: 1.6em;
    color: #003366;
    margin: 20px 15px 10px;
    min-height: 50px;
}

.page-live__card-description {
    font-size: 0.95em;
    color: #666666;
    padding: 0 15px 20px;
    line-height: 1.6;
    min-height: 100px;
}

.page-live__card-button {
    display: inline-block;
    background-color: #FFD700;
    color: #003366;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-live__card-button:hover {
    background-color: #e6c200;
}

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

.page-live__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-live__feature-item:hover {
    transform: translateY(-5px);
}

.page-live__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-live__feature-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

.page-live__feature-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-live__link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-live__link:hover {
    color: #FFD700;
}

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

.page-live__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-live__step-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

.page-live__step-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-live__step-button {
    display: inline-block;
    background-color: #003366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.page-live__step-button:hover {
    background-color: #002244;
}

.page-live__cta-banner {
    background-color: #003366;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

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

.page-live__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-live__cta-button--large {
    padding: 18px 35px;
    font-size: 1.4em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 2.8em;
    }
    .page-live__hero-description {
        font-size: 1.1em;
    }
    .page-live__section-title {
        font-size: 2.4em;
    }
    .page-live__subsection-title {
        font-size: 1.8em;
    }
    .page-live__game-image {
        height: 200px;
    }
    .page-live__card-title {
        font-size: 1.4em;
    }
    .page-live__feature-title, .page-live__step-title {
        font-size: 1.6em;
    }
    .page-live__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-live__hero-section {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }
    .page-live__hero-content {
        padding: 15px;
    }
    .page-live__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-live__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-live__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-live__section {
        padding: 40px 15px;
    }
    .page-live__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-live__subsection-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-live__paragraph {
        font-size: 0.95em;
    }
    .page-live__game-grid, .page-live__features-grid, .page-live__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-live__game-image {
        height: 180px;
    }
    .page-live__card-title {
        font-size: 1.3em;
        min-height: auto;
    }
    .page-live__card-description {
        min-height: auto;
    }
    .page-live__feature-title, .page-live__step-title {
        font-size: 1.4em;
    }
    .page-live__cta-banner {
        padding: 60px 15px;
    }
    .page-live__cta-title {
        font-size: 2em;
    }
    .page-live__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-live__cta-button--large {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    /* Ensure all images within .page-live are responsive and don't overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    /* Specific override for feature icons to meet min size if needed, but ensure max-width:100% */
    .page-live__feature-icon {
        width: 200px; /* Still aim for min 200px */
        max-width: 100%; /* Ensure it doesn't overflow */
        height: auto;
    }
}

@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.8em;
    }
    .page-live__subsection-title {
        font-size: 1.4em;
    }
    .page-live__cta-title {
        font-size: 1.8em;
    }
    .page-live__cta-button--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}