/* style/live.css */
.page-live {
    font-family: 'Poppins', sans-serif; /* Using a common web-safe font */
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Max height for hero image */
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-live__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-live__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow color for emphasis */
}

.page-live__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-live__highlight {
    color: #FFD36B;
    font-weight: bold;
}

/* CTA Buttons */
.page-live__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin-left: auto;
    margin-right: auto;
}

.page-live__cta-buttons--center {
    margin-top: 40px;
}

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-live__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast */
    border: none;
}

.page-live__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-live__btn-secondary {
    background-color: transparent;
    color: #FFD36B; /* Glow color */
    border: 2px solid #FFD36B; /* Glow color border */
}

.page-live__btn-secondary:hover {
    background-color: #FFD36B; /* Glow color background */
    color: #111111; /* Dark text for contrast */
}

.page-live__btn-link {
    background-color: transparent;
    color: #FFD36B;
    border: 1px solid #FFD36B;
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 15px;
}

.page-live__btn-link:hover {
    background-color: #FFD36B;
    color: #111111;
}

/* General Section Styling */
.page-live__section {
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-live__dark-section {
    background-color: #111111; /* Card BG */
}

.page-live__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-live__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E; /* Main color */
}

.page-live__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #FFF6D6;
}

/* Grid Layouts */
.page-live__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

/* Card Styling */
.page-live__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF6D6;
}

.page-live__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-live__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
    min-width: 200px; /* Minimum image size */
}

.page-live__card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E; /* Main color */
}

.page-live__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
}

/* Game Card Styling */
.page-live__game-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF6D6;
}

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

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

.page-live__game-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-live__game-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-live__game-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #FFF6D6;
}

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

.page-live__step-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #FFF6D6;
}

.page-live__step-icon {
    width: 60px;
    height: 60px;
    background-color: #FFD36B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.page-live__icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    min-width: unset; /* Override min-width for small icons */
    min-height: unset; /* Override min-height for small icons */
}

.page-live__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E;
}

.page-live__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
}

/* Info Blocks */
.page-live__info-block {
    background-color: #0A0A0A; /* Darker background for contrast */
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    color: #FFF6D6;
}

.page-live__info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E;
}

.page-live__info-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
}

/* FAQ Section */
.page-live__faq-list {
    margin-top: 40px;
}

.page-live__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF6D6;
}

.page-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: #F2C14E;
    transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-live__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6;
}

.page-live__faq-item.active .page-live__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px 25px;
}

.page-live__faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Media Partners */
.page-live__partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust for 167px images */
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
    align-items: center;
}

.page-live__partner-logo {
    width: 167px; /* Fixed width */
    height: 127px; /* Fixed height */
    object-fit: contain;
    padding: 10px;
    background-color: #0A0A0A; /* Darker background for logo visibility */
    border-radius: 8px;
    transition: transform 0.3s ease;
    min-width: unset; /* Override min-width for small icons */
    min-height: unset; /* Override min-height for small icons */
}

.page-live__partner-logo:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-live__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-live {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-live__hero-section {
        padding: 10px 15px 40px;
    }

    .page-live__hero-image {
        margin-bottom: 20px;
    }

    .page-live__hero-content {
        padding: 0 15px;
    }

    .page-live__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-live__btn-primary,
    .page-live__btn-secondary,
    .page-live__btn-link,
    .page-live a[class*="button"],
    .page-live a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-live__section {
        padding: 40px 15px;
    }

    .page-live__container {
        padding: 0;
    }

    .page-live__grid-3-col,
    .page-live__grid-2-col,
    .page-live__steps-grid,
    .page-live__partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-live__card,
    .page-live__game-card,
    .page-live__step-item,
    .page-live__info-block,
    .page-live__faq-item {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .page-live img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-live__section,
    .page-live__card,
    .page-live__container,
    .page-live__game-card,
    .page-live__step-item,
    .page-live__info-block,
    .page-live__faq-item,
    .page-live__partners-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding added to buttons/cards directly if needed */
    }

    .page-live__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-live__faq-answer {
        padding: 0 20px;
    }

    .page-live__faq-item.active .page-live__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-live__partner-logo {
        width: 100%; /* Make partner logos fill width on mobile */
        height: auto;
        max-width: 167px; /* Maintain original aspect ratio if needed */
    }
}