/* ============================================================
   WannaB33F — Public One-Page Stylesheet
   Farben kommen als CSS-Variablen aus dem Admin-Panel (index.php)
   ============================================================ */

:root{
  --primary: #8fae5c;
  --accent: #c9d9a8;
  --bg: #0a0c08;
  --surface: #12150e;
  --text: #f1f3ea;
  --muted: #9aa38c;
  --border: rgba(255,255,255,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow Condensed','Inter',system-ui,sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Nav ─────────────────────────────────────────────── */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: linear-gradient(to bottom, rgba(5,6,3,.9), transparent);
  transition: background .3s;
}
.nav-inner{
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand{ display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nav-brand img{ width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.nav-links{ display: flex; gap: 26px; font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.nav-links a{ opacity: .85; transition: opacity .2s, color .2s; }
.nav-links a:hover{ opacity: 1; color: var(--primary); }
@media (max-width: 620px){ .nav-links{ gap: 14px; font-size: .8rem; } }

/* ── Hero ────────────────────────────────────────────── */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-video{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.9) brightness(.55);
}
.hero-video--img{ background-size: cover; background-position: center; }
.hero-overlay{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15), rgba(0,0,0,.75) 75%),
    linear-gradient(to bottom, rgba(0,0,0,.35), var(--bg) 96%);
}
.hero-content{
  position: relative; z-index: 2; text-align: center; padding: 0 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero-logo{
  width: 150px; height: 150px; object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.6));
  animation: float 5s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
.hero-content h1{
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  color: var(--text);
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero-tagline{
  color: var(--primary);
  text-transform: uppercase; letter-spacing: .25em; font-weight: 700; font-size: .95rem;
}
.hero-socials{ display: flex; gap: 14px; margin-top: 6px; }
.hero-socials a{
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  transition: transform .2s, background .2s, border-color .2s;
}
.hero-socials a svg{ width: 20px; height: 20px; fill: var(--text); }
.hero-socials a:hover{ transform: translateY(-3px); background: var(--primary); border-color: var(--primary); }
.hero-socials a:hover svg{ fill: #0a0c08; }
.hero-scroll{
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 1.4rem; animation: bob 2s ease-in-out infinite;
}
@keyframes bob{ 0%,100%{ transform: translate(-50%,0) } 50%{ transform: translate(-50%,8px) } }

/* ── Sections ────────────────────────────────────────── */
.sec{ padding: 90px 24px; }
.sec--alt{ background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-inner{ max-width: 860px; margin: 0 auto; }
.sec-inner--center{ text-align: center; }
.sec-tag{
  display: inline-block; color: var(--primary); font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px;
}
.sec h2{
  font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; font-weight: 900;
  letter-spacing: .01em; margin-bottom: 22px;
}
.muted{ color: var(--muted); }
.about-text{ font-size: 1.1rem; color: var(--text); max-width: 680px; }
.games-row{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.game-chip{
  padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.06);
  border: 1px solid var(--border); font-weight: 600; font-size: .9rem;
}

/* ── Updates ─────────────────────────────────────────── */
.updates-list{ display: flex; flex-direction: column; gap: 16px; }
.update-card{
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-left: 3px solid var(--primary); border-radius: 10px; padding: 20px 22px;
}
.update-card--pinned{ border-left-color: var(--accent); background: rgba(255,255,255,.05); }
.update-meta{ display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.update-card h3{ font-size: 1.25rem; margin-bottom: 6px; }
.update-card p{ color: var(--muted); }

/* ── Gallery ─────────────────────────────────────────── */
.gallery-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gallery-item{ position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; }
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  font-size: .8rem;
}

/* ── Connect ─────────────────────────────────────────── */
.connect-grid{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.connect-btn{
  display: flex; align-items: center; gap: 10px; padding: 12px 22px;
  border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.connect-btn svg{ width: 20px; height: 20px; fill: var(--primary); }
.connect-btn:hover{ background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.connect-btn:hover svg{ fill: #0a0c08; }

/* ── Footer ──────────────────────────────────────────── */
.footer{ text-align: center; padding: 30px; color: var(--muted); font-size: .85rem; }
