/* style/live.css */

/* Base styles for the page-live scope */
.page-live {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main color for dark background */
    background-color: #0A0A0A; /* Background color */
}

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

/* Hero Section */
.page-live__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #0A0A0A; /* Fallback */
}

.page-live__hero-carousel {
    position: relative;
    width: 100%;
    height: 700px; /* Adjust as needed */
    overflow: hidden;
}

.page-live__hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: translateX(100%); /* Start off-screen to the right */
    display: flex;
    align-items: center; /* Vertically center content if needed */
    justify-content: center;
}

.page-live__hero-slide.active {
    opacity: 1;
    transform: translateX(0); /* Slide into view */
    z-index: 1;
}

.page-live__hero-slide.prev {
    transform: translateX(-100%); /* Slide out to the left */
    opacity: 0;
}

.page-live__hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Ensure image is behind content */
}

.page-live__hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    box-sizing: border-box;
}

.page-live__hero-title {
    font-size: clamp(2em, 4vw, 2.5em); /* Use clamp for H1 */
    color: #FFD36B; /* Glow color for title */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: 1px;
}

.page-live__hero-description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 30px;
}

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

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-text {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-live__btn-primary:hover {
    background: linear-gradient(180deg, #FFE082 0%, #E6B02A 100%);
    transform: translateY(-2px);
}

.page-live__btn-secondary {
    background: #111111; /* Card BG color */
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #FFD36B; /* Glow color for border */
}

.page-live__btn-secondary:hover {
    background: #FFD36B; /* Glow color */
    color: #111111; /* Dark text */
    transform: translateY(-2px);
}

.page-live__btn-text {
    background: none;
    border: none;
    color: #FFD36B;
    padding: 0;
    text-decoration: underline;
    font-size: 1em;
}

.page-live__btn-text:hover {
    color: #F2C14E;
}

.page-live__hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.page-live__hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-live__hero-dot.active {
    background-color: #FFD36B;
}

/* General Section Styling */
.page-live__section {
    padding: 60px 0;
    position: relative;
}

.page-live__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Main color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-live__section-description {
    font-size: 1.1em;
    color: #FFF6D6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Features Grid */
.page-live__features-grid,
.page-live__game-grid,
.page-live__advantages-grid,
.page-live__steps-grid,
.page-live__responsible-grid {
    display: grid;
    gap: 30px;
    padding-top: 20px;
}

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

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

.page-live__feature-icon,
.page-live__advantage-image,
.page-live__responsible-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
}

.page-live__feature-title,
.page-live__game-title,
.page-live__advantage-title,
.page-live__step-title,
.page-live__responsible-title {
    font-size: 1.5em;
    color: #F2C14E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__feature-text,
.page-live__game-text,
.page-live__advantage-text,
.page-live__step-text,
.page-live__responsible-text {
    font-size: 1em;
    color: #FFF6D6;
}

/* Game Categories */
.page-live__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-live__game-card {
    background-color: #111111; /* Card BG color */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-live__game-icon {
    width: 30px; /* Specific exception for game category icons */
    height: 30px; /* Specific exception for game category icons */
    object-fit: contain;
    margin-bottom: 15px;
}

/* Why Choose section */
.page-live__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Get Started Steps */
.page-live__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: left;
}

.page-live__step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-live__step-number {
    font-size: 2em;
    font-weight: bold;
    color: #F2C14E;
    margin-bottom: 10px;
    background-color: rgba(242, 193, 78, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #F2C14E;
}

.page-live__step-item .page-live__btn-primary,
.page-live__step-item .page-live__btn-secondary {
    margin-top: 20px;
    align-self: flex-start;
    width: auto; /* Override max-width for smaller buttons in desktop view */
    max-width: 100%;
}


/* Responsible Gaming */
.page-live__responsible-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-live__responsible-cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-live__faq-section {
    padding-bottom: 80px;
}

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

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

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

.page-live__faq-question:hover {
    background-color: #1a1a1a;
}

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

.page-live__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #F2C14E;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #1a1a1a; /* Slightly lighter background for answer */
    color: #FFF6D6;
}

.page-live__faq-item.active .page-live__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure override */
    padding: 20px;
}

.page-live__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Image specific rules to prevent small icons */
.page-live img:not(.page-live__game-icon) {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-carousel {
        height: 600px;
    }
    .page-live__section-title {
        font-size: 2em;
    }
    .page-live__hero-title {
        font-size: clamp(1.8em, 5vw, 2.2em);
    }
    .page-live__features-grid,
    .page-live__advantages-grid,
    .page-live__responsible-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-live__container {
        padding: 0 15px; /* Add padding for mobile content */
    }
    .page-live__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-live__hero-carousel {
        height: 500px;
    }
    .page-live__hero-content-wrapper {
        padding: 15px;
    }
    .page-live__hero-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-live__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-live__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__btn-primary,
    .page-live__btn-secondary,
    .page-live a[class*="button"],
    .page-live a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-live__cta-buttons,
    .page-live__button-group,
    .page-live__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-live__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-live__section {
        padding: 40px 0;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-live__features-grid,
    .page-live__game-grid,
    .page-live__advantages-grid,
    .page-live__steps-grid,
    .page-live__responsible-grid {
        grid-template-columns: 1fr;
    }
    .page-live__feature-item,
    .page-live__advantage-item,
    .page-live__step-item,
    .page-live__responsible-item {
        padding: 20px;
    }
    .page-live__game-card {
        padding: 20px;
    }
    .page-live__faq-question {
        padding: 15px;
    }
    .page-live__faq-question h3 {
        font-size: 1.1em;
    }
    .page-live__faq-answer {
        padding: 0 15px;
    }
    .page-live__faq-item.active .page-live__faq-answer {
        padding: 15px;
    }

    /* Mobile image responsiveness */
    .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__hero-section,
    .page-live__hero-carousel,
    .page-live__hero-slide {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .page-live__hero-carousel {
        height: 400px;
    }
    .page-live__hero-title {
        font-size: clamp(1.2em, 7vw, 1.8em);
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__hero-content-wrapper {
        padding: 10px;
    }
}