/* === GRUNDLAGEN & FARBEN === */
:root {
    --pink: #d90f77;
    --blue: #0096d6;
    --bg-dark: #0f0f13;
    --bg-panel: #1a1a24;
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }

/* === GLOBALE MARQUEE INFO === */
.global-marquee { background-color: #ff0055; color: #fff; padding: 8px 0; font-weight: bold; font-size: 1.1em; letter-spacing: 2px; box-shadow: 0 0 15px rgba(255, 0, 85, 0.6); z-index: 1001; position: relative; text-transform: uppercase; }
.global-marquee i { margin-right: 10px; animation: float 2s infinite; }

/* === PREMIUM CYBERPUNK TICKER === */
.premium-ticker { display: flex; align-items: center; background-color: #050508; border-bottom: 1px solid var(--pink); color: white; height: 40px; position: relative; z-index: 1001; box-shadow: 0 0 15px rgba(217, 15, 119, 0.3); }
.ticker-badge { background: linear-gradient(90deg, #ff0055, var(--pink)); color: white; font-weight: 900; font-size: 0.9em; padding: 0 20px; height: 100%; display: flex; align-items: center; gap: 8px; letter-spacing: 1px; position: relative; z-index: 2; box-shadow: 5px 0 15px rgba(0,0,0,0.8); text-transform: uppercase; }
.ticker-badge::after { content: ''; position: absolute; right: -19px; top: 0; border-top: 40px solid var(--pink); border-right: 20px solid transparent; z-index: -1; }
.ticker-scroll-wrapper { flex-grow: 1; overflow: hidden; white-space: nowrap; position: relative; display: flex; align-items: center; height: 100%; }
.ticker-text { display: inline-block; padding-left: 100%; animation: smooth-ticker 25s linear infinite; font-weight: bold; letter-spacing: 1px; color: #f4f4f5; font-size: 0.95em; }
.ticker-text .spacer { color: var(--pink); margin: 0 40px; opacity: 0.6; font-style: italic; font-weight: 900; }
@keyframes smooth-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* === TYPOGRAFIE === */
h1, h2, h3 { text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.gradient-text { background: linear-gradient(90deg, var(--pink), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.icon-gradient { background: linear-gradient(135deg, var(--pink), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* === ANIMATIONEN === */
@keyframes pulse-border { 0% { box-shadow: 0 0 0 0 rgba(217, 15, 119, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(217, 15, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 15, 119, 0); } }
@keyframes neon-glow { 0% { filter: drop-shadow(0 0 5px var(--pink)); } 50% { filter: drop-shadow(0 0 15px var(--blue)); } 100% { filter: drop-shadow(0 0 5px var(--pink)); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0px); } }

/* === NAVIGATION (PERFEKT: 100% BREITE) === */
.navbar-container { width: 100%; background-color: #000000; border-bottom: 2px solid var(--blue); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0, 150, 214, 0.2); }
.navbar { width: 100%; max-width: 100%; padding: 10px 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.nav-left { display: flex; justify-content: flex-start; justify-self: start; }
.nav-left .logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-left img { height: 50px; filter: drop-shadow(0px 0px 8px rgba(0, 150, 214, 0.5)); transition: transform 0.3s; }
.nav-left .logo-link:hover img { transform: scale(1.05) rotate(-5deg); }
.logo-text { font-size: 1.2em; font-weight: 900; color: #fff; letter-spacing: 1px; text-shadow: 0 0 10px rgba(0, 150, 214, 0.4); }

.nav-center { display: flex; gap: 25px; justify-content: center; justify-self: center; }
.nav-center a { color: var(--text-light); text-decoration: none; font-weight: bold; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 1.05em; transition: all 0.3s; position: relative; }
.nav-center a i { font-size: 1.5em; color: var(--text-muted); transition: color 0.3s, transform 0.3s; }
.nav-center a:hover:not(.active) { color: var(--pink); }
.nav-center a:hover:not(.active) i { color: var(--blue); transform: translateY(-4px) scale(1.1); }
.nav-center a.active { color: var(--pink); text-shadow: 0 0 10px rgba(217, 15, 119, 0.4); }
.nav-center a.active i { color: var(--blue); transform: translateY(-4px) scale(1.1); filter: drop-shadow(0 0 5px rgba(0, 150, 214, 0.5)); }

.nav-right { display: flex; align-items: center; gap: 15px; justify-content: flex-end; justify-self: end; }
.socials { display: flex; gap: 8px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; background-color: #1a1a24; color: var(--text-light); text-decoration: none; font-size: 1em; border: 1px solid #333; transition: all 0.3s; }
.social-link:hover { background-color: var(--blue); border-color: var(--pink); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(217, 15, 119, 0.4); }
.twitch-login-btn { background-color: #9146FF; color: white; text-decoration: none; padding: 8px 15px; border-radius: 8px; font-weight: bold; font-size: 0.9em; display: flex; align-items: center; gap: 8px; transition: all 0.3s; box-shadow: 0 4px 10px rgba(145, 70, 255, 0.3); }
.twitch-login-btn:hover { background-color: var(--pink); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(217, 15, 119, 0.5); }

.logged-in-user-pill { display: flex; align-items: center; gap: 10px; background-color: #1a1a24; padding: 4px 12px 4px 4px; border-radius: 25px; border: 1px solid #9146FF; box-shadow: 0 4px 10px rgba(145, 70, 255, 0.2); }
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--pink); object-fit: cover; }
.nav-username { color: white; font-weight: bold; font-size: 0.85em; }
.user-badges { display: flex; gap: 5px; margin-left: 5px; }
.badge-prestige { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #1a1a24; font-size: 0.7em; font-weight: bold; padding: 2px 6px; border-radius: 12px; display: flex; align-items: center; gap: 3px; box-shadow: 0 0 8px rgba(255, 215, 0, 0.5); }
.badge-level { background-color: var(--blue); color: white; font-size: 0.7em; font-weight: bold; padding: 2px 6px; border-radius: 12px; border: 1px solid #00bfff; }
.admin-btn { color: #ff0055; font-size: 1.1em; margin-left: 5px; transition: transform 0.2s, color 0.2s; }
.admin-btn:hover { transform: scale(1.2); color: #fff; filter: drop-shadow(0 0 8px #ff0055); }
.logout-btn { color: var(--pink); margin-left: 5px; text-decoration: none; transition: transform 0.2s; }
.logout-btn:hover { transform: scale(1.2); }


/* === HERO SECTION (LÜCKEN-FIX & KORREKTE BREITE) === */
/* WICHTIG: padding: 0 20px gleicht es mit dem unteren Content ab! align-items: stretch erzwingt gleiche Höhe! */
.hero-section { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; align-items: stretch; width: 100%; background-color: transparent; position: relative; z-index: 10; }

.hero-left-column { width: 30%; display: flex; flex-direction: column; border-right: 2px solid #2a2a35; background-color: var(--bg-panel); }
/* Zwingt Streamplan, den Platz voll zu nutzen */
.stream-plan { flex-grow: 1; height: 100%; display: flex; flex-direction: column; } 

.hero-right-side { width: 70%; display: flex; flex-direction: column; flex-grow: 1; }
/* Zwingt das Event/YT Banner, sich exakt bis unten zu dehnen! */
.event-banner, .youtube-cinematic-container { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; border-bottom: 2px solid var(--pink); }


/* === MAIN CONTENT CONTAINER === */
.main-container { max-width: 1400px; margin: 40px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 40px; position: relative; z-index: 10; }

/* SECTION PANELS */
.panel { background-color: var(--bg-panel); border-radius: 12px; padding: 25px; box-shadow: 0 6px 20px rgba(0,0,0,0.4); border-top: 3px solid var(--blue); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.panel:hover { box-shadow: 0 10px 25px rgba(0, 150, 214, 0.15); }
.panel-pink { border-top: 3px solid var(--pink); }

/* === SPLIT ROW FÜR IDEEN & PODCAST === */
.feature-split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.feature-split-row > .panel { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; }

/* === IDEEN BOX === */
.idea-box { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 15px; background: linear-gradient(135deg, #1a1a24 0%, rgba(217, 15, 119, 0.15) 100%); border-left: 3px solid var(--blue); border-right: 3px solid var(--pink); position: relative; overflow: hidden; padding: 30px; }
.idea-box::before { content: '\f135'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 10em; color: rgba(0, 150, 214, 0.03); pointer-events: none; }
.idea-content { position: relative; z-index: 2; }
.idea-content h2 { margin-bottom: 10px; font-size: 1.5em; justify-content: center; }
.idea-content p { font-size: 1em; margin-bottom: 5px; line-height: 1.4; color: var(--text-muted); }
.idea-btn { background: linear-gradient(90deg, var(--pink), var(--blue)); color: white; border: none; padding: 18px 40px !important; font-size: 1.3em !important; font-weight: bold; border-radius: 12px !important; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: all 0.3s; box-shadow: 0 5px 15px rgba(217, 15, 119, 0.5); z-index: 2; margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; }
.idea-btn:hover { transform: scale(1.05) translateY(-3px); box-shadow: 0 10px 30px rgba(0, 150, 214, 0.7); }
.idea-btn i { transition: transform 0.3s; font-size: 1.2em; }
.idea-btn:hover i { transform: translateX(5px) translateY(-5px); }

/* === PREMIUM PODCAST PLAYER === */
.premium-podcast-player { display: flex; flex-wrap: nowrap; gap: 25px; background: rgba(26, 26, 36, 0.8); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); backdrop-filter: blur(10px); align-items: center; justify-content: flex-start; }
.podcast-cover-wrapper { position: relative; width: 180px; height: 100px; flex-shrink: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(217, 15, 119, 0.4); border: 2px solid var(--pink); transition: transform 0.3s ease; }
.premium-podcast-player:hover .podcast-cover-wrapper { transform: scale(1.05); box-shadow: 0 8px 20px rgba(217, 15, 119, 0.6); }
.podcast-cover-img { width: 100%; height: 100%; object-fit: cover; }
.podcast-playing-animation { position: absolute; bottom: 8px; right: 8px; display: flex; gap: 3px; align-items: flex-end; height: 20px; background: rgba(0,0,0,0.6); padding: 4px; border-radius: 4px; backdrop-filter: blur(2px); }
.eq-bar { width: 4px; background: var(--pink); border-radius: 2px; animation: eq-bounce 0.8s infinite alternate ease-in-out; }
.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; background: var(--blue); }
.eq-bar:nth-child(3) { height: 70%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 90%; animation-delay: 0.4s; background: var(--blue); }
@keyframes eq-bounce { 0% { height: 20%; } 100% { height: 100%; } }

.podcast-info-panel { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.podcast-badge { align-self: flex-start; background: rgba(0, 150, 214, 0.15); color: var(--blue); border: 1px solid var(--blue); padding: 2px 8px; border-radius: 4px; font-size: 0.65em; font-weight: 900; letter-spacing: 1px; margin-bottom: 6px; }
.podcast-ep-title { color: #fff; font-size: 1.1em; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.podcast-meta-grid { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.8em; color: var(--text-muted); }
.podcast-meta-grid span { display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.4); padding: 2px 6px; border-radius: 4px; border: 1px solid #333; }

.custom-audio-controls { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; background: rgba(0,0,0,0.5); padding: 8px 12px; border-radius: 8px; border: 1px solid #333; }
.pod-play-btn { background: linear-gradient(135deg, var(--pink), #ff0055); color: white; border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 1em; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; box-shadow: 0 4px 15px rgba(217, 15, 119, 0.4); }
.pod-play-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(217, 15, 119, 0.7); }
.pod-progress-wrapper { flex-grow: 1; display: flex; align-items: center; gap: 8px; min-width: 80px; }
.pod-time { font-size: 0.75em; color: var(--text-muted); font-family: monospace; min-width: 35px; text-align: center; }
.pod-volume-wrapper { display: flex; align-items: center; gap: 6px; width: 80px; flex-shrink: 0; }

.styled-slider { -webkit-appearance: none; width: 100%; height: 5px; background: #333; border-radius: 3px; outline: none; cursor: pointer; }
.styled-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); cursor: pointer; transition: transform 0.1s; }
.styled-slider::-webkit-slider-thumb:hover { transform: scale(1.3); background: var(--pink); box-shadow: 0 0 15px var(--pink); }
.volume-mini { height: 4px; }
.volume-mini::-webkit-slider-thumb { width: 10px; height: 10px; }

/* === INTERAKTIVE SCHWEBENDE COMMUNITY-SATELITEN === */
.bg-shout-satellite {
    position: absolute; bottom: -150px;
    z-index: 100; /* WICHTIG: Holt sie nach ganz vorne, damit man sie IMMER sieht! */
    cursor: pointer;
}
/* Flieg-Animation für den Rahmen */
@keyframes floatUp {
    0% { transform: translateY(0); opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-120vh); opacity: 0; }
}
/* Wackel-Animation für das Bild! */
.bg-shout-avatar {
    width: 65px; height: 65px; 
    border-radius: 50%; 
    border: 3px solid var(--blue); 
    box-shadow: 0 0 20px rgba(0, 150, 214, 0.6);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: wiggle 4s ease-in-out infinite alternate; 
}
.bg-shout-satellite:hover {
    animation-play-state: paused;
    z-index: 200; 
}
.bg-shout-satellite:hover .bg-shout-avatar {
    transform: scale(1.3); 
    border-color: var(--pink); 
    box-shadow: 0 0 30px var(--pink);
    animation-play-state: paused;
}
.bg-shout-popup {
    position: absolute;
    bottom: 80px; left: 50%; transform: translateX(-50%) scale(0);
    background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(15px);
    border: 1px solid var(--pink); border-radius: 12px;
    padding: 15px; width: 280px; color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    opacity: 0; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bg-shout-satellite:hover .bg-shout-popup {
    opacity: 1; transform: translateX(-50%) scale(1);
}
.bg-shout-popup strong { color: var(--pink); font-size: 1.1em; display: block; margin-bottom: 8px; letter-spacing: 0.5px; text-shadow: 0 0 5px var(--pink); border-bottom: 1px solid #333; padding-bottom: 5px; }
.bg-shout-popup p { font-size: 0.95em; margin: 0; white-space: normal; color: #fff; line-height: 1.5; }
.bg-shout-popup small { display: block; margin-top: 10px; color: var(--text-muted); font-size: 0.8em; text-align: right; }

@keyframes wiggle {
    0% { transform: translateX(-15px) rotate(-10deg); }
    100% { transform: translateX(15px) rotate(10deg); }
}


/* === SCHWEBENDES CHAT-WIDGET (UNTEN RECHTS) === */
.floating-chat-input { position: fixed; bottom: 30px; right: 30px; z-index: 1000; background: rgba(15,15,19, 0.95); backdrop-filter: blur(15px); border: 1px solid var(--blue); border-radius: 50px; padding: 8px 10px 8px 15px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,150,214,0.4); transition: all 0.3s; }
.floating-chat-input:focus-within { border-color: var(--pink); box-shadow: 0 10px 30px rgba(217,15,119,0.5); transform: scale(1.02); }
.fc-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--pink); object-fit: cover; }
.fc-input { background: transparent; border: none; color: white; outline: none; width: 220px; font-size: 0.95em; }
.fc-input::placeholder { color: #888; }
.fc-submit { background: linear-gradient(135deg, var(--blue), var(--pink)); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: transform 0.2s; font-size: 1.1em; }
.fc-submit:hover { transform: scale(1.1); box-shadow: 0 0 15px var(--pink); }

/* LISTEN GRID */
.lists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
.scroll-list { max-height: 350px; overflow-y: auto; padding-right: 10px; margin-top: 15px; }
.scroll-list::-webkit-scrollbar { width: 6px; }
.scroll-list::-webkit-scrollbar-track { background: #111; border-radius: 4px; }
.scroll-list::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
.scroll-list::-webkit-scrollbar-thumb:hover { background: var(--pink); }

.list-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; background-color: #23232f; margin-bottom: 10px; border-radius: 8px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border-left: 2px solid transparent; }
.list-row:hover { background-color: #2a2a35; transform: scale(1.02) translateX(5px); border-left: 2px solid var(--blue); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-avatar-img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; border: 2px solid #444; transition: transform 0.3s; }
.list-row:hover .user-avatar-img { transform: scale(1.1); border-color: var(--blue); }
.user-avatar-icon { width: 35px; height: 35px; border-radius: 50%; background-color: #333; display: flex; align-items: center; justify-content: center; border: 2px solid #444; transition: transform 0.3s; }
.list-row:hover .user-avatar-icon i { transform: scale(1.2); }

/* PLATZ 1 HIGHLIGHT */
.rank-1-highlight { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; background-color: #1a1a24; border: 2px solid #ffd700; border-radius: 8px; padding: 15px; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.4); transition: transform 0.3s, box-shadow 0.3s; }
.rank-1-highlight:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15); }
.rank-1-avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #ffd700; overflow: hidden; position: relative; box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
.rank-1-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rank-1-details { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.rank-1-details span { font-size: 0.75em; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.rank-1-details h4 { color: #ffd700; font-size: 1.2em; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-1-points { font-size: 1.3em; font-weight: bold; color: #fff; white-space: nowrap; }

/* TURNIER KARTEN */
.tournament-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 20px; }
.tournament-card { background-color: #23232f; border-radius: 12px; overflow: hidden; border: 1px solid #333; transition: transform 0.3s, box-shadow 0.3s; position: relative; }
.tournament-card:hover { transform: translateY(-8px); border-color: var(--pink); box-shadow: 0 10px 20px rgba(217, 15, 119, 0.2); }
.t-img-wrapper { position: relative; width: 100%; height: 160px; overflow: hidden; }
.t-img { width: 100%; height: 100%; object-fit: cover; border-bottom: 2px solid var(--blue); transition: transform 0.5s; }
.tournament-card:hover .t-img { transform: scale(1.1); }
.t-badge { position: absolute; top: 10px; left: 10px; background-color: rgba(0,0,0,0.8); color: var(--pink); padding: 5px 10px; border-radius: 4px; font-weight: bold; font-size: 0.8em; border: 1px solid var(--pink); z-index: 2; }
.t-content { padding: 20px; }
.t-info-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.9em; color: var(--text-muted); }
.t-info-row i { width: 16px; text-align: center; color: var(--blue); }

/* === MODAL (POPUP) STYLING === */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 2000; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; animation: fadeIn 0.3s ease; }
.modal-box { background: var(--bg-panel); border: 2px solid var(--blue); border-radius: 15px; padding: 40px; width: 90%; max-width: 550px; position: relative; box-shadow: 0 15px 50px rgba(0, 150, 214, 0.3); animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-close { position: absolute; top: 15px; right: 20px; color: var(--text-muted); font-size: 1.8em; cursor: pointer; transition: color 0.3s, transform 0.3s; }
.modal-close:hover { color: var(--pink); transform: scale(1.1); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 15px; background: #0a0a0f; border: 1px solid #444; color: white; border-radius: 8px; font-size: 1.1em; margin-bottom: 15px; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 10px rgba(0, 150, 214, 0.2); }

/* === ERFOLGSMELDUNG === */
.floating-alert { position: fixed; bottom: 30px; right: 30px; background: #4ade80; color: #000; padding: 20px 30px; border-radius: 12px; font-weight: 900; z-index: 3000; box-shadow: 0 10px 30px rgba(74, 222, 128, 0.5); animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; gap: 15px; font-size: 1.1em; }

@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* MOBILE ANPASSUNGEN */
@media (max-width: 1200px) {
    .navbar { display: flex; flex-direction: column; gap: 20px; padding: 15px; }
    .nav-left { width: 100%; justify-content: center; }
    .nav-center { position: static; transform: none; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .nav-right { width: 100%; flex-wrap: wrap; justify-content: center; gap: 15px; }
    
    .hero-section { flex-direction: column; }
    .hero-left-column { width: 100%; border-right: none; }
    .hero-right-side { width: 100%; height: auto !important; min-height: auto; }
    .event-banner, .youtube-cinematic-container { height: auto !important; padding: 30px 0; }
    
    .tournament-grid { grid-template-columns: 1fr; }
    .logged-in-user-pill { flex-wrap: wrap; justify-content: center; padding: 8px 12px; border-radius: 15px; }
    .idea-box::before { display: none; }
    
    .feature-split-row { grid-template-columns: 1fr; gap: 20px; }
    
    .premium-podcast-player { flex-direction: column; text-align: center; }
    .podcast-cover-wrapper { width: 100%; max-width: 250px; height: 140px; margin: 0 auto; }
    .podcast-meta-grid { justify-content: center; }
    .podcast-badge { align-self: center; }
    .custom-audio-controls { justify-content: center; flex-wrap: wrap; }
    .pod-volume-wrapper { width: 100%; justify-content: center; margin-top: 10px; }
    
    .floating-chat-input { bottom: 20px; right: 20px; left: 20px; border-radius: 15px; }
    .fc-input { width: 100%; }
}
/* === PREMIUM PODCAST PLAYER (RIESIG & STRUKTURIERT) === */
.premium-podcast-player { 
    display: flex; 
    flex-direction: column; /* Alles untereinander für maximale Größe! */
    background: transparent; 
    width: 100%;
    height: 100%;
}

/* Das riesige Cover-Bild (Edge-to-Edge) */
.podcast-cover-wrapper { 
    position: relative; 
    width: 100%; 
    height: 260px; /* Schön groß! */
    flex-shrink: 0; 
    overflow: hidden; 
    border-bottom: 3px solid var(--pink); 
}
.podcast-cover-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.premium-podcast-player:hover .podcast-cover-img { 
    transform: scale(1.05); /* Zoom-Effekt beim Hover über den Player */
}

/* Das Badge schwebt im Bild oben links */
.podcast-badge-overlay { 
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(5px);
    color: var(--pink); 
    border: 1px solid var(--pink); 
    padding: 6px 12px; 
    border-radius: 6px; 
    font-size: 0.8em; 
    font-weight: 900; 
    letter-spacing: 2px; 
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Der Equalizer schwebt unten rechts im Bild */
.podcast-playing-animation { 
    position: absolute; 
    bottom: 15px; 
    right: 15px; 
    display: flex; 
    gap: 4px; 
    align-items: flex-end; 
    height: 30px; 
    background: rgba(0,0,0,0.7); 
    padding: 6px 8px; 
    border-radius: 6px; 
    backdrop-filter: blur(5px); 
    z-index: 10;
    border: 1px solid rgba(0, 150, 214, 0.3);
}
.eq-bar { width: 5px; background: var(--pink); border-radius: 3px; animation: eq-bounce 0.8s infinite alternate ease-in-out; }
.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; background: var(--blue); }
.eq-bar:nth-child(3) { height: 70%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 90%; animation-delay: 0.4s; background: var(--blue); }
.eq-bar:nth-child(5) { height: 60%; animation-delay: 0.1s; background: var(--pink); }
.eq-bar:nth-child(6) { height: 80%; animation-delay: 0.5s; background: var(--blue); }
@keyframes eq-bounce { 0% { height: 20%; } 100% { height: 100%; } }

/* Der Info-Bereich unter dem Bild */
.podcast-info-panel { 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
    justify-content: space-between;
}

/* Fetter Titel & Meta-Daten */
.podcast-ep-title { 
    color: #fff; 
    font-size: 1.6em; 
    margin-bottom: 15px; 
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}
.podcast-meta-grid { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 25px; 
    font-size: 0.95em; 
    color: var(--text-light); 
    flex-wrap: wrap;
}
.meta-item { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    background: rgba(0,0,0,0.5); 
    padding: 6px 12px; 
    border-radius: 6px; 
    border: 1px solid #333; 
    font-weight: bold;
}

/* Audio Controls (Play-Button & Slider) */
.custom-audio-controls { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
    background: rgba(0,0,0,0.6); 
    padding: 15px 20px; 
    border-radius: 12px; 
    border: 1px solid #333; 
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* RIESIGER PLAY BUTTON */
.pod-play-btn.giant { 
    background: linear-gradient(135deg, var(--pink), #ff0055); 
    color: white; 
    border: none; 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    font-size: 1.8em; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 5px 20px rgba(217, 15, 119, 0.6); 
}
.pod-play-btn.giant:hover { 
    transform: scale(1.1); 
    box-shadow: 0 8px 30px rgba(217, 15, 119, 0.8); 
}

/* Rechter Block für Slider */
.controls-right-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.pod-progress-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    width: 100%; 
}
.pod-time { 
    font-size: 0.9em; 
    color: var(--text-light); 
    font-family: monospace; 
    font-weight: bold;
    min-width: 45px; 
    text-align: center; 
}
.pod-volume-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    width: 60%; /* Lautstärke nimmt nicht die volle Breite ein */
}

/* Slider Design */
.styled-slider { 
    -webkit-appearance: none; 
    width: 100%; 
    height: 8px; /* Dickerer Balken! */
    background: #333; 
    border-radius: 4px; 
    outline: none; 
    cursor: pointer; 
}
.styled-slider::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    appearance: none; 
    width: 18px; /* Größerer Anfasser! */
    height: 18px; 
    border-radius: 50%; 
    background: white; 
    box-shadow: 0 0 10px var(--blue); 
    cursor: pointer; 
    transition: transform 0.1s; 
}
.styled-slider::-webkit-slider-thumb:hover { 
    transform: scale(1.3); 
    background: var(--pink); 
    box-shadow: 0 0 15px var(--pink); 
}
.volume-mini { height: 6px; }
.volume-mini::-webkit-slider-thumb { width: 14px; height: 14px; background: var(--blue); }
/* === NEUES PREMIUM IDEEN BOX LAYOUT (Überschreibt alte Styles) === */
.idea-box {
    justify-content: flex-start !important;
    padding: 25px !important;
    background: rgba(26, 26, 36, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-top: 3px solid var(--blue) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(10px) !important;
}
.idea-box::before { display: none !important; } /* Altes riesiges Hintergrund-Icon entfernen */

.idea-visual-container {
    position: relative;
    width: 100%;
    height: 120px; /* Passt zur Höhe des Podcast Covers */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.idea-glow-orb {
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--blue);
    filter: blur(35px);
    opacity: 0.4;
    animation: pulse-glow-orb 3s infinite alternate;
}
.idea-main-icon {
    font-size: 4.5em;
    color: white;
    text-shadow: 0 0 20px var(--blue);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.idea-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 15px 0 20px 0;
}
.idea-cat-badge {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85em;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.3s, transform 0.3s;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.idea-cat-badge:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 150, 214, 0.2);
}
.idea-cat-badge i { color: var(--blue); }

@keyframes pulse-glow-orb {
    0% { transform: scale(0.8); opacity: 0.2; }
    100% { transform: scale(1.2); opacity: 0.5; }
}
/* === INLINE IDEEN FORMULAR (DIREKT IN DER BOX) === */
.idea-inline-input {
    width: 100%;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-size: 0.95em;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}
.idea-inline-input:focus {
    border-color: var(--blue);
    background: rgba(0, 150, 214, 0.05);
    box-shadow: 0 0 15px rgba(0, 150, 214, 0.3);
}
.idea-inline-input:disabled {
    background: rgba(0, 0, 0, 0.8);
    color: #666;
    cursor: not-allowed;
    border-color: #222;
}
.idea-btn-inline {
    background: linear-gradient(90deg, var(--pink), var(--blue));
    color: white;
    border: none;
    padding: 14px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(217, 15, 119, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}
.idea-btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 150, 214, 0.6);
}
/* === FIX: BOXEN MAXIMAL AUSNUTZEN (VOLLE BREITE) === */

/* --- 1. PODCAST PLAYER --- */
.premium-podcast-player {
    align-items: stretch !important; /* Zwingt den Inhalt über die volle Breite */
    width: 100% !important;
}
.podcast-info-panel {
    width: 100% !important;
    padding: 35px 30px !important; /* Nutzt den Platz bis an den Rand optimal aus */
}
.custom-audio-controls {
    width: 100% !important;
    justify-content: space-between !important;
}
.controls-right-stack {
    width: 100% !important;
    flex-grow: 1 !important;
}
.pod-progress-wrapper {
    width: 100% !important;
}
.pod-volume-wrapper {
    width: 100% !important;
    max-width: 250px !important; /* Macht den Lautstärke-Slider breiter und besser klickbar */
}

/* --- 2. IDEEN BOX --- */
.idea-box {
    align-items: stretch !important; /* Zieht das gesamte Formular in die Breite */
}
.idea-box form {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.idea-box > div {
    width: 100% !important; /* Zwingt auch den Header der Box auf volle Breite */
}
.idea-inline-input {
    width: 100% !important; /* Felder dehnen sich bis zum Anschlag aus */
}
.idea-btn-inline {
    width: 100% !important; /* Der Button füllt den restlichen Platz komplett aus */
    margin-top: 15px !important;
}
/* === FIX: KLICKBARE KATEGORIE BUTTONS STATT DROPDOWN === */
.idea-category-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100% !important;
}

/* Die originalen, hässlichen runden Buttons verstecken */
.idea-category-buttons input[type="radio"] {
    display: none;
}

/* Die Labels wie schicke Buttons stylen */
.idea-category-buttons label {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    user-select: none;
}
.idea-category-buttons label i {
    margin-right: 5px;
    color: var(--blue);
    transition: color 0.3s;
}

/* Hover Effekt, wenn man nur drüber fährt */
.idea-category-buttons label:hover {
    border-color: var(--blue);
    background: rgba(0, 150, 214, 0.1);
    color: white;
}

/* WICHTIG: Das Design, wenn ein Button AUSGEWÄHLT ist! */
.idea-category-buttons input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--blue), var(--pink));
    border-color: var(--pink);
    color: white;
    box-shadow: 0 5px 15px rgba(217, 15, 119, 0.4);
    transform: translateY(-2px);
}
.idea-category-buttons input[type="radio"]:checked + label i {
    color: white; /* Icon wird auch weiß, für besseren Kontrast */
}
/* === EVENT TEILNAHME WIDGET === */
.event-participation-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    z-index: 5;
    position: relative;
}
.event-part-btn {
    background: rgba(0, 150, 214, 0.2);
    color: var(--blue);
    border: 1px solid var(--blue);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.event-part-btn:hover {
    background: var(--blue);
    color: white;
    box-shadow: 0 0 15px rgba(0, 150, 214, 0.5);
    transform: translateY(-2px);
}
.event-part-btn.active {
    background: linear-gradient(90deg, var(--pink), var(--blue));
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(217, 15, 119, 0.5);
}
.event-part-btn.disabled {
    border-color: #555;
    color: #aaa;
    background: rgba(0,0,0,0.5);
}
.event-part-btn.disabled:hover {
    background: #9146FF;
    color: white;
    border-color: #9146FF;
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.5);
}

/* Avatar Stapel & Zähler */
.event-participant-count {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    padding: 5px 15px 5px 5px;
    border-radius: 50px;
    border: 1px solid #333;
    position: relative;
    cursor: help;
}
.ep-avatars { display: flex; align-items: center; }
.ep-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-panel);
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.ep-avatars img:first-child { margin-left: 0; }
.ep-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
    border: 2px solid var(--bg-panel);
    margin-left: -12px;
    z-index: 2;
}
.ep-text { color: var(--text-light); font-size: 0.9em; font-weight: bold; }

/* Hover Tooltip (Die Namenliste) */
.ep-tooltip {
    position: absolute;
    bottom: 120%; /* Ploppt direkt über der Box auf */
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--blue);
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    font-size: 0.85em;
    width: max-content;
    max-width: 250px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 100;
}
.ep-tooltip strong { display: block; color: var(--pink); margin-bottom: 5px; border-bottom: 1px solid #333; padding-bottom: 3px; }
.event-participant-count:hover .ep-tooltip { opacity: 1; transform: translateX(-50%) scale(1); }
/* === NEU: COMMUNITY SERVER BEREICH === */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}
.server-card {
    background: rgba(26, 26, 36, 0.8);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.server-card:hover {
    transform: translateY(-5px);
    border-color: #00ffcc;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}
.server-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.server-icon {
    font-size: 2.5em;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}
.server-title-box {
    display: flex;
    flex-direction: column;
}
.server-name {
    margin: 0;
    font-size: 1.3em;
    color: white;
}
.server-status {
    font-size: 0.85em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}
.server-status.online { color: #4ade80; }
.server-status.offline { color: #ff0055; }
.server-status i { font-size: 0.6em; }
.server-status.online i { animation: pulse-glow-orb 2s infinite; }

.server-ip-box {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.6);
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
}
.server-ip-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: monospace;
    font-size: 1.1em;
    padding: 12px 15px;
    outline: none;
}
.server-copy-btn {
    background: #2a2a35;
    color: white;
    border: none;
    border-left: 1px solid #444;
    padding: 0 20px;
    height: 100%;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s, color 0.3s;
}
.server-copy-btn:hover:not(.disabled) {
    background: #00ffcc;
    color: #000;
}
.server-copy-btn.disabled {
    color: #666;
    cursor: not-allowed;
}

/* === NEU: 3-SPALTEN LISTEN (LEADERBOARD) === */
.lists-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 1000px) {
    .lists-grid-3 { grid-template-columns: 1fr; }
}
.list-panel {
    background: rgba(26, 26, 36, 0.6);
    border: 1px solid #333;
}
.rank-badge {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: bold;
    color: #000;
}
/* Gold, Silber, Bronze Effekte für die Top 3 */
.rank-badge.gold { background: linear-gradient(135deg, #ffd700, #ffaa00); box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.rank-badge.silver { background: linear-gradient(135deg, #e0e0e0, #999); box-shadow: 0 0 10px rgba(192, 192, 192, 0.5); }
.rank-badge.bronze { background: linear-gradient(135deg, #cd7f32, #8b4513); box-shadow: 0 0 10px rgba(205, 127, 50, 0.5); color: #fff; }
.rank-badge.normal { background: #444; color: #fff; }

.list-row.rank-1 { border-left: 3px solid #ffd700; background: rgba(255, 215, 0, 0.05); }
.list-row.rank-2 { border-left: 3px solid #c0c0c0; background: rgba(192, 192, 192, 0.05); }
.list-row.rank-3 { border-left: 3px solid #cd7f32; background: rgba(205, 127, 50, 0.05); }

.list-row.rank-1:hover { border-color: #ffd700; box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2); transform: scale(1.03); }
.list-row.rank-2:hover { border-color: #c0c0c0; box-shadow: 0 5px 15px rgba(192, 192, 192, 0.2); transform: scale(1.03); }
.list-row.rank-3:hover { border-color: #cd7f32; box-shadow: 0 5px 15px rgba(205, 127, 50, 0.2); transform: scale(1.03); }

/* Subs & Follower Badges */
.sub-badge {
    background: #333;
    color: white;
    font-size: 0.75em;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}
.sub-badge.prime {
    background: #00A8E0; /* Amazon Prime Blue */
    color: white;
}
.sub-row:hover { border-left-color: #9146FF; }
.follower-row:hover { border-left-color: #ff0055; }
/* === DYNAMISCHE GAME SERVER KARTEN === */
.server-card.dynamic-card {
    padding: 0; /* Reset für Full-Width Banner */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.server-banner {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 2px solid #00ffcc;
}
.server-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(26, 26, 36, 1) 0%, rgba(0,0,0,0) 100%);
}

.server-banner .server-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    border: 1px solid #333;
}

.server-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.server-content .server-name {
    font-size: 1.5em;
    margin-bottom: 12px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.server-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.plat-badge {
    background: rgba(0, 150, 214, 0.15);
    border: 1px solid rgba(0, 150, 214, 0.4);
    color: var(--blue);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-pw-box {
    background: rgba(217, 15, 119, 0.1);
    border: 1px dashed var(--pink);
    color: var(--pink);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    margin-bottom: 15px;
    display: inline-block;
    align-self: flex-start;
}

.server-card.dynamic-card .server-ip-box {
    margin-top: auto; /* Drückt die IP Box immer ganz nach unten! */
}
/* === NEU: TURNIERE "BALD VERFÜGBAR" BANNER === */
.coming-soon-banner {
    position: relative;
    background: linear-gradient(145deg, #1a1a24 0%, rgba(217, 15, 119, 0.1) 100%);
    border: 1px dashed var(--pink);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

/* Gigantisches Hintergrund-Wasserzeichen (Trophäe) */
.coming-soon-banner::before {
    content: '\f091'; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 14em;
    color: rgba(255, 215, 0, 0.02); /* Fast unsichtbar, glänzt nur dezent durch */
    z-index: 1;
    transform: rotate(-15deg);
    pointer-events: none;
}

.cs-content {
    position: relative;
    z-index: 2;
}

/* Der wandernde Ladebalken */
.cs-loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--pink), var(--blue), transparent);
    animation: cs-loading 2s infinite linear;
}

@keyframes cs-loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}
/* === NEU: VERBESSERTE LEADERBOARD EFFEKTE (LISTS) === */

/* Zelli-Punkt-Icon Skalierung (Münzen ersetzt) */
.zelli-coins-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: 5px;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3); /* Leichter Glow */
    border-radius: 50%; /* Da das Logo rund ist */
}

/* Leaderboard Panel Aufwertung */
.leaderboard-panel {
    background: linear-gradient(to top right, rgba(26, 26, 36, 0.8), rgba(217, 15, 119, 0.05));
    border-color: #333;
}

/* Hervorhebung von Platz 1 (Highlighted Rank 1) */
.highlighted-rank-1 {
    background: rgba(15, 15, 20, 0.9) !important; /* Dunklerer Hintergrund */
    border-left-color: #ffd700 !important;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3), 0 5px 10px rgba(217, 15, 119, 0.2); /* Goldener/Pinker Glow */
    transform: scale(1.03); /* Leicht vergrößert */
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 20px !important;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}
.highlighted-rank-1:hover {
    transform: scale(1.05); /* Noch mehr Vergrößerung bei Hover */
}
.highlighted-rank-1 .user-avatar-img {
    width: 50px;
    height: 50px;
    border: 3px solid #ffd700;
}
.champion-badge {
    width: 32px;
    height: 32px;
    font-size: 1.1em;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 0 15px #ffd700;
}
.champion-name {
    color: #ffd700 !important;
    font-size: 1.2em;
}
.champion-title {
    display: block;
    color: var(--pink);
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.champion-points .points-num {
    font-size: 1.4em;
    color: #ffd700;
}
.champion-points .zelli-coins-icon {
    width: 32px;
    height: 32px;
}

/* Top 3 Ränge (Glanz-Effekt) */
.rank-badge.gold { border: 2px solid rgba(255, 215, 0, 0.5); }
.rank-badge.silver { border: 2px solid rgba(192, 192, 192, 0.5); }
.rank-badge.bronze { border: 2px solid rgba(205, 127, 50, 0.5); }
.points-display .points-num { font-weight: bold; font-family: monospace; font-size: 1.1em; }
.silver-points .points-num { color: #c0c0c0; }
.bronze-points .points-num { color: #cd7f32; }

/* === NEU: MONATLICHER RANKING RESET COUNTDOWN === */
.reset-countdown-box {
    position: relative;
    background: rgba(15, 15, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
/* Trophäen-Wasserzeichen im Hintergrund (coming-soon-banner adaptiert) */
.reset-countdown-box::before {
    content: '\f091'; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 12em;
    color: rgba(255, 215, 0, 0.015); /* Sehr unsichtbar */
    z-index: 1;
    transform: rotate(-15deg);
    pointer-events: none;
}
/* Countdown-Zahlen (aus hero_banner.php) */
.reset-countdown-box .cd-item { backdrop-filter: none; background: #0f0f13; }
.reset-countdown-box .cd-item:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 8px 20px rgba(0,150,214,0.3);
}

/* Animierter Reset Ladebalken */
.progress-container-global { width: 90%; max-width: 600px; margin: 0 auto; text-align: left; z-index: 2; position: relative; }
/* progress-track / progress-labels sind bereits in style.css definiert, wir adaptieren nur die reset-box */
#reset-progress-bar {
    background: linear-gradient(90deg, var(--blue), var(--pink));
    box-shadow: 0 0 15px var(--blue);
    width: 0%; /* Initial value, JS updates this */
    transition: width 1s linear; /* Fluid update */
}
#reset-progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progress-shine 2s infinite;
}

/* Twitch-Icons in Subs-Liste schärfen */
.sub-row .user-avatar-icon i { font-size: 1.1em; }
.sub-badge.prime { box-shadow: 0 0 5px #00A8E0; }

/* Follower-Liste Sauberer */
.follower-row { border-left-width: 3px; }
.follower-row i { font-size: 1.1em; margin-right: 12px !important; }
/* === NEU: VERBESSERTE LEADERBOARD EFFEKTE (LISTS) === */

/* Zelli-Punkt-Icon Skalierung (zellis.png statt Münzen) */
.zelli-coins-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: 5px;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3); /* Leichter Glow */
    border-radius: 50%; /* Da das Logo rund ist */
}

/* Ranking Panel Aufwertung (Integriert) */
.integrated-ranking-panel {
    background: linear-gradient(to top right, rgba(26, 26, 36, 0.8), rgba(217, 15, 119, 0.05));
    border-color: #333;
    display: flex;
    flex-direction: column;
    padding: 20px 0 0 0; /* Oben Platz für Header, aber 0 padding-top auf dem Panel-Container */
}
.leaderboard-panel .scroll-list {
    padding: 0 20px;
    flex-grow: 1;
}

/* Neuer Header-Bereich im Ranking (Titel + Timer) */
.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding: 10px 20px 15px 20px;
    margin-bottom: 20px;
}

/* === NEU: INTEGRIERTER MONATS-RESET COUNTDOWN === */
.integrated-countdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.integrated-timer-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: monospace;
    color: white;
}
.timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-align: center;
}
.timer-segment span {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--blue);
}
.timer-segment small {
    font-size: 0.6em;
    color: var(--text-muted);
    text-transform: uppercase;
}
.timer-divider {
    font-size: 1.1em;
    color: #444;
}

/* Integrierter Mini-Ladebalken */
.integrated-progress-track {
    width: 130px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.integrated-progress-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: linear-gradient(90deg, var(--blue), var(--pink));
    box-shadow: 0 0 8px var(--blue);
    width: 0%; /* Initial value */
    transition: width 1s linear; /* Fluid update */
}
.integrated-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progress-shine 2s infinite;
}

/* === EXTREME HERVORHEBUNG PLATZ 1 === */
.champion-highlight-row {
    background: rgba(15, 15, 20, 0.95) !important; /* Dunklerer Hintergrund */
    border-left-color: #ffd700 !important;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4), 0 5px 10px rgba(217, 15, 119, 0.2); /* Goldener/Pinker Glow */
    transform: scale(1.05); /* Stark vergrößert */
    border-radius: 12px;
    margin-bottom: 25px !important;
    padding: 25px 20px !important;
    border-top: 2px solid rgba(255, 215, 0, 0.4);
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    z-index: 10;
}
.champion-highlight-row:hover {
    transform: scale(1.08); /* Noch mehr Vergrößerung bei Hover */
}
.champion-info {
    gap: 15px;
}
.champion-avatar {
    width: 60px;
    height: 60px;
    border: 3px solid #ffd700;
}
.champion-massive-badge {
    width: 36px;
    height: 36px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 0 15px #ffd700;
}
.champion-name-text {
    color: #ffd700 !important;
    font-size: 1.3em;
}
.champion-title-tag {
    display: block;
    color: var(--pink);
    font-size: 0.85em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.champion-points-display .points-num {
    font-size: 1.5em;
    color: #ffd700;
}
.champion-zelli-icon {
    width: 36px;
    height: 36px;
}

/* Top 3 Ränge (Glanz-Effekt) */
.points-display .points-num { font-weight: bold; font-family: monospace; font-size: 1.1em; }
.silver-points .points-num { color: #c0c0c0; }
.bronze-points .points-num { color: #cd7f32; }

/* Twitch-Icons in Subs-Liste schärfen */
.sub-row .user-avatar-icon i { font-size: 1.1em; }
.sub-badge.prime { box-shadow: 0 0 5px #00A8E0; }

/* Follower-Liste Sauberer */
.follower-row { border-left-width: 3px; }
.follower-row i { font-size: 1.1em; margin-right: 12px !important; }
/* === FIX: STATISCHER PLATZ 1 & POKAL ICON === */

/* Container für den König (außerhalb der Scrollzone) */
.static-champion-wrapper {
    padding: 0 20px;
    margin-bottom: 5px;
    position: relative;
    z-index: 10; /* Bleibt sicher über dem Scrollbereich */
}

/* Modifizierter Champion-Badge für das Pokal-Icon */
.champion-massive-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}
.champion-massive-badge i {
    color: #000; /* Schwarzer Pokal auf goldenem Grund */
    font-size: 1.1em;
}

/* Anpassung der Scroll-Liste darunter */
.leaderboard-scroll {
    max-height: 230px !important; /* Etwas kleiner machen, da Platz 1 fest steht */
    margin-top: 0 !important;
    padding-top: 15px !important;
    border-top: 1px dashed rgba(255, 215, 0, 0.3); /* Dünne Gold-Linie als Trenner */
}

/* Korrektur für das alte margin-bottom vom Highlight-Row, 
damit es im neuen statischen Wrapper bündig sitzt */
.highlighted-rank-1 {
    margin-bottom: 10px !important;
}
/* === FIX: PREMIUM E-SPORT DESIGN FÜR PLATZ 1 === */

/* Setzt das alte, vergrößerte "billige" Design zurück */
.champion-highlight-row {
    transform: none !important; /* Kein klobiges Vergrößern mehr */
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 10px !important;
}

/* Das neue, edle Design für Platz 1 */
.premium-champion-row {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(26, 26, 36, 0.6) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.15) !important;
    border-left: 4px solid #ffd700 !important; /* Scharfe, goldene Kante */
    border-radius: 8px !important;
    padding: 12px 15px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4) !important;
    transition: all 0.3s ease !important;
}
.premium-champion-row:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, rgba(26, 26, 36, 0.8) 100%) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6) !important;
}

/* Edles Pokal-Badge */
.premium-gold-badge {
    background: #ffd700 !important;
    color: #000 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important; /* Leicht eckig wirkt moderner als rund */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
}

/* Sanfter Glow hinter dem Profilbild */
.avatar-glow-wrap {
    position: relative;
    display: inline-block;
    border-radius: 50%;
}
.avatar-glow-wrap::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    z-index: -1;
    filter: blur(4px); /* Sorgt für den weichen, teuren Glow-Effekt */
    opacity: 0.8;
}

/* Profilbild von Platz 1 */
.champion-avatar {
    border: 2px solid #1a1a24 !important; /* Dunkler Rand, damit sich der Glow absetzt */
    width: 45px !important;
    height: 45px !important;
}

/* Name von Platz 1 */
.premium-champion-name {
    font-size: 1.3em !important;
    font-weight: 900 !important;
    color: #fff !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3) !important;
}

/* Punkte-Anzeige von Platz 1 */
.champion-points-display .points-num {
    font-size: 1.3em !important;
    color: #ffd700 !important;
    font-weight: 900 !important;
}
.champion-zelli-icon {
    width: 30px !important;
    height: 30px !important;
}
/* === NEU: LEVEL & PRESTIGE BADGES IM LEADERBOARD === */
.user-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.user-levels {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 1px;
}

/* Normales Level (Blau) */
.lvl-badge {
    background: rgba(0, 150, 214, 0.15);
    color: var(--blue);
    border: 1px solid rgba(0, 150, 214, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: 900;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Prestige Level (Pink) */
.prestige-badge {
    background: rgba(217, 15, 119, 0.15);
    color: var(--pink);
    border: 1px solid rgba(217, 15, 119, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: 900;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Champion Platz 1 bekommt exklusive Gold & Orange Farben für seine Level */
.champion-levels .lvl-badge {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.4);
}
.champion-levels .prestige-badge {
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
    border-color: rgba(255, 140, 0, 0.4);
}
/* === FIX: PRESTIGE STERN & AVATARE FÜR PLATZ 4-10 === */

/* Prestige Badge (Knalliges Pink mit schwarzem Stern & Text) */
.prestige-badge {
    background: var(--pink) !important;
    color: #fff !important;
    border: none !important;
    padding: 2px 8px !important;
}

/* Platz 1 bekommt ein golden/oranges Prestige-Badge */
.champion-levels .prestige-badge {
    background: #ff8c00 !important;
    color: #fff !important;
}

/* Der schwarze Stern verliert sich sonst im Hintergrund, daher diese Fixes */
.prestige-badge i {
    color: #000 !important;
    margin-right: 3px;
}

/* Profilbilder ab Platz 4 schön ausrichten */
.scroll-list .user-avatar-img {
    margin-right: 8px;
    border: 1px solid #333;
}
/* === FIX: PREMIUM ANIMATIONEN FÜR SUBS & FOLLOWER === */

/* Kaskaden-Einblendung beim Laden der Seite */
.anim-item {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeSlideIn 0.5s ease-out forwards;
}
@keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* === SUBSCRIBER DESIGN UPGRADES === */
.sub-row {
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important; /* Bereitet Hover vor */
}
.sub-row:hover {
    background: rgba(145, 70, 255, 0.08) !important;
    border-left: 3px solid #9146FF !important;
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Das neue Avatar-Wrapper System für Subs */
.sub-avatar-wrapper {
    position: relative;
    margin-right: 12px;
}
.sub-avatar-wrapper .user-avatar-img {
    margin: 0 !important;
    border: 2px solid #333;
    transition: border-color 0.3s;
}
.sub-row:hover .sub-avatar-wrapper .user-avatar-img {
    border-color: #9146FF;
}

/* Das kleine schwebende Twitch-Icon */
.sub-mini-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #9146FF;
    color: white;
    font-size: 0.6em;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--bg-panel); /* Stanzt es optisch aus dem Avatar aus */
    box-shadow: 0 0 5px rgba(145, 70, 255, 0.5);
}

/* Die neuen Twitch-Tier Badges */
.sub-name { font-weight: bold; color: white; font-size: 1.05em; }

.sub-badge {
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.75em !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.sub-badge.tier-1 { background: rgba(255, 255, 255, 0.1) !important; color: #ccc !important; border: 1px solid #555; }
.sub-badge.tier-2 { background: rgba(255, 215, 0, 0.15) !important; color: #ffd700 !important; border: 1px solid rgba(255, 215, 0, 0.4); box-shadow: 0 0 8px rgba(255, 215, 0, 0.2); }
.sub-badge.tier-3 { background: rgba(255, 0, 85, 0.15) !important; color: #ff0055 !important; border: 1px solid rgba(255, 0, 85, 0.4); box-shadow: 0 0 8px rgba(255, 0, 85, 0.2); }

/* Glanz-Animation für Prime */
.sub-badge.prime {
    background: linear-gradient(135deg, #00A8E0 0%, #007bb5 100%) !important;
    color: white !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 168, 224, 0.4);
}
.sub-badge.prime::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: prime-shine 3s infinite;
}
@keyframes prime-shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* === FOLLOWER DESIGN UPGRADES === */
.follower-row {
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}
.follower-row:hover {
    background: rgba(255, 0, 85, 0.08) !important;
    border-left: 3px solid #ff0055 !important;
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.follower-name { font-weight: bold; color: white; font-size: 1.05em; }

/* Die Herz-Box */
.follower-icon-box {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255, 0, 85, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border: 1px solid rgba(255, 0, 85, 0.2);
}

/* Pochendes Herz */
.beating-heart {
    color: #ff0055;
    font-size: 1.1em;
    animation: real-heartbeat 1.5s infinite;
}
@keyframes real-heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.25); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Hacker/Cyber Time-Tag */
.follower-time-tag {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-muted);
    font-size: 0.75em;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #333;
    white-space: nowrap;
}
/* === FIX: HERZ IN DER BOX PERFEKT ZENTRIEREN === */
.follower-icon-box i {
    margin-right: 0 !important; /* Löscht den alten, störenden Abstand */
}
/* === FIX: DIE GROSSE SIEGESFEIER ANIMATION === */

/* Der statische Wrapper braucht position relative für das Overlay */
.static-champion-wrapper {
    position: relative;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Wenn der Timer abläuft: Der Victory Mode! */
.static-champion-wrapper.victory-mode {
    transform: scale(1.15) translateY(20px);
    z-index: 50;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8), 0 0 100px rgba(217, 15, 119, 0.5);
    animation: victory-pulse 0.5s infinite alternate;
}

@keyframes victory-pulse {
    0% { transform: scale(1.15) translateY(20px); }
    100% { transform: scale(1.18) translateY(20px); box-shadow: 0 0 80px rgba(255, 215, 0, 1), 0 0 150px rgba(217, 15, 119, 0.8); }
}

/* Das Text-Overlay ("SAISON SIEGER!") */
.victory-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 5px 20px #000;
}
.victory-overlay.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    top: -40px; /* Schwebt über der Box */
}

.victory-text {
    color: #fff;
    font-size: 3em;
    font-weight: 900;
    letter-spacing: 5px;
    margin: 0;
    background: linear-gradient(to bottom, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.8));
    animation: text-wobble 2s infinite;
}
.victory-subtext {
    color: #4ade80;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    background: rgba(0,0,0,0.8);
    padding: 5px 15px;
    border-radius: 50px;
    border: 2px solid #4ade80;
    display: inline-block;
    box-shadow: 0 0 20px rgba(74,222,128,0.5);
    animation: blink 0.5s infinite alternate;
}

@keyframes blink { 0% { opacity: 0.7; } 100% { opacity: 1; transform: scale(1.1); } }
@keyframes text-wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* Konfetti Partikel */
.party-confetti {
    position: absolute;
    top: -50px;
    animation: fall-down linear forwards;
    z-index: 9999;
}
@keyframes fall-down {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* Verlierer ausblenden */
.leaderboard-scroll {
    transition: opacity 2s ease;
}
/* ========================================= */
/* ZELLI ARCADE & CASINO STYLES              */
/* ========================================= */

.arcade-header {
    margin-top: 100px;
    padding: 40px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(217,15,119,0.1) 0%, var(--bg-dark) 70%);
    border-bottom: 1px solid #333;
}

.arcade-title-box h1 {
    font-size: 3em;
    margin: 0 0 10px 0;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(217,15,119,0.5);
}

.arcade-wallet {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.6);
    padding: 15px 30px;
    border-radius: 12px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    margin-top: 20px;
}

.arcade-wallet span { color: var(--text-muted); font-size: 0.9em; text-transform: uppercase; letter-spacing: 1px;}
.wallet-amount { display: flex; align-items: center; gap: 10px; font-size: 2em; font-weight: 900; color: #ffd700; font-family: monospace;}
.wallet-coin { width: 30px; height: 30px; box-shadow: 0 0 10px rgba(255,215,0,0.8); border-radius: 50%; }

.arcade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.arcade-game-card {
    position: relative;
    padding: 30px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.arcade-game-card:hover {
    border-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.game-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--pink);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(217,15,119,0.5);
}
.daily-badge { background: #0096d6; box-shadow: 0 0 10px rgba(0,150,214,0.5); }
.locked-badge { background: #444; color: #aaa; box-shadow: none; }

.disabled-game { opacity: 0.6; filter: grayscale(0.8); pointer-events: none; }

/* SLOTS UI */
.slot-machine {
    background: #0f0f14;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: inset 0 0 30px rgba(0,0,0,1);
}
.slot-window {
    display: flex;
    justify-content: space-around;
    background: #000;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255,215,0,0.3);
}
.reel {
    font-size: 4em;
    background: #111;
    width: 80px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
}
.reel.pop { animation: pop 0.3s ease; }
@keyframes pop { 50% { transform: scale(1.2); } }

.slot-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.arcade-input {
    flex: 1;
    background: #1a1a24;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 15px;
    font-size: 1.2em;
    border-radius: 6px;
    font-family: monospace;
    outline: none;
}
.arcade-input:focus { border-color: #ffd700; }
.arcade-btn {
    border: none;
    padding: 10px 30px;
    font-size: 1.2em;
    font-weight: 900;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
}
.gold-btn { background: #ffd700; box-shadow: 0 0 15px rgba(255,215,0,0.4); }
.gold-btn:hover { background: #ffea00; box-shadow: 0 0 25px rgba(255,215,0,0.8); transform: scale(1.05); }
.blue-btn { background: #0096d6; color: white; box-shadow: 0 0 15px rgba(0,150,214,0.4); }
.blue-btn:hover { background: #00bfff; box-shadow: 0 0 25px rgba(0,150,214,0.8); transform: scale(1.05); }

.game-result-msg {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-muted);
    min-height: 24px;
}

/* GLÜCKSRAD UI */
.wheel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.wheel-pointer {
    position: absolute;
    top: -15px;
    z-index: 10;
    color: #ff0055;
    font-size: 3em;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.8));
}
.wheel {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid #333;
    background: conic-gradient(
        #d90f77 0deg 60deg,
        #0f0f14 60deg 120deg,
        #0096d6 120deg 180deg,
        #0f0f14 180deg 240deg,
        #ffd700 240deg 300deg,
        #0f0f14 300deg 360deg
    );
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    position: relative;
}
/* Innere Nabe */
.wheel::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: #222;
    border: 3px solid #555;
    border-radius: 50%;
}
/* ========================================= */
/* ZELLI ARCADE & CASINO STYLES              */
/* ========================================= */

.arcade-header {
    margin-top: 0; /* LÜCKE GEFIXT */
    padding: 120px 40px 40px 40px; /* Padding Top erhöht, damit es unter der Navbar gut aussieht */
    text-align: center;
    background: radial-gradient(circle at center, rgba(217,15,119,0.1) 0%, var(--bg-dark) 70%);
    border-bottom: 1px solid #333;
}

/* Restliches Arcade CSS... */
.arcade-title-box h1 { font-size: 3em; margin: 0 0 10px 0; letter-spacing: 3px; text-shadow: 0 0 20px rgba(217,15,119,0.5); }
.arcade-wallet { display: inline-flex; flex-direction: column; align-items: center; background: rgba(0,0,0,0.6); padding: 15px 30px; border-radius: 12px; border: 2px solid #ffd700; box-shadow: 0 0 30px rgba(255, 215, 0, 0.2); margin-top: 20px; }
.arcade-wallet span { color: var(--text-muted); font-size: 0.9em; text-transform: uppercase; letter-spacing: 1px;}
.wallet-amount { display: flex; align-items: center; gap: 10px; font-size: 2em; font-weight: 900; color: #ffd700; font-family: monospace;}
.wallet-coin { width: 30px; height: 30px; box-shadow: 0 0 10px rgba(255,215,0,0.8); border-radius: 50%; }

.arcade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; margin-top: 40px; margin-bottom: 60px; }
.arcade-game-card { position: relative; padding: 30px; border: 1px solid #333; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease; }
.arcade-game-card:hover:not(.disabled-game) { border-color: #555; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.game-badge { position: absolute; top: -12px; right: 20px; background: var(--pink); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8em; font-weight: bold; text-transform: uppercase; box-shadow: 0 0 10px rgba(217,15,119,0.5); }
.daily-badge { background: #0096d6; box-shadow: 0 0 10px rgba(0,150,214,0.5); }
.locked-badge { background: #444; color: #aaa; box-shadow: none; }
.disabled-game { opacity: 0.6; filter: grayscale(0.8); pointer-events: none; }

/* ========================================= */
/* DAS NEUE ECHTE GLÜCKSRAD                  */
/* ========================================= */
.wheel-container { position: relative; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.wheel-pointer { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); z-index: 10; color: white; font-size: 3.5em; text-shadow: 0 5px 10px rgba(0,0,0,1); }

.wheel {
    width: 100%; height: 100%; border-radius: 50%; border: 6px solid #222; position: relative; overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.8);
    /* 8 Segmente als Hintergrund gezeichnet */
    background: conic-gradient(
        from -22.5deg,
        #ffd700 0deg 45deg,    /* Jackpot */
        #111 45deg 90deg,      /* 50 */
        #ff0055 90deg 135deg,  /* Niete */
        #0096d6 135deg 180deg, /* 500 */
        #111 180deg 225deg,    /* 100 */
        #ff0055 225deg 270deg, /* Niete */
        #0096d6 270deg 315deg, /* 1000 */
        #111 315deg 360deg     /* 250 */
    );
}
.wheel::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: #222; border: 4px solid #555; border-radius: 50%; z-index: 5;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

/* Texte auf dem Rad platzieren */
.wheel-segment {
    position: absolute; top: 0; left: 50%; width: 50%; height: 50%;
    transform-origin: 0% 100%; display: flex; justify-content: center; align-items: center;
    font-weight: 900; font-size: 1.4em; font-family: monospace; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.wheel-segment span { position: absolute; left: 35px; bottom: 35px; transform: rotate(67.5deg); }

.seg-jackpot { transform: rotate(0deg); color: #000; text-shadow: none; }
.seg-small:nth-child(2) { transform: rotate(45deg); color: #fff; }
.seg-niete:nth-child(3) { transform: rotate(90deg); color: #fff; font-size: 2em; }
.seg-mid:nth-child(4) { transform: rotate(135deg); color: #fff; }
.seg-small:nth-child(5) { transform: rotate(180deg); color: #fff; }
.seg-niete:nth-child(6) { transform: rotate(225deg); color: #fff; font-size: 2em; }
.seg-mid:nth-child(7) { transform: rotate(270deg); color: #fff; }
.seg-small:nth-child(8) { transform: rotate(315deg); color: #fff; }

/* ========================================= */
/* RUNDER COUNTDOWN TIMER (SVG)              */
/* ========================================= */
.daily-timer-box { display: flex; flex-direction: column; align-items: center; margin-top: 20px; }
.circular-timer-wrapper { position: relative; width: 120px; height: 120px; }
.circular-chart { display: block; margin: 0 auto; max-width: 80%; max-height: 250px; }
.circle-bg { fill: none; stroke: #333; stroke-width: 3.8; }
.circle { fill: none; stroke-width: 2.8; stroke-linecap: round; stroke: #0096d6; transition: stroke-dasharray 1s linear; }
.timer-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: monospace; font-size: 1.2em; font-weight: bold; color: white; }

/* SLOTS UI & Buttons... */
.slot-machine { background: #0f0f14; border: 2px solid #333; border-radius: 10px; padding: 20px; margin-top: 20px; box-shadow: inset 0 0 30px rgba(0,0,0,1); }
.locked-machine { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; border: 2px dashed #444; background: rgba(0,0,0,0.5); }
.slot-window { display: flex; justify-content: space-around; background: #000; padding: 20px; border-radius: 8px; border: 2px solid #ffd700; box-shadow: 0 0 15px rgba(255,215,0,0.3); }
.reel { font-size: 4em; background: #111; width: 80px; height: 90px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border-top: 3px solid #333; border-bottom: 3px solid #333; }
.reel.pop { animation: pop 0.3s ease; }
@keyframes pop { 50% { transform: scale(1.2); } }

.slot-controls { display: flex; gap: 10px; margin-top: 20px; }
.arcade-input { flex: 1; background: #1a1a24; border: 1px solid #444; color: #fff; padding: 10px 15px; font-size: 1.2em; border-radius: 6px; font-family: monospace; outline: none; }
.arcade-input:focus { border-color: #ffd700; }
.arcade-btn { border: none; padding: 10px 30px; font-size: 1.2em; font-weight: 900; color: #000; border-radius: 6px; cursor: pointer; text-transform: uppercase; transition: all 0.2s; }
.gold-btn { background: #ffd700; box-shadow: 0 0 15px rgba(255,215,0,0.4); }
.gold-btn:hover { background: #ffea00; box-shadow: 0 0 25px rgba(255,215,0,0.8); transform: scale(1.05); }
.blue-btn { background: #0096d6; color: white; box-shadow: 0 0 15px rgba(0,150,214,0.4); }
.blue-btn:hover { background: #00bfff; box-shadow: 0 0 25px rgba(0,150,214,0.8); transform: scale(1.05); }
.game-result-msg { text-align: center; margin-top: 15px; font-weight: bold; font-size: 1.1em; color: var(--text-muted); min-height: 24px; }
/* ========================================= */
/* DAS NEUE ECHTE GLÜCKSRAD (Horizontaler Text) */
/* ========================================= */
.wheel-container { position: relative; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.wheel-pointer { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); z-index: 10; color: white; font-size: 3.5em; text-shadow: 0 5px 10px rgba(0,0,0,1); }

.wheel {
    width: 100%; height: 100%; border-radius: 50%; border: 6px solid #222; position: relative; overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.8);
    background: conic-gradient(
        #ffd700 0deg 45deg,    /* Jackpot - Gelb */
        #0096d6 45deg 90deg,   /* 50 - Blau */
        #111 90deg 135deg,     /* Niete - Schwarz */
        #d90f77 135deg 180deg, /* 500 - Pink */
        #0096d6 180deg 225deg, /* 100 - Blau */
        #111 225deg 270deg,    /* Niete - Schwarz */
        #d90f77 270deg 315deg, /* 1000 - Pink */
        #0096d6 315deg 360deg  /* 250 - Blau */
    );
}
.wheel::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: #222; border: 4px solid #555; border-radius: 50%; z-index: 5;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

/* Die Texte ragen jetzt vom Zentrum waagerecht nach außen */
.wheel-segment {
    position: absolute; top: 50%; left: 50%; width: 45%; height: 30px;
    margin-top: -15px; /* Perfekt zentrieren */
    transform-origin: 0% 50%; 
    display: flex; justify-content: flex-end; align-items: center; padding-right: 15px;
    font-weight: 900; font-size: 1.2em; font-family: monospace; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Jedes Segment genau in die Mitte seines 45-Grad-Schnitts rotieren */
.seg-1 { transform: rotate(22.5deg); color: #000; text-shadow: none; } /* Jackpot */
.seg-2 { transform: rotate(67.5deg); color: #fff; }
.seg-3 { transform: rotate(112.5deg); color: #ff0055; font-size: 1.5em; } /* Niete */
.seg-4 { transform: rotate(157.5deg); color: #fff; }
.seg-5 { transform: rotate(202.5deg); color: #fff; }
.seg-6 { transform: rotate(247.5deg); color: #ff0055; font-size: 1.5em; } /* Niete */
.seg-7 { transform: rotate(292.5deg); color: #fff; }
.seg-8 { transform: rotate(337.5deg); color: #fff; }

/* Titel für Arcade-Bereiche */
.arcade-section-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}
/* ========================================= */
/* CS2 STYLE PACK OPENING                    */
/* ========================================= */
.cs2-container {
    position: relative;
    width: 100%;
    height: 140px;
    background: #0a0a0f;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}

/* Der rote Laser-Strich in der Mitte */
.cs2-marker {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #ff0055;
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 15px #ff0055, 0 0 5px #ff0055;
}

.cs2-spinner {
    display: flex;
    height: 100%;
    width: max-content;
    gap: 10px;
    padding: 0 10px;
    align-items: center;
}

.cs2-item {
    width: 130px;
    height: 110px;
    background: #111;
    border-bottom: 5px solid #333;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: monospace;
    font-weight: 900;
    font-size: 1.1em;
    text-align: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,1);
    flex-shrink: 0; /* Verhindert, dass sie gequetscht werden */
}

/* Hintergrund-Glow im Item */
.cs2-item-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 0;
}

.cs2-item span {
    position: relative;
    z-index: 1;
    padding: 5px;
}

/* Seltenheitsstufen (Unterer Rand) */
.border-gold { border-bottom-color: #ffd700; box-shadow: 0 5px 15px rgba(255,215,0,0.2); }
.border-red { border-bottom-color: #ff0055; box-shadow: 0 5px 15px rgba(255,0,85,0.2); }
.border-purple { border-bottom-color: #9146FF; box-shadow: 0 5px 15px rgba(145,70,255,0.2); }
.border-blue { border-bottom-color: #0096d6; box-shadow: 0 5px 15px rgba(0,150,214,0.2); }
.border-gray { border-bottom-color: #444444; color: #888; }
/* ========================================= */
/* GESPERRT / OVERLAY STYLES                 */
/* ========================================= */
.locked-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 8px; /* Falls dein Panel abgerundet ist */
}
.locked-icon {
    font-size: 4em;
    color: rgba(255,255,255,0.2);
    margin-bottom: 20px;
}
.horizontal-progress-track {
    width: 80%;
    max-width: 400px;
    height: 10px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}
.horizontal-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--blue);
    border-radius: 10px;
    transition: width 1s linear;
    box-shadow: 0 0 10px var(--blue);
}

/* ========================================= */
/* DIE TOMBOLA MASCHINE                      */
/* ========================================= */
.tombola-machine {
    width: 250px;
    height: 250px;
    position: relative;
    margin: 0 auto;
}
.tombola-glass {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #444;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.8) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px #000, 0 15px 30px rgba(0,0,0,0.6);
    z-index: 5;
}

/* Die Kugeln in der Trommel */
.t-ball {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    position: absolute;
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.6), 0 5px 10px rgba(0,0,0,0.5);
    animation: float-ball 4s infinite alternate ease-in-out;
}
.t-ball.pink { background: radial-gradient(circle at 30% 30%, #ff66a3, var(--pink)); }
.t-ball.blue { background: radial-gradient(circle at 30% 30%, #4dd2ff, var(--blue)); }
.t-ball.gold { background: radial-gradient(circle at 30% 30%, #ffee66, #ffd700); }
.t-ball.black { background: radial-gradient(circle at 30% 30%, #666, #111); border: 1px solid #333; }

/* Verschiedene Flug-Geschwindigkeiten im Ruhezustand */
.t-ball:nth-child(even) { animation-duration: 5s; animation-direction: alternate-reverse; }
.t-ball:nth-child(3n) { animation-duration: 3.5s; }

@keyframes float-ball {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(180deg); }
    100% { transform: translate(-20px, 10px) rotate(360deg); }
}

/* Wenn gemischt wird (Der "Mixing" State) */
.tombola-glass.mixing .t-ball {
    animation: crazy-mix 0.3s infinite linear !important;
}
@keyframes crazy-mix {
    0% { transform: translate(0, 0); }
    25% { transform: translate(60px, -80px); }
    50% { transform: translate(-50px, 50px); }
    75% { transform: translate(-80px, -40px); }
    100% { transform: translate(40px, 60px); }
}

/* Der Schacht unten und die ausgespuckte Kugel */
.tombola-pipe {
    width: 60px;
    height: 30px;
    background: #222;
    border-radius: 0 0 15px 15px;
    margin: -5px auto 0 auto;
    position: relative;
    z-index: 4;
    border: 3px solid #111;
    border-top: none;
    box-shadow: 0 10px 10px rgba(0,0,0,0.5);
}
.tombola-result-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: -15px auto 0 auto;
    position: relative;
    z-index: 6;
    display: none; /* Erst nach dem Mischen sichtbar */
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.6), 0 10px 20px rgba(0,0,0,0.8);
}
/* Farben für die ausgespuckte Kugel */
.bg-pink { background: radial-gradient(circle at 30% 30%, #ff66a3, var(--pink)); color: white; }
.bg-blue { background: radial-gradient(circle at 30% 30%, #4dd2ff, var(--blue)); color: white; }
.bg-gold { background: radial-gradient(circle at 30% 30%, #ffee66, #ffd700); color: black; text-shadow: none; }
.bg-red { background: radial-gradient(circle at 30% 30%, #ff6666, #ff0055); color: white; }
.bg-purple { background: radial-gradient(circle at 30% 30%, #d499ff, #9146FF); color: white; }
.bg-gray { background: radial-gradient(circle at 30% 30%, #888, #444); color: #fff; }
.bg-black { background: radial-gradient(circle at 30% 30%, #555, #111); color: #fff; }
/* ========================================= */
/* GESPERRT / OVERLAY STYLES (GEFIXT)        */
/* ========================================= */
.locked-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Komplett blickdichtes Overlay, damit nichts durchscheint */
    background: rgba(10, 10, 15, 0.98); 
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 8px; 
}
.locked-icon {
    font-size: 4em;
    color: rgba(255,255,255,0.2);
    margin-bottom: 20px;
}
.horizontal-progress-track {
    width: 80%;
    max-width: 400px;
    height: 12px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}
.horizontal-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--blue);
    border-radius: 10px;
    transition: width 1s linear;
    box-shadow: 0 0 10px var(--blue);
}

/* ========================================= */
/* HANGMAN STYLES                            */
/* ========================================= */
.hm-word-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}
.hm-letter-box {
    width: 35px;
    height: 45px;
    border-bottom: 3px solid #fff;
    font-size: 2em;
    font-family: monospace;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.hm-keyboard {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 350px;
}
.hm-key {
    background: #222;
    border: 1px solid #444;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}
.hm-key:hover:not(:disabled) {
    background: #4ade80;
    color: #000;
    transform: scale(1.1);
}

/* Der Galgen (CSS Drawing) */
.hangman-drawing {
    position: relative;
    width: 150px;
    height: 180px;
    margin: 0 auto 20px auto;
}
.hm-part { position: absolute; background: #fff; opacity: 0; transition: opacity 0.3s; }
.hm-base { width: 80px; height: 4px; bottom: 0; left: 10px; opacity: 1 !important; }
.hm-pole { width: 4px; height: 160px; bottom: 0; left: 48px; opacity: 1 !important; }
.hm-top { width: 70px; height: 4px; top: 20px; left: 48px; opacity: 1 !important; }
.hm-rope { width: 4px; height: 20px; top: 20px; left: 114px; opacity: 1 !important; }

/* Die versteckten Körperteile */
.hm-head { width: 30px; height: 30px; border-radius: 50%; border: 4px solid #fff; background: transparent; top: 40px; left: 101px; }
.hm-body { width: 4px; height: 40px; top: 70px; left: 114px; }
.hm-arm-l { width: 30px; height: 4px; top: 85px; left: 86px; transform: rotate(30deg); }
.hm-arm-r { width: 30px; height: 4px; top: 85px; left: 116px; transform: rotate(-30deg); }
.hm-leg-l { width: 30px; height: 4px; top: 115px; left: 88px; transform: rotate(45deg); }
.hm-leg-r { width: 30px; height: 4px; top: 115px; left: 114px; transform: rotate(-45deg); }
/* ========================================= */
/* FINDE LUCHSI STYLES                       */
/* ========================================= */
.luchsi-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    min-height: 80px;
}

.luchsi-item {
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.5);
    border: 2px solid #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.luchsi-item img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.2s;
}

/* Animations-Klasse wenn "START" gedrückt wurde */
.luchsi-item.mixing {
    animation: luchsi-shake 0.4s infinite;
}

/* Wenn sie fertig gemischt sind und klickbar werden */
.luchsi-item.pickable {
    cursor: pointer;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.luchsi-item.pickable:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.6);
    background: rgba(255,215,0,0.1);
}

/* Auflösung (Win / Lose) */
.luchsi-item.winner {
    border-color: #ffd700;
    box-shadow: 0 0 20px #ffd700;
    background: rgba(255,215,0,0.2);
    transform: scale(1.1);
}
.luchsi-item.loser {
    border-color: #ff0055;
    filter: grayscale(1);
    opacity: 0.5;
}

/* Text-Overlay beim Aufdecken */
.luchsi-reveal {
    position: absolute;
    bottom: -25px;
    font-size: 0.8em;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 2px 5px black;
    animation: pop-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.luchsi-reveal.win { color: #ffd700; }
.luchsi-reveal.lose { color: #ff0055; }

@keyframes luchsi-shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    20% { transform: translate(-3px, 0px) rotate(-10deg); }
    40% { transform: translate(1px, -2px) rotate(10deg); }
    60% { transform: translate(-2px, 3px) rotate(0deg); }
    80% { transform: translate(3px, 1px) rotate(-10deg); }
    100% { transform: translate(1px, -2px) rotate(10deg); }
}
@keyframes pop-up {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* ========================================= */
/* FINDE LUCHSI STYLES (GROSSE VERSION)      */
/* ========================================= */
.luchsi-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    min-height: 120px;
}

.luchsi-item {
    width: 100px;
    height: 100px;
    background: rgba(0,0,0,0.5);
    border: 3px solid #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.luchsi-item img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    transition: transform 0.2s;
}

/* Animations-Klasse wenn "START" gedrückt wurde */
.luchsi-item.mixing {
    animation: luchsi-shake 0.4s infinite;
}

/* Wenn sie fertig gemischt sind und klickbar werden */
.luchsi-item.pickable {
    cursor: pointer;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255,215,0,0.3);
}

.luchsi-item.pickable:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 5px 20px rgba(255,215,0,0.6);
    background: rgba(255,215,0,0.15);
}

/* Auflösung (Win / Lose) */
.luchsi-item.winner {
    border-color: #ffd700;
    box-shadow: 0 0 25px #ffd700;
    background: rgba(255,215,0,0.25);
    transform: scale(1.1);
}
.luchsi-item.loser {
    border-color: #ff0055;
    filter: grayscale(1);
    opacity: 0.5;
}

/* Text-Overlay beim Aufdecken */
.luchsi-reveal {
    position: absolute;
    bottom: -30px;
    font-size: 1em;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 2px 5px black;
    animation: pop-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.luchsi-reveal.win { color: #ffd700; }
.luchsi-reveal.lose { color: #ff0055; }

@keyframes luchsi-shake {
    0% { transform: translate(2px, 2px) rotate(0deg); }
    20% { transform: translate(-4px, 0px) rotate(-10deg); }
    40% { transform: translate(2px, -3px) rotate(10deg); }
    60% { transform: translate(-3px, 4px) rotate(0deg); }
    80% { transform: translate(4px, 2px) rotate(-10deg); }
    100% { transform: translate(2px, -3px) rotate(10deg); }
}
@keyframes pop-up {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.ticker-text {
    /* Setze die Sekunden auf 40s (oder mehr), damit es langsamer läuft! */
    animation: ticker-scroll 40s linear infinite; 
}