/* ============================================
   HOME PAGE SECTIONS - FEATURES & LEAGUES
   ============================================ */

/* ============================================
   FEATURES STRIP STYLING
   ============================================ */

.features-strip {
    position: relative;
    z-index: 10;
    margin-top: -4rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.features-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: rgba(30, 30, 40, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-strip-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), #ff4757);
    border-radius: 12px;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.2rem 0;
}

.feature-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.3;
}

/* ============================================
   FOOTBALL LEAGUES SCROLLING ANIMATION
   ============================================ */

.football-leagues-section {
    padding: 4rem 0;
    background: var(--color-darker-bg);
    overflow: hidden;
}

.football-leagues-section .section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 4rem;
    font-size: 2rem;
}

/* Scrolling Wrapper */
.leagues-scroll-wrapper {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    margin-top: 2rem;
    width: 100%;
}

.leagues-scroll-wrapper::before,
.leagues-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.leagues-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-darker-bg), transparent);
}

.leagues-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-darker-bg), transparent);
}

/* Scrolling Container */
.leagues-scroll {
    display: flex !important;
    gap: 3rem;
    animation: scrollRTL 30s linear infinite !important;
    width: max-content;
}

.leagues-scroll:hover {
    animation-play-state: paused;
}

/* League Card Styling */
.football-leagues-section .league-logo-card {
    flex-shrink: 0;
    width: 260px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.football-leagues-section .league-logo-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(40, 167, 69, 0.3);
}

.football-leagues-section .league-logo-card.featured {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
}

/* League Image */
.football-leagues-section .league-logo-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.football-leagues-section .league-logo-card:hover .league-logo-img {
    transform: rotateY(360deg) scale(1.1);
}

.football-leagues-section .league-logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 1rem;
}

/* Text Styling */
.league-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.league-location {
    font-size: 1.5rem;
    color: var(--color-text-light);
    opacity: 0.8;
    margin: 0;
}

/* Placeholders */
.placeholder-badge {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.bundesliga-placeholder {
    background: linear-gradient(135deg, #d20515, #a00000);
}

.ligue1-placeholder {
    background: linear-gradient(135deg, #dae025, #b8c61e);
}

.ligue1-placeholder .placeholder-badge {
    color: #000;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .features-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .features-strip {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }

    .features-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem;
    }

    .feature-strip-item {
        padding: 0.8rem 0.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .feature-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 auto;
    }

    .feature-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }

    .feature-content p {
        font-size: 0.75rem;
    }

    /* Leagues */
    .leagues-scroll {
        gap: 2rem;
        animation-duration: 45s !important;
    }

    .football-leagues-section .league-logo-card {
        width: 200px;
        padding: 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .features-strip {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }

    .features-strip-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }
}
