:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg-deep: #030a16;
  --bg-main: #061428;
  --bg-card: #0a1e38;
  --bg-card-hover: #0f2a4a;
  --header-bg: rgba(3, 10, 22, 0.92);
  --header-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(94, 184, 255, 0.08);
  --nav-mobile-bg: rgba(6, 13, 26, 0.98);
  --border: rgba(94, 184, 255, 0.14);
  --border-bright: rgba(94, 184, 255, 0.28);
  --text: #e4eeff;
  --text-muted: #7a9bc4;
  --accent: #5eb8ff;
  --accent-bright: #8ed4ff;
  --accent-glow: rgba(94, 184, 255, 0.35);
  --neon: #3d9eff;
  --gold: #6ec8ff;
  --gold-glow: rgba(110, 200, 255, 0.35);
  --purple: #8b6fff;
  --teal: #4dd4c4;
  --gaming-green: #3dd68c;
  --moon: #b8d4f5;
  --body-glow-1: rgba(61, 158, 255, 0.12);
  --body-glow-2: rgba(124, 111, 255, 0.06);
  --grid-line: rgba(94, 184, 255, 0.018);
  --stars-opacity: 0.4;
  --moon-glow-opacity: 1;
  --gradient: linear-gradient(135deg, #5eb8ff 0%, #8ed4ff 45%, #3d7fd4 100%);
  --gradient-neon: linear-gradient(90deg, #3d9eff 0%, #5eb8ff 50%, #7c6fff 100%);
  --aurora: linear-gradient(125deg, rgba(61, 158, 255, 0.1) 0%, rgba(94, 184, 255, 0.06) 35%, rgba(124, 111, 255, 0.05) 65%, rgba(10, 30, 56, 0.08) 100%);
  --panel-glow: 0 0 0 1px rgba(94, 184, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(94, 184, 255, 0.06);
  --glass-bg: rgba(10, 30, 56, 0.55);
  --glass-border: rgba(94, 184, 255, 0.2);
  --radius: 22px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 12px 40px rgba(0, 8, 24, 0.55);
  --section-tint: rgba(6, 13, 26, 0.35);
  --overlay-bg: rgba(3, 10, 22, 0.75);
  --fun: #ff6b9d;
  --fun-glow: rgba(255, 107, 157, 0.25);
  --guild-accent: #6ec8ff;
  --guild-accent-bright: #a8e6ff;
  --guild-accent-deep: #3a8fd4;
  --guild-accent-glow: rgba(110, 200, 255, 0.45);
  --guild-gold: var(--guild-accent);
  --guild-gold-glow: var(--guild-accent-glow);
  --guild-crimson: #c45c8a;
  --font: 'Outfit', system-ui, sans-serif;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-gaming: 'Rajdhani', system-ui, sans-serif;
  --font-play: 'Space Grotesk', system-ui, sans-serif;
  --font-modern: 'Space Grotesk', system-ui, sans-serif;
  --fusion-gap: clamp(0.45rem, 1.2vw, 0.75rem);
  --fusion-side-width: min(210px, 22vw);
  --fusion-center-width: min(420px, 44vw);
  --fusion-block-width: 100%;
  --site-gutter: clamp(0.75rem, 2.5vw, 1.5rem);
  --fusion-site-max: min(1320px, calc(100vw - 2 * var(--site-gutter)));
  --site-content-width: var(--fusion-site-max);
  --fusion-viewport: calc(100vw - var(--site-gutter) * 2);
}

[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #f4f8ff;
  --bg-main: #e8f0fc;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f5fd;
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-shadow: 0 1px 0 rgba(30, 90, 160, 0.08), 0 8px 32px rgba(30, 60, 100, 0.06);
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --border: rgba(30, 90, 160, 0.12);
  --border-bright: rgba(30, 90, 160, 0.22);
  --text: #0d1b2e;
  --text-muted: #4a6280;
  --accent: #2a7fd4;
  --accent-bright: #1a6bc4;
  --accent-glow: rgba(42, 127, 212, 0.22);
  --neon: #2a7fd4;
  --gold: #2a7fd4;
  --gold-glow: rgba(42, 127, 212, 0.22);
  --purple: #6b52e0;
  --teal: #2aab9b;
  --gaming-green: #1f9d62;
  --moon: #6a8ab0;
  --body-glow-1: rgba(94, 184, 255, 0.14);
  --body-glow-2: rgba(124, 111, 255, 0.06);
  --grid-line: rgba(30, 90, 160, 0.06);
  --stars-opacity: 0.12;
  --moon-glow-opacity: 0.35;
  --aurora: linear-gradient(125deg, rgba(94, 184, 255, 0.07) 0%, rgba(94, 184, 255, 0.04) 40%, rgba(124, 111, 255, 0.03) 70%, transparent 100%);
  --panel-glow: 0 0 0 1px rgba(30, 90, 160, 0.06), 0 8px 28px rgba(30, 60, 100, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow: 0 12px 40px rgba(30, 60, 100, 0.1);
  --section-tint: rgba(232, 240, 252, 0.85);
  --overlay-bg: rgba(244, 248, 255, 0.82);
  --fun: #e84d8a;
  --fun-glow: rgba(232, 77, 138, 0.2);
  --guild-accent: #2a7fd4;
  --guild-accent-bright: #5eb8ff;
  --guild-accent-deep: #1a6bc4;
  --guild-accent-glow: rgba(42, 127, 212, 0.28);
  --guild-gold: var(--guild-accent);
  --guild-gold-glow: var(--guild-accent-glow);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(30, 90, 160, 0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--body-glow-1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, var(--body-glow-2) 0%, transparent 50%),
    var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.container {
  width: 100%;
  max-width: var(--fusion-site-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  box-sizing: border-box;
}

.fusion-shell {
  width: 100%;
  max-width: var(--fusion-site-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  padding-top: 0.5rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

.container.fusion-shell {
  width: 100%;
  max-width: var(--fusion-site-max);
}

.fusion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--fusion-gap);
  width: 100%;
  margin-inline: auto;
  align-items: start;
}

.fusion-left,
.fusion-right {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.fusion-center {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.fusion-left,
.fusion-right {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: sticky;
  top: var(--header-sticky-offset, 13rem);
}

/* Links: Panels rechtsbündig (zur Mitte hin) */
.fusion-left {
  align-items: flex-end;
  justify-content: flex-start;
}

.fusion-left .fusion-panel {
  width: 100%;
}

/* Rechts: Panels linksbündig (zur Mitte hin) */
.fusion-right {
  align-items: flex-start;
  justify-content: flex-start;
}

.fusion-right .fusion-panel {
  width: 100%;
}

.fusion-right .fusion-panel-body {
  padding: 0.8rem;
}

/* Mitte: doppelte Breite der Seitenpanels */
.fusion-center {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-self: center;
}

.fusion-center > .fusion-section,
.fusion-center .fusion-content-head,
.fusion-center .fusion-content-block,
.fusion-center .fusion-panel-center,
.fusion-center .hub-games-row {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Willkommens-Banner: direkt unter Header, volle Blockbreite */
.fusion-hero-banner {
  position: relative;
  z-index: 1;
  padding: 0.65rem 0 0.5rem;
  width: 100%;
}

.fusion-hero-shell {
  padding-top: 0;
  padding-bottom: 0;
}

.fusion-body-shell {
  padding-top: 0.35rem;
}

.hero-welcome-full {
  width: 100%;
  max-width: 100%;
  text-align: center;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.35rem 1.5rem 1.75rem;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  isolation: isolate;
  border: 2px solid rgba(110, 200, 255, 0.35);
  background:
    linear-gradient(180deg, rgba(42, 84, 148, 0.25) 0%, rgba(10, 30, 56, 0.65) 100%),
    var(--glass-bg);
}

.hero-welcome-full .guild-crest,
.hero-welcome-full .guild-banner-stripe,
.hero-welcome-full .guild-motto,
.hero-welcome-full .live-ribbon,
.hero-welcome-full .hero-badge,
.hero-welcome-full .hero-title-compact,
.hero-welcome-full .hero-desc {
  pointer-events: none;
}

.hero-interactive {
  position: relative;
  z-index: 20;
  pointer-events: auto;
  margin-top: 0.25rem;
}

.hero-interactive .hero-actions,
.hero-interactive .crew-pills,
.hero-interactive .btn,
.hero-interactive .crew-pill {
  position: relative;
  z-index: 21;
  pointer-events: auto;
}

.hero-welcome-full::before {
  content: '🛡';
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-size: 1rem;
  color: var(--guild-accent);
  opacity: 0.55;
  pointer-events: none;
}

.hero-welcome-full::after {
  content: '⚔';
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1rem;
  color: var(--guild-accent);
  opacity: 0.55;
  pointer-events: none;
}

.hero-welcome-full .hero-actions,
.hero-welcome-full .crew-pills,
.hero-welcome-full .crew-pill,
.hero-welcome-full .btn {
  position: relative;
  z-index: 5;
}

@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.45; }
  50% { transform: translateY(-4px) rotate(15deg); opacity: 0.85; }
}

.hero-welcome-full .guild-motto {
  font-family: var(--font-gaming);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.hero-welcome-full .hero-title-compact {
  font-family: var(--font-display);
}

.hero-welcome-full .hero-crew-word {
  display: inline-block;
  color: var(--guild-accent-bright);
  text-shadow: 0 0 20px var(--guild-accent-glow);
  transform: rotate(-1deg);
  animation: crew-word-glow 4s ease-in-out infinite;
}

@keyframes crew-word-glow {
  0%, 100% { text-shadow: 0 0 16px var(--guild-accent-glow); transform: rotate(-1deg); }
  50% { text-shadow: 0 0 28px var(--guild-accent-glow); transform: rotate(1deg) scale(1.02); }
}

.hero-welcome-full .crew-pill {
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.hero-welcome-full .crew-pill:hover {
  transform: translateY(-3px) rotate(-2deg) scale(1.04);
}

.hero-welcome-full .hero-desc {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-welcome-full .hero-actions,
.hero-welcome-full .crew-pills {
  justify-content: center;
}

.fusion-center .hub-games-row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--fusion-gap);
}

.fusion-center .fusion-content-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.fusion-section {
  padding: 0;
}

.fusion-section.hero {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.fusion-content-head {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.fusion-content-head h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0.35rem 0;
}

.fusion-content-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.fusion-content-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.fusion-panel-guild {
  border-color: rgba(110, 200, 255, 0.28);
  border-left: 3px solid var(--guild-accent);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(110, 200, 255, 0.06);
}

.fusion-panel-guild .fusion-panel-head {
  background: linear-gradient(180deg, #234a7a 0%, #1a3358 55%, #0f2340 100%);
  border-bottom: 2px solid rgba(110, 200, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.fusion-panel-guild .fusion-panel-body {
  background:
    linear-gradient(180deg, rgba(10, 30, 56, 0.72), rgba(6, 20, 40, 0.85));
}

.guild-header-bar .fusion-header-main {
  border-bottom-color: var(--guild-accent);
}

.guild-header-bar .fusion-header-chip {
  border-color: rgba(110, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(30, 63, 114, 0.65), rgba(8, 18, 36, 0.75));
}

.guild-banner-stripe {
  display: block;
  font-family: var(--font-gaming);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--guild-accent-bright);
  text-align: center;
  padding: 0.35rem 0.75rem;
  margin: -0.35rem -0.5rem 0.85rem;
  border-bottom: 1px solid rgba(110, 200, 255, 0.25);
  background: linear-gradient(90deg, transparent, rgba(110, 200, 255, 0.12), transparent);
}

.hero-welcome-full .guild-crest .crest-corner {
  opacity: 0.55;
  font-size: 1rem;
}

.guild-count {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.72em;
  background: rgba(110, 200, 255, 0.15);
  border: 1px solid rgba(110, 200, 255, 0.35);
  color: var(--guild-accent-bright);
}

.footer-bar {
  border-top: 1px solid rgba(110, 200, 255, 0.2);
  background: linear-gradient(90deg, rgba(30, 63, 114, 0.35), rgba(8, 18, 36, 0.5), rgba(30, 63, 114, 0.35));
  font-family: var(--font-gaming);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* PHP-Fusion Panel-Stil */
.fusion-panel {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
  animation: panel-idle 6s ease-in-out infinite;
  animation-delay: var(--panel-delay, 0s);
}

.fusion-panel:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 20px var(--guild-accent-glow);
}

@keyframes panel-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.fusion-panel-head {
  padding: 0.55rem 0.85rem;
  font-family: var(--font-gaming);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0f6ff;
  background: linear-gradient(180deg, #2a4f82 0%, #1a3358 55%, #122640 100%);
  border-bottom: 1px solid rgba(94, 184, 255, 0.25);
}

.fusion-panel-head-wide {
  font-size: 0.82rem;
  padding: 0.65rem 1rem;
}

.fusion-panel-body {
  padding: 0.85rem;
  background: var(--glass-bg);
}

.fusion-panel-body-wide {
  padding: 1rem 1.1rem 1.15rem;
}

.fusion-panel-center {
  margin-bottom: 0;
}

.fusion-panel-forum .fusion-panel-body-wide {
  padding: 0.75rem;
}

.fusion-panel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fusion-nav-link {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fusion-nav-link:hover {
  background: rgba(94, 184, 255, 0.08);
  color: var(--accent-bright);
  border-left-color: var(--accent);
}

.fusion-clock-body { text-align: center; }

.fusion-clock-time {
  display: block;
  font-family: var(--font-gaming);
  font-size: 1.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-bright);
}

.fusion-clock-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.35;
}

.fusion-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fusion-filter-btn {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  border-radius: 4px !important;
  padding: 0.4rem 0.6rem !important;
  font-size: 0.82rem !important;
}

.fusion-cat-list .cat-btn {
  width: 100%;
  text-align: left;
  margin-bottom: 0.25rem;
  border-radius: 4px;
}

.fusion-left .member-hint {
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
}

.fusion-left #new-thread-btn {
  margin-top: 0.65rem;
}

.fusion-left .hub-weather .weather-main,
.fusion-right .hub-weather .weather-main {
  flex-direction: column;
  text-align: center;
  gap: 0.35rem;
}

.fusion-left .weather-meta,
.fusion-right .weather-meta {
  justify-content: center;
  flex-wrap: wrap;
}

.fusion-right #new-thread-btn {
  margin-top: 0.65rem;
}

.hub-tabs-center {
  margin-bottom: 0.85rem;
  justify-content: flex-start;
}

.hero-welcome-panel {
  text-align: center;
  width: 100%;
}

.hero-title-compact {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem) !important;
}

.fusion-center .hero-desc,
.fusion-center .hero-actions,
.fusion-center .crew-pills {
  margin-left: auto;
  margin-right: auto;
}

.fusion-center .crew-pills {
  justify-content: center;
}

.fusion-section.hero {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

/* Background */
.aurora {
  position: fixed;
  inset: 0;
  background: var(--aurora);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s linear;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 10%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.stars {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 18%, var(--moon) 50%, transparent 50%),
    radial-gradient(1.2px 1.2px at 22% 62%, var(--moon) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 48% 12%, var(--moon) 50%, transparent 50%),
    radial-gradient(1px 1px at 68% 38%, var(--moon) 50%, transparent 50%),
    radial-gradient(1px 1px at 88% 72%, var(--moon) 50%, transparent 50%),
    radial-gradient(1.2px 1.2px at 15% 88%, var(--moon) 50%, transparent 50%),
    radial-gradient(1px 1px at 42% 48%, var(--moon) 50%, transparent 50%),
    radial-gradient(1px 1px at 75% 22%, var(--moon) 50%, transparent 50%),
    radial-gradient(0.8px 0.8px at 55% 78%, var(--moon) 50%, transparent 50%),
    radial-gradient(1px 1px at 92% 15%, var(--moon) 50%, transparent 50%);
  opacity: var(--stars-opacity);
  pointer-events: none;
  z-index: 0;
  animation: twinkle 8s ease-in-out infinite alternate, star-drift 22s ease-in-out infinite;
  transition: opacity 0.35s ease;
}

@keyframes twinkle {
  0%, 100% { opacity: calc(var(--stars-opacity) * 0.7); filter: brightness(0.95); }
  50% { opacity: calc(var(--stars-opacity) * 1.2); filter: brightness(1.15); }
}

@keyframes star-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.moon-glow {
  position: fixed;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(94, 184, 255, 0.14) 0%, rgba(61, 127, 212, 0.05) 40%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  opacity: var(--moon-glow-opacity);
  transition: transform 0.1s linear, opacity 0.35s ease;
}

/* Animated mesh blobs */
.mesh-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: blob-drift 18s ease-in-out infinite;
}

.blob-1 {
  width: 420px;
  height: 420px;
  top: -8%;
  left: -6%;
  background: radial-gradient(circle, rgba(94, 184, 255, 0.35), transparent 70%);
}

.blob-2 {
  width: 360px;
  height: 360px;
  top: 35%;
  right: -10%;
  background: radial-gradient(circle, rgba(139, 111, 255, 0.3), transparent 70%);
  animation-delay: -6s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  bottom: 5%;
  left: 30%;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.22), transparent 70%);
  animation-delay: -12s;
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header,
.fusion-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --header-pad-y: 1rem;
  --header-logo-size: 72px;
  --header-title-size: 2rem;
  --header-badge-size: 0.82rem;
  --header-tag-size: 0.76rem;
  --header-nav-size: 0.95rem;
  --header-nav-pad-y: 0.62rem;
  --header-nav-pad-x: 0.95rem;
  --header-ornament-h: 0;
  --header-nav-row: 3.35rem;
  --header-brand-row: calc(var(--header-logo-size) + 0.5rem);
  --header-sticky-offset: calc(var(--header-brand-row) + var(--header-nav-row) + var(--header-pad-y) * 2 + 1rem);
}

.fusion-header-main {
  background:
    linear-gradient(135deg, rgba(42, 84, 148, 0.98) 0%, rgba(8, 18, 36, 0.99) 42%, rgba(14, 32, 58, 0.98) 100%),
    radial-gradient(ellipse 80% 120% at 8% 0%, rgba(110, 200, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 80% at 92% 100%, rgba(94, 184, 255, 0.08), transparent 55%);
  border-bottom: 3px solid var(--guild-gold);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 6px 28px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.65rem;
}

.fusion-header-main::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--guild-gold) 0,
    var(--guild-gold) 8px,
    transparent 8px,
    transparent 14px,
    rgba(94, 184, 255, 0.5) 14px,
    rgba(94, 184, 255, 0.5) 16px,
    transparent 16px,
    transparent 22px
  );
  opacity: 0.55;
  pointer-events: none;
}

.fusion-header-ornament {
  display: none;
}

.fusion-header-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "brand aside"
    "nav nav";
  gap: 0.55rem 0.75rem;
  padding: var(--header-pad-y) 0 calc(var(--header-pad-y) + 0.25rem);
  position: relative;
  z-index: 1;
  width: 100%;
  align-items: center;
  overflow: visible;
}

.guild-brand,
.fusion-header-compact > .fusion-brand {
  grid-area: brand;
  min-width: 0;
}

.fusion-header-aside {
  grid-area: aside;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.fusion-header-compact .fusion-menu-nav {
  grid-area: nav;
  width: 100%;
  justify-content: center;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(110, 200, 255, 0.18);
  flex: unset;
  min-width: 0;
}

.fusion-header-tools {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.fusion-header-compact .fusion-header-live {
  flex: 0 0 auto;
  margin-left: 0;
}

.header-gem {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--guild-accent-bright), var(--guild-accent));
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--guild-accent-glow);
  opacity: 0.85;
  animation: gem-pulse 3s ease-in-out infinite;
}

.header-gem-center {
  width: 12px;
  height: 12px;
  animation-delay: 0.5s;
}

@keyframes gem-pulse {
  0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.85; }
  50% { transform: rotate(45deg) scale(1.15); opacity: 1; }
}

.fusion-header-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 40%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.45;
}

.fusion-header .fusion-shell {
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
  max-width: var(--fusion-site-max);
}

.guild-brand {
  gap: 0.75rem;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
  max-width: 100%;
  overflow: visible;
  flex-shrink: 0;
}

.guild-brand .logo-text {
  line-height: 1.2;
  overflow: visible;
}

.guild-brand:hover {
  transform: translateY(-1px) scale(1.01);
}

.fusion-brand-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
  margin: -8px;
  overflow: visible;
}

.brand-emblem-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2.5px dashed rgba(110, 200, 255, 0.35);
  animation: emblem-spin 18s linear infinite;
  pointer-events: none;
}

@keyframes emblem-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fusion-brand {
  flex-shrink: 0;
}

.fusion-brand-logo {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(110, 200, 255, 0.45)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  animation: logo-bob 4s ease-in-out infinite;
}

@keyframes logo-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-1px) rotate(1deg); }
}

.fusion-brand-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.fusion-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: var(--header-title-size);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding-block: 0.06em;
  background: linear-gradient(135deg, #fff 0%, #b8dfff 45%, #5eb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.brand-name-moon {
  font-size: 0.82em;
  -webkit-text-fill-color: initial;
  filter: drop-shadow(0 0 6px rgba(184, 223, 255, 0.6));
}

.fusion-brand .guild-name-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-gaming);
  font-size: var(--header-badge-size);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0f8ff !important;
  background: linear-gradient(180deg, #1e5088 0%, #0f2d52 100%) !important;
  padding: 0.35rem 0.75rem 0.32rem;
  border-radius: 6px;
  border: 2px solid #6ec8ff !important;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.35),
    0 0 14px rgba(110, 200, 255, 0.35),
    inset 0 1px 0 rgba(168, 230, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transform: none;
  transition: box-shadow 0.2s, border-color 0.2s;
  -webkit-text-fill-color: #f0f8ff;
  background-clip: border-box;
}

.guild-name-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-gaming);
  font-size: var(--header-badge-size);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0f8ff;
  background: linear-gradient(180deg, #1e5088 0%, #0f2d52 100%);
  padding: 0.4rem 0.95rem 0.38rem;
  border-radius: 6px;
  border: 2px solid #6ec8ff;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.35),
    0 0 14px rgba(110, 200, 255, 0.35),
    inset 0 1px 0 rgba(168, 230, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transform: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.guild-brand:hover .guild-name-badge {
  transform: none;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.35),
    0 0 20px rgba(110, 200, 255, 0.5);
}

.guild-brand-tag,
.fusion-brand-tag {
  display: block;
  font-family: var(--font-gaming);
  font-size: var(--header-tag-size);
  color: rgba(212, 228, 255, 0.82);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.28rem;
}

.fusion-brand-title .logo-crew {
  font-size: 0.85em;
  letter-spacing: 0.14em;
}

.fusion-header-live {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 0;
}

.fusion-header-chip {
  min-width: 5.5rem;
  padding: 0.32rem 0.5rem 0.36rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fusion-header-chip-label {
  display: block;
  font-family: var(--font-gaming);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.fusion-header-clock-time {
  display: block;
  font-family: var(--font-gaming);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-bright);
  line-height: 1.1;
}

.fusion-header-clock-date {
  display: none;
}

.fusion-header-weather-chip {
  min-width: 6.5rem;
  max-width: 8rem;
}

.fusion-header-weather-chip .weather-main {
  flex-direction: row;
  text-align: left;
  gap: 0.45rem;
  margin-bottom: 0;
}

.fusion-header-weather-chip .weather-icon {
  font-size: 1.15rem;
}

.fusion-header-weather-chip .weather-temp {
  font-size: 1rem;
}

.fusion-header-weather-chip .weather-desc,
.fusion-header-weather-chip .weather-meta {
  font-size: 0.68rem;
  margin-bottom: 0;
}

.fusion-header-weather-chip .hub-loading {
  font-size: 0.72rem;
  margin: 0;
}

@media (max-width: 960px) {
  .fusion-header-compact {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "aside"
      "nav";
  }

  .fusion-header-aside {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .fusion-header-live {
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

  .fusion-header-chip {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .fusion-header-live {
    flex-direction: column;
  }

  .fusion-header-chip {
    width: 100%;
  }
}

.fusion-header-tools .btn-sm {
  padding: 0.38rem 0.65rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.fusion-header-tools .nav-user {
  flex-wrap: nowrap;
  gap: 0.3rem;
}

.fusion-header-tools .nav-user-btn {
  padding: 0.48rem 0.85rem;
  font-size: 0.92rem;
}

.fusion-header-tools .nav-user-avatar {
  font-size: 1.25rem;
}

.fusion-menu-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.theme-toggle-compact {
  padding: 0.55rem 0.75rem !important;
  font-size: 0.95rem !important;
}

.theme-toggle-compact .theme-toggle-icon {
  font-size: 1.15rem;
}

.theme-toggle-compact .theme-toggle-label {
  display: none;
}

.fusion-menu {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.fusion-menu .fusion-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: var(--header-nav-pad-y) var(--header-nav-pad-x);
  border-radius: 8px;
  color: rgba(212, 228, 255, 0.9);
  text-decoration: none;
  font-family: var(--font-gaming);
  font-size: var(--header-nav-size);
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1), border-color 0.2s, box-shadow 0.2s;
}

.fusion-menu-icon {
  font-size: 1.15rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s;
}

.fusion-menu .fusion-menu-link:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(94, 184, 255, 0.28), rgba(94, 184, 255, 0.08));
  border-color: rgba(94, 184, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.15), 0 0 16px rgba(94, 184, 255, 0.2);
}

.fusion-menu .fusion-menu-link:hover .fusion-menu-icon {
  transform: scale(1.15) rotate(-6deg);
}

.fusion-menu .fusion-menu-link.active {
  color: #041428;
  background: linear-gradient(180deg, var(--guild-accent-bright) 0%, var(--guild-accent) 48%, var(--guild-accent-deep) 100%);
  border-color: rgba(168, 230, 255, 0.85);
  box-shadow: 0 4px 0 rgba(20, 60, 100, 0.45), 0 0 20px var(--guild-accent-glow);
  transform: translateY(-1px);
}

.fusion-menu .fusion-menu-link.active .fusion-menu-icon {
  transform: scale(1.1);
}

.fusion-panel-head-gold,
.fusion-panel-head-accent {
  background: linear-gradient(180deg, #2a5494 0%, #1a3358 55%, #122640 100%) !important;
  border-bottom-color: rgba(110, 200, 255, 0.35) !important;
}

.guild-status-panel {
  text-align: center;
}

.guild-status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-gaming);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gaming-green);
  margin-bottom: 0.65rem;
}

.guild-status-motto {
  font-family: var(--font-gaming);
  font-size: 0.68rem;
  color: var(--guild-gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.guild-status-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: left;
}

.guild-status-list li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border);
}

.hero-stats-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.hero-stats-compact .hero-stat {
  padding: 0.45rem 0.55rem;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.hero-stats-compact .hero-stat-num {
  font-size: 1.1rem;
  margin-top: 0;
}

.hero-stats-compact .hero-stat-label {
  font-size: 0.72rem;
  text-align: right;
}

.header {
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--header-shadow);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-crew {
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  color: var(--accent-bright);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--accent-glow);
}

/* Footer / hero crew word — not header badge */
.hero-crew-word.logo-crew,
.footer .logo-crew {
  color: var(--guild-accent-bright);
  text-shadow: 0 0 14px var(--guild-accent-glow);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: var(--font-modern);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--glass-bg);
  border-color: var(--glass-border);
  transform: translateY(-1px);
}

.nav-links a.active {
  color: var(--accent-bright);
  background: linear-gradient(135deg, rgba(94, 184, 255, 0.18), rgba(255, 107, 157, 0.1));
  border-color: var(--border-bright);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background-color 0.35s ease;
}

/* Theme toggle */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-card);
  border: 2px solid var(--border-bright);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.theme-toggle-btn:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle-icon { font-size: 1rem; line-height: 1; }

.theme-toggle[data-mode="dark"] .theme-icon-light,
.theme-toggle[data-mode="dark"] .theme-label-light,
.theme-toggle[data-mode="light"] .theme-icon-dark,
.theme-toggle[data-mode="light"] .theme-label-dark {
  display: none;
}

.theme-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--border-bright);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-main));
  box-shadow: 0 8px 28px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}

.theme-fab:hover {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 12px 32px var(--fun-glow);
}

.theme-fab-icon { font-size: 1.35rem; line-height: 1; }

/* Playful deco */
.play-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco-item {
  position: absolute;
  font-size: 1.75rem;
  opacity: 0.28;
  filter: drop-shadow(0 0 14px var(--guild-accent-glow));
  animation: deco-float 12s ease-in-out infinite;
  transition: opacity 0.3s;
}

.deco-item:nth-child(odd) {
  animation-name: deco-float, deco-spin;
  animation-duration: 12s, 18s;
}

@keyframes deco-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.deco-1 { top: 18%; left: 6%; animation-delay: 0s; }
.deco-2 { top: 42%; right: 8%; font-size: 2rem; animation-delay: 2s; }
.deco-3 { top: 68%; left: 12%; animation-delay: 4s; }
.deco-4 { top: 28%; right: 18%; animation-delay: 1s; }
.deco-5 { bottom: 22%; right: 14%; animation-delay: 3s; }
.deco-6 { top: 55%; left: 4%; font-size: 1.3rem; animation-delay: 5s; }

@keyframes deco-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.crew-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.crew-pill {
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(8px);
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s, border-color 0.25s, color 0.2s;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  pointer-events: auto;
  position: relative;
  z-index: 22;
  touch-action: manipulation;
}

.crew-pill:hover {
  transform: translateY(-3px) rotate(-2deg) scale(1.04);
  border-color: var(--fun);
  box-shadow: 0 6px 20px var(--fun-glow);
}

.crew-pill.is-active,
.crew-pill.is-active.guild-pill {
  border-color: var(--guild-accent-bright);
  background: linear-gradient(135deg, rgba(110, 200, 255, 0.22), rgba(110, 200, 255, 0.08));
  color: var(--accent-bright);
  box-shadow: 0 0 16px var(--guild-accent-glow);
}

.panel-emoji {
  display: inline-block;
  margin-right: 0.35rem;
  transform: rotate(-6deg);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
}

.fusion-hero-banner.hero {
  padding: 0.65rem 0 0.5rem;
}

.hero-glass {
  padding: 2rem 2.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 8px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--panel-glow), 0 24px 60px rgba(0, 0, 0, 0.2);
}

.live-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gaming-green);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid rgba(61, 214, 140, 0.25);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gaming-green);
  box-shadow: 0 0 12px var(--gaming-green);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font);
  background: linear-gradient(135deg, rgba(94, 184, 255, 0.12), rgba(255, 107, 157, 0.08));
  border: 2px solid var(--border-bright);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px var(--accent-glow);
  animation: badge-pop 3s ease-in-out infinite;
}

@keyframes badge-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-line { display: block; }
.hero-crew-word {
  background: linear-gradient(90deg, var(--accent-bright), var(--fun));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-bright), var(--purple), var(--fun), var(--accent-bright));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 6s ease infinite;
}

@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }

.glass-stat {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(94, 184, 255, 0.06);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s;
}

.glass-stat:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.hero-stat-num {
  font-family: var(--font);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-bright);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.hero-stat-label {
  font-family: var(--font-gaming);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orbit {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px dashed var(--border-bright);
  background: radial-gradient(circle, rgba(94, 184, 255, 0.1) 0%, rgba(255, 107, 157, 0.05) 50%, transparent 75%);
  animation: orbit-spin 24s linear infinite;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-logo {
  filter: drop-shadow(0 0 40px var(--accent-glow)) drop-shadow(0 0 80px var(--fun-glow));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.orbit-dot {
  position: absolute;
  border-radius: 50%;
  animation: orbit 12s linear infinite;
}

.orbit-dot-1 {
  width: 8px; height: 8px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  top: 50%; left: 50%;
  margin: -4px;
  --r: 140px;
  animation-duration: 14s;
}

.orbit-dot-2 {
  width: 6px; height: 6px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  top: 50%; left: 50%;
  margin: -3px;
  animation-duration: 10s;
  animation-direction: reverse;
  --r: 120px;
}

.orbit-dot-3 {
  width: 5px; height: 5px;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  top: 50%; left: 50%;
  margin: -2.5px;
  animation-duration: 18s;
  --r: 160px;
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(var(--r, 130px)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(var(--r, 130px)) rotate(-360deg); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.2s, background 0.2s, opacity 0.2s, border-color 0.2s;
}

.btn:hover:not(:disabled) { transform: translateY(-3px) scale(1.03); }

.btn-primary {
  background: linear-gradient(135deg, #2a6a9e, #5eb8ff, #6ec8ff);
  background-size: 200% 200%;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 0 rgba(20, 60, 100, 0.4), 0 6px 22px var(--guild-accent-glow);
  border: 1px solid rgba(168, 230, 255, 0.35);
  font-family: var(--font-gaming);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.88rem;
  animation: btn-glow 4s ease infinite;
}
.btn-primary:hover:not(:disabled) {
  animation: none;
  background-position: 100% 50%;
  box-shadow: 0 6px 0 rgba(20, 60, 100, 0.35), 0 10px 28px var(--guild-accent-glow);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  font-family: var(--font-gaming);
  letter-spacing: 0.04em;
}

@keyframes btn-glow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(94, 184, 255, 0.12), rgba(139, 111, 255, 0.08));
  border-color: var(--accent);
  color: var(--accent-bright);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.fusion-section.section {
  padding: 1.25rem 0;
}

.fusion-section.hero {
  padding-top: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  margin: 0.5rem auto 0;
  border-radius: 999px;
  background: var(--gradient-neon);
}

.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-family: var(--font-gaming);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  background: linear-gradient(135deg, rgba(94, 184, 255, 0.14), rgba(139, 111, 255, 0.1));
  border: 2px solid var(--border-bright);
  transform: none;
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Lumina */
.lumina-section {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 20, 40, 0.75) 25%, rgba(8, 24, 48, 0.85) 50%, rgba(6, 20, 40, 0.75) 75%, transparent 100%);
}

.lumina-header { text-align: center; margin-bottom: 2rem; }

.lumina-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-bright) 55%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(94, 184, 255, 0.25));
  line-height: 1;
  margin-bottom: 0.35rem;
}

.lumina-subtitle {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.lumina-tagline {
  font-size: 1rem;
  color: var(--accent);
  opacity: 0.85;
}

.lumina-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.lumina-video-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: var(--panel-glow), 0 0 48px rgba(94, 184, 255, 0.1);
  background: var(--bg-main);
}

.lumina-poster {
  position: relative;
  background: var(--bg-deep);
}

.lumina-poster img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
}

.lumina-poster-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: rgba(6, 13, 26, 0.7);
}

.lumina-poster-actions .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.lumina-controls-hint {
  padding: 0.5rem 1rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.lumina-controls-hint a {
  color: var(--accent);
  text-decoration: none;
}

.lumina-controls-hint a:hover { text-decoration: underline; }

.lumina-video-inner {
  position: relative;
  width: 100%;
  height: 340px;
  background: var(--bg-deep);
}

.lumina-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--bg-deep);
}

.lumina-video-embed {
  border: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lumina-video-toolbar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(6, 13, 26, 0.6);
}

.lumina-video-toolbar .btn {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.lumina-video-wrap.is-expanded .lumina-video-inner {
  height: min(72vh, 640px);
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.video-fallback a { color: var(--accent); }

.lumina-video.video-missing {
  object-fit: contain;
  background:
    url('../assets/lumina-preview.svg') center / cover no-repeat,
    var(--bg-deep);
}

.video-caption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  letter-spacing: 0.04em;
}

.light-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.light-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: drift 6s ease-in-out infinite;
}

.light-particles span:nth-child(1) { top: 30%; left: 20%; animation-delay: 0s; }
.light-particles span:nth-child(2) { top: 50%; left: 60%; animation-delay: 1.2s; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.light-particles span:nth-child(3) { top: 70%; left: 40%; animation-delay: 2.4s; }
.light-particles span:nth-child(4) { top: 25%; left: 75%; animation-delay: 0.8s; background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.light-particles span:nth-child(5) { top: 60%; left: 85%; animation-delay: 3.6s; background: var(--teal); box-shadow: 0 0 8px var(--teal); }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  50% { transform: translate(8px, -12px); opacity: 0.9; }
}

.lumina-info { display: flex; flex-direction: column; gap: 1.25rem; }

.lumina-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.badge {
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: rgba(94, 184, 255, 0.1);
  color: var(--accent-bright);
  border: 1px solid var(--border-bright);
}

.badge-gold {
  background: rgba(255, 200, 87, 0.12);
  color: var(--gold);
  border-color: rgba(255, 200, 87, 0.3);
}

.badge-free {
  background: rgba(61, 214, 140, 0.12);
  color: var(--gaming-green);
  border-color: rgba(61, 214, 140, 0.3);
}

.badge-deal {
  background: rgba(255, 200, 87, 0.1);
  color: var(--gold);
  border-color: rgba(255, 200, 87, 0.28);
}

.lumina-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.lumina-features { display: flex; flex-direction: column; gap: 0.85rem; }

.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 16px rgba(94, 184, 255, 0.08);
}

.feature-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(94, 184, 255, 0.05);
}

.feature-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.lumina-platforms { margin-top: 0.25rem; }
.platforms-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.platform-tags { display: flex; gap: 0.5rem; }

.platform-tag {
  padding: 0.35rem 0.9rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

.lumina-planets { margin-top: 0.5rem; }

.planet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.planet-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.planet-chip strong {
  color: var(--accent);
  font-size: 0.88rem;
}

.planet-chip span {
  color: var(--text-muted);
  line-height: 1.4;
}

.lumina-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Vision */
.vision-section { background: var(--section-tint); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--panel-glow);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
  opacity: 0.7;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow), 0 0 28px rgba(94, 184, 255, 0.12);
}

.pillar-num {
  display: block;
  font-family: var(--font-gaming);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(94, 184, 255, 0.25);
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Projects */
.projects-section {
  background: linear-gradient(180deg, transparent, rgba(10, 22, 40, 0.5), transparent);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: var(--panel-glow);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow), 0 0 24px rgba(94, 184, 255, 0.1);
}

.project-active {
  border-color: var(--border-bright);
  box-shadow: 0 0 48px rgba(94, 184, 255, 0.15), inset 0 0 0 1px rgba(94, 184, 255, 0.1);
}

.project-glow {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.project-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.project-active .project-tag { color: var(--gold); }

/* Devlog */
.updates-section { background: var(--section-tint); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.3;
}

.timeline-entry {
  position: relative;
  padding: 0 0 2rem 2rem;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-entry time {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.timeline-entry h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.timeline-entry p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact */
.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(8, 28, 52, 0.9) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  box-shadow: var(--panel-glow), var(--shadow);
}

.contact-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-email {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-email:hover { color: var(--gold); }

.contact-social { display: flex; gap: 0.75rem; flex-shrink: 0; }

.social-link {
  padding: 0.6rem 1.2rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
  background: rgba(94, 184, 255, 0.1);
  box-shadow: 0 0 12px rgba(94, 184, 255, 0.12);
}

/* Maintenance */
.maintenance {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.maintenance-box {
  text-align: center;
  padding: 3rem;
  max-width: 420px;
}

.maintenance-box img { margin-bottom: 1.5rem; filter: drop-shadow(0 0 30px var(--accent-glow)); }
.maintenance-box h2 { font-family: var(--font-display); margin-bottom: 0.75rem; }
.maintenance-box p { color: var(--text-muted); }

.hidden { display: none !important; }

/* Live-Zentrale (Hub) */
.hub-section {
  background: linear-gradient(180deg, transparent 0%, var(--section-tint) 45%, transparent 100%);
}

.hub-dashboard {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.hub-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.hub-games-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hub-widget {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--panel-glow), 0 0 40px rgba(94, 184, 255, 0.06);
}

.hub-clock-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hub-time {
  display: block;
  font-family: var(--font-gaming);
  font-size: 2.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-bright);
  text-shadow: 0 0 24px var(--accent-glow);
}

.hub-date { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.35rem; }

.hub-weather { padding-top: 1.25rem; border-top: 1px solid var(--border); }

.weather-main { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.weather-icon { font-size: 2.5rem; }
.weather-temp { display: block; font-family: var(--font-gaming); font-size: 1.85rem; font-weight: 700; color: var(--accent-bright); }
.weather-city { font-size: 0.85rem; color: var(--text-muted); }
.weather-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.weather-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }

.hub-panel {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--panel-glow);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), border-color 0.25s, box-shadow 0.3s;
}

.hub-panel:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--border-bright);
  box-shadow: var(--panel-glow), 0 16px 40px var(--accent-glow);
}

.hub-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-neon);
}

.hub-panel-free::before { background: linear-gradient(90deg, var(--gaming-green), var(--accent)); }
.hub-panel-deals::before { background: linear-gradient(90deg, var(--gold), var(--fun)); }
.hub-panel-news::before { background: linear-gradient(90deg, var(--purple), var(--accent)); }

.hub-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hub-panel-head h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hub-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-bright);
  background: rgba(94, 184, 255, 0.12);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hub-panel-hint {
  width: 100%;
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  order: 3;
}

.hub-filters, .hub-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.hub-filters-main {
  justify-content: center;
  margin-top: 1.25rem;
}

.hub-filter, .hub-tab {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.hub-filter:hover, .hub-tab:hover,
.hub-filter.active, .hub-tab.active {
  color: var(--accent-bright);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(94, 184, 255, 0.15), rgba(255, 107, 157, 0.08));
  box-shadow: 0 4px 14px var(--accent-glow);
  transform: translateY(-2px);
}

.hub-games-list {
  display: grid;
  gap: 0.75rem;
  flex: 1;
}

.hub-games-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  max-height: 640px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.hub-game-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
  background: rgba(94, 184, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  height: 100%;
  transition: border-color 0.2s, transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.25s;
}

.hub-game-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.hub-game-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-xs);
  background: var(--bg-deep);
  border: 1px solid var(--border);
}

.hub-game-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.hub-game-info h4 {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-game-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.hub-game-platform {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: auto;
}

.badge-early {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.hub-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 420px;
  overflow-y: auto;
}

.hub-news-item {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s;
}

.hub-news-item:hover { border-color: var(--accent); background: rgba(94, 184, 255, 0.04); }

.hub-news-cat {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.hub-news-item h4 { font-size: 0.88rem; font-weight: 600; margin: 0.25rem 0; line-height: 1.35; }
.hub-news-meta { font-size: 0.75rem; color: var(--text-muted); }

.hub-loading, .hub-empty, .loading-msg {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 1rem;
  text-align: center;
}

.hub-retry {
  margin-top: 0.5rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font);
}

/* Spiele */
.games-section { background: var(--section-tint); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn, .tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-family: var(--font-gaming);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover, .tab-btn:hover,
.filter-btn.active, .tab-btn.active {
  color: var(--accent-bright);
  border-color: var(--accent);
  background: rgba(94, 184, 255, 0.1);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--panel-glow);
  transition: transform 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
}

.game-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--bg-deep);
}

.game-card-body { padding: 1.1rem; }

.game-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }

.game-card h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.35; }

.game-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card a {
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.game-card a:hover { text-decoration: underline; }

/* News */
.news-section { background: linear-gradient(180deg, transparent, rgba(10, 22, 40, 0.45), transparent); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--panel-glow);
  transition: border-color 0.2s, transform 0.2s;
}

.news-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.news-card h3 { font-size: 1.02rem; margin: 0.6rem 0; line-height: 1.4; }

.news-card h3 a { color: var(--text); text-decoration: none; }
.news-card h3 a:hover { color: var(--accent-bright); }

.news-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Forum */
.forum-section { background: var(--section-tint); }

.forum-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.forum-sidebar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--panel-glow);
}

.forum-categories { display: flex; flex-direction: column; gap: 0.35rem; }

.cat-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-align: left;
  font-family: var(--font);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}

.cat-btn:hover, .cat-btn.active {
  color: var(--accent-bright);
  background: linear-gradient(135deg, rgba(94, 184, 255, 0.12), rgba(255, 107, 157, 0.06));
  border-color: var(--border-bright);
  border-radius: var(--radius-sm);
  transform: translateX(4px);
}

.btn-full { width: 100%; }

.forum-main {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.35rem;
  min-height: 360px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--panel-glow);
}

.thread-list { display: flex; flex-direction: column; gap: 0.5rem; }

.thread-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-main);
  border: 2px solid var(--border);
  border-radius: 1rem 1rem 1rem 0.35rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s ease, box-shadow 0.2s;
}

.thread-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: -4px 4px 0 var(--accent-glow);
}

.thread-item h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }

.thread-item-meta { font-size: 0.78rem; color: var(--text-muted); }

.thread-replies {
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
}

.back-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font);
  margin-bottom: 1rem;
  padding: 0;
}

.thread-detail-header { margin-bottom: 1.25rem; }
.thread-detail-header h3 { margin: 0.5rem 0; }

.posts { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }

.post {
  padding: 1rem 1.15rem;
  background: var(--bg-main);
  border: 2px solid var(--border);
  border-radius: 1.1rem 1.1rem 1.1rem 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.post-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.post-author { font-weight: 600; color: var(--accent); }
.post-date { color: var(--text-muted); }
.post-body { font-size: 0.92rem; line-height: 1.6; }

.reply-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reply-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reply-form input, .reply-form textarea, .modal-form input, .modal-form textarea, .modal-form select {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  color: var(--text);
  font-family: var(--font);
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 0;
  color: var(--text);
  max-width: 480px;
  width: 92vw;
}

.modal::backdrop { background: var(--overlay-bg); }

.modal-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.modal-form h3 { font-family: var(--font-display); margin-bottom: 0.25rem; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 0.5rem; }

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

.empty-state h3 { color: var(--text); margin-bottom: 0.5rem; }

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--header-bg);
  padding: 3rem 0 0;
  margin-top: 2rem;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Rechtliche Seiten (Crew) */
.legal-page { padding: 3rem 0 4rem; position: relative; z-index: 1; }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--panel-glow);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li { color: var(--text-muted); font-size: 0.95rem; }

.legal-content p { margin-bottom: 0.85rem; }

.legal-content ul { margin: 0.5rem 0 1rem 1.25rem; }

.legal-content a { color: var(--accent-bright); text-decoration: none; }

.legal-content a:hover { text-decoration: underline; }

.legal-header .logo { text-decoration: none; color: var(--text); }

.footer-brand-block { display: flex; flex-direction: column; gap: 1rem; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-brand-tag {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 28rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--accent-bright); }

.footer-bar {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 960px) {
  .fusion-layout {
    grid-template-columns: 1fr;
  }

  .fusion-left,
  .fusion-right {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fusion-gap);
    align-items: stretch;
  }

  .fusion-left {
    align-items: stretch;
  }

  .fusion-center {
    order: -1;
  }

  .hero-welcome-full {
    padding: 1.1rem 1rem 1.25rem;
  }

  .fusion-center .hub-games-row {
    grid-template-columns: 1fr;
  }

  .fusion-menu .fusion-menu-link {
    border-radius: 6px;
    border-bottom: 1px solid transparent;
  }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-orbit { width: 220px; height: 220px; }
  .hero-logo { width: 180px; height: 180px; }
  .hub-dashboard { grid-template-columns: 1fr; }
  .hub-games-row { grid-template-columns: 1fr; }
  .hub-games-grid { max-height: none; }
  .forum-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .fusion-header {
    --header-pad-y: 0.85rem;
    --header-logo-size: 56px;
    --header-title-size: 1.55rem;
    --header-nav-size: 0.9rem;
    --header-nav-row: 3rem;
  }

  .fusion-left,
  .fusion-right {
    grid-template-columns: 1fr;
  }

  .fusion-header-compact {
    padding: var(--header-pad-y) 0 calc(var(--header-pad-y) + 0.2rem);
  }

  .fusion-menu-nav {
    justify-content: space-between;
  }

  .fusion-brand-tag,
  .guild-brand-tag { display: none; }

  .fusion-header-ornament { display: none; }

  .brand-emblem-ring { display: none; }

  .fusion-brand-logo { width: var(--header-logo-size); height: var(--header-logo-size); }

  .fusion-brand-title { font-size: var(--header-title-size); }

  .guild-name-badge {
    font-size: 0.62rem;
    padding: 0.18rem 0.45rem;
  }

  .fusion-nav-toggle,
  .nav-toggle { display: flex; }

  .fusion-menu-nav { position: relative; flex-wrap: wrap; }

  .fusion-menu,
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--nav-mobile-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.35rem;
  }

  .fusion-menu.open,
  .nav-links.open { display: flex; }

  .fusion-menu .fusion-menu-link {
    border-radius: 6px;
    width: 100%;
  }
  .hero-stats { gap: 1.25rem; }
  .theme-toggle-label { display: none; }
  .theme-toggle-btn { padding: 0.45rem 0.65rem; }
  .crew-pills { justify-content: center; }
  .hero-glass { padding: 1.5rem 1.25rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .guild-rank { font-size: 0.65rem; }
  .nav-user-name { display: none; }
  .hub-topbar { flex-direction: column; align-items: stretch; }
}

/* ═══ Auth & Profil ═══ */
.nav-user {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.nav-user-btn:hover { border-color: var(--guild-gold); }

.nav-user-avatar { font-size: 1.1rem; }

.nav-user-menu { position: relative; }

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 200;
  padding: 0.35rem;
}

.nav-user-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: none;
  background: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.nav-user-item:hover { background: var(--glass-bg); }

.nav-user-logout { color: var(--fun); }

.auth-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.auth-tab {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-main);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-tab.active {
  border-color: var(--guild-gold);
  color: var(--guild-gold);
  background: rgba(110, 200, 255, 0.08);
}

.member-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.member-avatar {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.member-name {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.member-meta { font-size: 0.78rem; color: var(--text-muted); }

.member-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

.member-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.member-widget .btn + .btn { margin-top: 0.45rem; }

/* ═══ Hub Layout v2 ═══ */
.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hub-clock-compact {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hub-time-compact {
  font-family: var(--font-gaming);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-bright);
}

.hub-date-compact {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hub-topbar .hub-weather {
  padding-top: 0;
  border-top: none;
  flex: 1;
  min-width: 200px;
}

.hub-topbar .weather-main { margin-bottom: 0; }

.hub-dashboard-v2 {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 260px);
  gap: 1.25rem;
  align-items: start;
}

.hub-main-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.hub-side-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: var(--header-sticky-offset, 13rem);
}

.hub-panel-featured { min-height: 280px; }

.hub-quick-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
}

.hub-quick-link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.hub-quick-link:hover {
  border-color: var(--border);
  background: var(--glass-bg);
  color: var(--text);
}

/* ═══ Forum Layout v2 ═══ */
.forum-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.forum-sidebar-card {
  padding: 1.25rem;
}

.thread-pinned {
  border-left-color: var(--guild-gold);
  background: linear-gradient(90deg, rgba(110, 200, 255, 0.06), transparent 40%);
}

.badge-official {
  background: rgba(110, 200, 255, 0.15);
  border-color: rgba(110, 200, 255, 0.35);
  color: var(--guild-gold);
}

.thread-pin { opacity: 0.7; }

.forum-login-hint {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  text-align: center;
}

.forum-login-hint p { margin-bottom: 0.75rem; color: var(--text-muted); font-size: 0.9rem; }

.reply-as {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.error-msg {
  color: #ff8fa8;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 107, 157, 0.1);
  border: 1px solid rgba(255, 107, 157, 0.25);
}

@media (max-width: 960px) {
  .hub-dashboard-v2 { grid-template-columns: 1fr; }
  .hub-side-col { position: static; }
}

/* ═══ Gilden / Crew Theme ═══ */
.guild-motto {
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--guild-gold);
  text-align: center;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.guild-frame {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    linear-gradient(135deg, var(--guild-gold), var(--accent), var(--purple), var(--guild-gold)) border-box;
}

.guild-frame::before,
.guild-frame::after {
  content: '⚔';
  position: absolute;
  font-size: 1rem;
  color: var(--guild-gold);
  opacity: 0.45;
  pointer-events: none;
}

.guild-frame::before { top: 0.65rem; left: 0.85rem; }
.guild-frame::after { bottom: 0.65rem; right: 0.85rem; transform: scaleX(-1); }

.guild-pill {
  border-color: rgba(110, 200, 255, 0.35);
  background: linear-gradient(135deg, var(--glass-bg), rgba(110, 200, 255, 0.1));
  font-family: var(--font-gaming);
  font-weight: 600;
  border-width: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.guild-pill:hover {
  border-color: var(--guild-gold);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1), 0 0 20px var(--guild-gold-glow);
}

.guild-crest {
  position: absolute;
  inset: -12px;
  pointer-events: none;
}

.crest-corner {
  position: absolute;
  font-size: 0.85rem;
  color: var(--guild-gold);
  opacity: 0.55;
  text-shadow: 0 0 8px var(--guild-gold-glow);
}

.crest-tl { top: 0; left: 0; }
.crest-tr { top: 0; right: 0; }
.crest-bl { bottom: 0; left: 0; }
.crest-br { bottom: 0; right: 0; }

.hero-visual { position: relative; }

.guild-rank {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--guild-gold);
  white-space: nowrap;
  text-shadow: 0 0 12px var(--guild-gold-glow);
  z-index: 2;
}

.guild-shield {
  position: relative;
  border-color: rgba(110, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(94, 184, 255, 0.08), rgba(110, 200, 255, 0.06));
}

.guild-shield::before {
  content: '🛡️';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  opacity: 0.7;
}

.guild-shield .hero-stat-num { margin-top: 0.35rem; }

.guild-tag {
  background: linear-gradient(135deg, rgba(110, 200, 255, 0.15), rgba(94, 184, 255, 0.12));
  border-color: rgba(110, 200, 255, 0.35);
  color: var(--guild-accent-bright);
  transform: none;
}

.guild-tag::before {
  content: '◆ ';
  opacity: 0.7;
}

.guild-hall {
  position: relative;
}

.guild-hall::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(110, 200, 255, 0.06), transparent 60%);
  pointer-events: none;
}

.guild-card {
  position: relative;
}

.guild-card::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--guild-gold);
  box-shadow: 0 0 8px var(--guild-gold-glow);
  opacity: 0.5;
}

.quest-board .hub-panel-head h3::after {
  content: ' — Quest-Board';
  font-size: 0.65rem;
  font-family: var(--font-gaming);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.guild-tavern {
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(110, 200, 255, 0.05), transparent),
    var(--section-tint);
}

.guild-sidebar-title {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--guild-gold);
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
}

.hub-game-item {
  position: relative;
}

.hub-game-item::after {
  content: '📌';
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.hub-game-item:hover::after {
  opacity: 0.7;
  transform: rotate(-12deg);
}

.hub-news-item {
  position: relative;
  padding-left: 1.35rem;
}

.hub-news-item::before {
  content: '📜';
  position: absolute;
  left: 0.65rem;
  top: 0.85rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

.thread-item {
  border-left: 3px solid var(--guild-gold);
}

.thread-item::before {
  content: '📌';
  margin-right: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

.thread-replies {
  font-family: var(--font-gaming);
  background: rgba(110, 200, 255, 0.1);
  border: 1px solid rgba(110, 200, 255, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--guild-gold);
}

.live-ribbon {
  color: var(--gaming-green);
  border-color: rgba(61, 214, 140, 0.3);
  background: rgba(61, 214, 140, 0.08);
}

.live-ribbon::after {
  content: ' · Gilde aktiv';
  opacity: 0.75;
}

[data-theme="light"] .fusion-header-main {
  background:
    linear-gradient(135deg, rgba(220, 233, 252, 0.98) 0%, rgba(244, 248, 255, 0.99) 50%, rgba(232, 240, 252, 0.98) 100%),
    radial-gradient(ellipse 70% 100% at 0% 0%, rgba(201, 146, 46, 0.12), transparent 55%);
  box-shadow: inset 0 -1px 0 rgba(30, 90, 160, 0.08);
}

[data-theme="light"] .fusion-brand-title {
  background: linear-gradient(135deg, #0d1b2e 0%, #1a6bc4 55%, #2a7fd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .guild-brand-tag,
[data-theme="light"] .fusion-brand-tag {
  color: rgba(30, 60, 100, 0.75);
}

[data-theme="light"] .fusion-menu .fusion-menu-link {
  color: rgba(13, 27, 46, 0.85);
  border-color: rgba(30, 90, 160, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  box-shadow: 0 2px 0 rgba(30, 60, 100, 0.08);
}

[data-theme="light"] .fusion-menu .fusion-menu-link.active {
  color: #041428;
  background: linear-gradient(180deg, #b8e6ff 0%, #6ec8ff 50%, #3a8fd4 100%);
  border-color: rgba(42, 127, 212, 0.45);
  box-shadow: 0 4px 0 rgba(30, 90, 160, 0.2), 0 0 16px var(--guild-accent-glow);
}

.mesh-bg,
.aurora,
.grid-bg,
.stars,
.moon-glow,
.play-deco {
  pointer-events: none !important;
}

#main-content {
  position: relative;
  z-index: 2;
}

/* —— Header v2: klar, 2 Zeilen —— */
.guild-header-bar {
  --header-pad-y: 0.65rem;
  --header-logo-size: 52px;
  --header-sticky-offset: 7.25rem;
}

.guild-header-bar .fusion-header-main {
  padding-bottom: 0;
  border-bottom: 2px solid rgba(110, 200, 255, 0.35);
}

.guild-header-bar .fusion-header-main::after {
  display: none;
}

.guild-header-bar .header-bar {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: var(--header-pad-y) var(--site-gutter) calc(var(--header-pad-y) + 0.15rem);
  width: 100%;
  max-width: var(--fusion-site-max);
  margin-inline: auto;
  box-sizing: border-box;
}

.header-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-logo-size);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  flex-shrink: 0;
}

.header-brand-logo {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(110, 200, 255, 0.4));
}

.header-brand-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.header-brand-title > span:nth-child(2) {
  background: linear-gradient(135deg, #fff 0%, #b8dfff 50%, #5eb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-brand-crew {
  font-family: var(--font-gaming);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8f4ff;
  background: rgba(30, 80, 136, 0.85);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(110, 200, 255, 0.45);
  -webkit-text-fill-color: #e8f4ff;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 1;
  min-width: 0;
  justify-content: flex-end;
}

.header-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 200, 255, 0.25);
  background: rgba(8, 18, 36, 0.55);
  font-family: var(--font-gaming);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.header-meta-time {
  font-weight: 700;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.header-meta-dot {
  opacity: 0.45;
}

.header-meta-weather {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-meta-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header-auth-btn {
  height: 2.25rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 200, 255, 0.35);
  background: rgba(110, 200, 255, 0.1);
  color: var(--text);
  font-family: var(--font-gaming);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.header-auth-btn:hover {
  background: rgba(110, 200, 255, 0.2);
  border-color: var(--guild-accent);
}

.header-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(110, 200, 255, 0.3);
  background: rgba(8, 18, 36, 0.55);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.header-icon-btn:hover {
  border-color: var(--guild-accent);
}

.header-row-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding-top: 0.15rem;
}

.header-row-nav .fusion-menu {
  justify-content: center;
}

.header-row-nav .fusion-menu-link {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.header-row-nav .fusion-nav-toggle,
.header-row-nav .nav-toggle {
  display: none;
}

.guild-header-bar .nav-user-btn {
  height: 2.25rem;
  padding: 0 0.65rem;
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .guild-header-bar {
    --header-sticky-offset: 8.5rem;
  }

  .header-row-top {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-meta {
    width: 100%;
    justify-content: space-between;
  }

  .header-meta-pill {
    max-width: none;
    flex: 1;
    min-width: 0;
  }

  .header-brand-title {
    font-size: clamp(1.15rem, 4vw, 1.35rem);
  }

  .header-row-nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .header-row-nav .fusion-nav-toggle,
  .header-row-nav .nav-toggle {
    display: flex;
  }

  .header-row-nav .fusion-menu,
  .header-row-nav .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 2;
    margin-top: 0.35rem;
  }

  .header-row-nav .fusion-menu.open,
  .header-row-nav .nav-links.open {
    display: flex;
  }

  .header-row-nav .fusion-menu-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .guild-header-bar {
    --header-logo-size: 44px;
    --header-sticky-offset: 7.75rem;
  }

  .header-meta-pill {
    display: none;
  }

  .header-brand-logo {
    width: var(--header-logo-size);
    height: var(--header-logo-size);
  }
}

#hub-loot,
#hub-intel,
#member-widget,
#forum,
#live {
  scroll-margin-top: calc(var(--header-sticky-offset, 13rem) + 0.5rem);
}

.fusion-layout,
.fusion-panel,
.fusion-panel-body,
.hero-actions,
.hero-actions .btn,
.hero-interactive,
.hero-welcome-full,
.crew-pills,
.crew-pill,
#member-widget,
#member-widget .btn,
#new-thread-btn,
.hub-tab,
.hub-filter,
.fusion-filter-btn,
.cat-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* —— UX & Polish —— */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-xs);
  background: var(--accent);
  color: #041428;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: none;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 95;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--guild-accent);
  background: linear-gradient(180deg, rgba(30, 63, 114, 0.95), rgba(8, 18, 36, 0.98));
  color: var(--guild-accent-bright);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 6px 24px var(--guild-accent-glow);
  border-color: var(--guild-accent-bright);
}

.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  max-width: 36rem;
  margin: 0 auto 1.35rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(110, 200, 255, 0.2);
}

.hero-stats-banner .glass-stat {
  padding: 0.65rem 0.5rem;
}

.hero-stats-banner .hero-stat-num {
  font-size: 1.45rem;
}

.hero-stats-banner .hero-stat-label {
  font-size: 0.68rem;
}

.hub-skeleton {
  border-radius: var(--radius-xs);
  background: linear-gradient(
    90deg,
    rgba(94, 184, 255, 0.06) 0%,
    rgba(94, 184, 255, 0.14) 50%,
    rgba(94, 184, 255, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.hub-skeleton-card {
  aspect-ratio: 16 / 10;
  min-height: 140px;
}

.hub-skeleton-row {
  height: 3.25rem;
  margin-bottom: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem;
}

.hub-skeleton-row span {
  display: block;
  height: 0.55rem;
  border-radius: 4px;
  background: rgba(94, 184, 255, 0.12);
}

.hub-skeleton-row span:first-child { width: 28%; }
.hub-skeleton-row span:nth-child(2) { width: 85%; }
.hub-skeleton-row span:nth-child(3) { width: 42%; }

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hub-empty {
  padding: 1.25rem 1rem;
  border-radius: var(--radius-xs);
  border: 1px dashed var(--border);
  background: rgba(94, 184, 255, 0.04);
  line-height: 1.55;
}

.guild-status-list li:last-child {
  border-bottom: none;
}

.guild-tag,
.section-tag {
  display: inline-block;
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--guild-accent-bright);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 200, 255, 0.35);
  background: rgba(110, 200, 255, 0.1);
  margin-bottom: 0.35rem;
}

.fusion-content-head h2 {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.crew-pill:focus-visible,
.fusion-menu-link:focus-visible {
  outline: 2px solid var(--guild-accent-bright);
  outline-offset: 3px;
}

@media (min-width: 961px) {
  .theme-fab {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-stats-banner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    gap: 0.4rem;
  }

  .hero-stats-banner .hero-stat-num {
    font-size: clamp(1.05rem, 4vw, 1.45rem);
  }

  .hero-stats-banner .hero-stat-label {
    font-size: 0.62rem;
  }

  .hero-welcome-full {
    padding: 0.95rem 0.8rem 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .modal {
    width: calc(100vw - 2 * var(--site-gutter));
    max-width: none;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .back-to-top {
    right: var(--site-gutter);
    bottom: 1.25rem;
  }
}

@media (max-width: 380px) {
  .hero-stats-banner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
