/* wm26.css – WM 2026 report.hamburg  v3 */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --gold:   #F5C518;
    --gold2:  #e6a800;
    --dark:   #050e05;
    --card:   rgba(8,18,8,.72);
    --border: rgba(245,197,24,.22);
    --text:   #e8e8e8;
    --muted:  rgba(255,255,255,.42);
    --red:    #E31052;
}

/* ── Page ─────────────────────────────────────────────────────── */
.wm26-page {
    background-image:
        linear-gradient(160deg, rgba(0,0,0,.82) 0%, rgba(3,14,3,.86) 100%),
        url('wm-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
    border-radius: 15px;
    padding: 18px 18px 32px;
    margin-bottom: 30px;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
}

/* ── Nav-Button aktiv ────────────────────────────────────────── */
.wm26-nav-active {
    background: var(--gold) !important;
    color: #111 !important;
    font-weight: 700 !important;
}

/* ── Header-Banner ───────────────────────────────────────────── */
.wm26-header-banner {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 4px 24px rgba(245,197,24,.18);
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.wm26-breadcrumb {
    font-size: .82rem;
    margin-bottom: 12px;
    color: var(--muted);
}
.wm26-breadcrumb a { color: var(--gold); text-decoration: none; }

/* ── Fakten ──────────────────────────────────────────────────── */
.wm26-facts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.wm26-fact-item {
    background: rgba(0,0,0,.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
}
.wm26-fact-item .fact-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    color: var(--gold);
    line-height: 1;
}
.wm26-fact-item .fact-label {
    font-size: .65rem;
    color: var(--muted);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Tabs ────────────────────────────────────────────────────── */
.wm26-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(245,197,24,.15);
}
.wm26-tab-btn {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
    display: inline-block;
}
.wm26-tab-btn.active {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
}
.wm26-tab-btn:hover:not(.active) {
    background: rgba(245,197,24,.12);
    color: var(--gold);
    border-color: var(--border);
    text-decoration: none;
}

/* Aktualisieren-Button */
.wm26-refresh-btn {
    margin-left: auto;
    background: rgba(245,197,24,.08);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .18s;
}
.wm26-refresh-btn:hover { background: rgba(245,197,24,.18); }
.wm26-refresh-btn svg { flex-shrink: 0; }

/* ── Section-Header ──────────────────────────────────────────── */
.wm26-section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.wm26-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    letter-spacing: .07em;
    color: var(--gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wm26-timezone-note {
    font-size: .72rem;
    color: var(--muted);
    font-style: italic;
}

/* ── Spielkarte ──────────────────────────────────────────────── */
.wm26-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.wm26-match-group {
    font-size: .68rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
    opacity: .7;
}
.wm26-api-notice {
    background: rgba(227,16,82,.08);
    border: 1px solid rgba(227,16,82,.35);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    line-height: 1.6;
}
.wm26-api-notice strong { color: var(--red); display: block; margin-bottom: 4px; font-size: .95rem; }
.wm26-api-notice p { margin: 4px 0; color: rgba(255,255,255,.65); font-size: .82rem; }
.wm26-api-notice a { color: var(--gold); font-weight: 600; }

.wm26-match {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    gap: 8px;
}
.wm26-team-home {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-end;
}
.wm26-team-away {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-start;
}
.wm26-team-name {
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.wm26-team-flag { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }
.wm26-score-box { text-align: center; }
.wm26-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    color: var(--gold);
    letter-spacing: .08em;
    line-height: 1;
}
.wm26-score-result { color: #fff; }
.wm26-kickoff {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 3px;
    font-weight: 500;
}

/* Karten-Footer */
.wm26-match-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.05);
    flex-wrap: wrap;
    gap: 6px;
}
.wm26-venue {
    font-size: .72rem;
    color: rgba(245,197,24,.55);
}
.wm26-match-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.wm26-mlink {
    font-size: .68rem;
    font-weight: 600;
    color: rgba(245,197,24,.6);
    text-decoration: none;
    padding: 2px 8px;
    border: 1px solid rgba(245,197,24,.18);
    border-radius: 4px;
    transition: all .15s;
    white-space: nowrap;
}
.wm26-mlink:hover {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
    text-decoration: none;
}

/* ── Live-Dot ────────────────────────────────────────────────── */
.wm26-live-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: #ff3b30;
    border-radius: 50%;
    margin-right: 4px;
    animation: blink 1.2s infinite;
    flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ── Empty State ─────────────────────────────────────────────── */
.wm26-empty-state {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 20px;
    text-align: center;
    margin-bottom: 12px;
}
.wm26-empty-icon { font-size: 2.4rem; margin-bottom: 12px; }
.wm26-empty-state p { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.wm26-empty-state strong { color: #fff; }
.wm26-cta {
    display: inline-block;
    margin-top: 14px;
    background: var(--gold);
    color: #111;
    font-weight: 700;
    font-size: .82rem;
    border-radius: 6px;
    padding: 7px 18px;
    text-decoration: none;
}
.wm26-cta:hover { background: var(--gold2); color: #111; text-decoration: none; }

/* ── Teams-Grid ──────────────────────────────────────────────── */
.wm26-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}
.wm26-team-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: border-color .18s;
}
.wm26-team-card:hover { border-color: var(--gold); text-decoration: none; }
.t-flag { font-size: 1.7rem; display: block; margin-bottom: 5px; }
.t-name { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.75); line-height: 1.2; }

/* ── Stadien ─────────────────────────────────────────────────── */
.wm26-stadien-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}
.wm26-stadion-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 13px;
    text-decoration: none;
    display: block;
    transition: border-color .18s;
}
.wm26-stadion-card:hover { border-color: var(--gold); text-decoration: none; }
.s-flag { font-size: 1.2rem; margin-bottom: 5px; }
.s-name { font-weight: 700; font-size: .88rem; color: #fff; }
.s-city { font-size: .73rem; color: rgba(245,197,24,.6); margin-top: 2px; }
.s-cap  { font-size: .7rem; color: var(--muted); margin-top: 3px; }

/* ── Info-Links ──────────────────────────────────────────────── */
.wm26-infolink {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(245,197,24,.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: background .18s;
    flex-wrap: wrap;
}
.wm26-infolink:hover { background: rgba(245,197,24,.12); text-decoration: none; }
.il-icon { font-size: 1.5rem; flex-shrink: 0; }
.il-body { flex: 1; }
.il-body strong { color: #fff; font-size: .9rem; }
.il-body small   { color: var(--muted); font-size: .75rem; display: block; margin-top: 1px; }
.il-arrow { color: var(--gold); font-size: 1.1rem; margin-left: auto; }

/* ── Mehr-Link ───────────────────────────────────────────────── */
.wm26-more-link {
    text-align: center;
    margin: 14px 0 20px;
}
.wm26-more-link a {
    font-size: .82rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
}
.wm26-more-link a:hover { text-decoration: underline; }

/* ── SEO-Text ────────────────────────────────────────────────── */
.wm26-seo {
    background: rgba(0,0,0,.35);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    line-height: 1.72;
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    margin: 20px 0 10px;
}
.wm26-seo h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: .05em;
    margin-bottom: 7px;
}
.wm26-seo strong { color: rgba(255,255,255,.85); }
.wm26-seo a { color: var(--gold); }

/* ── Disclaimer ──────────────────────────────────────────────── */
.wm26-disclaimer {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 14px;
    margin-top: 14px;
    font-size: .7rem;
    color: rgba(255,255,255,.28);
    line-height: 1.65;
}

/* ── Animationen ─────────────────────────────────────────────── */
@keyframes wm-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
.wm26-card { animation: wm-in .35s ease both; }
.wm26-card:nth-child(1){animation-delay:.03s}
.wm26-card:nth-child(2){animation-delay:.06s}
.wm26-card:nth-child(3){animation-delay:.09s}
.wm26-card:nth-child(4){animation-delay:.12s}
.wm26-card:nth-child(n+5){animation-delay:.15s}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width:600px) {
    .wm26-match { grid-template-columns: 1fr 72px 1fr; }
    .wm26-score { font-size: 1.3rem; }
    .wm26-facts { grid-template-columns: repeat(3,1fr); }
    .wm26-header-banner { max-height: 200px; }
    .wm26-refresh-btn { margin-left: 0; }
    .wm26-team-name { font-size: .82rem; }
    .wm26-stadien-grid { grid-template-columns: repeat(2,1fr); }
}
