/* Hiroto Ryusei — Gaming Hub */

/* Anime-Bereich global ausgeblendet (auch ohne body-Klasse) */
a[href="anime.html"],
a[href="#anime"],
#anime,
.nav-anime,
.anime-teaser {
  display: none !important;
}
body.no-anime a[href="anime.html"],
body.no-anime a[href="#anime"],
body.no-anime #anime {
  display: none !important;
}

.stream-zeiten-link {
  margin: 0 0 1.25rem;
  text-align: center;
}

/* Twitch embed fallback (file:// / blocked) */
.twitch-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(145, 70, 255, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.35);
}
.twitch-fallback p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}
.twitch-fallback-hint {
  max-width: 28rem;
  color: var(--muted) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1.45;
}
.twitch-fallback em {
  color: var(--neon);
  font-style: normal;
  font-weight: 700;
}
.twitch-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

:root {
  --bg: #07090f;
  --bg-2: #0c101a;
  --panel: rgba(16, 22, 36, 0.85);
  --panel-solid: #121a2b;
  --line: rgba(120, 180, 255, 0.14);
  --text: #e8eefc;
  --muted: #93a0bc;
  --neon: #3dffc0;
  --neon-2: #5b8cff;
  --pink: #ff4fd8;
  --orange: #ffb020;
  --danger: #ff5c7a;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Background FX */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  z-index: -2;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 10%, rgba(61, 255, 192, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 15%, rgba(91, 140, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(255, 79, 216, 0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #04120e;
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  box-shadow: 0 0 24px rgba(61, 255, 192, 0.35);
}

.logo-mark.sm {
  width: 36px;
  height: 36px;
  font-size: 0.75rem;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.logo-text em {
  font-style: normal;
  color: var(--neon);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
}

.btn-neon {
  color: #04120e;
  background: linear-gradient(135deg, var(--neon), #7dffe0 40%, var(--neon-2));
  box-shadow: 0 0 0 1px rgba(61, 255, 192, 0.25), 0 10px 30px rgba(61, 255, 192, 0.2);
}

.btn-neon:hover {
  box-shadow: 0 0 0 1px rgba(61, 255, 192, 0.4), 0 14px 36px rgba(91, 140, 255, 0.28);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(61, 255, 192, 0.4);
  background: rgba(61, 255, 192, 0.06);
}

.btn.full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(120deg, var(--neon), #9ad7ff 40%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead,
.lead-sm {
  color: var(--muted);
  max-width: 36rem;
}

.lead {
  font-size: 1.25rem;
  margin: 0 0 1.5rem;
}

.lead-sm {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.hero-stats li {
  min-width: 110px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* HUD panel */
.hud-card {
  position: relative;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(160deg, rgba(61, 255, 192, 0.08), transparent 40%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hud-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.hud-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.dot.live {
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hud-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  letter-spacing: 0.08em;
}

.hud-bars {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--neon-2), var(--neon));
  box-shadow: 0 0 16px rgba(61, 255, 192, 0.35);
}

.bar label {
  position: absolute;
  top: -1.35rem;
  left: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hud-tags span,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.55), rgba(7, 9, 15, 0));
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head p:last-child {
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 255, 192, 0.35);
}

.card.featured {
  background:
    linear-gradient(180deg, rgba(91, 140, 255, 0.12), transparent 50%),
    var(--panel);
  border-color: rgba(91, 140, 255, 0.35);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04120e;
  background: linear-gradient(135deg, var(--neon), var(--orange));
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.card-icon.anime { color: var(--pink); box-shadow: inset 0 0 20px rgba(255, 79, 216, 0.12); }
.card-icon.map { color: var(--neon-2); box-shadow: inset 0 0 20px rgba(91, 140, 255, 0.15); }
.card-icon.stream { color: var(--neon); box-shadow: inset 0 0 20px rgba(61, 255, 192, 0.12); }

.card p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--neon);
}

.card-link:hover {
  text-decoration: underline;
}

/* Mapping split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text);
  font-weight: 600;
}

.checklist li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--neon);
}

.panel-box {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-box h3 {
  margin-bottom: 1rem;
}

.pack-list {
  display: grid;
  gap: 0.75rem;
}

.pack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.pack strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.pack span {
  color: var(--muted);
  font-size: 0.95rem;
}

.pack em {
  font-style: normal;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.price-card.popular {
  border-color: rgba(61, 255, 192, 0.45);
  background:
    linear-gradient(180deg, rgba(61, 255, 192, 0.1), transparent 45%),
    var(--panel);
  transform: scale(1.03);
}

.price {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
}

.price span {
  font-size: 1.2rem;
  color: var(--neon);
  margin-right: 0.15rem;
}

.price-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.price-card li::before {
  content: "✓ ";
  color: var(--neon);
  font-weight: 700;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.about-badges {
  display: grid;
  gap: 0.75rem;
}

.mini-badge {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.mini-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.mini-badge span {
  color: var(--muted);
}

.fineprint {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA */
.cta {
  padding-top: 1rem;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(61, 255, 192, 0.25);
  background:
    linear-gradient(120deg, rgba(61, 255, 192, 0.08), rgba(91, 140, 255, 0.1)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.cta-box p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 1rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--neon);
}

.copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .about-grid,
  .cards,
  .pricing {
    grid-template-columns: 1fr;
  }

  .price-card.popular {
    transform: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(7, 9, 15, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

/* Nav panels row */
.panels-section {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.nav-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 120px;
}

.nav-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 255, 192, 0.45);
  box-shadow: 0 16px 40px rgba(61, 255, 192, 0.12);
}

.nav-panel-icon {
  font-size: 1.25rem;
  color: var(--neon);
  margin-bottom: 0.25rem;
}

.nav-panel-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-panel-desc {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.legal-section {
  scroll-margin-top: 90px;
}

.legal-box {
  max-width: 800px;
}

.legal-note {
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.legal-sub {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--neon);
  font-size: 1rem;
}

.legal-content {
  color: var(--muted);
  display: grid;
  gap: 0.75rem;
}

.legal-content p {
  margin: 0;
  line-height: 1.6;
}

.legal-content strong {
  color: var(--text);
}

section[id] {
  scroll-margin-top: 88px;
}

.nav a {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .nav {
    gap: 0.65rem;
  }
  .nav a {
    font-size: 0.82rem;
  }
}

@media (max-width: 960px) {
  .nav-panels {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-panels {
    grid-template-columns: 1fr;
  }
}

/* Twitch embeds */
.twitch-frame-wrap {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.twitch-frame-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.twitch-frame-top .twitch-ext {
  margin-left: auto;
  color: var(--neon);
  letter-spacing: 0.06em;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
}

.twitch-frame-top .twitch-ext:hover {
  text-decoration: underline;
}

.twitch-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e0e10;
}

.twitch-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-twitch .twitch-embed {
  aspect-ratio: 16 / 10;
}

.twitch-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.twitch-embed-lg {
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.twitch-chat {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
}

.twitch-chat-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.twitch-chat-wrap .twitch-chat {
  flex: 1;
  position: relative;
  aspect-ratio: auto;
}

.twitch-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.inline-link {
  color: var(--neon);
  font-weight: 700;
}

.inline-link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .twitch-layout {
    grid-template-columns: 1fr;
  }
  .twitch-chat {
    min-height: 320px;
  }
  .twitch-meta {
    grid-template-columns: 1fr;
  }
}

/* Platform tabs (Twitch / YouTube) */
.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
}

.platform-tab {
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.platform-tab:hover {
  color: var(--text);
  border-color: rgba(61, 255, 192, 0.35);
}

.platform-tab.active {
  color: #04120e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--neon), #7dffe0 45%, var(--neon-2));
  box-shadow: 0 8px 24px rgba(61, 255, 192, 0.2);
}

.platform-panel {
  margin-bottom: 0.5rem;
}

.platform-panel[hidden] {
  display: none !important;
}

.platform-panel .twitch-meta {
  margin-top: 1rem;
  align-items: center;
}

.platform-panel .twitch-meta .btn {
  justify-self: start;
}

.twitch-frame-top {
  flex-wrap: wrap;
}

/* Donate / PayPal */
.donate-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.donate-card {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(61, 255, 192, 0.28);
  background:
    linear-gradient(160deg, rgba(61, 255, 192, 0.08), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
}

.donate-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.donate-card h3 {
  margin-bottom: 0.4rem;
}

.donate-copy {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.donate-amount {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.donate-amount:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 255, 192, 0.5);
  background: rgba(61, 255, 192, 0.08);
  color: var(--neon);
}

.donate-amount.popular {
  border-color: rgba(61, 255, 192, 0.45);
  background: rgba(61, 255, 192, 0.1);
  box-shadow: 0 0 20px rgba(61, 255, 192, 0.12);
}

.donate-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.donate-side {
  display: grid;
  gap: 0.75rem;
}

@media (max-width: 800px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }
  .donate-amounts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Anime page ===== */
.anime-glow {
  background:
    radial-gradient(ellipse 50% 40% at 20% 15%, rgba(255, 79, 216, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 20%, rgba(91, 140, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(61, 255, 192, 0.08), transparent 60%);
}

.anime-gradient {
  background: linear-gradient(120deg, #ff4fd8, #9ad7ff 45%, #3dffc0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-current {
  color: var(--text) !important;
  box-shadow: inset 0 -2px 0 var(--neon);
}

.anime-showcase {
  perspective: 900px;
}

.anime-card-stack {
  position: relative;
  min-height: 320px;
}

.stack-card {
  position: absolute;
  inset: 12% 8% auto 8%;
  height: 240px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stack-card.c1 {
  transform: rotate(-8deg) translate(-8%, 8%);
  background: linear-gradient(145deg, #2a1040, #ff4fd8 120%);
  opacity: 0.55;
}

.stack-card.c2 {
  transform: rotate(6deg) translate(10%, 4%);
  background: linear-gradient(145deg, #0d1b3a, #5b8cff 120%);
  opacity: 0.7;
}

.stack-card.c3 {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 1.4rem;
  min-height: 280px;
  background:
    linear-gradient(180deg, transparent 20%, rgba(7, 9, 15, 0.85)),
    linear-gradient(135deg, #1a0b2e 0%, #3d1b6e 40%, #ff4fd8 140%);
  transform: rotate(-1deg);
}

.stack-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--neon);
}

.stack-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.stack-tag {
  align-self: flex-start;
  margin-top: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 79, 216, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffc6f2;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-chip {
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.15s ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: rgba(255, 79, 216, 0.4);
}

.filter-chip.active {
  color: #1a0618;
  border-color: transparent;
  background: linear-gradient(135deg, #ff4fd8, #9ad7ff 55%, #3dffc0);
  box-shadow: 0 8px 24px rgba(255, 79, 216, 0.22);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 216, 0.4);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-art {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
}

.gallery-art.a1 { background-image: linear-gradient(160deg, #2b0f3d, #ff4fd8 90%, #5b8cff); }
.gallery-art.a2 { background-image: linear-gradient(200deg, #071428, #5b8cff 70%, #3dffc0); }
.gallery-art.a3 { background-image: linear-gradient(140deg, #0a0a18, #6b2d8b 50%, #ff7ad9); }
.gallery-art.a4 { background-image: linear-gradient(180deg, #1a1030, #ff9ad5 40%, #7dffe0); }
.gallery-art.a5 { background-image: radial-gradient(circle at 40% 35%, #ff4fd8, #1a0b2e 70%); }
.gallery-art.a6 { background-image: linear-gradient(120deg, #12081f, #ff4fd8 45%, #5b8cff 100%); }
.gallery-art.a7 { background-image: linear-gradient(210deg, #050510, #3d5cff 55%, #c084fc); }
.gallery-art.a8 { background-image: linear-gradient(150deg, #2a0610, #ff2d55 50%, #ffb020); }

.gallery-info {
  padding: 0.9rem 1rem 1.1rem;
}

.gallery-info h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.gallery-info .tag {
  margin-right: 0.3rem;
  margin-bottom: 0.25rem;
}

.anime-teaser .eyebrow {
  margin-bottom: 0.4rem;
}

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero without side player */
.hero-solo {
  max-width: 800px;
}
.hero-solo .hero-copy {
  max-width: 40rem;
}
.hero-solo .lead {
  max-width: 36rem;
}

/* Pixel critters layer */
#pixel-critter-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.pixel-critter {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 41;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35));
  opacity: 0.95;
  pointer-events: auto !important;
  cursor: grab !important;
  cursor: -webkit-grab !important;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.pixel-critter:hover {
  cursor: grab !important;
  cursor: -webkit-grab !important;
  filter: drop-shadow(0 0 8px rgba(61, 255, 192, 0.55));
}

@media (prefers-reduced-motion: reduce) {
  #pixel-critter-layer {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .pixel-critter {
    opacity: 0.9;
  }
}

/* ===== GTA RP page ===== */
.gta-glow {
  background:
    radial-gradient(ellipse 50% 40% at 15% 12%, rgba(61, 255, 192, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 18%, rgba(255, 176, 32, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(91, 140, 255, 0.1), transparent 60%);
}

.gta-gradient {
  background: linear-gradient(120deg, #3dffc0, #ffb020 50%, #5b8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gta-hud {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(61, 255, 192, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 176, 32, 0.08), transparent 40%),
    linear-gradient(200deg, rgba(61, 255, 192, 0.06), transparent 50%),
    var(--panel);
  box-shadow: var(--shadow);
}

.gta-hud-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.gta-hud-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.gta-hud-title em {
  font-style: normal;
  color: var(--neon);
}

.gta-hud-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.gta-hud-row span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.gta-hud-row strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--neon);
}

.gta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.gta-tags span {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.gta-card .gta-code {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(61, 255, 192, 0.25);
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--neon);
  word-break: break-all;
}

.pixel-critter.is-dragging {
  cursor: grabbing !important;
  cursor: -webkit-grabbing !important;
  opacity: 1;
  filter: drop-shadow(0 6px 10px rgba(61, 255, 192, 0.55));
  z-index: 1000;
}
.content-notice {
  margin: 0 0 1.5rem;
  border-color: rgba(61, 255, 192, 0.3);
  background:
    linear-gradient(160deg, rgba(61, 255, 192, 0.07), transparent 50%),
    var(--panel);
}
.content-notice h3 {
  color: var(--neon);
  margin-bottom: 0.65rem;
}

/* —— Stream schedule (Streaminfo) —— */
.stream-schedule {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.35rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(61, 255, 192, 0.06), transparent 45%),
    linear-gradient(210deg, rgba(91, 140, 255, 0.08), transparent 50%),
    var(--panel);
  box-shadow: var(--shadow);
}

.stream-schedule-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.stream-schedule-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
}

.stream-schedule-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.stream-schedule-head strong {
  color: var(--text);
  font-weight: 700;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.schedule-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 88px;
  padding: 0.75rem 0.4rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.schedule-day:hover {
  border-color: rgba(61, 255, 192, 0.35);
  box-shadow: 0 0 0 1px rgba(61, 255, 192, 0.12);
  transform: translateY(-2px);
}

.schedule-day-name {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.schedule-day-time {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.schedule-day-time em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neon);
  opacity: 0.95;
}

.schedule-day.is-off .schedule-day-time {
  font-size: 0.85rem;
  font-weight: 600;
}

.schedule-day.is-highlight {
  border-color: rgba(61, 255, 192, 0.45);
  background:
    linear-gradient(160deg, rgba(61, 255, 192, 0.14), transparent 60%),
    rgba(0, 0, 0, 0.28);
}

.schedule-day.is-highlight .schedule-day-time {
  color: var(--neon);
}

.schedule-day.is-off {
  opacity: 0.55;
}

.schedule-day.is-off .schedule-day-time {
  color: var(--muted);
}

.schedule-foot {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .schedule-day {
    flex-direction: row;
    justify-content: space-between;
    min-height: 0;
    padding: 0.85rem 1rem;
  }
}
