@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700;800&family=Exo+2:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
    /* 全新配色方案：蓝紫渐变风格 */
    --bg: #0a0a1a;
    --bg-soft: #12122a;
    --bg-card: rgba(25, 25, 60, 0.6);
    --bg-card-strong: rgba(35, 35, 75, 0.85);
    --line: rgba(120, 100, 255, 0.25);
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #f0f0ff;
    --text-soft: #a0a0c8;
    --text-muted: #6060a0;
    /* 蓝紫渐变主色调 */
    --primary: #7c3aed;
    --primary-2: #a855f7;
    --primary-3: #c084fc;
    --accent: #06b6d4;
    --accent-2: #22d3ee;
    --danger: #f43f5e;
    --warning: #f59e0b;
    --success: #10b981;
    /* 暖色辅助 */
    --warm: #f472b6;
    --warm-2: #fb7185;
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 10px 32px rgba(124, 58, 237, 0.3);
    --blur: blur(20px);
    --header-height: 74px;
    --page-width: 1240px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* 增强的玻璃拟态变量 */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shine: rgba(255, 255, 255, 0.06);
    --glass-glow: rgba(124, 58, 237, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Noto Sans SC', 'Exo 2', sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a1a 0%, #12122a 50%, #0f0f25 100%);
    line-height: 1.5;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -2;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: floatOrb 18s ease-in-out infinite;
}

body::before {
    left: -180px;
    top: 12vh;
    background: rgba(26, 120, 255, 0.28);
}

body::after {
    right: -160px;
    bottom: -80px;
    background: rgba(34, 210, 144, 0.24);
    animation-delay: -9s;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

.page-bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.22;
    z-index: -3;
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
    pointer-events: none;
}

/* ===== 粒子背景效果 ===== */
.particles-bg {
    position: fixed;
    inset: 0;
    z-index: -4;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-2);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 20s infinite linear;
    box-shadow: 0 0 10px var(--primary-2);
}

.particle:nth-child(odd) {
    background: var(--accent-2);
    box-shadow: 0 0 10px var(--accent-2);
    animation-duration: 25s;
}

.particle:nth-child(3n) {
    width: 6px;
    height: 6px;
    opacity: 0.3;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== 增强的页脚 ===== */
.site-footer {
    border-top: 1px solid var(--line-soft);
    background: linear-gradient(180deg, transparent, rgba(5, 19, 32, 0.8));
    padding: 40px 0 24px;
    margin-top: 40px;
}

.footer-inner {
    width: min(var(--page-width), 94vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-soft);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: var(--text-soft);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    width: min(var(--page-width), 94vw);
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    backdrop-filter: var(--blur);
    background: linear-gradient(100deg, rgba(5, 19, 32, 0.78), rgba(8, 31, 45, 0.65));
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    width: min(var(--page-width), 94vw);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-ball {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(46, 229, 160, 0.95), rgba(62, 161, 255, 0.95));
    box-shadow: var(--shadow-glow);
    font-size: 20px;
}

.brand-title {
    font-family: 'Barlow', 'Noto Sans SC', sans-serif;
    font-size: 1.06rem;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.brand-subtitle {
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.62rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.main-nav a:hover {
    color: var(--text);
    background: rgba(121, 234, 194, 0.14);
}

.main-nav a.active {
    color: #042119;
    background: linear-gradient(125deg, var(--primary-2), var(--accent-2));
    box-shadow: 0 8px 20px rgba(50, 183, 255, 0.28);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #d6ebff;
    transition: all 0.25s var(--ease);
}

.page-shell {
    width: min(var(--page-width), 94vw);
    margin: 22px auto 56px;
    display: grid;
    gap: 18px;
}

.page-head {
    padding: 24px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(16, 45, 62, 0.72), rgba(18, 42, 59, 0.48)),
        radial-gradient(circle at 20% 0, rgba(92, 196, 255, 0.17), transparent 56%);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.page-head::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: inherit;
    pointer-events: none;
}

.page-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: rgba(176, 229, 255, 0.78);
    margin-bottom: 6px;
    font-family: 'Exo 2', sans-serif;
}

.page-title {
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
    font-family: 'Barlow', 'Noto Sans SC', sans-serif;
}

.page-subtitle {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.grid-2,
.grid-3,
.grid-4,
.grid-main {
    display: grid;
    gap: 16px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-main {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
}

.glass-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-card);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.glass-card.strong {
    background: var(--bg-card-strong);
}

.card-head {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line-soft);
}

.card-title {
    font-size: 1rem;
    font-family: 'Barlow', 'Noto Sans SC', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title small {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 500;
}

.card-body {
    padding: 16px 18px;
}

.card-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--line-soft);
    color: var(--text-soft);
    font-size: 0.84rem;
}

.muted {
    color: var(--text-soft);
}

.tiny {
    font-size: 0.8rem;
}

.btn {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 9px 12px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.26s var(--ease);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #052015;
    font-weight: 700;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, 0.05);
    color: #d4e6f9;
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(112, 198, 255, 0.14);
    border-color: rgba(101, 225, 180, 0.3);
}

.btn-danger {
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.35);
    color: #ffc2c2;
}

.btn-sm {
    padding: 7px 10px;
    font-size: 0.82rem;
}

.chip {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.chip-hot {
    border-color: rgba(255, 201, 74, 0.35);
    color: #ffd86c;
    background: rgba(255, 201, 74, 0.1);
}

.chip-success {
    border-color: rgba(46, 229, 160, 0.35);
    color: #9dffd8;
    background: rgba(46, 229, 160, 0.1);
}

.chip-danger {
    border-color: rgba(255, 107, 107, 0.35);
    color: #ffb8b8;
    background: rgba(255, 107, 107, 0.1);
}

.input,
.select,
textarea.input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 10px 12px;
    color: #f0f7ff;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input:focus,
.select:focus,
textarea.input:focus {
    border-color: rgba(121, 234, 194, 0.75);
    box-shadow: 0 0 0 3px rgba(121, 234, 194, 0.2);
}

.input::placeholder {
    color: #88a1b6;
}

.select option {
    color: #0f2030;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.filter-item {
    display: grid;
    gap: 6px;
}

.filter-item label {
    color: var(--text-soft);
    font-size: 0.77rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-5 {
    grid-column: span 5;
}

.col-6 {
    grid-column: span 6;
}

.col-12 {
    grid-column: span 12;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kpi-card {
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 14px;
}

.kpi-label {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.kpi-value {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    margin-top: 2px;
}

.kpi-change {
    margin-top: 5px;
    font-size: 0.78rem;
    color: #90d5ff;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.quick-link {
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: rgba(9, 31, 43, 0.55);
    padding: 14px;
    display: grid;
    gap: 8px;
    transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.quick-link:hover {
    transform: translateY(-3px);
    border-color: rgba(121, 234, 194, 0.4);
    background: rgba(15, 45, 62, 0.7);
}

.quick-link .icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(62, 161, 255, 0.35), rgba(46, 229, 160, 0.34));
}

.quick-link b {
    font-size: 0.92rem;
}

.quick-link span {
    color: var(--text-soft);
    font-size: 0.81rem;
}

.list {
    display: grid;
    gap: 12px;
}

.match-card {
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 14px;
    transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}

.match-card:hover {
    transform: translateY(-2px);
    border-color: rgba(121, 234, 194, 0.35);
}

.match-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.match-league {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0c2b1f;
    font-weight: 700;
    background: linear-gradient(125deg, var(--primary-2), var(--accent-2));
    padding: 5px 8px;
    border-radius: 999px;
}

.match-time {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team.right {
    justify-content: flex-end;
}

.team-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.team-name {
    font-weight: 600;
    font-size: 0.96rem;
}

.score-pill {
    border-radius: 999px;
    padding: 8px 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    min-width: 82px;
    text-align: center;
}

.score-pill.scheduled {
    font-size: 0.84rem;
    color: var(--text-soft);
    letter-spacing: 0.06em;
}

.match-bottom {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.action-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.progress-wrap {
    display: grid;
    gap: 4px;
}

.progress {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.news-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}

.news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(105, 199, 255, 0.5);
}

.news-thumb {
    border-radius: 10px;
    min-height: 76px;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(135deg, #214e7b, #173049);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.76rem;
    margin-bottom: 4px;
}

.news-title {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.news-summary {
    color: var(--text-soft);
    font-size: 0.83rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pill-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-switch button {
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    cursor: pointer;
    transition: all 0.24s var(--ease);
}

.pill-switch button:hover {
    border-color: rgba(102, 211, 255, 0.5);
}

.pill-switch button.active {
    color: #04251a;
    font-weight: 700;
    background: linear-gradient(130deg, var(--primary-2), var(--accent-2));
    border-color: transparent;
}

.prediction-option {
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    display: grid;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.prediction-option:hover {
    transform: translateY(-2px);
    border-color: rgba(121, 234, 194, 0.5);
}

.prediction-option.recommended {
    border-color: rgba(121, 234, 194, 0.82);
    background: linear-gradient(130deg, rgba(16, 71, 52, 0.55), rgba(18, 54, 74, 0.42));
}

.prediction-option-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prediction-option-name {
    font-size: 1rem;
    font-weight: 700;
}

.prediction-option-odds {
    font-family: 'Barlow', sans-serif;
    font-size: 1.24rem;
    color: #9dd9ff;
}

.gauge-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.03);
}

.gauge {
    --value: 0.65;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--value) * 1turn), rgba(255, 255, 255, 0.1) 0);
    display: grid;
    place-items: center;
    position: relative;
}

.gauge::before {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: #0c2030;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gauge strong {
    position: relative;
    font-family: 'Barlow', sans-serif;
    font-size: 1.16rem;
}

.metric-list {
    display: grid;
    gap: 8px;
}

.metric {
    border-radius: 10px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
}

.metric-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    margin-bottom: 6px;
    color: var(--text-soft);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.table th,
.table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.table th {
    color: #b3cae0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.72rem;
    font-weight: 600;
}

.table tr:hover td {
    background: rgba(112, 198, 255, 0.08);
}

.table tr:last-child td {
    border-bottom: none;
}

.rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
}

.rank-badge.top {
    background: linear-gradient(130deg, #ffd36b, #ffad49);
    color: #352205;
}

.timeline {
    display: grid;
    gap: 10px;
    position: relative;
    padding-left: 16px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--accent), transparent);
}

.timeline-item {
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 10px 12px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-2);
    box-shadow: 0 0 0 4px rgba(57, 243, 188, 0.18);
}

.timeline-minute {
    font-family: 'Barlow', sans-serif;
    font-size: 0.86rem;
    color: #97d4ff;
    margin-bottom: 2px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tab-btn {
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    cursor: pointer;
    transition: all 0.22s var(--ease);
}

.tab-btn.active {
    color: #05251b;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-2), #8fd4ff);
    border-color: transparent;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeUp 0.32s var(--ease);
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 94vw);
    height: 100dvh;
    border-left: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 28, 42, 0.95), rgba(8, 22, 34, 0.95));
    backdrop-filter: var(--blur);
    padding: 20px;
    z-index: 180;
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
    overflow-y: auto;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.auth-wrap {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 16px;
}

.auth-panel,
.profile-panel {
    border-radius: var(--radius-md);
    border: 1px solid var(--line-soft);
    background: var(--bg-card);
    padding: 16px;
}

.form-grid {
    display: grid;
    gap: 10px;
}

.stat-line {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.stat-chip {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-soft);
    padding: 10px;
}

.stat-chip b {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 1.3rem;
}

.list-item {
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.72rem;
    border: 1px solid transparent;
}

.badge.win {
    background: rgba(46, 229, 160, 0.14);
    border-color: rgba(46, 229, 160, 0.35);
    color: #8cffd2;
}

.badge.lose {
    background: rgba(255, 107, 107, 0.14);
    border-color: rgba(255, 107, 107, 0.35);
    color: #ffb1b1;
}

.badge.pending {
    background: rgba(255, 201, 74, 0.15);
    border-color: rgba(255, 201, 74, 0.35);
    color: #ffd978;
}

.empty {
    padding: 24px;
    text-align: center;
    color: var(--text-soft);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.toast-root {
    position: fixed;
    top: 88px;
    right: 18px;
    z-index: 220;
    display: grid;
    gap: 8px;
}

.toast {
    min-width: 240px;
    max-width: 340px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    animation: slideInRight 0.25s var(--ease);
    font-size: 0.86rem;
}

.toast.info {
    background: rgba(62, 161, 255, 0.2);
}

.toast.success {
    background: rgba(46, 229, 160, 0.2);
}

.toast.warn {
    background: rgba(255, 201, 74, 0.2);
}

.toast.error {
    background: rgba(255, 107, 107, 0.2);
}

.loader-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 260;
    background: radial-gradient(circle at center, rgba(7, 24, 37, 0.86), rgba(3, 9, 15, 0.96));
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ball {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--primary-2);
    border-right-color: var(--accent-2);
    animation: spin 0.8s linear infinite;
    position: relative;
}

.loader-ball::after {
    content: '⚽';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

.skeleton {
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    background-size: 200% 100%;
    animation: shimmer 1.2s linear infinite;
}

.skeleton-row {
    height: 12px;
    margin-bottom: 9px;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-14 {
    gap: 14px;
}

.gap-16 {
    gap: 16px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-24 {
    margin-bottom: 24px;
}

.hidden {
    display: none !important;
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -30px) scale(1.08);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

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

@media (max-width: 1120px) {
    .grid-main {
        grid-template-columns: 1fr;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 66px;
    }

    .header-inner {
        width: 94vw;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: calc(var(--header-height) + 8px);
        right: 3vw;
        width: min(84vw, 320px);
        display: grid;
        gap: 6px;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid var(--line-soft);
        background: rgba(8, 28, 42, 0.93);
        transform: translateY(-8px) scale(0.98);
        transform-origin: top right;
        opacity: 0;
        pointer-events: none;
        transition: all 0.22s var(--ease);
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .main-nav a {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-12 {
        grid-column: span 2;
    }

    .stat-line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .page-shell {
        width: 95vw;
        margin-top: 14px;
    }

    .page-head,
    .card-body,
    .card-head,
    .card-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .kpi-grid,
    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .match-teams {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .team,
    .team.right {
        justify-content: flex-start;
    }

    .score-pill {
        justify-self: start;
    }

    .toast-root {
        left: 10px;
        right: 10px;
    }

    .toast {
        max-width: none;
    }
}

/* ===== 滚动触发动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible,
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 增强的卡片效果 ===== */
.glass-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%, rgba(21,209,127,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px var(--glass-glow);
    border-color: rgba(21, 209, 127, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card.strong {
    background: var(--bg-card-strong);
}

/* ===== 增强的按钮效果 ===== */
.btn {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 9px 12px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.26s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.26s var(--ease);
}

.btn:hover::after {
    opacity: 1;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #052015;
    font-weight: 700;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(21, 209, 127, 0.4);
}

.btn-ghost {
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, 0.05);
    color: #d4e6f9;
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(112, 198, 255, 0.14);
    border-color: rgba(101, 225, 180, 0.3);
}

.btn-danger {
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.35);
    color: #ffc2c2;
}

.btn-sm {
    padding: 7px 10px;
    font-size: 0.82rem;
}

/* ===== 增强的KPI卡片 ===== */
.kpi-card {
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 14px;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.kpi-card:hover {
    border-color: rgba(21, 209, 127, 0.3);
    transform: translateY(-2px);
}

.kpi-card:hover::before {
    opacity: 1;
}

.kpi-label {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.kpi-value {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    margin-top: 2px;
    background: linear-gradient(135deg, var(--text), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kpi-change {
    margin-top: 5px;
    font-size: 0.78rem;
    color: #90d5ff;
}

/* ===== 增强的快速链接 ===== */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.quick-link {
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(9, 31, 43, 0.55);
    padding: 14px;
    display: grid;
    gap: 8px;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 209, 127, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.quick-link:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(121, 234, 194, 0.5);
    background: rgba(15, 45, 62, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.quick-link:hover::before {
    opacity: 1;
}

.quick-link .icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(62, 161, 255, 0.35), rgba(46, 229, 160, 0.34));
    transition: transform 0.35s var(--ease);
}

.quick-link:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-link b {
    font-size: 0.92rem;
}

.quick-link span {
    color: var(--text-soft);
    font-size: 0.81rem;
}

/* ===== 增强的比赛卡片 ===== */
.match-card {
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 14px;
    transition: all 0.35s var(--ease);
    position: relative;
}

.match-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.match-card:hover {
    transform: translateY(-3px);
    border-color: rgba(121, 234, 194, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.match-card:hover::after {
    opacity: 1;
}

.match-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.match-league {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0c2b1f;
    font-weight: 700;
    background: linear-gradient(125deg, var(--primary-2), var(--accent-2));
    padding: 5px 8px;
    border-radius: 999px;
}

.match-time {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team.right {
    justify-content: flex-end;
}

.team-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.35s var(--ease);
}

.match-card:hover .team-badge {
    transform: scale(1.1);
}

.team-name {
    font-weight: 600;
    font-size: 0.96rem;
}

.score-pill {
    border-radius: 999px;
    padding: 8px 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    min-width: 82px;
    text-align: center;
    transition: all 0.35s var(--ease);
}

.score-pill.scheduled {
    font-size: 0.84rem;
    color: var(--text-soft);
    letter-spacing: 0.06em;
}

.match-bottom {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.action-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.progress-wrap {
    display: grid;
    gap: 4px;
    min-width: 120px;
}

.progress {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.7s var(--ease);
}

/* ===== 加载骨架屏动画增强 ===== */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.03) 0%, 
        rgba(255,255,255,0.08) 50%, 
        rgba(255,255,255,0.03) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

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

/* ===== Toast 通知增强 ===== */
.toast-root {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.toast {
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(15, 33, 47, 0.95);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: var(--text);
    font-size: 0.9rem;
    max-width: 320px;
    pointer-events: auto;
    animation: toastIn 0.35s var(--ease);
}

.toast.success {
    border-color: rgba(46, 229, 160, 0.4);
}

.toast.error {
    border-color: rgba(255, 107, 107, 0.4);
}

.toast.warning {
    border-color: rgba(255, 201, 74, 0.4);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== 页面头部增强 ===== */
.page-head {
    padding: 24px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: 
        linear-gradient(135deg, rgba(16, 45, 62, 0.72), rgba(18, 42, 59, 0.48)),
        radial-gradient(circle at 20% 0, rgba(92, 196, 255, 0.17), transparent 56%);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.page-head::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(21, 209, 127, 0.1), transparent 70%);
    pointer-events: none;
}

.page-head::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: inherit;
    pointer-events: none;
}

/* 浮动足球装饰 */
.head-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-ball {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: floatBall 8s ease-in-out infinite;
    filter: blur(1px);
}

.floating-ball:nth-child(1) {
    top: 10%;
    right: 15%;
}

.floating-ball.delay-1 {
    animation-delay: -2.5s;
    right: 25%;
    top: 20%;
    font-size: 1.5rem;
}

.floating-ball.delay-2 {
    animation-delay: -5s;
    right: 8%;
    top: 30%;
    font-size: 1.2rem;
}

@keyframes floatBall {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

.page-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: rgba(176, 229, 255, 0.78);
    margin-bottom: 6px;
    font-family: 'Exo 2', sans-serif;
}

.page-title {
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
    font-family: 'Barlow', 'Noto Sans SC', sans-serif;
    position: relative;
}

.page-subtitle {
    color: var(--text-soft);
    font-size: 0.92rem;
}

/* ===== 标签_chip增强 ===== */
.chip {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.26s var(--ease);
}

.chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.chip-hot {
    border-color: rgba(255, 201, 74, 0.35);
    color: #ffd86c;
    background: rgba(255, 201, 74, 0.1);
}

.chip-success {
    border-color: rgba(46, 229, 160, 0.35);
    color: #9dffd8;
    background: rgba(46, 229, 160, 0.1);
}

.chip-danger {
    border-color: rgba(255, 107, 107, 0.35);
    color: #ffb8b8;
    background: rgba(255, 107, 107, 0.1);
}

/* ===== 输入框增强 ===== */
.input,
.select,
textarea.input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 10px 12px;
    color: #f0f7ff;
    outline: none;
    transition: all 0.26s var(--ease);
}

.input:focus,
.select:focus,
textarea.input:focus {
    border-color: rgba(121, 234, 194, 0.75);
    box-shadow: 0 0 0 3px rgba(121, 234, 194, 0.2), 0 0 20px rgba(21, 209, 127, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.input::placeholder {
    color: #88a1b6;
}

.select option {
    color: #0f2030;
}

/* ===== 悬浮层加载动画 ===== */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: grid;
    place-items: center;
    z-index: 99999;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    animation: loaderPulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 40px var(--primary);
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}
