/* Shell estático pre-WASM: LCP + reserva de layout (CLS) */
:root {
    --nav-height: 64px;
}

.main-header {
    min-height: var(--nav-height);
}

@media (max-width: 900px) {
    .main-header {
        min-height: 0;
    }
}

.main-content {
    padding-bottom: 0;
}

.fp-shell { min-height: 100vh; background: #05070A; color: #F5F7FA; }

.fp-eco-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: min(88vh, 820px);
    min-height: min(88dvh, 820px);
    padding: 2rem 1rem 1.75rem;
    background: #050508;
}

.fp-eco-logo {
    width: min(96px, 20vw);
    height: min(96px, 20vw);
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(100, 255, 154, 0.22), 0 0 24px rgba(100, 255, 154, 0.12);
}

.fp-eco-ball {
    width: min(340px, 52vw);
    height: min(340px, 52vw);
    object-fit: contain;
}

.fp-eco-kicker {
    margin-top: 1.25rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #64FF9A;
}

.fp-liga-hero {
    min-height: min(52vw, 300px);
    max-height: 380px;
    margin: 0 0 12px;
    padding: 20px 16px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    background: linear-gradient(180deg, #0b0b18 0%, #070710 60%, #050508 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fp-liga-hero__logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #1a1a26;
    flex-shrink: 0;
}

.fp-liga-hero__title {
    flex: 1;
    height: 28px;
    max-width: 220px;
    border-radius: 8px;
    background: #12121a;
}

@media (max-width: 900px) {
    .fp-liga-hero {
        min-height: 130px;
        max-height: 130px;
        padding: 10px 14px;
        align-items: center;
    }
    .fp-liga-hero__logo {
        width: 44px;
        height: 44px;
    }
    .fp-liga-hero__title {
        height: 18px;
    }
}

.fp-home-skeleton {
    padding: 0 16px 24px;
}

.fp-home-skeleton__hero {
    min-height: clamp(200px, 42vw, 360px);
    border-radius: 0 0 18px 18px;
    margin: 0 -16px 20px;
    background: linear-gradient(110deg, #0a0a12 8%, #14141f 18%, #0a0a12 33%);
    background-size: 200% 100%;
    animation: fp-shimmer 1.4s ease-in-out infinite;
}

.fp-home-skeleton__line {
    height: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    width: 62%;
    background: #12121a;
}

.fp-home-skeleton__line--lg {
    width: 42%;
    height: 16px;
    margin-bottom: 14px;
}

.fp-home-skeleton__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.fp-home-skeleton__card {
    height: 120px;
    border-radius: 14px;
    background: linear-gradient(110deg, #0f0f14 8%, #1a1a26 18%, #0f0f14 33%);
    background-size: 200% 100%;
    animation: fp-shimmer 1.4s ease-in-out infinite;
}

@keyframes fp-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.fp-home-hero {
    position: relative;
    min-height: clamp(280px, 52vw, 520px);
    overflow: hidden;
    background: #080810;
}

.fp-home-hero picture,
.fp-home-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-home-hero__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(280px, 52vw, 520px);
    padding: 24px 20px 28px;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 16, 0.92) 88%);
}

.fp-home-hero__kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #64FF9A;
    margin-bottom: 8px;
}

.fp-home-hero__title {
    font-size: clamp(1.35rem, 4.5vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    max-width: 18ch;
}

.fp-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding: 20px;
}

.fp-login-card {
    width: 100%;
    max-width: 420px;
    background: #121216;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
}

.fp-login-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 0 0 1px rgba(100, 255, 154, 0.28), 0 0 20px rgba(100, 255, 154, 0.12);
}

.fp-login-card h1 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.fp-login-card p {
    color: #888;
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.fp-field {
    height: 48px;
    border-radius: 12px;
    background: #0a0a0c;
    border: 1px solid #333;
    margin-bottom: 14px;
}

.fp-btn {
    height: 52px;
    border-radius: 12px;
    background: #f5b100;
    margin-top: 8px;
}

.fp-ligas-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 16px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(100, 255, 154, 0.18), transparent 70%), #05070A;
}

.fp-ligas-hero img {
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
}

.fp-ligas-hero h1 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.fp-grid {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.fp-card {
    height: 88px;
    border-radius: 16px;
    background: linear-gradient(90deg, #0f0f14 0%, #1a1a26 42%, #12121a 88%);
}

.fp-partido {
    padding: 16px;
    min-height: 320px;
}

.fp-partido__score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.fp-partido__team {
    text-align: center;
}

.fp-partido__logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 8px;
    background: #1a1a26;
}

.fp-partido__name {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.fp-partido__score-num {
    font-size: 2rem;
    font-weight: 900;
    color: #64FF9A;
}
