/* style/live.css */

/* General styles for the live page */
.page-live {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main color */
    background-color: #0A0A0A; /* Background color from scheme */
}

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

.page-live__section-title {
    font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size for H2 */
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    text-align: center;
}

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

.page-live__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-live__btn-secondary {
    background-color: transparent;
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Border color */
}

.page-live__btn-secondary:hover {
    background-color: #F2C14E;
    color: #0A0A0A;
}

.page-live__btn-tertiary {
    background-color: #111111; /* Card BG color */
    color: #FFF6D6; /* Text Main color */
    border: 1px solid #3A2A12; /* Border color */
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-live__btn-tertiary:hover {
    background-color: #F2C14E;
    color: #0A0A0A;
    border-color: #F2C14E;
}

.page-live__btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content for stacking */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small padding-top, larger bottom padding */
    background-color: #0A0A0A; /* Consistent background */
    overflow: hidden;
}

.page-live__video-container {
    width: 100%;
    max-width: 1200px; /* Constrain video width */
    margin-bottom: 40px; /* Space between video and content */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-live__video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-live__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-live__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* H1 responsive font size */
    color: #FFF6D6; /* Text Main color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* About Section */
.page-live__about-section {
    padding: 80px 0;
    background-color: #0A0A0A;
}

.page-live__grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-live__text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-live__image-wrapper {
    text-align: center;
}

.page-live__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    display: block; /* Ensures no extra space below image */
}

/* Games Section */
.page-live__games-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG color */
}

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

.page-live__game-category-item {
    background-color: #0A0A0A; /* Background color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(242, 193, 78, 0.2);
}

.page-live__category-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
}

.page-live__category-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 10px;
}

.page-live__game-category-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main color */
}

.page-live__category-link {
    color: #FFD36B; /* Glow color */
    text-decoration: none;
    font-weight: bold;
}

.page-live__category-link:hover {
    text-decoration: underline;
}

/* Why Choose Section */
.page-live__why-choose-section {
    padding: 80px 0;
    background-color: #0A0A0A;
}

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

.page-live__feature-card {
    background-color: #111111; /* Card BG color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__feature-card img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block; /* Prevents extra space below image */
    margin-left: auto;
    margin-right: auto;
}

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

.page-live__feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main color */
}

/* Get Started Section */
.page-live__get-started-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG color */
}

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

.page-live__step-card {
    background-color: #0A0A0A; /* Background color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__step-title {
    font-size: 1.5rem;
    color: #FFD36B; /* Glow color */
    margin-bottom: 15px;
}

.page-live__step-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #FFF6D6; /* Text Main color */
}

/* Media Partners Section */
.page-live__media-partners-section {
    padding: 80px 0;
    background-color: #0A0A0A;
}

.page-live__partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 2x5 grid */
    gap: 20px;
    justify-items: center;
    align-items: center;
    padding: 20px 0;
}

.page-live__partner-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.5); /* Subtle effect, not changing color */
    transition: filter 0.3s ease;
    display: block; /* Ensure no extra space below */
}

.page-live__partner-logo:hover {
    filter: brightness(1) grayscale(0);
}

/* FAQ Section */
.page-live__faq-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG color */
}

.page-live__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-live__faq-item {
    background-color: #0A0A0A; /* Background color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-live__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-live__faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #F2C14E;
}

.page-live__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #FFD36B; /* Glow color */
}

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

.page-live__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #111111; /* Card BG color */
    color: #FFF6D6; /* Text Main color */
}

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

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

/* CTA Section */
.page-live__cta-section {
    padding: 80px 0;
    background-color: #0A0A0A;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-live__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-live__image-wrapper {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 40px;
    }
    .page-live__partners-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for tablets */
    }
}

@media (max-width: 768px) {
    .page-live__hero-section {
        padding-bottom: 40px;
    }
    .page-live__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .page-live__hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-live__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding for buttons */
    }
    .page-live__btn-primary,
    .page-live__btn-secondary,
    .page-live__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important; /* Ensure padding for text */
        padding-right: 15px !important; /* Ensure padding for text */
    }
    
    .page-live__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 30px;
    }
    .page-live__section-description {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }
    .page-live__text-block p {
        font-size: 1rem;
    }
    .page-live__feature-title {
        font-size: 1.4rem;
    }
    .page-live__step-title {
        font-size: 1.3rem;
    }
    .page-live__partners-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for mobile */
        padding: 0 15px;
    }
    .page-live__faq-question h3 {
        font-size: 1.1rem;
    }
    .page-live__faq-answer p {
        font-size: 0.95rem;
    }

    /* Mobile image and video responsive rules */
    .page-live img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-live__video,
    .page-live__video-container {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* For video, height auto */
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-live__section,
    .page-live__card,
    .page-live__container,
    .page-live__game-category-item,
    .page-live__feature-card,
    .page-live__step-card,
    .page-live__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific padding for video section top */
    .page-live__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-live__partners-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller mobiles */
    }
}