@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Manrope:wght@300;400;600&display=swap');

body {
    background: radial-gradient(circle at top, #0f172a 0%, #020617 65%);
    color: #e2e8f0;
    position: relative;
    font-family: "Manrope", sans-serif;
}
body::before,
body::after {
    content: "";
    position: fixed;
    inset: -20% -10% auto auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25), rgba(15, 23, 42, 0));
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
    animation: glowDrift 12s ease-in-out infinite;
    will-change: transform, opacity;
}
body::after {
    inset: auto auto -25% -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), rgba(15, 23, 42, 0));
    animation-duration: 16s;
    animation-direction: reverse;
}
body .min-h-dvh > .relative {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.6);
    position: relative;
}
body .min-h-dvh > .relative::before,
body .min-h-dvh > .relative::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(248, 250, 252, 0.08), rgba(2, 6, 23, 0));
    filter: blur(12px);
    pointer-events: none;
    animation: glowDrift 10s ease-in-out infinite;
    will-change: transform, opacity;
}
body .min-h-dvh > .relative::before {
    top: -60px;
    right: 10%;
}
body .min-h-dvh > .relative::after {
    bottom: -70px;
    left: 5%;
    animation-duration: 14s;
    animation-direction: reverse;
}
.landing-home {
    animation: pageFade 0.8s ease both;
}
.hero-card {
    animation: floatIn 0.7s ease both;
}
.hero-card:nth-child(2) {
    animation-delay: 0.12s;
}
.filter-panel {
    animation: floatIn 0.7s ease both;
    animation-delay: 0.18s;
}
.landing-home h1 {
    font-family: "Space Grotesk", sans-serif;
}
.hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82));
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 26px 48px rgba(2, 6, 23, 0.45);
}
.hero-chip {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #cbd5f5;
}
.hero-cta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(14, 116, 144, 0.95));
    color: #0f172a;
    box-shadow: 0 12px 22px rgba(16, 185, 129, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(16, 185, 129, 0.35);
}
.hero-grid {
    display: grid;
    gap: 1.5rem;
}
.hero-stat {
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
}
.ad-slot {
    background: rgba(15, 23, 42, 0.55);
    border: 1px dashed rgba(148, 163, 184, 0.35);
    color: #94a3b8;
}
.home-glow {
    position: relative;
}
.home-glow::after {
    content: "";
    position: absolute;
    inset: -30% 10% auto auto;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 0));
    filter: blur(12px);
    z-index: -1;
    animation: glowDrift 11s ease-in-out infinite;
    will-change: transform, opacity;
}
.filter-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.45), inset 0 0 0 1px rgba(56, 189, 248, 0.08);
}
.filter-panel .filter-head {
    gap: 1.5rem;
}
.filter-panel .filter-kicker {
    color: #a5f3fc;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}
.filter-panel .filter-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.4rem, 2.3vw, 1.9rem);
    color: #f8fafc;
}
.filter-panel .filter-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}
.filter-panel .filter-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
}
.filter-panel .quick-date {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(2, 6, 23, 0.6);
    color: #e2e8f0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.filter-panel .quick-date:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.35);
}
.filter-panel .filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.filter-panel .filter-input {
    position: relative;
}
.filter-panel .filter-input input {
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
    padding-left: 2.6rem;
    border-radius: 0.9rem;
    height: 48px;
}
.filter-panel .filter-input input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}
.filter-panel .filter-hint {
    color: #64748b;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.filter-panel .view-toggle {
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
    border-radius: 0.9rem;
    height: 48px;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.filter-panel .view-toggle:hover {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.35);
}
.filter-panel .view-toggle:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}
.filter-panel .view-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    background: rgba(2, 6, 23, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 24px 40px rgba(2, 6, 23, 0.55);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 40;
}
.filter-panel .view-menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.filter-panel .view-option {
    width: 100%;
    border-radius: 0.8rem;
    padding: 0.75rem 0.9rem;
    text-align: left;
    background: transparent;
    color: #e2e8f0;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.filter-panel .view-option:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.35);
}
.filter-panel .view-option .view-meta {
    color: #94a3b8;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.fixtures-group {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.5);
    border-radius: 1.25rem;
    padding: 1rem;
}
.fixtures-group-title {
    font-family: "Space Grotesk", sans-serif;
    color: #e2e8f0;
}
.fixtures-group-subtitle {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.filter-label {
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.65rem;
}
.filter-icon {
    color: #64748b;
}
.autoBlur {
    animation: blurA linear both;
    animation-timeline: view();
}
@keyframes blurA {
    0% { filter: blur(20px); }
    30%, 45% { filter: blur(0px); }
    100% { filter: blur(0px); }
}
.home-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(16, 185, 129, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.home-card {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: cardFade 0.6s ease both;
}
.home-card:nth-child(1) { animation-delay: 0.08s; }
.home-card:nth-child(2) { animation-delay: 0.14s; }
.home-card:nth-child(3) { animation-delay: 0.2s; }
.home-card:nth-child(4) { animation-delay: 0.26s; }
.home-card:nth-child(5) { animation-delay: 0.32s; }
.home-card:nth-child(6) { animation-delay: 0.38s; }
.home-card:hover {
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.45);
}
.home-card:hover::after {
    opacity: 1;
}
.home-card img {
    max-height: 44px;
    margin: 0 auto;
}
.landing-home .text-gray-300 {
    color: #e2e8f0;
}
.landing-home .text-gray-400 {
    color: #94a3b8;
}
@keyframes pageFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes cardFade {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes floatIn {
    0% { opacity: 0; transform: translateY(14px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.floating-ball {
    animation: slowFloat 6s ease-in-out infinite;
}
@keyframes slowFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes glowDrift {
    0% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    28% { transform: translate(-48px, 24px) scale(1.12); opacity: 0.9; }
    55% { transform: translate(70px, -30px) scale(1.08); opacity: 0.8; }
    78% { transform: translate(40px, -36px) scale(0.96); opacity: 0.55; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.75; }
}

@media (max-width: 1024px) {
    body::before,
    body::after {
        width: 340px;
        height: 340px;
    }
    body::after {
        width: 420px;
        height: 420px;
    }
    .filter-panel .filter-head {
        align-items: flex-start;
    }
    .filter-panel .filter-quick {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    body .min-h-dvh > .relative {
        border-radius: 1rem;
    }
    .landing-home {
        padding: 0;
    }
    .hero-grid {
        gap: 1rem;
    }
    .hero-cta {
        width: 100%;
        justify-content: center;
    }
    .filter-panel {
        padding: 1.25rem;
    }
    .filter-panel .filter-title {
        font-size: 1.4rem;
    }
    .filter-panel .view-menu {
        left: 0;
        right: 0;
    }
    .fixtures-group {
        padding: 0.85rem;
    }
}

@media (max-width: 640px) {
    body::before,
    body::after {
        width: 260px;
        height: 260px;
    }
    body::after {
        width: 320px;
        height: 320px;
    }
    .hero-chip {
        width: 100%;
        text-align: center;
    }
    .filter-panel .filter-kicker {
        letter-spacing: 0.25em;
    }
    .filter-panel .filter-title {
        font-size: 1.25rem;
    }
    .filter-panel .filter-quick {
        width: 100%;
    }
    .filter-panel .quick-date {
        flex: 1 1 auto;
        text-align: center;
    }
}
