/* =============================================================
   TIPP-CHAMPION — Global Stylesheet
   Alle Seiten beziehen ihr CSS aus dieser Datei.
   Pfad: assets/css/style.css
   ============================================================= */

/* -----------------------------------------------------------------
   1. CSS Custom Properties
   ----------------------------------------------------------------- */
:root {
    --primary-blue:       #0f172a;
    --accent-gold:        #fbbf24;
    --accent-gold-hover:  #d97706;
    --bg-soft:            #f1f5f9;
    --card-white:         #ffffff;
    --text-dark:          #1e293b;
    --text-muted:         #64748b;
    --success-green:      #10b981;
}

/* -----------------------------------------------------------------
   2. Base / Body
   ----------------------------------------------------------------- */
body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('../wm2026-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-dark);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

h1, h2, h3, .display-countdown, .team-name {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* -----------------------------------------------------------------
   3. Auth Pages (Login, Register, Reset, Activate …)
   body bekommt class="body-auth"
   ----------------------------------------------------------------- */
.body-auth {
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-auth::before {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    z-index: -1;
}

/* Gemeinsame Basis für alle Auth-Karten */
.login-card,
.reset-card,
.activation-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.login-card     { max-width: 400px; }
.reset-card     { max-width: 450px; }
.activation-card {
    max-width: 500px;
    text-align: center;
}

/* Logo-Block (auth pages) */
.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #0f172a;
}

.logo span {
    color: #fbbf24;
}

/* Aktivierungsseite Icons */
.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

.error-icon {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 20px;
}

/* -----------------------------------------------------------------
   4. Navbar
   ----------------------------------------------------------------- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--accent-gold);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 10px;
}

.nav-link:hover {
    color: var(--accent-gold-hover) !important;
}

/* Login-Button in der Navbar (Landing-Page) */
.btn-nav-login {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
    color: white !important;
}

/* -----------------------------------------------------------------
   5. Hero / Countdown
   ----------------------------------------------------------------- */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
}

.next-match-badge {
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    letter-spacing: 1px;
}

.display-countdown {
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.countdown-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* -----------------------------------------------------------------
   6. Match Cards
   ----------------------------------------------------------------- */
.match-card {
    background: var(--card-white);
    border: none;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--accent-gold);
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.teams-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 35%;
    text-align: center;
}

.team-flag {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.match-card:hover .team-flag {
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

.team-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

/* -----------------------------------------------------------------
   7. Score Inputs
   ----------------------------------------------------------------- */
.score-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: 30%;
}

.score-input {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    color: var(--primary-blue);
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.score-input:focus {
    background: white;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.score-input[readonly] {
    background: #e2e8f0;
    cursor: not-allowed;
}

.score-input.has-tip {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
}

.score-input.has-tip:focus {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Admin: Eingetragenes Ergebnis */
.score-input.has-result {
    background: #f0fdf4;
    border-color: #86efac;
    font-weight: 600;
}

.vs-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* -----------------------------------------------------------------
   8. Buttons
   ----------------------------------------------------------------- */
.btn-tip {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
}

.btn-tip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.btn-tip.has-tip {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-tip.has-tip:hover {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-tip.saved {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    pointer-events: none;
}

/* -----------------------------------------------------------------
   9. Leaderboard
   ----------------------------------------------------------------- */
.leaderboard-card {
    background: var(--card-white);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.leaderboard-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-radius: 12px;
    transition: 0.3s;
    margin-bottom: 10px;
}

.leaderboard-item:hover {
    background: #f8fafc;
}

.leaderboard-item.current-user {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px 20px;
    margin: 10px -10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rank-badge {
    min-width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.rank-badge.rank-1 { background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); color: #78350f; }
.rank-badge.rank-2 { background: linear-gradient(135deg, #c0c0c0 0%, #e5e5e5 100%); color: #44403c; }
.rank-badge.rank-3 { background: linear-gradient(135deg, #cd7f32 0%, #daa06d 100%); color: #78350f; }

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.points {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.points-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* -----------------------------------------------------------------
   10. Shoutbox
   ----------------------------------------------------------------- */
.shoutbox-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shoutbox-count {
    background: white;
    color: #0d6efd;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 50%;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0d6efd;
}

.shoutbox-feed {
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    background: #fff;
}

.shoutbox-feed::-webkit-scrollbar       { width: 6px; }
.shoutbox-feed::-webkit-scrollbar-track { background: #f1f1f1; }
.shoutbox-feed::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }

.shoutbox-msg {
    margin-bottom: 14px;
    position: relative;
}

.shoutbox-msg-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #ffc107;
}

.shoutbox-msg-time {
    font-size: 11px;
    color: #6c757d;
    margin-left: 8px;
    font-weight: 400;
}

.shoutbox-msg-text {
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 10px;
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
    line-height: 1.5;
    font-size: 14px;
    color: #212529;
}

.shoutbox-admin-actions {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    gap: 4px;
}

.shoutbox-msg:hover .shoutbox-admin-actions { opacity: 1; }

.shoutbox-admin-btn {
    background: white;
    border: 1px solid #dee2e6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.shoutbox-admin-btn:hover         { background: #f8f9fa; border-color: #0d6efd; }
.shoutbox-admin-btn.delete:hover  { background: #fff5f5; border-color: #dc3545; color: #dc3545; }

.shoutbox-admin-gear {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-left: 10px;
    text-decoration: none;
    transition: transform 0.2s;
}

.shoutbox-admin-gear:hover { transform: rotate(90deg); }

.shoutbox-new-indicator {
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.shoutbox-header-loader {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0d6efd;
    opacity: 0;
    transform: scale(0.6);
}

.shoutbox-header-loader.is-active {
    opacity: 1;
    animation: shoutboxLoaderPulse 0.8s ease-out;
}

@keyframes shoutboxLoaderPulse {
    0%   { transform: scale(0.5); opacity: 0.3; }
    50%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1);   opacity: 0.7; }
}

.shoutbox-footer {
    background: #fff;
    padding: 16px;
    border-top: 1px solid #e9ecef;
}

.shoutbox-textarea {
    resize: vertical;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
}

.shoutbox-textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.shoutbox-send-btn {
    background: #0d6efd;
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s;
}

.shoutbox-send-btn:hover { background: #0b5ed7; }

.shoutbox-info { color: #6c757d; font-size: 13px; }

.shoutbox-login-required {
    background: #f8f9fa;
    text-align: center;
    padding: 12px;
    border-top: 1px solid #e9ecef;
    font-size: 13px;
    color: #6c757d;
}

.shoutbox-login-required a             { color: #0d6efd; text-decoration: none; font-weight: 500; }
.shoutbox-login-required a:hover       { text-decoration: underline; }

/* -----------------------------------------------------------------
   11. Admin: User-Verwaltung
   ----------------------------------------------------------------- */
.user-table td { vertical-align: middle; }

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active   { background: #d1fae5; color: #065f46; }
.status-pending  { background: #fef3c7; color: #92400e; }
.status-blocked  { background: #fee2e2; color: #991b1b; }
.status-inactive { background: #e5e7eb; color: #374151; }

.role-badge {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.role-admin  { background: #dbeafe; color: #1e40af; }
.role-member { background: #f3f4f6; color: #4b5563; }

.action-btn {
    padding: 4px 8px;
    font-size: 0.85rem;
    border: none;
    background: none;
    color: var(--primary-blue);
    cursor: pointer;
    transition: 0.2s;
}

.action-btn:hover { color: var(--accent-gold); transform: scale(1.1); }

.filter-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

/* -----------------------------------------------------------------
   12. Landing Page
   ----------------------------------------------------------------- */
.hero-section-landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.hero-content     { max-width: 900px; margin: 0 auto; }

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title .highlight { color: var(--accent-gold); }

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    color: white;
}

.btn-hero-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-hero-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.features-section {
    padding: 80px 20px;
    background: var(--bg-soft);
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.feature-icon        { font-size: 3.5rem; color: var(--accent-gold); margin-bottom: 20px; }
.feature-title       { font-size: 1.5rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 15px; }
.feature-description { color: var(--text-muted); line-height: 1.6; }

.how-section { padding: 80px 20px; background: white; }

.step-card {
    background: linear-gradient(135deg, var(--bg-soft) 0%, white 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    border: 2px solid var(--accent-gold);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
}

.step-title { font-size: 1.3rem; font-weight: 700; color: var(--primary-blue); margin: 20px 0 10px 0; }

.free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
}

.stat-item    { text-align: center; }
.stat-number  { font-family: 'Oswald', sans-serif; font-size: 3rem; font-weight: 700; color: var(--accent-gold); }
.stat-label   { font-size: 1.1rem; margin-top: 10px; }

/* -----------------------------------------------------------------
   13. Gruppen-Übersicht (Spielplan)
   ----------------------------------------------------------------- */
.groups-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 16px;
    margin-bottom: 32px;
}

.groups-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.group-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f1f5f9;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s, color 0.15s;
    font-weight: 600;
}

.group-nav-btn:hover { background: var(--primary-blue); color: white; }

.group-nav-flags { display: flex; gap: 2px; font-size: 1.05rem; }

.flag-placeholder {
    display: inline-block;
    width: 20px;
    height: 14px;
    background: #cbd5e1;
    border-radius: 2px;
    vertical-align: middle;
}

.group-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    margin-bottom: 28px;
    scroll-margin-top: 80px;
}

.group-section-header {
    background: var(--primary-blue);
    color: white;
    padding: 13px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-row {
    display: grid;
    grid-template-columns: 56px 1fr 72px 1fr;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #f1f5f9;
    gap: 8px;
    font-size: 0.88rem;
}

.match-date-cell { color: var(--text-muted); font-size: 0.78rem; line-height: 1.3; font-weight: 600; }

.match-team {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    color: var(--text-dark);
}

.match-team.away { flex-direction: row-reverse; text-align: right; }
.match-flag      { font-size: 1.25rem; flex-shrink: 0; }

.match-score {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.score-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section-divider { border: none; border-top: 1px solid #e2e8f0; margin: 0; }

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.standings-table thead th {
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.standings-table thead th:first-child { padding-left: 20px; }
.standings-table thead th:last-child  { padding-right: 20px; }

.standings-table tbody td {
    padding: 9px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark);
}

.standings-table tbody tr:last-child td { border-bottom: none; }
.standings-table tbody td:first-child  { padding-left: 20px; }
.standings-table tbody td:last-child   { padding-right: 20px; }
.standings-table tbody tr:nth-child(-n+2) td:first-child { border-left: 3px solid var(--accent-gold); }

.rank-num  { font-family: 'Oswald', sans-serif; font-weight: 700; color: var(--text-muted); }
.team-cell { display: flex; align-items: center; gap: 8px; }
.pkt-cell  { font-weight: 700; color: var(--primary-blue); }

.page-title-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* -----------------------------------------------------------------
   14. Siegerpodest
   ----------------------------------------------------------------- */
.podium-wrapper { perspective: 1000px; }

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.podium-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: radial-gradient(ellipse at top, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.podium-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: podiumEntrance 0.6s ease-out;
}

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

.podium-first  { animation-delay: 0.2s; z-index: 3; }
.podium-second { animation-delay: 0s;   z-index: 2; }
.podium-third  { animation-delay: 0.1s; z-index: 1; }

.podium-crown {
    position: absolute;
    top: -35px;
    font-size: 2rem;
    color: var(--accent-gold);
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    transition: transform 0.3s;
}

.podium-first .podium-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.2rem;
    border: 5px solid var(--accent-gold);
}

.podium-place:hover .podium-avatar { transform: scale(1.1) rotate(5deg); }

.podium-rank { font-size: 2rem; margin-bottom: 10px; }

.podium-first .podium-rank  { font-size: 2.5rem; color: #ffd700; filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.6)); }
.podium-second .podium-rank { color: #c0c0c0; filter: drop-shadow(0 2px 8px rgba(192, 192, 192, 0.6)); }
.podium-third .podium-rank  { color: #cd7f32; filter: drop-shadow(0 2px 8px rgba(205, 127, 50, 0.6)); }

.podium-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 5px;
    text-align: center;
}

.podium-first .podium-name   { font-size: 1.3rem; }

.podium-points { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; margin-bottom: 20px; }
.podium-first .podium-points { font-size: 1rem; color: var(--accent-gold); }

.podium-pedestal {
    width: 120px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.podium-place:hover .podium-pedestal { transform: translateY(-5px); }

.podium-pedestal-1 { height: 180px; background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); }
.podium-pedestal-2 { height: 140px; background: linear-gradient(135deg, #c0c0c0 0%, #e5e5e5 100%); }
.podium-pedestal-3 { height: 110px; background: linear-gradient(135deg, #cd7f32 0%, #daa06d 100%); }

.podium-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.podium-empty { opacity: 0.6; }
.podium-empty .podium-avatar   { border-style: dashed; border-color: #cbd5e1; background: #f8fafc !important; }
.podium-empty .podium-pedestal { opacity: 0.4; }
.podium-empty:hover .podium-avatar   { transform: none; }
.podium-empty:hover .podium-pedestal { transform: none; }

/* -----------------------------------------------------------------
   15. Footer
   ----------------------------------------------------------------- */
footer { padding: 60px 0 40px; color: var(--text-muted); }

.site-footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e293b 100%);
    color: white;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 3px solid var(--accent-gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left .copyright { margin: 0; font-size: 0.95rem; opacity: 0.9; }

.footer-right { display: flex; gap: 30px; align-items: center; }

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
    opacity: 0.9;
}

.footer-link:hover { color: var(--accent-gold); opacity: 1; transform: translateY(-2px); }

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s;
}

.footer-link:hover::after { width: 100%; }

/* -----------------------------------------------------------------
   16. 404 Error Page
   ----------------------------------------------------------------- */
.error-container {
    text-align: center;
    color: white;
    z-index: 1;
}

.error-container h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.error-container h3 { color: white; }

/* -----------------------------------------------------------------
   17. Animationen (Toast)
   ----------------------------------------------------------------- */
@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

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

/* -----------------------------------------------------------------
   18. Responsive
   ----------------------------------------------------------------- */
@media (max-width: 991px) {
    .display-countdown { font-size: 3rem; }
    .leaderboard-card  { margin-top: 40px; }
}

@media (max-width: 768px) {
    /* Podium */
    .podium-container  { gap: 10px; padding: 30px 10px; }
    .podium-pedestal   { width: 90px; }
    .podium-pedestal-1 { height: 140px; }
    .podium-pedestal-2 { height: 110px; }
    .podium-pedestal-3 { height: 85px; }
    .podium-avatar              { width: 60px; height: 60px; font-size: 1.3rem; }
    .podium-first .podium-avatar { width: 75px; height: 75px; font-size: 1.6rem; }
    .podium-name                { font-size: 0.9rem; }
    .podium-first .podium-name  { font-size: 1rem; }
    .podium-points              { font-size: 0.75rem; }
    .podium-number              { font-size: 2rem; }
    .podium-crown               { top: -25px; font-size: 1.5rem; }

    /* Footer */
    .footer-content { flex-direction: column; text-align: center; }
    .footer-right   { flex-direction: column; gap: 15px; }

    /* Landing */
    .hero-title    { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .btn-hero      { padding: 12px 30px; font-size: 1rem; }
}

@media (max-width: 576px) {
    /* Shoutbox */
    .shoutbox-feed    { max-height: 300px; padding: 12px; }
    .shoutbox-msg     { margin-bottom: 12px; }
    .shoutbox-footer  { padding: 12px; }

    /* Gruppen */
    .groups-nav-grid { grid-template-columns: repeat(2, 1fr); }
    .match-row       { grid-template-columns: 44px 1fr 60px 1fr; padding: 8px 12px; gap: 4px; }
}
