/* =========================
   BASE
========================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    background: url("https://images.unsplash.com/photo-1620742820748-87c09249a72a?q=80&w=654&auto=format&fit=crop") no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(139, 46, 0, 0.55);
    z-index: -1;
}

/* =========================
   HEADER
========================= */
.header {
    text-align: center;
    padding: 14px;
    font-size: 20px;
    background: rgba(139, 46, 0, 0.7);
    border-radius: 0 0 60px 60px;
    color: #ffe7c2;
    font-weight: bold;
}

/* =========================
   NAVIGATION
========================= */
.top-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.nav-btn {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,0.35);
    color: #ffe082;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.nav-btn:hover {
    background: #8b2e00;
    transform: scale(1.05);
}

.nav-btn.active {
    background: #8b2e00;
}

/* =========================
   LAYOUT
========================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
}

.bracket {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* =========================
   ROUND
========================= */
.round {
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.round-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
    color: #ffe082;
}

/* =========================
   MATCH CARD
========================= */
.match {
    background: #fff;
    color: #2b2b2b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

/* Spieler Zeile */
.player-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
}

.player {
    width: 40%;
    font-weight: bold;
    text-align: center;
}

.vs {
    font-size: 12px;
    opacity: 0.6;
}

/* Ergebnis */
.result {
    text-align: center;
    padding: 8px;
    font-weight: bold;
    background: #f5f5f5;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {
    .bracket {
        flex-direction: column;
        align-items: center;
    }

    .round {
        width: 100%;
    }
}