/* ── Hero ───────────────────────────────────── */
.hero-banner {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 40%, #c8102e 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
}
.hero-banner h1 { font-size: 2.4rem; font-weight: 800; }
.hero-banner .host-flags span.fi { font-size: 2rem; margin: 0 0.4rem; }
.countdown-block { background: rgba(0,0,0,.35); border-radius: .5rem; padding: .75rem 1.25rem; display: inline-block; }
.countdown-block .cd-num { font-size: 2rem; font-weight: 700; line-height: 1; }
.countdown-block .cd-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: #ccc; }

/* ── Navbar logo ────────────────────────────── */
.nav-logo-badge {
    position: relative;
    width: 2.6rem;
    height: 2.6rem;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    border-radius: 50%;
    border: 2px solid #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.nav-logo-flag {
    position: absolute;
    width: .75em !important;
    height: .75em !important;
    border-radius: 50% !important;
    opacity: .7;
}
.nav-logo-flag:nth-child(1) { top: 4px;   left: 50%; transform: translateX(-50%); }
.nav-logo-flag:nth-child(2) { bottom: 4px; left: 6px;  }
.nav-logo-flag:nth-child(3) { bottom: 4px; right: 6px; }
.nav-logo-title {
    font-size: .95rem;
    font-weight: 800;
    color: #ffc107;
    letter-spacing: .04em;
    line-height: 1.1;
    white-space: nowrap;
}
.nav-logo-sub {
    font-size: .65rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* ── Flags ──────────────────────────────────── */
.fi.fis { width: 1.5em; height: 1.5em; border-radius: 50%; vertical-align: middle; }
.fi-placeholder { font-size: 1.2rem; }
.flag-lg.fi.fis { width: 2.2em; height: 2.2em; }

/* ── Fixture cards ──────────────────────────── */
.fixture-card {
    border-left: 3px solid #0d6efd;
    background: #f8f9fa;
    border-radius: .4rem;
    padding: .6rem .8rem;
    margin-bottom: .5rem;
}
.fixture-card .teams { font-weight: 600; font-size: .95rem; }
.fixture-card .meta { font-size: .78rem; color: #6c757d; }
.fixture-card .score { font-size: 1.1rem; font-weight: 700; color: #198754; }

/* ── News cards ─────────────────────────────── */
.news-card { transition: box-shadow .2s; border: none; }
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.news-card img { height: 140px; object-fit: cover; }
.news-card .card-title { font-size: .9rem; font-weight: 600; }
.news-card .card-text { font-size: .8rem; color: #6c757d; }

/* ── Group tabs ─────────────────────────────── */
.nav-tabs-groups .nav-link { padding: .35rem .65rem; font-size: .85rem; font-weight: 600; }
.standings-table th { font-size: .8rem; white-space: nowrap; }
.standings-table td { font-size: .85rem; vertical-align: middle; }
.standings-table .pos-badge {
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: #dee2e6; display: inline-flex; align-items: center;
    justify-content: center; font-size: .75rem; font-weight: 700;
}
.pos-qualify { background: #198754 !important; color: #fff; }
.pos-qualify2 { background: #0d6efd !important; color: #fff; }

/* ── Pot selection ──────────────────────────── */
.pot-card { border: 2px solid transparent; border-radius: .5rem; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pot-card:hover { border-color: #0d6efd; box-shadow: 0 0 0 .15rem rgba(13,110,253,.2); }
.pot-card.selected { border-color: #198754; box-shadow: 0 0 0 .2rem rgba(25,135,84,.25); background: #f0fff4; }
.pot-card .team-name { font-size: .9rem; font-weight: 600; }

/* ── Knockout bracket ───────────────────────── */
.ko-round-title {
    font-size: 1.1rem;
    font-weight: 700;
    border-left: 4px solid #ffc107;
    padding-left: .6rem;
    margin-bottom: 1rem;
}
.ko-round-dates {
    font-size: .78rem;
    font-weight: 400;
    color: #6c757d;
    margin-left: .5rem;
}
.ko-score {
    font-size: 1.3rem;
    font-weight: 800;
    color: #198754;
    line-height: 1;
}
.ko-date {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ── Activity Ticker ────────────────────────── */
.ticker-wrap {
    background: #0a1628;
    color: #ffd700;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 2.4rem;
    border-bottom: 1px solid #1a3a6b;
}
.ticker-label {
    flex-shrink: 0;
    background: #c8102e;
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    padding: 0 .9rem;
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: .05em;
    z-index: 1;
}
.ticker-outer {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}
.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: tickerScroll 60s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .82rem;
    padding: 0 .5rem;
}
.ticker-sep {
    color: #c8102e;
    margin: 0 .4rem;
    font-size: .7rem;
}
.ticker-pts {
    background: #198754;
    color: #fff;
    border-radius: .25rem;
    padding: .1rem .35rem;
    font-size: .72rem;
    font-weight: 700;
    margin-left: .25rem;
}
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Activity feed items ────────────────────── */
.activity-item {
    background: #f8f9fa;
    border-left: 3px solid #198754;
    font-size: .87rem;
}
.activity-item .activity-icon { font-size: 1rem; flex-shrink: 0; }

/* ── Auth forms ─────────────────────────────── */
.auth-card { max-width: 420px; margin: 3rem auto; }

/* ── Admin ──────────────────────────────────── */
.score-input { width: 60px; text-align: center; }
