/* ==========================================
   SUMBARSO — Complete Redesign v2
   Clean, self-hosted, zero Jimdo deps
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --red:      #e63946;
  --red-dark: #b5262f;
  --bg:       #0d0f14;
  --bg2:      #13161e;
  --bg3:      #1a1e2a;
  --card:     #1e2230;
  --border:   #2a2f42;
  --text:     #e0e4f0;
  --muted:    #7a82a0;
  --accent:   #7b8cde;
  --green:    #2ab77e;
  --nav-h:    68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.7; overflow-x: hidden; }
a { color: var(--red); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: 'Rajdhani', sans-serif; letter-spacing: .04em; line-height: 1.2; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── HEADER ─────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(13,15,20,.95); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.5); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700;
  color: var(--text); letter-spacing: .08em;
}
.nav-logo .dot { color: var(--red); }
nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
nav ul li a {
  display: block; padding: 8px 14px; border-radius: 8px; color: var(--muted);
  font-weight: 500; font-size: .88rem; transition: background .2s, color .2s;
}
nav ul li a:hover, nav ul li a.active { background: var(--bg3); color: var(--text); opacity: 1; }
.discord-btn { background: #5865f2 !important; color: #fff !important; padding: 8px 18px !important; }
.discord-btn:hover { background: #4a56e2 !important; opacity: 1 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ── HERO ───────────────────────────────── */
.hero {
  padding-top: var(--nav-h); min-height: 100vh;
  display: grid; place-items: center;
  position: relative; overflow: hidden; text-align: center;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('../img/image.png');
  background-size: cover; background-position: center;
  filter: brightness(.22) saturate(.5);
  transition: transform 10s ease-out;
}
.hero-bg-img.parallax { transform: scale(1.08) translateY(var(--py,0px)); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(230,57,70,.18) 0%, transparent 65%),
    linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(230,57,70,.12);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: ring-pulse 4s ease-in-out infinite;
}
.hero-ring:nth-child(1) { width: 560px; height: 560px; }
.hero-ring:nth-child(2) { width: 840px; height: 840px; animation-delay: 1.3s; opacity: .55; }
.hero-ring:nth-child(3) { width: 1120px; height: 1120px; animation-delay: 2.6s; opacity: .25; }
@keyframes ring-pulse {
  0%,100% { opacity: .25; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: .65; transform: translate(-50%,-50%) scale(1.015); }
}
.hero-inner { position: relative; z-index: 2; padding: 48px 24px; max-width: 860px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,57,70,.15); border: 1px solid rgba(230,57,70,.35);
  color: var(--red); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px; margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem); font-weight: 700; color: #fff;
  margin-bottom: 8px; line-height: 1.05;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-tagline { font-size: clamp(.95rem, 2.5vw, 1.2rem); color: var(--muted); max-width: 540px; margin: 0 auto 44px; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 12px;
  font-weight: 600; font-size: .95rem; font-family: 'Inter', sans-serif;
  cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-3px); opacity: 1; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 28px rgba(230,57,70,.4); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(230,57,70,.55); }
.btn-ghost { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 64px; }
.stat { text-align: center; }
.stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--red); }
.stat-label { font-size: .75rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: .7rem; letter-spacing: .1em;
  animation: cue-bounce 2.2s ease-in-out infinite;
}
.scroll-cue svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
@keyframes cue-bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ── SCROLL REVEAL ──────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.left  { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.visible { opacity: 1 !important; transform: none !important; }

/* ── SECTION COMMON ─────────────────────── */
section { padding: 90px 24px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 56px; line-height: 1.8; }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.bg-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── ABOUT ──────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about-img-wrap {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); border: 1px solid var(--border);
  position: relative;
}
.about-img-wrap img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; }
.about-img-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(13,15,20,.88); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; font-size: .82rem;
}
.about-img-badge strong { color: var(--red); font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; display: block; }
.about-text p { color: var(--muted); margin-bottom: 18px; line-height: 1.85; }
.about-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.about-checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.about-checklist li::before { content: '✓'; color: var(--green); font-weight: 700; margin-top: 2px; flex-shrink: 0; }

/* ── FEATURES ───────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.feature-card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.feature-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.feature-card:hover .feature-card-img { transform: scale(1.04); }
.feature-card-body { padding: 22px 24px 26px; }
.feature-icon { font-size: 1.4rem; margin-bottom: 10px; }
.feature-card-body h3 { font-size: 1.12rem; color: #fff; margin-bottom: 8px; }
.feature-card-body p { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* ── SLIDESHOW ──────────────────────────── */
.gallery-section { padding: 80px 0; overflow: hidden; }
.gallery-section .section-inner { padding: 0 24px; }
.slideshow-track-wrap {
  position: relative; margin-top: 40px; overflow: hidden;
}
.slideshow-track-wrap::before, .slideshow-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.slideshow-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg) 0%, transparent 100%); }
.slideshow-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg) 0%, transparent 100%); }
.slideshow-track { display: flex; gap: 14px; animation: slide 35s linear infinite; width: max-content; }
.slideshow-track:hover { animation-play-state: paused; }
.slideshow-track img {
  height: 190px; width: auto; border-radius: 12px;
  border: 1px solid var(--border); flex-shrink: 0; cursor: pointer;
  transition: transform .3s, border-color .3s;
}
.slideshow-track img:hover { transform: scale(1.05); border-color: var(--red); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── LIGHTBOX ───────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.92); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 92vw; max-height: 87vh; border-radius: 12px; border: 1px solid var(--border); }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: var(--muted); font-size: 2.4rem; cursor: pointer; line-height: 1; transition: color .2s;
}
.lightbox-close:hover { color: #fff; }

/* ── YOUTUBE ────────────────────────────── */
.trailer-section { text-align: center; }
.yt-wrap {
  position: relative; width: 100%; max-width: 900px; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.yt-wrap iframe { display: block; width: 100%; aspect-ratio: 16/9; border: none; }

/* ── NEWS ───────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; }
.news-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  transition: border-color .25s, transform .25s;
}
.news-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.news-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 12px;
}
.news-card h3 { font-size: 1.12rem; color: #fff; margin-bottom: 8px; }
.news-card p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.card-link { display: inline-block; margin-top: 14px; color: var(--red) !important; font-weight: 600; font-size: .88rem; }

/* ── DISCORD BANNER ─────────────────────── */
.discord-banner {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  border-radius: 20px; padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 28px; margin-top: 60px;
}
.discord-banner h3 { font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.discord-banner p { color: rgba(255,255,255,.75); }
.btn-discord {
  background: #fff; color: #5865f2 !important;
  padding: 14px 30px; border-radius: 12px; font-weight: 700; white-space: nowrap;
  display: inline-block; transition: transform .2s, box-shadow .2s;
}
.btn-discord:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,.3); opacity: 1 !important; }

/* ── PAGE HERO ──────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 70px) 24px 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(230,57,70,.12) 0%, transparent 70%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.page-hero p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── DOWNLOADS ──────────────────────────── */
.download-box { background: var(--card); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.download-box-top {
  background: linear-gradient(135deg, #160c11, var(--card));
  border-bottom: 1px solid var(--border);
  padding: 48px; display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start;
}
.dl-cover { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.dl-cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; }
.dl-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: #fff; margin-bottom: 10px; }
.dl-sub { color: var(--red); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.dl-desc { color: var(--muted); margin-bottom: 28px; line-height: 1.85; }
.dl-body { padding: 36px 48px; }
.dl-body h4 { color: var(--red); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table td { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.detail-table td:first-child { color: var(--muted); width: 160px; }
.detail-table td:last-child { color: var(--text); font-weight: 500; }
.detail-table tr:last-child td { border-bottom: none; }
.install-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 36px; margin-top: 32px; }
.install-box h3 { color: #fff; font-size: 1.25rem; margin-bottom: 24px; }
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: .88rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.step p { color: var(--muted); font-size: .93rem; line-height: 1.7; }
.step p strong { color: var(--text); }
code { background: var(--bg3); padding: 2px 7px; border-radius: 5px; font-size: .85rem; font-family: monospace; color: var(--text); }
.dl-screenshots { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 32px; }
.dl-screenshots img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; transition: border-color .2s, transform .2s; }
.dl-screenshots img:hover { border-color: var(--red); transform: scale(1.03); }

/* ── UPDATES ────────────────────────────── */
.version-block { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; margin-bottom: 28px; }
.version-block.latest { border-color: rgba(230,57,70,.45); }
.version-header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.version-tag { font-family: 'Rajdhani', sans-serif; font-size: 1.7rem; font-weight: 700; color: #fff; }
.version-pill { background: rgba(230,57,70,.15); border: 1px solid rgba(230,57,70,.35); color: var(--red); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 30px; }
.version-pill.new { background: var(--red); color: #fff; border-color: var(--red); }
.version-date { color: var(--muted); font-size: .85rem; margin-left: auto; }
.changes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; margin-top: 28px; }
.change-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; }
.change-item h4 { color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.change-item p { color: var(--muted); font-size: .85rem; }
.bugfix-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.bugfix-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .9rem; }
.bugfix-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.update-screenshots { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 28px; }
.update-screenshots img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; transition: border-color .2s; }
.update-screenshots img:hover { border-color: var(--red); }

/* ── TEAM ───────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr)); gap: 28px; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 40px; display: flex; flex-direction: column; gap: 22px; transition: border-color .25s, transform .25s; }
.team-card:hover { border-color: var(--red); transform: translateY(-4px); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); display: flex; align-items: center; justify-content: center; font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; }
.team-name { font-size: 1.6rem; font-weight: 700; color: #fff; }
.team-role { color: var(--red); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.team-tasks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.team-tasks li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.team-tasks li::before { content: '▸'; color: var(--red); font-size: .7rem; flex-shrink: 0; }
.team-contact { display: flex; flex-direction: column; gap: 10px; }
.team-contact a { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .9rem; transition: color .2s; }
.team-contact a:hover { color: var(--text); opacity: 1; }

/* ── FOOTER ─────────────────────────────── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 24px 36px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.footer-logo { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--text); }
.footer-logo span { color: var(--red); }
.footer-tagline { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.footer-nav { display: flex; gap: 12px 26px; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.footer-nav a:hover { color: var(--text); opacity: 1; }
.footer-bottom { grid-column: 1/-1; border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: var(--muted); font-size: .8rem; }

/* ── DOWNLOAD EXTRAS ────────────────────── */
.dl-version {
  display: inline-block; background: rgba(230,57,70,.12);
  border: 1px solid rgba(230,57,70,.3); color: var(--red);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.dl-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.detail-table th { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .9rem; text-align: left; color: var(--muted); width: 160px; font-weight: 400; }
.detail-table td { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text); font-weight: 500; }
.detail-table tr:last-child th, .detail-table tr:last-child td { border-bottom: none; }
.install-steps { display: flex; flex-direction: column; gap: 18px; }
.install-step { display: flex; gap: 18px; align-items: flex-start; }
.install-step h4 { color: var(--text); font-size: 1rem; margin-bottom: 5px; }
.install-step p { color: var(--muted); font-size: .92rem; line-height: 1.7; }
.install-hint {
  margin-top: 28px; background: rgba(123,140,222,.1); border: 1px solid rgba(123,140,222,.3);
  border-radius: 10px; padding: 16px 20px; color: var(--muted); font-size: .88rem; line-height: 1.7;
}
.install-hint strong { color: var(--accent); }
.install-box h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }

/* ── VERSION BLOCK EXTRAS ───────────────── */
.version-badge {
  display: inline-block; background: rgba(230,57,70,.12);
  border: 1px solid rgba(230,57,70,.3); color: var(--red);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 12px; border-radius: 20px;
}
.version-badge.new { background: var(--red); color: #fff; border-color: var(--red); }
.version-num { font-family: 'Rajdhani', sans-serif; font-size: 1.7rem; font-weight: 700; color: #fff; margin-top: 4px; }
.version-intro { color: var(--muted); line-height: 1.8; margin-bottom: 4px; }
.change-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.change-item { display: flex; gap: 16px; align-items: flex-start; }
.change-item strong { color: var(--text); display: block; margin-bottom: 5px; font-size: .95rem; }
.change-item p { color: var(--muted); font-size: .85rem; line-height: 1.6; margin: 0; }
.version-timeline { margin-top: 48px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: grid; grid-template-columns: 80px 1fr 80px;
  align-items: center; gap: 22px; padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: none; }
.tl-ver { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--red); }
.tl-desc { color: var(--muted); font-size: .9rem; }
.tl-date { color: var(--muted); font-size: .82rem; text-align: right; }
.bugfix-list ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bugfix-list ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .9rem; }
.bugfix-list ul li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── TEAM PAGE EXTRAS ───────────────────── */
.mission-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 40px; display: flex; gap: 32px; align-items: flex-start; margin-bottom: 0;
}
.mission-icon { font-size: 2.8rem; flex-shrink: 0; }
.mission-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.task-tag {
  display: inline-block; background: var(--bg3); border: 1px solid var(--border);
  color: var(--muted); font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
}
.team-tasks { display: flex; flex-wrap: wrap; gap: 7px; }
.team-bio { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.team-links { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.team-link {
  display: flex; align-items: center; gap: 9px;
  color: var(--muted); font-size: .9rem; transition: color .2s;
}
.team-link:hover { color: var(--text); opacity: 1; }
.team-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.yt-link { color: #ff4444; }
.yt-link:hover { color: #ff1a1a !important; }
.journey-timeline { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }
.journey-item {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.journey-item:last-child { border-bottom: none; }
.journey-year { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--red); padding-top: 2px; }
.journey-text strong { color: var(--text); display: block; margin-bottom: 6px; font-size: 1rem; }
.journey-text p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.page-hero-inner { position: relative; z-index: 1; }

/* ── IMPRESSUM ──────────────────────────── */
.legal-block { margin-bottom: 44px; }
.legal-block h2 { font-size: 1.3rem; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.legal-block p { color: var(--muted); font-size: .95rem; line-height: 1.85; }
.legal-block address { font-style: normal; color: var(--muted); line-height: 1.9; }
.legal-block address a { color: var(--red); }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .download-box-top, .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .dl-screenshots, .update-screenshots { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left:0; right:0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; z-index: 800; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .discord-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .changes-grid { grid-template-columns: 1fr; }
  section { padding: 64px 20px; }
  .version-block { padding: 26px 22px; }
  .team-card, .dl-body, .install-box { padding: 24px; }
  .download-box-top { padding: 28px; }
  .heliopa-core-grid { grid-template-columns: 1fr; }
  .quest-grid { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: 1fr; }
  .wellenmeer-inner { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2,1fr); }
  .teaser-title { font-size: 2.4rem; }
}

/* ── TEASER HERO ────────────────────────── */
.teaser-hero {
  min-height: 85vh;
  padding-top: var(--nav-h);
  display: grid; place-items: center;
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg);
}
.teaser-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 60% at 50% 35%, rgba(230,180,30,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 55%, rgba(230,57,70,.10) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(230,57,70,.06) 0%, transparent 80%);
  animation: glow-breathe 5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%,100% { opacity: .8; }
  50%      { opacity: 1; }
}
.teaser-hero-inner { position: relative; z-index: 2; padding: 60px 24px 80px; max-width: 820px; }
.teaser-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(230,180,30,.12); border: 1px solid rgba(230,180,30,.35);
  color: #f5c842; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 20px; border-radius: 30px; margin-bottom: 32px;
}
.teaser-pill::before {
  content: ''; width: 6px; height: 6px; background: #f5c842; border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
.teaser-title {
  font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 700; color: #fff;
  line-height: 1.05; margin-bottom: 6px;
}
.teaser-title-sub { color: var(--muted); font-size: clamp(1.4rem, 4vw, 2.8rem); }
.gold { color: #f5c842; }
.teaser-subtitle { color: var(--muted); font-size: 1.08rem; max-width: 580px; margin: 24px auto 0; line-height: 1.8; }
.teaser-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 52px; color: var(--muted); font-size: .68rem; letter-spacing: .18em;
  animation: cue-bounce 2.2s ease-in-out infinite;
}
.teaser-scroll-hint svg { width: 16px; height: 16px; }

/* ── REGION INTRO ───────────────────────── */
.region-intro { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.region-badge {
  display: inline-block; background: rgba(230,180,30,.12); border: 1px solid rgba(230,180,30,.4);
  color: #f5c842; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 16px;
}
.region-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 14px;
}
.region-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.85; }

/* ── HELIOPA CORE CARDS ─────────────────── */
.heliopa-core-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hcore-card {
  background: linear-gradient(135deg, var(--card), var(--bg2));
  border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px;
  text-align: center; transition: border-color .3s, transform .3s;
}
.hcore-card:hover { border-color: #f5c842; transform: translateY(-4px); }
.hcore-icon { font-size: 2.4rem; margin-bottom: 16px; }
.hcore-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.hcore-card p { color: var(--muted); font-size: .9rem; line-height: 1.75; }

/* ── LOCATIONS GRID ─────────────────────── */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 10px; margin-top: 12px; }
.loc-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-size: .88rem; color: var(--muted); transition: border-color .2s, color .2s;
}
.loc-card:hover { border-color: rgba(230,180,30,.4); color: var(--text); }
.loc-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ── QUEST GRID ─────────────────────────── */
.quest-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quest-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 12px;
}
.quest-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.15); }
.quest-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.quest-icon { font-size: 2rem; margin-top: 4px; }
.quest-card h3 { color: #fff; font-size: 1.08rem; }
.quest-card p { color: var(--muted); font-size: .86rem; line-height: 1.7; flex: 1; }
.quest-card p strong { color: var(--text); }
.quest-tag {
  display: inline-block; background: rgba(255,255,255,.07); border: 1px solid var(--border);
  color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 12px; border-radius: 20px;
  align-self: flex-start;
}
.quest-mystery .mystery-text { font-style: italic; color: var(--muted); letter-spacing: .05em; }
.quest-mystery:hover { border-color: var(--red) !important; }

/* ── SYSTEMS GRID ───────────────────────── */
.systems-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sys-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.sys-card:hover { border-color: #f5c842; transform: translateY(-3px); }
.sys-icon { font-size: 1.8rem; }
.sys-card h4 { color: #fff; font-size: 1.05rem; }
.sys-card p { color: var(--muted); font-size: .87rem; line-height: 1.7; }
.sys-list { color: var(--muted); font-size: .82rem; font-style: italic; }

/* ── WELLENMEER ─────────────────────────── */
.wellenmeer-section { padding: 90px 24px; }
.wellenmeer-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center;
}
.storm-badge {
  display: inline-block; background: rgba(90,140,220,.12); border: 1px solid rgba(90,140,220,.4);
  color: #7ab3f5; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 16px;
}
.wellenmeer-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; color: #fff; margin-bottom: 16px;
}
.wellenmeer-desc { color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 32px; }
.wellenmeer-features { display: flex; flex-direction: column; gap: 22px; }
.wm-feat { display: flex; gap: 18px; align-items: flex-start; }
.wm-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.wm-feat strong { color: var(--text); display: block; margin-bottom: 5px; font-size: .95rem; }
.wm-feat p { color: var(--muted); font-size: .88rem; line-height: 1.7; margin: 0; }
.wellenmeer-visual { }
.storm-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.storm-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.storm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 18px 22px;
}
.storm-text {
  color: #fff; font-size: .9rem; font-weight: 600; font-style: italic;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

/* ── INDEX TEASER STRIP ─────────────────── */
.teaser-strip {
  background: linear-gradient(135deg, #0d0f14 0%, #13161e 50%, #0d0f14 100%);
  border: 1px solid rgba(230,180,30,.2);
  border-radius: 22px; padding: 48px 40px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden; margin-top: 60px;
}
.teaser-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(230,180,30,.08), transparent 60%);
}
.teaser-strip-icon { font-size: 3.5rem; flex-shrink: 0; }
.teaser-strip-body { flex: 1; min-width: 200px; }
.teaser-strip-title { font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
.teaser-strip-title span { color: #f5c842; }
.teaser-strip-desc { color: var(--muted); font-size: .92rem; line-height: 1.7; }

@media (max-width: 900px) {
  .heliopa-core-grid, .quest-grid, .systems-grid { grid-template-columns: 1fr 1fr; }
  .wellenmeer-inner { grid-template-columns: 1fr; }
}

/* ── SIMPLE SITE-FOOTER (used by shop/login/profile/admin) ── */
.site-footer {
  background: #080b10;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(255,255,255,.3);
  font-size: .82rem;
}
.site-footer a { color: rgba(255,255,255,.4); }
.site-footer a:hover { color: #fff; }

/* ── SITE-HEADER (for standalone pages without old nav) ── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(8,11,16,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.5rem;
}
.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: #fff; letter-spacing: .08em;
  text-decoration: none;
}
.nav-logo:hover { opacity: .85; }
.nav-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .2rem; align-items: center;
}
.nav-menu li a {
  color: rgba(255,255,255,.6);
  font-family: 'Rajdhani', sans-serif;
  font-size: .92rem; font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-menu li a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-toggle {
  display: none;
  background: none; border: none;
  color: #fff; font-size: 1.4rem; cursor: pointer;
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 60px; left: 0; right: 0;
    background: #0a0d12;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .75rem 1.5rem 1rem;
    gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu li a { display: block; padding: .55rem .5rem; }
}

/* ── TOAST NOTIFICATIONS ── */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  background: #1a1d24; border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #fff; font-size: .92rem; font-family: 'Inter', sans-serif;
  padding: .75rem 1.2rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.toast-in { opacity: 1; transform: translateY(0); }
.toast-success { border-color: rgba(92,239,92,.35); }
.toast-error   { border-color: rgba(255,112,112,.35); color: #ff9090; }

/* ── CSS VARIABLES (ensure available for standalone pages) ── */
:root {
  --accent: #ce1b1b;
  --green:  #5cef5c;
  --red:    #ff7070;
  --muted:  rgba(255,255,255,.45);
}

/* ── V3 PHOTO GRID (Neue Orte) ──────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.photo-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #12151b;
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .25s, box-shadow .25s;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: 0 16px 42px rgba(0,0,0,.55); }
.photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem; font-weight: 700;
  letter-spacing: .04em;
  padding: 1.2rem .85rem .65rem;
}

/* ── QUEST CARDS with images ─────────────── */
.quest-img-wrap {
  margin: -1.1rem -1.1rem 1rem;
  height: 130px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  position: relative;
}
.quest-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.8);
}
.quest-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.6));
}

/* ── SYS-CARD with images ─────────────────── */
.sys-card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: .75rem;
  display: block;
}

/* ── WELLENMEER SLIDESHOW ─────────────────── */
.wm-slideshow {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.55);
  background: #0a0d12;
  border: 1px solid rgba(255,255,255,.1);
  aspect-ratio: 16/9;
}
.wm-slides-track {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.wm-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.wm-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wm-slide-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  padding: 1.5rem .9rem .7rem;
}
.wm-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.4rem; width: 38px; height: 38px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 10;
}
.wm-btn:hover { background: rgba(0,0,0,.75); }
.wm-prev { left: 10px; }
.wm-next { right: 10px; }
.wm-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 10;
}
.wm-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .2s, transform .2s;
}
.wm-dot.active { background: #fff; transform: scale(1.3); }

@media (max-width: 600px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
}
