/* =========================================
   1. GRUNDLAGEN & PERFORMANCE
   ========================================= */
:root {
    --bg-dark: #09090b;
    --bg-card: rgba(20, 20, 24, 0.6);
    --text-main: #ededed;
    --neon-purple: #b026ff;
    --neon-blue: #00f0ff;
    --neon-gold: #ffaa00;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
 
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(5px); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--neon-purple), var(--neon-blue)); border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }
::-selection { background: var(--neon-blue); color: #000; }

html, body { scroll-behavior: smooth; overflow-x: hidden; width: 100%; height: 100%; }
body { font-family: 'Poppins', sans-serif; background-color: var(--bg-dark); color: var(--text-main); }
 
.scanlines { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9998; opacity: 0.15;
    background-image: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)),
        linear-gradient(transparent 98%, rgba(0, 240, 255, 0.2) 100%),
        linear-gradient(90deg, transparent 98%, rgba(0, 240, 255, 0.2) 100%);
    background-size: 100% 4px, 3px 100%, 50px 50px, 50px 50px;
}
.vignette { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.8) 150%); pointer-events: none; z-index: 9999; }

/* =========================================
   2. HINTERGRUND EFFEKTE
   ========================================= */
.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; pointer-events: none; }
.dot-container { position: absolute; transition: transform 0.3s ease-out; will-change: transform; }
.dot { width: 5px; height: 5px; background: var(--neon-blue); border-radius: 50%; box-shadow: 0 0 10px var(--neon-blue); opacity: 0.5; animation: pulseDot 4s infinite alternate ease-in-out; }
@keyframes pulseDot { 0% { transform: scale(1); opacity: 0.3; } 100% { transform: scale(2); opacity: 0.8; } }
 
.bg-orbs { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -2; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.3; transition: transform 0.2s ease-out; will-change: transform; transform: translateZ(0); }
.orb-1 { width: 500px; height: 500px; background: var(--neon-purple); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--neon-blue); bottom: -50px; right: -100px; }

/* =========================================
   3. ALLGEMEINE SEKTIONEN
   ========================================= */
.scroll-hidden { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); will-change: transform, opacity; }
.scroll-visible { opacity: 1; transform: translateY(0); }
section { padding: 80px 20px 20px; max-width: 1200px; margin: 0 auto; text-align: center; position: relative; z-index: 10; }
 
h2 { 
    font-family: 'Orbitron', sans-serif; font-size: 3.2rem; margin-bottom: 20px; letter-spacing: 4px; text-transform: uppercase; color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple); animation: neonFlicker 2s infinite alternate;
}
@keyframes neonFlicker { 0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; } 20%, 22%, 24%, 55% { opacity: 0.8; text-shadow: 0 0 2px #fff, 0 0 5px var(--neon-purple); } }
.section-desc { color: #aaa; font-size: 1.1rem; margin-bottom: 40px; }
.neon-divider { height: 1px; width: 70%; max-width: 600px; margin: 60px auto; background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-blue), transparent); box-shadow: 0 0 15px var(--neon-purple); opacity: 0.5; position: relative; z-index: 10; }

.daily-btn { background: rgba(255, 170, 0, 0.1); border: 1px solid var(--neon-gold); color: var(--neon-gold) !important; padding: 6px 16px; border-radius: 20px; font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 0.8rem; letter-spacing: 1.5px; text-shadow: 0 0 10px rgba(255, 170, 0, 0.5); box-shadow: 0 0 15px rgba(255, 170, 0, 0.2); transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; text-decoration: none; }
@media (hover: hover) { .daily-btn:hover { background: var(--neon-gold); color: #000 !important; box-shadow: 0 0 25px var(--neon-gold); text-shadow: none; transform: translateY(-2px) scale(1.05); } }

/* =========================================
   4. NAVIGATION & TOASTS
   ========================================= */
nav { position: fixed; top: 0; width: 100%; background: rgba(9, 9, 11, 0.95); backdrop-filter: blur(15px); padding: 15px 0; z-index: 10001; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transform: translateZ(0); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
 
.logo-container { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; background: #00ffaa; border-radius: 50%; box-shadow: 0 0 10px #00ffaa; animation: pulseLiveDot 2s infinite; }
@keyframes pulseLiveDot { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } 100% { transform: scale(1); opacity: 1; } }
 
.logo { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 900; color: #fff; text-decoration: none; text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple); letter-spacing: 2px; z-index: 1001; }
.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { color: #aaa; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s ease; }
@media (hover: hover) { .nav-links a:hover { color: #fff; text-shadow: 0 0 8px var(--neon-blue); } }
.menu-toggle { display: none; font-size: 2rem; color: #fff; cursor: pointer; z-index: 1001; user-select: none; }

#toast-container { position: fixed; top: 80px; right: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 10px; }
.custom-toast { background: rgba(15, 15, 18, 0.95); border-left: 4px solid var(--neon-purple); padding: 15px 20px; border-radius: 8px; color: #fff; font-family: 'Poppins'; font-size: 0.85rem; box-shadow: 0 5px 15px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 12px; animation: slideInRight 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; backdrop-filter: blur(10px); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOutRight { to { transform: translateX(100%); opacity: 0; } }

#ghost-banner { position: fixed; top: -100px; left: 0; width: 100%; background: linear-gradient(90deg, rgba(176,38,255,0.9), rgba(0,240,255,0.9)); color: #fff; text-align: center; padding: 15px; font-family: 'Orbitron', sans-serif; font-weight: 700; letter-spacing: 2px; z-index: 99998; box-shadow: 0 0 30px rgba(176,38,255,0.6); transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; justify-content: center; align-items: center; gap: 15px; }
#ghost-banner.show { top: 70px; }
@media (max-width: 768px) { #ghost-banner.show { top: 60px; font-size: 0.8rem; } }

/* =========================================
   5. HOME & STATS
   ========================================= */
#home { padding-top: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.home-title { font-family: 'Orbitron', sans-serif; font-size: 6rem; font-weight: 900; background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; animation: ultraGlow 3s infinite alternate ease-in-out; transform: translateZ(0); }
@keyframes ultraGlow { 0% { filter: drop-shadow(0 0 5px var(--neon-purple)) drop-shadow(0 0 10px var(--neon-purple)); transform: scale(1); } 50% { filter: drop-shadow(0 0 20px var(--neon-blue)) drop-shadow(0 0 40px var(--neon-blue)); transform: scale(1.02); } 100% { filter: drop-shadow(0 0 10px var(--neon-purple)) drop-shadow(0 0 30px var(--neon-purple)); transform: scale(1); } }
.stats-container { display: flex; justify-content: center; gap: 40px; margin-top: 40px; padding: 30px; background: rgba(255, 255, 255, 0.03); border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.15); box-shadow: inset 0 10px 20px rgba(255,255,255,0.02); transform: translateZ(0); flex-wrap: wrap; z-index: 10; }
.stat-item h3 { font-size: 2.2rem; font-family: 'Orbitron', sans-serif; margin-bottom: 5px; }
.stat-item p { color: #888; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

/* =========================================
   6. 3D EVENT SLIDER
   ========================================= */
.carousel-container { margin-top: 50px; width: 100%; max-width: 800px; height: 350px; position: relative; perspective: 1000px; display: flex; justify-content: center; align-items: center; z-index: 5; }
.carousel-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.event-card { position: absolute; width: 400px; height: 250px; left: calc(50% - 200px); top: calc(50% - 125px); background: rgba(20, 20, 24, 0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 25px; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); opacity: 0; transform: translateZ(-400px); pointer-events: none; }
.event-card.active { opacity: 1; transform: translateX(0) translateZ(0) scale(1); background: rgba(15, 15, 18, 0.95); border-color: var(--neon-purple); border-top: 1px solid rgba(176, 38, 255, 0.5); box-shadow: 0 0 40px rgba(176, 38, 255, 0.2), inset 0 10px 20px rgba(255,255,255,0.02); backdrop-filter: blur(15px); pointer-events: auto; z-index: 3; }
.event-card.prev { opacity: 0.5; transform: translateX(-220px) translateZ(-150px) scale(0.85); filter: blur(3px); z-index: 2; cursor: pointer; pointer-events: auto; }
.event-card.next { opacity: 0.5; transform: translateX(220px) translateZ(-150px) scale(0.85); filter: blur(3px); z-index: 2; cursor: pointer; pointer-events: auto; }
.event-timer { font-family: 'Orbitron'; font-size: 0.9rem; color: #fff; letter-spacing: 2px; margin-bottom: 15px; opacity: 0.6; }
.live-badge { background: #333; color: #fff; font-family: 'Orbitron', sans-serif; font-size: 0.65rem; font-weight: 900; padding: 4px 12px; border-radius: 4px; letter-spacing: 2px; display: inline-block; margin-bottom: 10px; }
.badge-live { background: #ff0000 !important; box-shadow: 0 0 15px rgba(255, 0, 0, 0.6); animation: pulseLive 1.5s infinite ease-in-out; }
.badge-upcoming { background: #ffaa00 !important; color: #000 !important; box-shadow: 0 0 15px rgba(255, 170, 0, 0.4); }
.ev-title { font-family: 'Orbitron'; font-size: 1.5rem; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); font-weight: 700; margin-bottom: 5px; }
.ev-full-date { color: var(--neon-blue); font-size: 0.9rem; font-weight: 300; letter-spacing: 1px; }
.slot-indicator { font-family: 'Orbitron', sans-serif; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; padding: 4px 10px; border-radius: 4px; font-weight: 900; }
.ind-main { background: rgba(176, 38, 255, 0.2); color: #fff; border: 1px solid var(--neon-purple); text-shadow: 0 0 5px var(--neon-purple); }
.ind-sub { background: rgba(255, 255, 255, 0.05); color: #aaa; border: 1px solid rgba(255, 255, 255, 0.1); }
.carousel-controls { display: flex; justify-content: center; gap: 30px; margin-top: -10px; z-index: 10; position: relative; }
.carousel-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.carousel-btn:hover { background: var(--neon-purple); border-color: var(--neon-purple); box-shadow: 0 0 15px var(--neon-purple); }

/* =========================================
   7. DISCORD JOIN
   ========================================= */
.join-container { display: flex; align-items: stretch; justify-content: center; gap: 50px; margin-top: 30px; flex-wrap: wrap; }
 
.join-feature { 
    background: rgba(255, 255, 255, 0.02); padding: 30px 20px; border-radius: 25px; 
    border: 1px solid rgba(255, 255, 255, 0.05); width: 260px; backdrop-filter: blur(8px); 
    border-top: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; 
    transform: translateZ(0); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
 
.join-main { align-self: center; }

.join-feature::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent); transform: translateX(-100%); transition: 0.6s; z-index: 1; pointer-events: none;}
@media (hover: hover) { 
    .join-feature:hover::before { transform: translateX(100%); } 
    .join-feature:hover { border-color: var(--neon-blue); transform: translateY(-12px); background: rgba(255, 255, 255, 0.05); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); } 
}
 
.feature-icon { font-size: 2.8rem; display: block; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(255,255,255,0.2)); }
.join-feature h4 { font-family: 'Orbitron', sans-serif; color: #fff; margin-bottom: 10px; font-size: 1.1rem; letter-spacing: 1px; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.join-feature p { font-size: 0.85rem; color: #999; line-height: 1.5; }
.discord-btn-premium { display: inline-block; padding: 24px 70px; font-size: 1.4rem; font-family: 'Orbitron', sans-serif; font-weight: 900; color: #fff; background: #5865F2; border-radius: 60px; text-decoration: none; text-transform: uppercase; letter-spacing: 3px; box-shadow: 0 0 30px rgba(88, 101, 242, 0.4); transition: all 0.3s ease; border: 2px solid rgba(255, 255, 255, 0.1); }
@media (hover: hover) { .discord-btn-premium:hover { transform: scale(1.05); box-shadow: 0 10px 40px rgba(88, 101, 242, 0.8); background: #4752c4; border-color: #fff; } }

/* =========================================
   8. TEAM BEREICH
   ========================================= */
.team-grid-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 20px; margin-bottom: 25px; width: 100%; max-width: 900px; margin-left: auto; margin-right: auto; }
.team-bar-mini { background: rgba(20, 20, 24, 0.4); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 15px; padding: 15px 30px; display: flex; justify-content: center; gap: 40px; max-width: 800px; margin: 0 auto; backdrop-filter: blur(5px); flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); }
.mini-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini-role { font-size: 0.65rem; color: #555; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.mini-name { font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.5px; }
.admin-text { color: #ff3333; text-shadow: 0 0 5px rgba(255,0,0,0.3); } 
.mod-text { color: #00f0ff; text-shadow: 0 0 5px rgba(0,240,255,0.3); } 
.tmod-text { color: #00ffaa; opacity: 0.9; } 
 
.team-card { background: var(--bg-card); padding: 40px 30px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05); border-top: 1px solid rgba(255,255,255,0.15); box-shadow: inset 0 10px 20px rgba(255,255,255,0.02); backdrop-filter: blur(10px); position: relative; transform: translateZ(0); overflow: hidden; text-align: center; }
.rank-founder-card { border: 1px solid var(--neon-gold); border-top: 1px solid #ffe600; box-shadow: inset 0 0 20px rgba(255, 170, 0, 0.1); }
.role { font-size: 0.8rem; color: #777; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.name { font-family: 'Orbitron', sans-serif; font-size: 2.2rem; font-weight: 900; margin-bottom: 5px; }
.rank-founder { background: linear-gradient(to right, #ffaa00, #fff, #ff0055, #fff, #ffaa00); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; animation: hyperFlow 2s linear infinite; font-weight: 900; letter-spacing: 1px; }
@keyframes hyperFlow { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
 
@keyframes crownFloat { 0% { transform: translateY(-2px) rotate(-5deg); } 100% { transform: translateY(-8px) rotate(5deg); } }
@keyframes devPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.05) translateY(-2px); opacity: 1; } }
.founder-crown { -webkit-text-fill-color: initial !important; display: inline-block; margin-left: 10px; filter: drop-shadow(0 0 10px #ffaa00); cursor: pointer; animation: crownFloat 2s infinite alternate ease-in-out; }
.dev-icon { display: inline-block; margin-left: 8px; font-size: 1rem; color: var(--neon-blue); -webkit-text-fill-color: var(--neon-blue) !important; text-shadow: 0 0 8px var(--neon-blue); vertical-align: middle; animation: devPulse 2s infinite alternate ease-in-out; }

/* =========================================
   9. WALL OF FAME & UPLOAD
   ========================================= */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 20px; }
.video-wrapper { background: var(--bg-card); padding: 15px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; transform: translateZ(0); height: 280px; }
.media-container { flex: 1; width: 100%; height: 100%; background: #000; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid #111; color: #555;}
video, img { width: 100%; height: 100%; object-fit: contain; outline: none; background: #000; }
.clip-info { color: #888; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; font-weight: 600; text-align: left; padding-left: 5px; font-family: 'Poppins', sans-serif; }
 
.upload-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 45px; font-size: 1.2rem; font-family: 'Orbitron', sans-serif; font-weight: 700; color: #fff; background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue), var(--neon-purple)); background-size: 200% auto; border-radius: 50px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 0 20px rgba(176, 38, 255, 0.4), inset 0 0 10px rgba(255,255,255,0.2); transition: all 0.4s ease; border: 2px solid transparent; animation: gradientShift 3s linear infinite; cursor: pointer; }
@media (hover: hover) { .upload-btn:hover { box-shadow: 0 15px 40px rgba(0, 240, 255, 0.7), inset 0 0 20px rgba(255,255,255,0.5); border: 2px solid #fff; color: #fff; } }

/* =========================================
   10. FOOTER & BUTTONS
   ========================================= */
.footer-btn { text-decoration: none; font-size: 0.65rem; font-family: 'Orbitron', sans-serif; letter-spacing: 2px; padding: 10px 20px; border-radius: 6px; cursor: pointer; transition: all 0.4s; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.02); color: #444; }
.btn-icon { font-size: 0.85rem; filter: grayscale(1) opacity(0.5); transition: 0.4s; }
.unban-btn { color: #ff3333 !important; border-color: rgba(255, 51, 51, 0.4) !important; }
.unban-btn:hover { text-shadow: 0 0 10px rgba(255, 51, 51, 0.5); background: rgba(255, 51, 51, 0.05); transform: translateY(-3px); }
.ticket-btn { color: #00ffaa !important; border-color: rgba(0, 255, 170, 0.4) !important; }
.ticket-btn:hover { text-shadow: 0 0 10px rgba(0, 255, 170, 0.5); background: rgba(0, 255, 170, 0.05); transform: translateY(-3px); }
.staff-btn { color: var(--neon-purple) !important; border-color: rgba(176, 38, 255, 0.4) !important; }
.staff-btn:hover { text-shadow: 0 0 10px var(--neon-purple); background: rgba(176, 38, 255, 0.05); transform: translateY(-3px); }
.vorschlag-btn { color: var(--neon-blue) !important; border-color: rgba(0, 240, 255, 0.4) !important; }
.vorschlag-btn:hover { text-shadow: 0 0 10px var(--neon-blue); background: rgba(0, 240, 255, 0.05); transform: translateY(-3px); }
.footer-btn:hover .btn-icon { filter: grayscale(0) opacity(1); transform: scale(1.1); }

/* =========================================
   11. MOBILE ANPASSUNGEN
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-container { flex-direction: row; justify-content: space-between; align-items: center; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(9, 9, 11, 0.98); flex-direction: column; align-items: center; padding: 25px 0; gap: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.3s ease-in-out; }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .logo { font-size: 1.8rem; }
    .home-title { font-size: 3.2rem; animation: none; filter: drop-shadow(0 0 5px var(--neon-purple)); }
    h2 { font-size: 2rem; margin-bottom: 25px; animation: none; text-shadow: 0 0 10px var(--neon-purple); }
    .stats-container { gap: 15px; padding: 15px; flex-direction: row; }
    .stat-item { flex: 1 1 40%; }
    .carousel-container { height: 260px; perspective: 1000px; }
    .event-card { width: 280px; height: 200px; left: calc(50% - 140px); top: calc(50% - 100px); padding: 15px; }
    .slot-indicator { font-size: 0.55rem; padding: 3px 8px; margin-bottom: 8px; }
    .event-timer { font-size: 0.8rem; margin-bottom: 10px; }
    .live-badge { font-size: 0.55rem; padding: 3px 10px; margin-bottom: 8px; }
    .ev-title { font-size: 1.1rem; margin-bottom: 3px; }
    .ev-full-date { font-size: 0.8rem; }
    
    .join-container { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: stretch; }
    .join-main { grid-column: 1 / -1; order: -1; margin-bottom: 10px; }
    .join-feature { width: 100%; padding: 15px 10px; }
    .feature-icon { font-size: 2rem; margin-bottom: 10px; }
    
    .team-grid-main { grid-template-columns: 1fr; gap: 20px; }
    
    .rank-founder { animation: none !important; background: none !important; background-image: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; -webkit-text-fill-color: initial !important; color: #ffaa00 !important; filter: none !important; font-size: 1.7rem !important; display: inline-block !important; text-shadow: 0 0 10px #ffaa00; }
    .founder-crown { font-size: 1.1rem; margin-left: 5px; animation: crownFloat 2s infinite alternate ease-in-out; }
    .dev-icon { font-size: 1.2rem; animation: devPulse 2s infinite alternate ease-in-out; }
    
    .video-grid { grid-template-columns: repeat(1, 1fr); gap: 15px; }
    .video-wrapper { padding: 8px; border-radius: 8px; height: 220px; }
    #toast-container { top: 60px; right: 10px; left: 10px; }
}

/* =========================================
   12. MODALS & POP-UPS (Verstecken & Overlay)
   ========================================= */
.modal-base { 
    display: none; /* Das versteckt sie standardmäßig! */
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.85); 
    z-index: 30000; 
    backdrop-filter: blur(8px); 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
}

.modal-box { 
    animation: crtTurnOn 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards; 
    background: #111; 
    border-radius: 20px; 
    text-align: center; 
    position: relative; 
    display: flex; 
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.2); 
}

@keyframes crtTurnOn {
    0% { transform: scale(1, 0.02); opacity: 0; filter: brightness(3); }
    50% { transform: scale(1, 1); opacity: 1; filter: brightness(2); }
    100% { transform: scale(1, 1); filter: brightness(1); }
}

/* Custom Scrollbar für die Pop-ups */
.custom-scroll::-webkit-scrollbar { width: 6px; height: 3px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; margin: 0 10px; }
.custom-scroll::-webkit-scrollbar-thumb { background: rgba(0, 240, 255, 0.4); border-radius: 10px; transition: 0.3s; }
.custom-scroll::-webkit-scrollbar-thumb:hover { background: rgba(0, 240, 255, 1); }

/* =========================================
   13. MODAL INHALTE (Regelwerk & Co.)
   ========================================= */
.rule-box { 
    background: rgba(255, 255, 255, 0.02); 
    padding: 12px 15px; 
    border-radius: 8px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    color: #ccc; 
    font-size: 0.85rem; 
    text-align: left; 
    margin-bottom: 8px; 
    font-family: 'Poppins', sans-serif; 
}
.rule-box span { 
    color: var(--neon-blue); 
    font-weight: bold; 
    margin-right: 10px; 
    font-family: 'Orbitron', sans-serif; 
}

.sanction-box { 
    background: rgba(255, 51, 51, 0.05); 
    border-left: 4px solid #ff3333; 
    padding: 12px 15px; 
    border-radius: 4px; 
    color: #fff; 
    font-size: 0.85rem; 
    text-align: left; 
    margin-bottom: 8px; 
    font-family: 'Poppins', sans-serif; 
}
.sanction-box strong { 
    color: #ffaa00; 
    font-family: 'Orbitron', sans-serif; 
    letter-spacing: 1px; 
}

/* =========================================
   FAB MENU (Floating Action Bubbles)
   ========================================= */
#fab-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 25000;
}

#fab-main {
    width: 60px;
    height: 60px;
    background: rgba(15, 15, 18, 0.95);
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    color: var(--neon-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    z-index: 25002;
    position: relative;
}

#fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--neon-blue);
}

/* Wenn das Menü offen ist, dreht sich das Plus zu einem roten X */
#fab-main.active {
    transform: rotate(45deg);
    border-color: #ff3333;
    color: #ff3333;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.4);
}

.fab-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    bottom: 80px;
    right: 7px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 25001;
}

.fab-actions.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-action {
    width: 45px;
    height: 45px;
    background: rgba(15, 15, 18, 0.95);
    border: 2px solid var(--neon-purple);
    border-radius: 50%;
    color: var(--neon-purple);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.4);
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.fab-action:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-purple);
    background: var(--neon-purple);
    color: #fff;
}