/* style/live.css */

/* Base styling for the live page */
.page-live {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop */
}

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

.page-live__section {
    padding: 60px 0;
    background-color: var(--secondary-color); /* Default light background */
}

.page-live__section:nth-of-type(even) {
    background-color: #f9f9f9; /* Slightly different background for alternating sections */
}

.page-live__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-live__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    overflow: hidden;
    color: var(--secondary-color); /* Light text on potentially dark hero image */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
    padding: 0; /* Remove padding here as content is centered over image */
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-live__hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.page-live__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-live__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--secondary-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-live__button--register {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Primary color */
}

.page-live__button--register:hover {
    background-color: #e0a73d;
    color: #000000;
}

.page-live__button--login {
    background-color: #000000; /* Primary color */
    color: #FFFFFF; /* Register color */
    border: 2px solid #FFFFFF;
}

.page-live__button--login:hover {
    background-color: #333333;
    border-color: #f0f0f0;
}

/* Why Choose Section */
.page-live__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-live__feature-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

.page-live__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Game Types Section */
.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 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-live__game-card:hover {
    transform: translateY(-10px);
}

.page-live__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-live__game-title {
    font-size: 1.5em;
    color: #000000;
    margin: 20px 15px 10px 15px;
    font-weight: bold;
}

.page-live__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px 15px;
}

/* Advantage Section */
.page-live__advantage-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-live__advantage-item {
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-live__advantage-icon {
    width: 100%; /* Make icon fill width */
    height: 200px; /* Fixed height */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    min-width: 200px;
    min-height: 200px;
}

.page-live__advantage-subtitle {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-live__advantage-description {
    font-size: 1em;
    color: #555555;
}

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

.page-live__bonus-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.page-live__bonus-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-live__bonus-title {
    font-size: 1.6em;
    color: #000000;
    margin: 20px 15px 10px 15px;
    font-weight: bold;
}

.page-live__bonus-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px 15px;
}

.page-live__cta-bonuses {
    text-align: center;
    margin-top: 50px;
}

.page-live__button--view-promo {
    background-color: #FCBC45;
    color: #000000;
}

.page-live__button--view-promo:hover {
    background-color: #e0a73d;
}

/* Get Started Section */
.page-live__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-live__step-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-live__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-live__step-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__step-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
}

.page-live__button--step {
    background-color: #000000;
    color: #FFFFFF;
}

.page-live__button--step:hover {
    background-color: #333333;
}

/* Responsible Gaming Section */
.page-live__links-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-live__link {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    border: 2px solid #FCBC45;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live__link:hover {
    background-color: #FCBC45;
    color: #000000;
}

/* Details List Section */
.page-live__details-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    text-align: left;
}

.page-live__details-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__details-title a {
    color: inherit;
    text-decoration: none;
}

.page-live__details-title a:hover {
    text-decoration: underline;
}

.page-live__details-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
}

.page-live__button--view-details {
    background-color: #000000;
    color: #FFFFFF;
}

.page-live__button--view-details:hover {
    background-color: #333333;
}

/* Final Call to Action Section */
.page-live__section--final-cta {
    background-color: #000000; /* Dark background for strong CTA */
    color: #FFFFFF; /* Light text on dark background */
    text-align: center;
    padding: 80px 20px;
}

.page-live__section--final-cta .page-live__section-title {
    color: #FFFFFF;
}

.page-live__section--final-cta .page-live__text-block {
    color: #FFFFFF;
}

.page-live__button--final-register {
    background-color: #FCBC45;
    color: #000000;
    font-size: 1.3em;
    padding: 18px 40px;
    margin-top: 30px;
}

.page-live__button--final-register:hover {
    background-color: #e0a73d;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }
    .page-live__hero-description {
        font-size: 1.2em;
    }
    .page-live__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-live {
        padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header offset */
    }
    .page-live__hero-title {
        font-size: 2.5em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 100%;
        max-width: 300px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__text-block {
        font-size: 0.95em;
    }
    .page-live__features-grid,
    .page-live__game-grid,
    .page-live__advantage-points,
    .page-live__bonus-grid,
    .page-live__steps-grid {
        grid-template-columns: 1fr;
    }

    /* Important: Mobile content image overflow prevention */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    .page-live__hero-image {
        position: relative; /* Change positioning for mobile to prevent overflow and allow height control */
        height: 300px; /* Fixed height for mobile hero image */
    }
    .page-live__hero-section {
        min-height: auto;
        padding: 0;
    }
    .page-live__hero-content {
        padding: 40px 15px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 30px);
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 2em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__button {
        padding: 12px 25px;
        font-size: 1em;
    }
}