/* Homepage Specific Styles extracted from front-page.php */

/* Movies & Channels Sections */
.global-movies-section,
.global-channels-section,
.football-leagues-section,
.tv-channels-section {
    padding: 4rem 0;
    overflow: hidden;
    background: transparent;
}

.movies-carousel,
.channels-carousel,
.leagues-scroll-wrapper,
.channels-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}

.movies-carousel::before,
.movies-carousel::after,
.channels-carousel::before,
.channels-carousel::after,
.leagues-scroll-wrapper::before,
.leagues-scroll-wrapper::after,
.channels-scroll-wrapper::before,
.channels-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.movies-carousel::before,
.channels-carousel::before,
.leagues-scroll-wrapper::before,
.channels-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-background), transparent);
}

.movies-carousel::after,
.channels-carousel::after,
.leagues-scroll-wrapper::after,
.channels-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-background), transparent);
}

.movies-grid,
.channels-grid,
.leagues-scroll,
.channels-scroll {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollRTL 60s linear infinite;
}

.movies-grid:hover,
.channels-grid:hover,
.leagues-scroll:hover,
.channels-scroll:hover {
    animation-play-state: paused;
}

/* Channel Logos */
.channel-logo-item {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.league-logo-card {
    background: rgba(30, 30, 40, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.league-logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    background: rgba(40, 40, 50, 0.8);
}

.league-logo-img {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.league-logo-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.league-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: white;
}

.league-location {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Placeholder Badge */
.placeholder-badge {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto;
}

/* Animation Keyframes */
@keyframes scrollRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--color-background), var(--color-darker-bg));
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.step-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 5rem 0;
    background: var(--color-background);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question .icon {
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--color-text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    /* Arbitrary large height */
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(to top, var(--color-background), var(--color-darker-bg));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-content {
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.author-title {
    color: var(--color-text-light);
    font-size: 0.8rem;
}