:root{
  --primary-dark:#0e0e10;
  --secondary-dark:#18181b;
  --card-dark-1:#1a1a1d;
  --card-dark-2:#151518;
  --accent-red:#C92123;
  --accent-red-light:#F04554;
  --accent-blue:#6441a5;
  --text-white:#ffffff;
  --text-gray:#efeff1;
  --text-gray-mid:#b8b8bf;
  --text-gray-light:#adadb8;
  --clips-bg:#15161b;
  --border-radius:12px;
}
*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins','Inter','Helvetica Neue',sans-serif}
html{scroll-behavior:smooth;background:var(--primary-dark);}
body{background:transparent;color:var(--text-white);line-height:1.6;overflow-x:hidden;padding-top: 70px;}
.container{max-width:1200px;margin:0 auto;padding:0 20px;}

/* cursor */
a, button, .btn, .cta-button, .scroll-top { cursor: pointer; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(24,24,27,.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-red);
}
.header-content{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.logo-link{display:flex;align-items:center;text-decoration:none;color:inherit}
.logo{display:flex;align-items:center;gap:12px}
.logo img{height:46px;max-height:46px;width:auto;display:block}
.logo h1{font-size:1.4rem;font-weight:700;background:linear-gradient(45deg,var(--accent-red),var(--accent-blue));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
nav{display:flex;align-items:center;gap:22px}
nav ul{display:flex;list-style:none;gap:22px}
nav a{color:var(--text-gray);text-decoration:none;font-weight:500;position:relative}
nav a:after{content:'';position:absolute;left:0;bottom:-6px;width:0;height:2px;background:var(--accent-red);transition:width .25s}
nav a:hover{color:#fff}
nav a:hover:after{width:100%}
.nav-toggle {
  display:none;
  background:none;
  border:none;
  font-size:1.6rem;
  color:#fff;
}
.header-social{display:flex;gap:10px;margin-left:10px}
.header-social a{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#202024;color:#fff;border:1px solid #2a2a2d}
.header-social a:hover{background:var(--accent-red);transform:translateY(-2px)}

/* Hero */
.hero{position:relative;overflow:hidden;text-align:center;padding:100px 0}
#gaming-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.hero-stack{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:10px}
.hero-logo{width:min(620px,72vw);max-height:180px;object-fit:contain;filter:drop-shadow(0 6px 24px rgba(204,0,0,.20));will-change:transform}
.hero-divider{width:40%;opacity:.3;border:none;border-top:1px solid rgba(255,255,255,.3)}
.hero h2{font-size:3rem;text-shadow:0 2px 18px rgba(0,0,0,.55)}
.hero-subtitle{font-size:1.1rem;color:var(--text-gray-light);max-width:900px;margin:0 auto 6px;text-shadow:0 1px 12px rgba(0,0,0,.45)}
.cta-button{display:inline-block;background:linear-gradient(45deg,var(--accent-red),var(--accent-blue));color:#fff;padding:14px 30px;border-radius:30px;text-decoration:none;font-weight:600;border:none;box-shadow:0 5px 15px rgba(204,0,0,.35)}
.cta-button:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(204,0,0,.45)}

/* Sektionstitel */
.section-title{text-align:center;margin-bottom:40px;font-size:2.2rem}
.section-title:after{content:'';display:block;width:84px;height:4px;background:linear-gradient(45deg,var(--accent-red),var(--accent-blue));margin:16px auto;border-radius:2px}

/* KPIs + Charts */
.stats-section{padding:56px 0 24px;background:var(--secondary-dark)}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin-top:6px}
.stat-card{background:linear-gradient(145deg,var(--card-dark-1),var(--card-dark-2));border:1px solid #2a2a2d;border-radius:16px;padding:22px;text-align:center;transition:transform .25s}
.stat-card:hover{transform:translateY(-4px);border-color:var(--accent-red)}
.stat-icon{font-size:2.2rem;color:var(--text-gray-mid);margin-bottom:10px}
.stat-value{font-size:2rem;font-weight:700;margin-bottom:6px;background:linear-gradient(45deg,var(--accent-red),var(--accent-blue));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.stat-label{color:var(--text-gray-light)}
.charts-section{padding:24px 0 72px;background:var(--secondary-dark)}
.charts-container{display:grid;grid-template-columns:1fr 1fr;gap:22px;background:#1b1c21;border:1px solid #2a2a2d;border-radius:16px;padding:22px}
.charts-section .chart-container canvas { height: 260px !important; max-height: 260px !important;}

/* Games Section + animierter BG */
.games-section{position:relative;padding:72px 0;background:transparent;overflow:hidden}
.games-section .container{position:relative;z-index:1}
.game-card{flex:0 0 auto;width:180px;background:linear-gradient(145deg,#1a1a1d,#151518);border-radius:15px;overflow:hidden;border:1px solid #2a2a2d}
.game-card:hover{transform:translateY(-5px);border-color:var(--accent-red)}
.game-cover{width:100%;height:240px;overflow:hidden}
.game-cover img{width:100%;height:100%;object-fit:cover}
.game-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-stats{color:var(--text-gray-light);font-size:.9rem}
.games-carousel{
  overflow:hidden;
  position:relative;
  padding:20px 0;
  margin:0;
  width:100%;
}
.games-track{
  display:flex; gap:20px; width:max-content;
  animation:gamesSlide var(--games-slide-duration, 40s) linear infinite;
}
.games-carousel:hover .games-track{animation-play-state:paused}

@keyframes gamesSlide{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)} /* 2x Track -> -50% nahtlos */
}

/* zweite Zeile dezenter */
.game-info{padding:14px;text-align:center}
.game-stats.subtle{ color:var(--text-gray-mid); font-size:.85rem; margin-top:4px; }
#gaming-canvas,
#games-bg{
  position:absolute;inset:0;width:100%;height:100%;
  z-index:0; pointer-events:none; opacity:.55;
}
/* Bewerben */
.apply-section{padding:70px 0;background:linear-gradient(145deg,#141418,#101116)}
.apply-wrap{max-width:900px;margin:0 auto;text-align:center}
.apply-wrap p{color:var(--text-gray-mid);margin-bottom:16px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;border:1px solid #2a2a2d;background:#1d1e24;color:#fff;text-decoration:none}
.btn.primary{background:linear-gradient(45deg,var(--accent-red),var(--accent-blue));border:none}
.btn:hover{transform:translateY(-2px)}

/* ========== Requirements KPI Box ========== */
.apply-warning-box {
  margin: 0 0 20px 0;
  padding: 14px 16px;
  /*background: linear-gradient(180deg,rgba(255, 193, 7, 0.12),rgba(255, 193, 7, 0.06));*/
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 10px;
  color: #ffcc4d;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
}
.apply-warning-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #ffd36a !important;
  margin-bottom: 6px;
}
.apply-warning-header i {
  font-size: 16px;
  color: #ffcc4d;
}
.apply-warning-text {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 193, 7, 0.75) !important;
}

/* Admins */
.admin-slider-section{padding:80px 0;background-color:var(--secondary-dark)}
.admin-slider{overflow:hidden;position:relative;padding:30px 0;margin:0 -20px;width:100%;}
.admin-track{display:flex;animation:slide 40s linear infinite;width:max-content;gap:20px; }
.admin-slider:hover .admin-track{animation-play-state:paused}
.admin-slide{height:180px;width:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 20px;background:linear-gradient(145deg,#121216,#0f0f13);border-radius:16px;padding:22px;border:1px solid #1f1f25;box-shadow:0 8px 24px rgba(0,0,0,.28); cursor:pointer;}
.admin-avatar{width:80px;height:80px;border-radius:50%;overflow:hidden;margin-bottom:10px;}
.admin-avatar img{width:100%;height:100%;object-fit:cover}
.admin-name{font-weight:600}
.admin-role{font-size:.85rem;color:#b9bac2} /* mittleres Grau statt Rot */
@keyframes slide{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* Featured */
.feature-member{ position:relative; padding:80px 0; background:transparent; overflow:hidden; }
#feature-bg{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; opacity:.60; }
.feature-member .container, .feature-hero{ position:relative; z-index:1; }
.feature-hero{ position: relative; display: block; background: linear-gradient(145deg,#18181b,#141418); border: 1px solid #2a2a2d; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.35); 
padding: 28px; min-height: clamp(300px, 42vw, 420px); margin-bottom: 28px; z-index: 1;}
.feature-slide{ position: absolute; inset: 0; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 28px; opacity: 0; transition: opacity .6s ease;}
.feature-slide.is-enter{ opacity: 1; }
.feature-left{ min-height:100%; padding: 0 0 0 50px; display:flex; flex-direction:column; justify-content:center; z-index:2}
.feature-top{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.feature-avatar{ width:84px; height:84px; border-radius:50%; overflow:hidden; border:3px solid #3a3a3d; }
.feature-avatar img{ width:100%; height:100%; object-fit:cover; }
.feature-title{ font-size:1.4rem; display:flex; align-items:center; gap:8px; }
.partner-badge{font-size:1rem;color:#a970ff}
.badge-live{ display:inline-block; padding:4px 10px; border-radius:999px; background:var(--accent-red); font-size:.75rem; }
.feature-sub{ color:var(--text-gray-mid); margin-bottom:10px; }
.feature-desc{ color:#c9c9cf; margin-bottom:12px; max-width:720px; }
.feature-stats{ display:flex; gap:8px; margin:8px 0 16px; flex-wrap:wrap; }
.chip{ border:1px solid #2a2a2d; border-radius:999px; padding:5px 10px; background:#1b1c21; font-size:.8rem; line-height:1.1; }
.feature-right{ justify-self:end; align-self:stretch; display:flex; align-items:flex-end; position: relative; z-index:2}
.feature-cover{ position: relative; height: clamp(300px, 44vw, 420px); border-radius: 16px; overflow: hidden; border: 1px solid #2a2a2d; box-shadow: 0 10px 30px rgba(0,0,0,.35); background: #0f0f12; }
.feature-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.feature-game-tag{ position:absolute; left:16px; bottom:16px; background:rgba(0,0,0,.55); backdrop-filter:blur(4px); padding:8px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.1); font-size:.9rem }
.feature-actions .btn{ min-width:150px; }
.feature-actions{ margin-top:auto; gap:12px; }
.scan-bg::before{ display:none !important; }


/* Teamliste */
.team-section{padding:72px 0; background:linear-gradient(145deg,#141418,#101116);}
.controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:12px}
.search-box{position:relative;flex:1;min-width:250px}
.search-box input{width:100%;padding:12px 14px 12px 44px;background:#151518;border:1px solid #2a2a2d;border-radius:10px;color:#fff}
.search-box i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-gray-light)}
.members-table-wrapper{overflow-x:auto;width:100%;border-collapse:collapse;background:linear-gradient(145deg,#1a1a1d,#151518);border:1px solid #2a2a2d;border-radius:14px;overflow:hidden}
.members-table th{background:var(--accent-red);color:#fff;padding:14px;text-align:left}
.members-table td{padding:14px;border-bottom:1px solid #2a2a2d;vertical-align:middle}
.members-table th:nth-child(2), .members-table td:nth-child(2){ width:110px; }
.members-table th:nth-child(5), .members-table td:nth-child(5){ width:36%; }
.members-table tbody tr{height:112px;cursor:pointer}
.members-table tr:last-child td{border-bottom:none}
.member-info{display:flex;align-items:center;gap:12px}
.member-avatar{width:50px;height:50px;border-radius:50%;overflow:hidden;border:3px solid #3a3a3d;flex-shrink:0}
.member-avatar.live{border-color:#3a3a3d;box-shadow:none}
.member-avatar img{width:100%;height:100%;object-fit:cover}
.member-name{font-weight:600;display:flex;align-items:center;gap:6px}
.partner-dot{color:#a970ff}
.member-status{display:inline-block;padding:4px 8px;border-radius:6px;font-size:.8rem;font-weight:600}
.status-live{background:var(--accent-red);color:#fff}
.status-offline{background:#3a3a3d;color:var(--text-gray-light)}
.member-description{color:var(--text-gray-light);font-size:.9rem;max-width:320px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.game-info-cell{display:flex;align-items:center;gap:10px}
.game-cover-small{width:40px;height:40px;border-radius:6px;overflow:hidden}
.game-cover-small img{width:100%;height:100%;object-fit:cover}
.to-channel-btn{display:inline-block;margin-top:6px;padding:6px 10px;border-radius:8px;background:rgba(204,0,0,.15);border:1px solid rgba(204,0,0,.35);color:#fff;text-decoration:none;font-size:.85rem}

/* Forms / Autocomplete */
.forms-section{padding:80px 0;}
.form-container{max-width:800px;margin:0 auto}
.form-card{background:linear-gradient(145deg,#1a1a1d,#151518);border-radius:15px;padding:40px;border:1px solid #2a2a2d}
.form-group{margin-bottom:20px;position:relative}
.form-group label{display:block;color:var(--text-gray)}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:12px 14px;background:#151518;border:1px solid #2a2a2d;border-radius:10px;color:#fff}
.error-text{display:none;color:#ff8080;font-size:.9rem;margin-top:6px}
.input-error{border-color:#ff5a5a !important; box-shadow:0 0 0 2px rgba(255,90,90,.15)}
.autocomplete-items{position:absolute;z-index:20;top:100%;left:0;right:0;background:#151518;border:1px solid #2a2a2d;border-top:none;border-radius:0 0 10px 10px;max-height:220px;overflow:auto}
.autocomplete-items div{padding:10px;cursor:pointer;border-bottom:1px solid #2a2a2d}
.autocomplete-items div:hover{background:rgba(204,0,0,.12)}
.accordion-header{display:flex;align-items:center;cursor:pointer;color:var(--accent-red);font-weight:500;user-select:none}
.accordion-header i{margin-right:10px;transition:transform .3s}
.accordion-content{max-height:0;overflow:hidden;transition:max-height .3s ease}
.success-message{display:none;background:rgba(0,200,0,.18);color:#0c0;padding:12px;border-radius:8px;text-align:center;border:1px solid #0c0}

/* Footer */
footer{background:var(--primary-dark);padding:60px 0 30px;border-top:1px solid #2a2a2d}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1.2fr;gap:28px;align-items:start}
.footer-left h4{margin:0 0 8px}
.footer-left p{color:var(--text-gray-light);max-width:520px;}
.footer-center{display:flex;justify-content:center;align-items:center}
.footer-center img{max-height:120px;object-fit:contain}
.footer-links-wrap{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.footer-links h4{margin-bottom:14px;font-size:1.05rem}
.footer-links a{color:var(--text-gray-light);display:block;margin:8px 0;text-decoration:none}
.footer-links a:hover{color:var(--accent-red)}
.copyright{color:var(--text-gray-light);font-size:.9rem;padding-top:24px;text-align:center;border-top:1px solid #2a2a2d;margin-top:28px}

/* Modals */
.modal-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.95);z-index:1000;justify-content:center;align-items:center;padding:20px}
.modal-content{background:#18181b;border:2px solid var(--accent-red);border-radius:16px;width:92%;max-width:980px;max-height:90vh;overflow:hidden;position:relative}
.modal-header-bar{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #2a2a2d}
.modal-title{font-size:1.3rem}
.close-modal{background:none;border:none;color:#fff;font-size:2rem}
.modal-body-scroll{padding:20px;overflow-y:auto;max-height:calc(90vh - 68px)}
.modal-body-scroll p{margin:0 0 12px}
.modal-body-scroll ul{margin:0 0 12px 20px}
.modal-body-scroll li{margin:6px 0}
.modal-body-scroll h3,.modal-body-scroll h4{margin:16px 0 8px}
.modal-header{display:flex;align-items:stretch;justify-content:space-between;gap:24px;margin-bottom:20px}
.modal-header-left{display:flex;align-items:center}
.modal-avatar{width:100px;height:100px;border-radius:50%;overflow:hidden;margin-right:20px;border:3px solid #3a3a3d}
.modal-avatar img{width:100%;height:100%;object-fit:cover}
.modal-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:20px 0}
.modal-stat{background:rgba(0,0,0,.2);padding:16px;border-radius:10px;text-align:center}
.modal-stat-value{font-size:1.4rem;font-weight:700}
.modal-stat-label{color:var(--text-gray-mid)}
.modal-section-title{color:#fff}
.modal-body-scroll p, .modal-body-scroll div, .modal-subtitle {color:#cfd0d6}

.games-carousel,
.admin-slider {
  overscroll-behavior-x: none;
}

.games-track,
.admin-track {
  will-change: transform;
}

button:disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.btn.is-loading { opacity: .85; cursor: not-allowed; }
.btn .spinner{
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,.95);
  border-radius: 50%;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 8px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Loader ===== */
#page-loader{
  position:fixed; inset:0; z-index:2000;
  display:none; opacity:0;              /* per JS ein-/ausblenden */
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(201,33,35,.18), transparent 40%),
    linear-gradient(180deg,#0b0c10,#0f1015);
  align-items:center; justify-content:center; /* exakt zentriert */
  overflow:hidden;
}

/* Center-Stack (Ring + Text) */
#page-loader .pl-center{
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:16px;
}

/* ===== geneigtes GRID mit Tiefenwirkung ===== */
#page-loader .pl-back{ position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; }

/* Grid: 3D-Wirkung durch Perspektive + Fade nach oben */
#page-loader .pl-back .grid{
  position:absolute; left:-10%; top:-20%; width:120%; height:150%;
  transform: perspective(900px) rotateX(58deg) translateZ(0);
  transform-origin:center;
  background:
    linear-gradient(transparent 95%, rgba(255,255,255,.045) 96%) 0 0 / 26px 26px,
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,.045) 96%) 0 0 / 26px 26px;
  opacity:.6;
}
#page-loader .pl-back .grid::after{
  /* nach oben dunkler → verschwindet in der Ferne */
  content:""; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(11,12,16,0) 40%, rgba(11,12,16,.95) 98%);
  pointer-events:none;
}

/* Leichte "Strom"-Lichteffekte über dem Grid (zwei Layer, langsam) */
#page-loader .pl-back .scan{
  position:absolute; inset:-25% -25% -10% -25%;
  background:
    linear-gradient( 12deg, rgba(201,33,35,0) 0%, rgba(201,33,35,.07) 40%, rgba(201,33,35,0) 60%) 0 0 / 100% 220%,
    linear-gradient(-15deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 45%, rgba(255,255,255,0) 65%) 0 0 / 100% 240%;
  animation:
    scanMove1 7.5s linear infinite,
    scanMove2 11s  linear infinite;
  mix-blend-mode: screen;
  opacity:.65;
}
@keyframes scanMove1 { 
  0% { background-position: 0%   100%, 0% 0%; }
  100%{ background-position: 0%  -120%, 0% 0%; }
}
@keyframes scanMove2 {
  0% { background-position: 0% 0%, 0%   120%; }
  100%{ background-position: 0% 0%, 0%  -120%; }
}

/* ===== RING mit Gradient – Logo bleibt statisch ===== */
#page-loader .ring{
  position:relative;
  width:170px; height:170px;
  border-radius:50%;
}

/* feiner Verlauf auf dünner Kontur */
#page-loader .ring::before{
  content:""; 
  position:absolute; inset:0; 
  border-radius:50%;
  border: 6px solid transparent;
  background: conic-gradient(
    from 0deg,
    #C92123 0deg,
    #3a3b42 90deg,
    #C92123 180deg,
    #3a3b42 270deg,
    #C92123 360deg
  );
  background-clip: border-box;
  -webkit-mask: 
    radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  animation: ring-spin 1.6s linear infinite;
  filter: drop-shadow(0 4px 16px rgba(201,33,35,.3));
}

/* dezenter Innenrand */
#page-loader .ring::after{
  content:""; 
  position:absolute; inset:0; 
  border-radius:50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.05);
}

/* Logo-Kern bleibt wie gehabt */
#page-loader .ring-core{
  position:absolute; 
  left:50%; top:50%; 
  transform: translate(-50%,-50%);
  width:86px; height:86px; 
  display:flex; align-items:center; justify-content:center;
  animation: logo-pulse 2.4s ease-in-out infinite;
}
#page-loader .ring-core img{
  width:100%; height:auto; display:block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.45));
}
@keyframes logo-pulse{ 0%,100%{opacity:.85} 50%{opacity:1} }

/* Text unter dem Ring */
#page-loader .pl-text{
  color:#efeff1; font-size:1.06rem; line-height:1; white-space:nowrap;
  letter-spacing:.25px; margin-top:2px;
}

/* Scroll-to-top */
.scroll-top{position:fixed;bottom:26px;right:26px;width:50px;height:50px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:linear-gradient(45deg,var(--accent-red),var(--accent-blue));color:#fff;box-shadow:0 6px 20px rgba(204,0,0,.35);z-index:90;opacity:0;transform:translateY(10px);transition:all .25s}
.scroll-top.visible{opacity:1;transform:translateY(0)}
.scroll-top:hover{transform:translateY(-4px) scale(1.05)}
.scroll-top i{pointer-events:none}

/* ========= Global Animated Background ========= */
#global-bg{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;opacity:.9}

/* ========= News Section ========= */
.news-section{padding:72px 0;position:relative; background: linear-gradient(145deg,#141418,#101116);}
.news-wrap, .news-grid{display:flex;flex-direction:column;gap:16px}
.news-card, .news-main{display:flex;gap:18px;align-items:stretch;background:linear-gradient(145deg,#1a1a1d,#151518);border:1px solid #2a2a2d;border-radius:18px;overflow:hidden}
.news-card.swap, .news-main.swap{transform:scale(.985);opacity:.65;transition:transform .18s ease, opacity .18s ease}
.news-image, .news-main-media{flex:0 0 38%;min-height:220px;position:relative}
.news-image img, .news-main-media img{width:100%;height:100%;object-fit:cover;display:block}
.news-content, .news-main-body{padding:18px 18px 18px 0;display:flex;flex-direction:column;gap:10px;flex:1}
.news-title{font-size:1.35rem;margin:0;color:#fff}
.news-text{color:var(--text-gray-light);line-height:1.55}
.news-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.news-sub{display:flex;gap:14px;align-items:stretch;background:linear-gradient(145deg,#1a1a1d,#151518);border:1px solid #2a2a2d;border-radius:18px;overflow:hidden;cursor:pointer;text-align:left;min-height:150px}
.news-sub:hover{transform:translateY(-3px);border-color:rgba(204,0,0,.35)}
.news-sub-thumb{flex:0 0 42%;min-height:150px}
.news-sub-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.news-sub-body{padding:14px 14px 14px 0;flex:1;display:flex;flex-direction:column;gap:8px}
.news-sub-title{margin:0;color:#fff;font-size:1.05rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news-sub-text, .news-sub-teaser{margin:0;color:var(--text-gray-light);font-size:.95rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-text a{color:#d6d6dc;text-decoration:underline}
/* News swap animation */
#news-main { transition: opacity .18s ease, transform .18s ease; }
#news-main.swap { opacity: 0; transform: translateY(6px); }


/* ========= Row highlight for category scroll ========= */
.row-flash{animation:rowFlash 1.2s ease}
@keyframes rowFlash{0%{box-shadow:0 0 0 rgba(204,0,0,0)}50%{box-shadow:0 0 0 3px rgba(204,0,0,.35)}100%{box-shadow:0 0 0 rgba(204,0,0,0)}}

/* ========= Toast ========= */
#toast-host{position:fixed;right:18px;bottom:18px;display:flex;flex-direction:column;gap:10px;z-index:9999}
.toast{background:rgba(20,20,24,.92);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px 14px;max-width:min(360px, calc(100vw - 40px));color:#efeff1;opacity:0;transform:translateY(8px);transition:opacity .22s ease, transform .22s ease;backdrop-filter:blur(8px)}
.toast.show{opacity:1;transform:translateY(0)}
.toast.err{border-color:rgba(204,0,0,.35)}
.toast.ok{border-color:rgba(150,90,255,.35)}

/* =========================================
   CLIPS HERO
========================================= */

.clips-hero-inner {
  margin: -40px -40px 40px -40px;
  padding: 35px 40px;
  background: linear-gradient(145deg,#18181b,#141418);
  border-bottom: 1px solid #2a2a2d;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Grid */
.clips-hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 30px;
  border-bottom:1px solid #2a2a2d;
}

/* LEFT */
.clips-hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.clips-hero-left img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(204,0,0,.25));
}

.clips-hero-series {
  font-weight: 600;
  letter-spacing: 2px;
  font-size: .9rem;
  color: var(--accent-red-light);
}

/* CENTER */
.clips-hero-center {
  text-align: center;
}

.clips-hero-center h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  background: linear-gradient(45deg,var(--accent-red),var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clips-hero-sub {
  font-size: .95rem;
  color: var(--text-gray-mid);
  margin-bottom: 12px;
}

.clips-hero-text{
  font-size: 1rem;
  color: var(--text-white);
  text-align:center;
  padding-top: 30px;
}

.clips-hero-center p {
  font-size: .95rem;
  color: var(--text-gray-light);
  max-width: 520px;
  margin: 0 auto;
}

/* RIGHT – 2-ZEILIGER BUTTON */
.clips-hero-right {
  display: flex;
  justify-content: center;
}

.clips-hero-yt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(45deg,var(--accent-red),#ff0000);
  color: #fff;
  font-weight: 600;
  transition: all .25s ease;
  box-shadow: 0 6px 20px rgba(204,0,0,.35);
  min-width: 170px;
  text-align: center;
}

.clips-hero-yt i {
  font-size: 3rem;
}

.clips-hero-yt span {
  font-size: .9rem;
}

.clips-hero-yt:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(204,0,0,.5);
}

img, video{
  max-width:100%;
  height:auto;
}
/* ==========================
   RESPONSIVE
========================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 992px) {
  nav ul{
    position:fixed;
    top:70px;
    right:-100%;
    width:240px;
    height:calc(100vh - 70px);
    background:#141418;
    flex-direction:column;
    padding:30px 20px;
    gap:18px;
    transition:right .3s ease;
    border-left:1px solid #2a2a2d;
    z-index:999;
  }
  nav ul.active{ right:0; }
  .nav-toggle{ display:block; }
  nav{ gap:12px; }
  .clips-hero-inner {margin: -40px -20px 30px -20px;padding: 30px 20px;}
  .clips-hero-grid {grid-template-columns: 1fr;text-align: center;gap: 25px;}
  .clips-hero-right {margin-top: 10px;}
  .hero h2{font-size:2.3rem}
  .charts-container{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-center{order:-1}
  .footer-center img{max-height:90px} 
  .feature-slide{ position:relative; grid-template-columns:1fr; padding:20px; }
  .feature-cover{ height:240px; }
  .feature-right{ justify-self: stretch; }   
}

@media (max-width: 900px){
  .news-card, .news-main{flex-direction:column}
  .news-image, .news-main-media{flex:0 0 auto;min-height:200px}
  .news-content, .news-main-body{padding:18px}
  .news-subgrid{grid-template-columns:1fr}
  .news-sub{min-height:140px}
    
/* Make table structure block-based */
  .members-table thead { display: none !important; }
  .members-table,
  .members-table tbody,
  .members-table tr,
  .members-table td {
    display: block !important;
    width: 100% !important;
  }
  #viewers-chart, #games-chart {
    display: none !important;
  }
  /* Each <tr> becomes a “card” */
  #members-table-body tr {
    margin: 12px 0 !important;
    padding: 12px 12px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 14px !important;
    background: rgba(0,0,0,0.20) !important;
    overflow: hidden !important;
  }

  /* Remove table cell borders/padding that cause overlap */
  #members-table-body tr td {
    border: 0 !important;
    padding: 8px 0 !important;
    white-space: normal !important;
  }

  /* ✅ Remove the description column entirely (it’s the 4th cell in your JS renderer) */
  #members-table-body tr td:nth-child(4) {
    display: none !important;
  }

  /* Row 1: Member info compact */
  #members-table-body tr td:nth-child(1) .member-info {
    align-items: flex-start !important;
    gap: 10px !important;
  }
  #members-table-body tr td:nth-child(1) .member-avatar {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 auto !important;
  }
  #members-table-body tr td:nth-child(1) .member-meta {
    min-width: 0 !important;
  }

  /* Ensure the channel button stays visible and doesn’t get pushed out */
  #members-table-body tr td:nth-child(1) .to-channel-btn {
    display: inline-flex !important;
    margin-top: 6px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  /* Remaining cells become labeled key/value rows */
  #members-table-body tr td:nth-child(2),
  #members-table-body tr td:nth-child(3),
  #members-table-body tr td:nth-child(5) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }

  /* Labels via pseudo elements */
  #members-table-body tr td:nth-child(2)::before {
    content: "Status";
    opacity: 0.75;
    font-size: 12px;
  }
  #members-table-body tr td:nth-child(3)::before {
    content: "Follower";
    opacity: 0.75;
    font-size: 12px;
  }
  #members-table-body tr td:nth-child(5)::before {
    content: "Game";
    opacity: 0.75;
    font-size: 12px;
  }

  /* Game cell: keep cover small and aligned */
  #members-table-body tr td:nth-child(5) .game-info-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    min-width: 0 !important;
  }
  #members-table-body tr td:nth-child(5) .game-cover-small {
    width: 40px !important;
    height: 54px !important;
    flex: 0 0 auto !important;
  }

  /* Prevent text causing sideways overflow */
  #members-table-body tr * {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  .game-info-cell{
    margin-top:8px;
  }
}

@media (max-width: 768px){
  .charts-section {display:none;}
  .modal-header{flex-direction:column;align-items:flex-start;gap:16px;}
  .modal-right-art{width:100% !important;}
  .modal-right-art .cover{width:100% !important;height:auto !important;}
  .members-table thead { display: none !important; }

  /* Make table structure block-based */
  .members-table,
  .members-table tbody,
  .members-table tr,
  .members-table td {
    display: block !important;
    width: 100% !important;
  }
  #viewers-chart, #games-chart {
    display: none !important;
  }
  /* Each <tr> becomes a “card” */
  #members-table-body tr {
    margin: 12px 0 !important;
    padding: 12px 12px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 14px !important;
    background: rgba(0,0,0,0.20) !important;
    overflow: hidden !important;
  }

  /* Remove table cell borders/padding that cause overlap */
  #members-table-body tr td {
    border: 0 !important;
    padding: 8px 0 !important;
    white-space: normal !important;
  }

  /* ✅ Remove the description column entirely (it’s the 4th cell in your JS renderer) */
  #members-table-body tr td:nth-child(4) {
    display: none !important;
  }

  /* Row 1: Member info compact */
  #members-table-body tr td:nth-child(1) .member-info {
    align-items: flex-start !important;
    gap: 10px !important;
  }
  #members-table-body tr td:nth-child(1) .member-avatar {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 auto !important;
  }
  #members-table-body tr td:nth-child(1) .member-meta {
    min-width: 0 !important;
  }

  /* Ensure the channel button stays visible and doesn’t get pushed out */
  #members-table-body tr td:nth-child(1) .to-channel-btn {
    display: inline-flex !important;
    margin-top: 6px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  /* Remaining cells become labeled key/value rows */
  #members-table-body tr td:nth-child(2),
  #members-table-body tr td:nth-child(3),
  #members-table-body tr td:nth-child(5) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }

  /* Labels via pseudo elements */
  #members-table-body tr td:nth-child(2)::before {
    content: "Status";
    opacity: 0.75;
    font-size: 12px;
  }
  #members-table-body tr td:nth-child(3)::before {
    content: "Follower";
    opacity: 0.75;
    font-size: 12px;
  }
  #members-table-body tr td:nth-child(5)::before {
    content: "Game";
    opacity: 0.75;
    font-size: 12px;
  }

  /* Game cell: keep cover small and aligned */
  #members-table-body tr td:nth-child(5) .game-info-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    min-width: 0 !important;
  }
  #members-table-body tr td:nth-child(5) .game-cover-small {
    width: 40px !important;
    height: 54px !important;
    flex: 0 0 auto !important;
  }

  /* Prevent text causing sideways overflow */
  #members-table-body tr * {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width:576px){
  .game-card{width:150px}
  .hero-logo{max-height:110px;width:min(440px,76vw)}
  .admin-slide{width:200px;margin:0 10px;}  
}

/*Safari Bug Workarround*/
html, body {
  max-width:100%;
  overflow-x:hidden;
}