/* ============================================================
   MORELIA CITY - DESIGN TOKENS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600&display=swap');

:root {
  --bg-base:          #0d0d0d;
  --bg-dark:          #161616;
  --bg-panel:         rgba(22,22,22,0.90);
  --bg-item:          radial-gradient(126.89% 161.83% at 50% 50%, rgba(255,255,255,0.00) 0%, rgba(153,153,153,0.10) 100%);
  --bg-section:       linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(153,153,153,0.00) 100%);
  --bg-input:         linear-gradient(90deg, rgba(255,255,255,0.07) 0%, rgba(153,153,153,0.00) 100%);

  --red:              #FF6768;
  --red-dark:         #C1454F;
  --red-glow:         rgba(255,103,104,0.75);
  --red-glow-soft:    rgba(255,103,104,0.30);
  --red-gradient:     linear-gradient(180deg, #FF6768 0%, #BB494A 100%);
  --red-radial:       radial-gradient(100% 100% at 50% 0%, #FF6768 0%, #C1454F 100%);
  --red-text:         linear-gradient(90deg, #FF5D6B 0%, #B04049 100%);

  --green:            #9CFF86;
  --green-dark:       #6AB25A;
  --green-glow:       rgba(156,255,134,0.52);
  --green-glow-soft:  rgba(156,255,134,0.25);
  --green-gradient:   linear-gradient(180deg, #9CFF86 0%, #83D870 50%, #6AB25A 100%);
  --green-radial:     radial-gradient(100% 100% at 50% 0%, #9CFF86 0%, #60CB48 100%);

  --blue:             #86CBFF;
  --purple:           #D585FD;

  --white:            #ffffff;
  --w70:              rgba(255,255,255,0.70);
  --w50:              rgba(255,255,255,0.50);
  --w35:              rgba(255,255,255,0.35);
  --w27:              rgba(255,255,255,0.27);
  --w15:              rgba(255,255,255,0.15);
  --w10:              rgba(255,255,255,0.10);
  --w07:              rgba(255,255,255,0.07);
  --w05:              rgba(255,255,255,0.05);
  --w03:              rgba(255,255,255,0.03);

  --font-display:     'Bebas Neue', sans-serif;
  --font-body:        'Space Grotesk', sans-serif;

  --radius-xs:        3px;
  --radius-sm:        6px;
  --radius-md:        10px;
  --radius-lg:        16px;
  --radius-xl:        20px;
  --radius-full:      9999px;

  --border-subtle:    1px solid var(--w07);
  --border-dim:       1px solid var(--w15);
  --border-red:       1px solid var(--red);
  --border-green:     1px solid var(--green);
  --border-red-ghost: 1px solid rgba(255,103,104,0.20);
  --border-green-ghost: 1px solid rgba(156,255,134,0.20);

  --glow-red:         0 0 12px var(--red-glow);
  --glow-green:       0 0 12px var(--green-glow);
  --shadow-panel:     0 8px 48px rgba(0,0,0,0.6);

  --nav-height:       68px;
  --ease:             0.2s ease;
  --ease-smooth:      0.3s cubic-bezier(0.4,0,0.2,1);
}

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--w15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--w27); }

/* -- Container -- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; }

/* -- Typography helpers -- */
.t-green {
  color: var(--green);
  text-shadow: 0 0 40px rgba(156,255,134,0.4);
  -webkit-text-stroke: 0.5px var(--green);
}
.t-red {
  background: var(--red-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255,93,107,0.4));
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(13,13,13,0.0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s cubic-bezier(0.4,0,0.2,1),
    backdrop-filter 0.35s ease,
    border-color 0.35s ease;
}
.nav--scrolled,
.nav--menu-open {
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(156,255,134,0.2));
  transition: filter var(--ease), transform var(--ease);
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 12px rgba(156,255,134,0.4));
  transform: scale(1.04);
}

/* Nav CTA button */
.btn-nav-cta {
  background: #ffffff;
  border: none;
  color: #0d0d0d;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  height: 40px;
  padding: 0 22px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-weight: 400;
  transition: background 0.2s ease, transform 0.1s ease, opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
}
.btn-nav-cta--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.btn-nav-cta:hover { background: rgba(255,255,255,0.88); }
.btn-nav-cta:active { transform: scale(0.97); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: flex;
  align-items: center;
  height: 44px; /* mobile-friendly touch target */
  padding: 0 14px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--w50);
  transition: color var(--ease), background var(--ease);
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--white); background: var(--w07); }
.nav-links a.active { color: var(--white); background: var(--w05); }
.nav-links a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--red);
  border-radius: var(--radius-full);
}
.nav-right { display: flex; align-items: center; gap: 10px; }

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px; /* accessible touch target */
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter var(--ease), transform 0.1s ease, box-shadow var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: 0.5s;
}
.btn:hover::after { left: 100%; }

.btn-red {
  background: var(--red-radial);
  border: var(--border-red);
  color: rgba(0,0,0,0.8);
  text-shadow: none;
}
.btn-red:hover { filter: brightness(1.1); box-shadow: 0 0 20px var(--red-glow-soft); }
.btn-red:active { transform: scale(0.98); }

.btn-green {
  background: var(--green-radial);
  border: var(--border-green);
  color: rgba(0,0,0,0.8);
}
.btn-green:hover { filter: brightness(1.1); box-shadow: 0 0 20px var(--green-glow-soft); }
.btn-green:active { transform: scale(0.98); }

.btn-ghost {
  background: var(--w05);
  border: var(--border-dim);
  color: var(--w50);
}
.btn-ghost:hover { background: var(--w10); border-color: var(--w27); color: var(--white); }

.btn-ghost-red {
  background: rgba(255,103,104,0.12);
  border: var(--border-red-ghost);
  color: var(--red);
}
.btn-ghost-red:hover {
  background: var(--red-radial);
  border: var(--border-red);
  color: rgba(0,0,0,0.8);
  box-shadow: 0 0 16px var(--red-glow-soft);
}

.btn-discord {
  background: #5865F2;
  border: 1px solid rgba(88,101,242,0.6);
  color: var(--white);
}
.btn-discord:hover { filter: brightness(1.1); }

.btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 12px; }
.btn--full { width: 100%; }

/* White CTA button */
.btn-white {
  background: #ffffff;
  border: none;
  color: #0d0d0d;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.btn-white:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.btn-white:active { transform: scale(0.98); }

/* -- Nav hamburger -- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  align-items: flex-start;
  transition: transform 0.2s ease;
}
.nav-toggle:active { transform: scale(0.88); }

/* Bars – unterschiedliche Breiten für Charakter */
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--w50);
  border-radius: 2px;
  transform-origin: center;
  transition: transform  0.42s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              opacity    0.22s ease,
              width      0.28s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.28s ease;
}
.nav-toggle span:nth-child(1) { width: 22px; }
.nav-toggle span:nth-child(2) { width: 14px; }
.nav-toggle span:nth-child(3) { width: 18px; }

/* → X: Bar 2 schießt raus, 1 und 3 rotieren mit Federwirkung */
.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--white);
  width: 22px;
}
.nav-toggle--open span:nth-child(2) {
  opacity: 0;
  transform: translateX(12px) scaleX(0.3);
  width: 22px;
}
.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--white);
  width: 22px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: 60px;
  background: #0d0d0d;
}

.hero-parallax {
  position: absolute;
  inset: -8%;
  pointer-events: none;
  z-index: 0;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  will-change: transform;
}

.hero-layer--bg {
  opacity: 0;
  animation: heroFadeIn 1.2s ease 0.1s forwards;
}

.hero-layer--person {
  background-size: auto 105%;
  background-position: center right;
  opacity: 0;
  animation: heroFadeIn 1.4s ease 0.35s forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* -- Bottom fade -- */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
  pointer-events: none;
  z-index: 2;
}

/* Left-side shadow */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(13,13,13,0.90) 0%,
      rgba(13,13,13,0.65) 42%,
      rgba(13,13,13,0.20) 70%,
      transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* -- Content -- */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 560px;
  padding: 0 40px 0 80px;
  margin-top: -12vh;
  animation: heroContentIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 148px);
  line-height: 0.88;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-title-line { display: block; }

.hero-subtitle {
  max-width: 460px;
  margin: 0 0 36px;
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* -- Scroll hint -- */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.45);
  animation: heroScrollBounce 2s ease-in-out infinite;
  cursor: pointer;
}
.hero-scroll-hint:hover { color: rgba(255,255,255,0.75); }
@keyframes heroScrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0);   }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* -- Hero title image -- */
.hero-title-img-wrap {
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-title-img {
  width: 100%;
  height: auto;
  max-width: 500px;
  filter: drop-shadow(0 0 40px rgba(156,255,134,0.18)) drop-shadow(0 0 80px rgba(255,60,60,0.12));
  transition: filter 0.4s ease;
  display: block;
}
.hero-title-img:hover {
  filter: drop-shadow(0 0 55px rgba(156,255,134,0.28)) drop-shadow(0 0 100px rgba(255,60,60,0.18));
}

/* -- Hero noise + grid overlays -- */
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent);
}
.hero-pretitle {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.pretitle-dot {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--red);
  opacity: 0.7;
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
.about-section {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  gap: 0;
  align-items: stretch;
}

.about-text-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.container-about-text {
  max-width: 560px;
  margin: 0 auto;
}

.about-image-col {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 520px;
}

.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.about-body-text {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.62);
  margin-top: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.stat-box {
  padding: 20px;
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-section);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--green);
  text-shadow: 0 0 20px var(--green-glow-soft);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--w35); margin-top: 4px; letter-spacing: 0.05em; }

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section { padding: 100px 0; }
.section--dark { background: var(--bg-dark); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--red);
  box-shadow: var(--glow-red);
}
.section-label::after {
  content: '';
  width: 20px; height: 1px;
  background: var(--red);
  box-shadow: var(--glow-red);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--w50);
  max-width: 500px;
  line-height: 1.7;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 64px) 0 64px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-base);
  border-bottom: var(--border-subtle);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-header-glow-left {
  position: absolute;
  top: 0; left: -200px;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(156,255,134,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-glow-right {
  position: absolute;
  top: 0; right: -200px;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,103,104,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 80px);
  line-height: 0.95;
  margin: 12px 0 20px;
}
.page-header-sub {
  font-size: 15px;
  color: var(--w50);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.feature-card {
  position: relative;
  padding: 28px;
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-section);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease-smooth);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--red-gradient);
  opacity: 0;
  transition: opacity var(--ease);
}
.feature-card:hover { border-color: var(--w15); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,103,104,0.12);
  border: var(--border-red-ghost);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-text { font-size: 14px; color: var(--w50); line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-subtitle { font-size: 17px; color: var(--w50); margin-bottom: 40px; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--w07);
  margin-top: auto;
}
.footer-body { padding: 60px 0 48px; }

.footer-cols {
  display: grid;
  gap: 2rem;
}
.footer-cols--1 { grid-template-columns: 1fr; }
.footer-cols--2 { grid-template-columns: repeat(2, 1fr); }
.footer-cols--3 { grid-template-columns: repeat(3, 1fr); }
.footer-cols--4 { grid-template-columns: repeat(4, 1fr); }
.footer-cols--5 { grid-template-columns: repeat(5, 1fr); }
.footer-cols--6 { grid-template-columns: repeat(6, 1fr); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-logo { height: 44px; width: auto; object-fit: contain; opacity: 0.85; }
.footer-logo-link:hover .footer-logo { opacity: 1; }
.footer-tagline { font-size: 13px; color: var(--w35); line-height: 1.65; margin: 0; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w50);
  margin: 0 0 4px;
}
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-link, .footer-nav .nav-link {
  font-size: 13px;
  color: var(--w35);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 4px 0;
}
.footer-link:hover, .footer-nav .nav-link:hover { color: var(--white); }

.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--w10);
  background: var(--w05);
  color: var(--w35);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social-icon:hover { color: var(--white); border-color: var(--w27); background: var(--w10); }
.footer-social-icon svg { width: 16px; height: 16px; }

.footer-text-content { font-size: 13px; color: var(--w35); line-height: 1.7; }
.footer-text-content p { margin: 0 0 8px; }
.footer-text-content a { color: var(--w50); }
.footer-text-content a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--w05);
  padding: 18px 0;
}
.footer-bottom-inner { display: flex; justify-content: center; }
.footer-copy { font-size: 12px; color: var(--w27); margin: 0; text-align: center; }

/* ============================================================
   RULES PAGE
   ============================================================ */
.rules-page { padding-top: var(--nav-height); min-height: 100vh; }
.rules-hero {
  padding: 64px 0 48px;
  border-bottom: var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.rules-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.rules-hero-content { position: relative; z-index: 1; }
.rules-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,103,104,0.10);
  border: var(--border-red-ghost);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.rules-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  margin-bottom: 12px;
  line-height: 1;
}
.rules-subtitle { font-size: 15px; color: var(--w50); }

/* Rules layout */
.rules-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
  align-items: start;
}
.rules-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  max-height: calc(100vh - var(--nav-height) - 40px);
  overflow-y: auto;
}
.rules-sidebar::-webkit-scrollbar { width: 3px; }
.rules-sidebar::-webkit-scrollbar-thumb { background: var(--w15); }
.sidebar-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--w27);
  padding: 0 12px 12px;
  border-bottom: var(--border-subtle);
  margin-bottom: 8px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--w50);
  transition: all var(--ease);
  cursor: pointer;
  border-left: 2px solid transparent;
  min-height: 44px;
}
.sidebar-link:hover { color: var(--white); background: var(--w05); }
.sidebar-link.active {
  color: var(--white);
  background: var(--w05);
  border-left-color: var(--red);
}
.sidebar-link-num {
  width: 24px; height: 18px;
  border-radius: 3px;
  background: rgba(255,103,104,0.12);
  border: var(--border-red-ghost);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--red);
  font-weight: 600;
  flex-shrink: 0;
}

/* Rules content */
.rules-content { min-width: 0; }
.rules-section { margin-bottom: 56px; scroll-margin-top: calc(var(--nav-height) + 24px); }
.rules-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  margin-bottom: 16px;
  position: relative;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}
.rules-section-header::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 20px;
  background: var(--red-gradient);
  border-radius: 0 2px 2px 0;
  box-shadow: var(--glow-red);
}
.rules-section-header:hover { background: rgba(255,255,255,.05); }

.rw-chevron {
  flex-shrink: 0;
  color: var(--w27);
  transition: transform .3s ease;
  margin-left: auto;
}
.rw-collapsible.is-open .rw-chevron { transform: rotate(180deg); }

.rw-body {
  overflow: hidden;
  max-height: none;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.rw-collapsible:not(.is-open) .rw-body {
  max-height: 0;
}

.rules-section-num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--red);
  text-shadow: 0 0 12px var(--red-glow);
  flex-shrink: 0;
  min-width: 40px;
}
.rules-section-info { flex: 1; min-width: 0; }
.rules-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  line-height: 1;
}
.rules-section-desc { font-size: 13px; color: var(--w35); margin-top: 3px; }
.rules-section-count {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,103,104,0.10);
  border: var(--border-red-ghost);
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Individual rule */
.rule-item {
  display: flex;
  gap: 16px;
  padding: 20px 20px 20px 16px;
  border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid var(--sev, rgba(255,255,255,.15));
  border-radius: var(--radius-sm);
  background: var(--bg-item);
  margin-bottom: 8px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  position: relative;
  align-items: flex-start;
}
.rule-item:hover {
  border-color: rgba(255,255,255,.14);
  border-left-color: var(--sev, rgba(255,255,255,.3));
  background: rgba(255,255,255,.04);
  transform: translateX(2px);
}
.rule-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 48px;
  flex-shrink: 0;
  padding-top: 2px;
}
.rule-para-badge {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--sev, rgba(255,255,255,.35));
  letter-spacing: .02em;
  white-space: nowrap;
  line-height: 1;
}
.rule-num::after { display: none; }

.rule-body { flex: 1; min-width: 0; }
.rule-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; line-height: 1.4; }
.rule-content { font-size: 14px; color: var(--w50); line-height: 1.75; }
.rule-content p { margin-bottom: 8px; }
.rule-content p:last-child { margin-bottom: 0; }
.rule-content ul, .rule-content ol { padding-left: 20px; margin-bottom: 8px; }
.rule-content li { margin-bottom: 4px; }
.rule-content strong { color: var(--white); font-weight: 600; }
.rule-content a { color: var(--red); }

.rules-empty {
  padding: 64px 20px;
  text-align: center;
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-section);
}
.rules-empty-icon { font-size: 48px; margin-bottom: 16px; }
.rules-empty p { color: var(--w35); font-size: 15px; }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-placeholder {
  text-align: center;
  padding: 64px 24px;
  max-width: 480px;
}
.profile-placeholder-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,103,104,0.10);
  border: var(--border-red-ghost);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}
.profile-placeholder h2 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 12px;
}
.profile-placeholder p { color: var(--w50); font-size: 15px; margin-bottom: 28px; line-height: 1.7; }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
}
.not-found-number {
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 200px);
  line-height: 1;
  background: var(--red-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.not-found-title {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 12px;
}
.not-found-text { color: var(--w50); margin-bottom: 32px; }

/* ============================================================
   PHILOSOPHY SECTION
   ============================================================ */
.philosophy-section {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-dark) 50%, var(--bg-base) 100%);
  overflow: hidden;
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}
.philosophy-bg-accent {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,103,104,0.05) 0%, rgba(156,255,134,0.03) 40%, transparent 70%);
  pointer-events: none;
}
.philosophy-inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.philosophy-deco {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.philosophy-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.philosophy-icon {
  color: var(--red);
  opacity: 0.7;
}
.philosophy-title {
  text-align: center;
  margin-bottom: 32px;
}
.philosophy-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--w50);
  font-style: italic;
  position: relative;
  padding: 32px 40px;
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  margin: 0;
}
.philosophy-text::before {
  content: '"';
  position: absolute;
  top: -16px; left: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--red);
  opacity: 0.25;
  line-height: 1;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-group { margin-bottom: 64px; }
.team-group:last-child { margin-bottom: 0; }

.team-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.team-group-line {
  flex: 1;
  height: 1px;
  background: var(--w07);
}
.team-group-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--w07);
  overflow: hidden;
  transition: transform var(--ease-smooth), border-color var(--ease), box-shadow var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--w15);
}
.team-card--owner:hover,
.team-card--admin:hover {
  border-color: rgba(255,103,104,0.50);
  box-shadow: 0 16px 52px rgba(255,103,104,0.22), 0 0 28px rgba(255,103,104,0.10) inset;
}
.team-card--developer:hover {
  border-color: rgba(134,203,255,0.50);
  box-shadow: 0 16px 52px rgba(134,203,255,0.22), 0 0 28px rgba(134,203,255,0.10) inset;
}
.team-card--moderator:hover {
  border-color: rgba(156,255,134,0.50);
  box-shadow: 0 16px 52px rgba(156,255,134,0.22), 0 0 28px rgba(156,255,134,0.10) inset;
}
.team-card--supporter:hover {
  border-color: rgba(213,133,253,0.50);
  box-shadow: 0 16px 52px rgba(213,133,253,0.22), 0 0 28px rgba(213,133,253,0.10) inset;
}

.team-card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: background;
  z-index: 0;
}
@keyframes teamGlowPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
.team-card:hover .team-card-glow {
  opacity: 1;
  animation: teamGlowPulse 2.8s ease-in-out infinite;
}
.team-card--owner .team-card-glow,
.team-card--admin .team-card-glow {
  background: radial-gradient(circle at var(--gx,50%) var(--gy,-10%), rgba(255,103,104,0.42) 0%, rgba(255,103,104,0.14) 38%, transparent 66%);
}
.team-card--developer .team-card-glow {
  background: radial-gradient(circle at var(--gx,50%) var(--gy,-10%), rgba(134,203,255,0.42) 0%, rgba(134,203,255,0.14) 38%, transparent 66%);
}
.team-card--moderator .team-card-glow {
  background: radial-gradient(circle at var(--gx,50%) var(--gy,-10%), rgba(156,255,134,0.42) 0%, rgba(156,255,134,0.14) 38%, transparent 66%);
}
.team-card--supporter .team-card-glow {
  background: radial-gradient(circle at var(--gx,50%) var(--gy,-10%), rgba(213,133,253,0.42) 0%, rgba(213,133,253,0.14) 38%, transparent 66%);
}

.team-card-inner {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* Avatar */
.team-avatar {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
}
.team-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-avatar-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}
.team-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--w15), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.team-avatar--owner .team-avatar-ring,
.team-avatar--admin .team-avatar-ring { background: linear-gradient(135deg, rgba(255,103,104,0.5), transparent) border-box; }
.team-avatar--developer .team-avatar-ring { background: linear-gradient(135deg, rgba(134,203,255,0.5), transparent) border-box; }
.team-avatar--moderator .team-avatar-ring { background: linear-gradient(135deg, rgba(156,255,134,0.5), transparent) border-box; }
.team-avatar--supporter .team-avatar-ring { background: linear-gradient(135deg, rgba(213,133,253,0.5), transparent) border-box; }

.team-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
}
.team-card-role {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-role-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.team-card-bio {
  font-size: 13px;
  color: var(--w35);
  line-height: 1.7;
  margin: 0;
}
.team-card-discord {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--w27);
  font-family: monospace;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--w05);
  border: var(--border-subtle);
  margin-top: 4px;
}

/* Team Cards v2 Custom */
.team-grid--preview {
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  gap: 24px;
}

.team-card--custom {
  overflow: visible;
  margin-top: 48px;
  background: linear-gradient(
    160deg,
    rgba(var(--member-rgb, 255,103,104), 0.07) 0%,
    rgba(255,255,255,0.02) 50%,
    rgba(255,255,255,0.01) 100%
  );
  border: 1px solid var(--w07);
  transition: transform var(--ease-smooth), border-color var(--ease), box-shadow var(--ease);
}
.team-card--custom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--member-color, #FF6768);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.team-card--custom:hover::before { opacity: 1; }
.team-card--custom:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--member-rgb, 255,255,255),0.35);
  box-shadow: 0 12px 40px rgba(var(--member-rgb, 255,255,255),0.10);
}
.team-card--custom .team-card-glow {
  background: radial-gradient(circle at var(--gx,50%) var(--gy,-10%), rgba(var(--member-rgb, 255,255,255),0.42) 0%, rgba(var(--member-rgb, 255,255,255),0.12) 38%, transparent 66%);
}
.team-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.team-avatar-wrap .team-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bg-dark);
  box-shadow:
    0 0 0 4px var(--bg-dark),
    0 0 0 6px rgba(var(--member-rgb, 255,255,255), 0.30);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.team-avatar-wrap .team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.team-avatar-wrap .team-avatar-img--logo {
  object-fit: contain;
  padding: 16px;
  opacity: 0.85;
}
.team-avatar-wrap .team-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(var(--member-rgb, 255,255,255), 0.55), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}
.team-card--custom .team-card-inner {
  padding: 14px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.team-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(var(--member-rgb,255,255,255), 0.25);
  background: rgba(var(--member-rgb,255,255,255), 0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--member-rgb,255,255,255), 0.8);
  flex-shrink: 0;
}
.team-card--custom .team-card-name {
  background: linear-gradient(135deg, #fff 60%, rgba(var(--member-rgb,255,255,255),0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.team-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 220px));
}

/* ============================================================
   SERVER CARD
   ============================================================ */
.server-card {
  padding: 28px;
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  box-shadow: var(--shadow-panel);
  position: relative;
  overflow: hidden;
}
.server-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,103,104,0.15), transparent 70%);
  filter: blur(30px);
}
.server-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: var(--border-subtle);
  margin-bottom: 20px;
}
.server-card-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--red-radial);
  border: var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: rgba(0,0,0,0.7);
}
.server-card-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: var(--border-subtle);
  font-size: 14px;
}
.server-card-info-row:last-child { border-bottom: none; }
.server-card-info-label { color: var(--w35); }
.server-card-info-value { color: var(--white); font-weight: 500; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-title { font-weight: 600; font-size: 15px; }
.modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: color 0.15s;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: #fff; }
.modal-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.modal-footer {
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ============================================================
   WORDPRESS CONTENT
   ============================================================ */
.wp-content { color: rgba(255,255,255,0.75); line-height: 1.8; font-size: 16px; }
.wp-content h2 { font-family: var(--font-display); font-size: 28px; margin: 32px 0 12px; color: #fff; }
.wp-content h3 { font-family: var(--font-display); font-size: 20px; margin: 24px 0 10px; color: #fff; }
.wp-content p  { margin-bottom: 16px; }
.wp-content a  { color: var(--green); }
.wp-content ul, .wp-content ol { padding-left: 24px; margin-bottom: 16px; }
.wp-content li { margin-bottom: 6px; }
.wp-content strong { color: #fff; }

/* ============================================================
   HERO TITLE GTA STYLE
   ============================================================ */
#heroTitle {
  display: inline-block;
  line-height: 1;
  letter-spacing: 4px;
  font-family: 'Bebas Neue', sans-serif;
  transform: none !important;
}

#heroTitle .t-green {
  display: block;
  color: #7CFF6B;
  text-shadow:
    1px 1px 0 #5acc50,
    2px 2px 0 #4abf40,
    3px 3px 0 #3aaa30,
    4px 4px 0 #2e8f26,
    5px 5px 0 #24701d,
    6px 6px 0 #1a5e12,
    7px 7px 8px rgba(0,0,0,0.6);
  filter: drop-shadow(0 0 12px rgba(124,255,107,0.4));
}

#heroTitle .t-red {
  display: block;
  color: #FF6B6B;
  text-shadow:
    1px 1px 0 #cc3030,
    2px 2px 0 #b82828,
    3px 3px 0 #aa2020,
    4px 4px 0 #911818,
    5px 5px 0 #801212,
    6px 6px 0 #5e0808,
    7px 7px 8px rgba(0,0,0,0.6);
  filter: drop-shadow(0 0 12px rgba(255,107,107,0.4));
}

#heroContent {
  will-change: auto;
  transform: none !important;
}

/* Nav container full width */
.nav .container {
  max-width: none;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

/* ============================================================
   SOCIAL MEDIA SECTION
   ============================================================ */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.social-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: 1px solid var(--w07);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  overflow: hidden;
  width: 120px;
  transition: transform var(--ease-smooth), border-color var(--ease), box-shadow var(--ease);
}
.social-card:hover {
  transform: translateY(-5px);
  border-color: var(--w15);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}
.social-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.09), transparent 65%);
  transition: opacity 0.35s ease;
}
.social-card:hover .social-card-glow { opacity: 1; }
.social-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px 18px;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--social-color, #fff);
  transition: transform 0.25s ease;
}
.social-card:hover .social-icon { transform: scale(1.18); }
.social-icon svg { width: 100%; height: 100%; }
.social-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--w35);
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.social-card:hover .social-label { color: var(--w50); }

/* ============================================================
   FAQ + DISCORD WIDGET
   ============================================================ */
.faq-discord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.faq-col .section-label,
.discord-widget-col .section-label { margin-bottom: 28px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--w07);
  background: var(--w03);
  transition: border-color 0.2s ease;
}
.faq-item--open { border-color: var(--w15); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s ease;
  min-height: 56px;
}
.faq-question:hover { background: var(--w05); }
.faq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--w35);
  transition: transform 0.3s ease;
}
.faq-item--open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-answer:not([hidden]) { max-height: 600px; }
.faq-answer[hidden] {
  display: block !important;
  max-height: 0;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--w50);
  line-height: 1.75;
}
.faq-answer-inner p { margin: 0 0 8px; }
.faq-answer-inner p:last-child { margin: 0; }

.discord-widget-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--w07);
  background: #36393f;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.discord-iframe { display: block; }

/* Discord Widget Fallback */
.discord-widget-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  min-height: 200px;
  justify-content: center;
  gap: 10px;
}
.dwf-icon svg { width: 40px; height: 40px; color: #5865F2; }
.dwf-title { font-family: var(--font-display); font-size: 20px; margin: 0; }
.dwf-hint { font-size: 13px; color: var(--w35); line-height: 1.7; margin: 0; }

/* Discord Custom Widget */
.discord-custom-widget {
  background: #1e2024;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
}
.dcw-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 24px;
  color: rgba(255,255,255,.35);
  font-size: 13px;
}
.dcw-loading-icon { width: 36px; height: 36px; opacity: .4; }
.dcw-loading-icon svg { width: 36px; height: 36px; display: block; }
.dcw-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 24px;
  text-align: center;
}
.dcw-error-icon { width: 32px; height: 32px; opacity: .25; }
.dcw-error-icon svg { width: 32px; height: 32px; display: block; fill: #7289da; }
.dcw-error-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); margin: 0; }
.dcw-error-hint { font-size: 12px; color: rgba(255,255,255,.3); line-height: 1.6; margin: 0; }
.dcw-content { font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.dcw-header {
  background: #17191c;
  padding: 16px 18px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dcw-server-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #5865f2;
}
.dcw-server-icon--placeholder {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dcw-server-icon--placeholder svg { width: 22px; height: 22px; fill: #fff; display: block; }
.dcw-server-info { flex: 1; min-width: 0; }
.dcw-server-name {
  font-size: 15px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dcw-server-counts {
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-top: 2px; display: flex; gap: 10px;
}
.dcw-count-online::before {
  content: ''; display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #23a55a; margin-right: 4px; vertical-align: middle;
}
.dcw-count-total::before {
  content: ''; display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.25); margin-right: 4px; vertical-align: middle;
}
.dcw-members {
  padding: 14px 18px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.dcw-members::-webkit-scrollbar { width: 4px; }
.dcw-members::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
.dcw-members-label {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 10px;
}
.dcw-member { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.dcw-member-avatar-wrap { position: relative; flex-shrink: 0; }
.dcw-member-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; background: #36393f; display: block;
}
.dcw-member-status {
  position: absolute; bottom: -1px; right: -1px;
  width: 10px; height: 10px;
  border-radius: 50%; border: 2px solid #1e2024;
}
.dcw-status--online  { background: #23a55a; }
.dcw-status--idle    { background: #f0b232; }
.dcw-status--dnd     { background: #f23f43; }
.dcw-status--offline { background: #80848e; }
.dcw-member-name {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.75);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dcw-member-game {
  font-size: 11px; color: rgba(255,255,255,.35); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dcw-footer { padding: 12px 18px 16px; border-top: 1px solid rgba(255,255,255,.06); }
.dcw-invite-btn {
  display: block; width: 100%; padding: 10px;
  background: #5865f2; color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
  text-align: center; border-radius: 6px; text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
.dcw-invite-btn:hover { background: #4752c4; transform: translateY(-1px); color: #fff; text-decoration: none; }

/* ============================================================
   PARTNER LAUFBAND
   ============================================================ */
.partner-track-outer {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.partner-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  animation: partnerScroll 30s linear infinite;
}
.partner-track-outer:hover .partner-track {
  animation-play-state: paused;
}
@keyframes partnerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--partner-shift, -50%)); }
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--w07);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  text-decoration: none;
  min-width: 150px;
  flex-shrink: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.partner-card:hover {
  border-color: var(--w27);
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}
.partner-logo-wrap {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo {
  max-height: 52px; max-width: 110px;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s ease;
  display: block;
}
.partner-card:hover .partner-logo { opacity: 1; }
.partner-logo-placeholder {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--w10);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--w50);
}
.partner-name {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--w27); text-align: center;
  transition: color 0.2s ease; white-space: nowrap;
}
.partner-card:hover .partner-name { color: var(--w50); }

/* ============================================================
   CHANGELOG + RELEASE
   ============================================================ */
.changelog-release-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.changelog-entry {
  border-radius: var(--radius-md);
  border: 1px solid var(--w07);
  background: var(--w03);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.changelog-entry--open { border-color: var(--w15); }
.changelog-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
  min-height: 52px;
}
.changelog-trigger:hover { background: var(--w05); }
.changelog-trigger-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.changelog-type {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 3px;
}
.changelog-type--update  { background: rgba(156,255,134,0.12); color: var(--green); }
.changelog-type--hotfix  { background: rgba(255,60,60,0.12); color: #ff6b6b; }
.changelog-type--feature { background: rgba(88,101,242,0.15); color: #818cf8; }
.changelog-type--patch   { background: rgba(255,200,80,0.12); color: #fbbf24; }
.changelog-type--major   { background: rgba(255,103,104,0.15); color: var(--red); }
.changelog-version {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
}
.changelog-date { font-size: 12px; color: var(--w27); }
.changelog-chevron {
  width: 16px; height: 16px;
  color: var(--w35); flex-shrink: 0;
  transition: transform 0.28s ease;
}
.changelog-entry--open .changelog-chevron { transform: rotate(180deg); }
.changelog-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.changelog-body:not([hidden]) { max-height: 800px; }
.changelog-body[hidden] { display: block !important; max-height: 0; }
.changelog-body-inner {
  padding: 0 18px 16px;
  font-size: 13px; color: var(--w50); line-height: 1.8;
}
.changelog-body-inner ul { margin: 0; padding-left: 16px; }
.changelog-body-inner li { margin-bottom: 4px; }
.changelog-body-inner p  { margin: 0 0 6px; }

/* Release */
.release-label-text {
  font-family: var(--font-display);
  font-size: 22px; color: var(--white);
  margin-bottom: 32px; letter-spacing: 0.04em;
}
.release-countdown-wrap {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--w07);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
  text-align: center;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.countdown-unit {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--w07);
  border-radius: var(--radius-md);
  padding: 20px 8px 14px;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1; color: var(--white);
  letter-spacing: -0.02em;
  animation: numPulse 1s ease infinite;
}
@keyframes numPulse {
  0%,100% { text-shadow: 0 0 20px rgba(156,255,134,0.08); }
  50%      { text-shadow: 0 0 30px rgba(156,255,134,0.22); }
}
.countdown-label {
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--w27);
}
.countdown-live-dot {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--w27); text-transform: uppercase;
}
.live-pulse {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: liveBlink 1.4s ease infinite;
}
@keyframes liveBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
.release-progress-wrap {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--w07);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
}
.progress-bar-outer {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: var(--w07);
  overflow: visible;
  margin-bottom: 28px;
}
.progress-bar-inner {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--green) 0%, #6fff3c 100%);
  box-shadow: 0 0 12px rgba(156,255,134,0.5);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.progress-bar-inner::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translate(50%, -50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 8px rgba(156,255,134,0.7);
}
.progress-bar-pct {
  position: absolute;
  right: 0; top: -24px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--green);
}
.release-task-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.release-task-list--scroll {
  max-height: 214px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(156,255,134,.5) rgba(255,255,255,.06);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 28px), transparent 100%);
}
.release-task-list--scroll::-webkit-scrollbar { width: 7px; }
.release-task-list--scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; }
.release-task-list--scroll::-webkit-scrollbar-thumb { background: rgba(156,255,134,.55); border-radius: 999px; }
.release-task {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--w50);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--w03);
  border: 1px solid var(--w05);
  transition: border-color 0.2s ease;
}
.release-task--done {
  color: var(--w27);
  text-decoration: line-through;
  border-color: rgba(156,255,134,0.08);
  background: rgba(156,255,134,0.03);
}
.task-check { width: 18px; height: 18px; flex-shrink: 0; color: var(--w15); }
.release-task--done .task-check { color: var(--green); }

/* ============================================================
   TUTORIAL PAGE
   ============================================================ */
.tut-hero {
  padding: 100px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--w07);
  position: relative;
}
.tut-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,103,104,.08) 0%, transparent 65%);
  pointer-events: none;
}
.tut-hero-label {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--red);
  margin: 0 0 14px;
}
.tut-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  margin: 0 0 16px; line-height: 1;
}
.tut-hero-sub {
  font-size: 17px; color: var(--w50); max-width: 560px;
  margin: 0 auto 36px; line-height: 1.65;
}
.tut-hero-jumps {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.tut-jump {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--w15); background: var(--w05);
  font-size: 13px; font-weight: 600; color: var(--w70);
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
  min-height: 44px;
}
.tut-jump:hover {
  border-color: var(--red); background: rgba(255,103,104,.1);
  color: #fff; transform: translateY(-2px);
}
.tut-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 56px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 100px;
}
.tut-nav {
  position: sticky;
  top: 100px;
  padding-right: 24px;
  border-right: 1px solid var(--w07);
}
.tut-nav-heading {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--w27);
  margin: 0 0 16px;
}
.tut-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tut-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px; border-radius: 8px;
  text-decoration: none; color: var(--w35);
  font-size: 13px; font-weight: 500;
  transition: color .2s, background .2s;
  position: relative;
  --nav-accent: var(--red);
  min-height: 44px;
}
.tut-nav-link:hover { color: var(--w70); background: var(--w05); }
.tut-nav-link.is-active {
  color: #fff; background: rgba(255,255,255,.06);
  font-weight: 600;
}
.tut-nav-num {
  font-size: 10px; font-family: monospace; color: var(--w27);
  transition: color .2s;
}
.tut-nav-link.is-active .tut-nav-num { color: var(--nav-accent); }
.tut-nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--nav-accent);
  margin-left: auto; flex-shrink: 0;
  opacity: 0; transform: scale(0);
  transition: opacity .2s, transform .2s;
}
.tut-nav-link.is-active .tut-nav-dot { opacity: 1; transform: scale(1); }
.tut-nav-progress {
  position: absolute; right: -1px; top: 0; width: 2px;
  height: 100%; background: var(--w07); border-radius: 1px;
  overflow: hidden;
}
.tut-nav-progress-bar {
  width: 100%; height: 0%;
  background: linear-gradient(to bottom, var(--red), var(--green));
  border-radius: 1px;
  transition: height .1s linear;
}
.tut-section {
  padding-bottom: 80px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--w07);
  --sa: var(--red);
}
.tut-section:last-child { border-bottom: none; }
.tut-section-head {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 40px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.tut-section-head.is-visible { opacity: 1; transform: translateY(0); }
.tut-section-num {
  font-family: var(--font-display);
  font-size: 72px; line-height: .85;
  color: var(--sa); opacity: .18; flex-shrink: 0;
  letter-spacing: -.03em;
  transition: opacity .3s;
}
.tut-section:hover .tut-section-num { opacity: .28; }
.tut-section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  margin: 0 0 8px; line-height: 1.1;
}
.tut-section-sub {
  font-size: 15px; color: var(--w50); margin: 0; line-height: 1.65;
  max-width: 580px;
}
.tut-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.tut-dl-card {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--w07);
  background: var(--w03);
  text-decoration: none;
  color: inherit;
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease,
              border-color .25s, background .25s, box-shadow .25s;
  overflow: hidden;
}
.tut-dl-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(156,255,134,.05), transparent);
  opacity: 0; transition: opacity .25s;
}
.tut-dl-card.is-visible { opacity: 1; transform: translateY(0); }
.tut-dl-card--link:hover {
  border-color: rgba(156,255,134,.4);
  background: rgba(156,255,134,.04);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transform: translateY(-3px);
}
.tut-dl-card--link:hover::before { opacity: 1; }
.tut-dl-num {
  position: absolute; top: 10px; right: 14px;
  font-size: 10px; font-family: monospace;
  color: var(--w15); letter-spacing: .05em;
}
.tut-dl-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--w07);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.tut-dl-body { flex: 1; min-width: 0; }
.tut-dl-name { font-size: 15px; font-weight: 700; color: var(--white); }
.tut-dl-version {
  display: inline-block; margin-top: 3px;
  font-size: 10px; font-family: monospace; font-weight: 600;
  letter-spacing: .06em; color: #9CFF86;
  background: rgba(156,255,134,.1); border-radius: 4px;
  padding: 1px 6px;
}
.tut-dl-note { font-size: 12px; color: var(--w35); margin-top: 3px; }
.tut-dl-cta {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700;
  color: #9CFF86; white-space: nowrap;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
.tut-dl-card--link:hover .tut-dl-cta { opacity: 1; transform: translateX(0); }
.tut-dl-badge {
  font-size: 10px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--w27);
  border: 1px solid var(--w10); border-radius: 999px;
  padding: 3px 9px; flex-shrink: 0;
}
.tut-timeline {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.tut-timeline::before {
  content: '';
  position: absolute;
  left: 19px; top: 20px;
  width: 2px; bottom: 20px;
  background: linear-gradient(to bottom, var(--sa), transparent);
  opacity: .25; border-radius: 1px;
}
.tut-timeline-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 16px 0;
  opacity: 0; transform: translateX(-12px);
  transition: opacity .4s ease, transform .4s ease;
}
.tut-timeline-item.is-visible { opacity: 1; transform: translateX(0); }
.tut-timeline-item:nth-child(1) { transition-delay: .05s; }
.tut-timeline-item:nth-child(2) { transition-delay: .12s; }
.tut-timeline-item:nth-child(3) { transition-delay: .19s; }
.tut-timeline-item:nth-child(4) { transition-delay: .26s; }
.tut-timeline-item:nth-child(5) { transition-delay: .33s; }
.tut-timeline-item:nth-child(6) { transition-delay: .40s; }
.tut-timeline-marker {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 2px solid var(--sa);
  box-shadow: 0 0 14px rgba(255,103,104,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  transition: background .3s, box-shadow .3s;
}
.tut-timeline-item:hover .tut-timeline-marker {
  background: var(--sa);
  box-shadow: 0 0 22px rgba(255,103,104,.45);
}
.tut-timeline-marker span {
  font-family: var(--font-display);
  font-size: 16px; color: var(--sa); line-height: 1;
  transition: color .3s;
}
.tut-timeline-item:hover .tut-timeline-marker span { color: #fff; }
.tut-timeline-body { flex: 1; padding-top: 8px; }
.tut-timeline-text {
  font-size: 15px; color: var(--w70); margin: 0; line-height: 1.65;
}
.tut-terminal {
  margin-top: 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--w15);
  background: #0d0f12;
  max-width: 560px;
}
.tut-terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: #1a1d21;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tut-terminal-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.tut-terminal-title {
  font-size: 11px; font-weight: 500; color: var(--w27);
  margin-left: 6px; flex: 1; text-align: center;
}
.tut-terminal-body {
  display: flex; align-items: center;
  padding: 16px 18px; flex-wrap: wrap; gap: 8px;
}
.tut-terminal-prompt {
  font-family: monospace; font-size: 13px;
  color: #9CFF86; font-weight: 600; white-space: nowrap;
}
.tut-terminal-ip {
  font-family: monospace; font-size: 15px;
  color: #fff; font-weight: 500; flex: 1;
  background: none; border: none; padding: 0;
  min-width: 120px;
}
.tut-terminal-copy {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 6px;
  background: rgba(255,255,255,.07); border: 1px solid var(--w15);
  color: var(--w50); font-size: 12px; font-weight: 600;
  cursor: pointer; flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
  min-height: 36px;
}
.tut-terminal-copy:hover {
  background: rgba(156,255,134,.12);
  border-color: rgba(156,255,134,.35);
  color: #9CFF86;
}
.tut-badge-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.tut-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 8px;
  background: var(--w05); border: 1px solid var(--w10);
}
.tut-badge-label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--w27);
}
.tut-badge-value {
  font-family: monospace; font-size: 13px;
  color: var(--white); font-weight: 600;
}
.tut-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 13px 24px;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
  min-height: 52px;
}
.tut-cta--discord {
  background: #5865F2; color: #fff;
  box-shadow: 0 4px 24px rgba(88,101,242,.3);
}
.tut-cta--discord:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(88,101,242,.5);
  filter: brightness(1.1);
}
.tut-free-text { font-size: 15px; color: var(--w50); line-height: 1.8; }
.tut-free-text p { margin: 0 0 14px; }
.tut-free-text a { color: var(--red); }
.tut-free-text strong { color: var(--white); }


/* ============================================================
   ██████╗ ███████╗███████╗██████╗  ██████╗ ███╗   ██╗███████╗
   ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔═══██╗████╗  ██║██╔════╝
   ██████╔╝█████╗  ███████╗██████╔╝██║   ██║██╔██╗ ██║███████╗
   ██╔══██╗██╔══╝  ╚════██║██╔═══╝ ██║   ██║██║╚██╗██║╚════██║
   ██║  ██║███████╗███████║██║     ╚██████╔╝██║ ╚████║███████║
   ╚═╝  ╚═╝╚══════╝╚══════╝╚═╝      ╚═════╝ ╚═╝  ╚═══╝╚══════╝
   MOBILE & RESPONSIVE
   ============================================================ */

/* ── 1200px: Person image scales down ── */
@media (max-width: 1200px) {
  .hero-layer--person {
    background-size: auto 92%;
    background-position: right center;
  }
}

/* ── 1100px: Footer columns ── */
@media (max-width: 1100px) {
  .footer-cols--5,
  .footer-cols--6 { grid-template-columns: repeat(3, 1fr); }
}

/* ── 1024px: About / general ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid.about-grid--side-img { grid-template-columns: 1fr 1fr; }
}

/* ── 1050px: About section – einfaches Stack-Layout ── */
@media (max-width: 1050px) {
  .about-section {
    padding: 0 !important;
    overflow: hidden;
  }
  .about-grid {
    /* Kein Grid mehr: normaler Block-Flow, Bild oben – Text unten */
    display: block;
    min-height: auto;
    position: static;
  }
  /* Bild-Block oben mit fester Höhe */
  .about-image-col {
    position: relative;
    display: block;
    height: 280px;
    min-height: 280px;
    overflow: hidden;
    z-index: auto;
  }
  .about-image-col::after {
    display: none;
  }
  .about-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  /* Text-Bereich darunter mit solidem Hintergrund */
  .about-text-col {
    display: block;
    position: static;
    z-index: auto;
    padding: 48px 24px 56px;
    min-height: auto;
    background: var(--bg-dark);
  }
  .container-about-text {
    max-width: 100%;
    margin: 0;
  }
  .about-body-text {
    max-width: 100%;
  }
}

/* ── 900px: Hero person adjustment ── */
@media (max-width: 900px) {
  .hero-layer--person {
    background-size: auto 76%;
    background-position: right bottom;
  }
  .hero-content {
    padding: 0 32px 0 48px;
    margin-top: -6vh;
  }
  .changelog-release-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-discord-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── 860px: Tutorial sidebar hidden ── */
@media (max-width: 860px) {
  .tut-layout { grid-template-columns: 1fr; gap: 32px; }
  .tut-nav { display: none; }

  .tut-hero { padding: 80px 0 48px; }
  .tut-section-head { gap: 14px; }
  .tut-section-num { font-size: 52px; }
}

/* ── 768px: Major mobile breakpoint ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }

  /* ── Animiertes Burger-Menü ── */
  .nav-links.nav-links--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 6px 0 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0;
    z-index: 99;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    list-style: none;
    /* Menü fährt von oben ein */
    animation: menuSlideIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  /* Schließ-Animation */
  .nav-links.nav-links--closing {
    animation: menuSlideOut 0.24s cubic-bezier(0.4, 0, 1, 1) both !important;
    pointer-events: none;
  }

  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-14px) scaleY(0.96); transform-origin: top; }
    to   { opacity: 1; transform: translateY(0)     scaleY(1);    transform-origin: top; }
  }
  @keyframes menuSlideOut {
    from { opacity: 1; transform: translateY(0)    scaleY(1);    transform-origin: top; }
    to   { opacity: 0; transform: translateY(-10px) scaleY(0.97); transform-origin: top; }
  }

  /* Dekorativer roter Strich am oberen Rand des Menüs */
  .nav-links.nav-links--open::before {
    content: '';
    display: block;
    height: 2px;
    flex-shrink: 0;
    background: linear-gradient(90deg, transparent 0%, var(--red) 30%, rgba(255,103,104,0.4) 70%, transparent 100%);
    box-shadow: 0 0 12px var(--red-glow-soft);
    animation: menuRedLine 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
    transform-origin: left;
  }
  @keyframes menuRedLine {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
  }

  /* li-Elemente */
  .nav-links.nav-links--open li {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
    /* Gestaffeltes Einblenden */
    opacity: 0;
    animation: menuItemIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .nav-links.nav-links--open li:nth-child(1) { animation-delay: 0.06s; }
  .nav-links.nav-links--open li:nth-child(2) { animation-delay: 0.10s; }
  .nav-links.nav-links--open li:nth-child(3) { animation-delay: 0.14s; }
  .nav-links.nav-links--open li:nth-child(4) { animation-delay: 0.18s; }
  .nav-links.nav-links--open li:nth-child(5) { animation-delay: 0.22s; }
  .nav-links.nav-links--open li:nth-child(6) { animation-delay: 0.26s; }
  .nav-links.nav-links--open li:nth-child(7) { animation-delay: 0.30s; }
  .nav-links.nav-links--open li:nth-child(8) { animation-delay: 0.34s; }
  @keyframes menuItemIn {
    from { opacity: 0; transform: translateX(-18px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* Links */
  .nav-links.nav-links--open a {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 16px 24px 16px 28px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.03em;
    border-radius: 0;
    height: auto;
    min-height: 58px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: none;
    overflow: hidden;
    transition: color 0.18s ease, background 0.18s ease, padding-left 0.22s cubic-bezier(0.22,1,0.36,1);
  }
  /* Roter linker Akzent-Strich per Hover */
  .nav-links.nav-links--open a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px; height: 55%;
    background: var(--red);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px var(--red-glow);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
  }
  /* Ripple-Overlay per Hover */
  .nav-links.nav-links--open a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,103,104,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .nav-links.nav-links--open a:hover,
  .nav-links.nav-links--open a:active {
    color: #fff;
    padding-left: 34px;
    background: rgba(255,255,255,0.03);
  }
  .nav-links.nav-links--open a:hover::before,
  .nav-links.nav-links--open a:active::before {
    transform: translateY(-50%) scaleY(1);
  }
  .nav-links.nav-links--open a:hover::after,
  .nav-links.nav-links--open a:active::after {
    opacity: 1;
  }
  .nav-links.nav-links--open li:last-child a {
    border-bottom: none;
  }

  .nav-toggle { display: flex; }

  /* CTA-Button im Nav auf Mobile verstecken */
  .btn-nav-cta {
    display: none;
  }

  /* Hero */
  .hero::after {
    background:
      linear-gradient(to right,
        rgba(13,13,13,0.95) 0%,
        rgba(13,13,13,0.80) 50%,
        rgba(13,13,13,0.50) 75%,
        transparent 100%);
  }
  .hero-title { font-size: clamp(52px, 16vw, 80px); }
  .hero-content { margin-top: -2vh; }
  .hero-subtitle { font-size: 15px; }

  /* Sections */
  .section { padding: 72px 0; }

  /* Rules: Kategorien-Sidebar auf Mobile ausblenden */
  .rules-layout { grid-template-columns: 1fr; }
  .rules-sidebar { display: none; }

  /* Footer */
  .footer-cols--2,
  .footer-cols--3,
  .footer-cols--4,
  .footer-cols--5,
  .footer-cols--6 { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* About stats */
  .about-stats { grid-template-columns: 1fr 1fr; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Team */
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

  /* Countdown */
  .countdown-grid { gap: 8px; }
  .countdown-unit { padding: 14px 6px 10px; }
}

/* ── 640px: Small mobile ── */
@media (max-width: 640px) {
  .hero-layer--person {
    background-size: auto 52%;
    background-position: right bottom;
    opacity: 0.65; /* subtler on small screens */
    animation: heroFadeIn 1.4s ease 0.35s forwards;
  }
  .hero-content {
    padding: 20px 20px 60px 20px;
    margin-top: 0;
    max-width: 100%;
    align-self: flex-start;
  }
  .hero-title { font-size: clamp(50px, 18vw, 80px); }
  .hero-title-img { max-width: 100%; }
  .hero-subtitle { font-size: 14px; max-width: 100%; }
  .hero-scroll-hint { display: none; }

  /* Nav container */
  .nav .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Container */
  .container { padding: 0 16px; }

  /* Sections */
  .section { padding: 60px 0; }
  .section-title { font-size: clamp(30px, 7vw, 48px); }

  /* Philosophy text */
  .philosophy-text { padding: 28px 20px 28px 20px; }
  .philosophy-text::before { font-size: 56px; top: -10px; left: 16px; }
  .philosophy-section { padding: 64px 0; }

  /* About */
  .about-text-col { padding: 40px 20px 48px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 28px; }

  /* CTA section */
  .cta-section { padding: 80px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  /* Hero CTA */
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; max-width: 300px; }

  /* Team grid */
  .team-grid { grid-template-columns: 1fr; }
  .team-grid--preview { grid-template-columns: 1fr; max-width: 220px; margin-left: auto; margin-right: auto; }
  .team-grid--2col { grid-template-columns: 1fr; max-width: 220px; margin-left: auto; margin-right: auto; }

  /* Social grid: smaller cards */
  .social-card { width: 96px; }
  .social-card-inner { padding: 20px 12px 14px; gap: 8px; }

  /* Release countdown: 2×2 */
  .countdown-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .release-countdown-wrap,
  .release-progress-wrap { padding: 24px 20px 20px; }
  .release-label-text { font-size: 18px; margin-bottom: 20px; }

  /* Rules */
  .rules-hero { padding: 40px 0 32px; }
  .rules-section-header { padding: 14px 16px; }
  .rules-section-title { font-size: 17px; }
  .rules-section-count { display: none; }
  .rule-item { padding: 16px 12px 16px 12px; gap: 12px; }
  .rule-num { min-width: 36px; }

  /* Tutorial */
  .tut-hero { padding: 60px 0 36px; }
  .tut-hero-sub { font-size: 15px; }
  .tut-jump { padding: 8px 14px; font-size: 12px; }
  .tut-dl-grid { grid-template-columns: 1fr; }
  .tut-section { padding-bottom: 48px; }
  .tut-section-num { font-size: 40px; }
  .tut-terminal { max-width: 100%; }
  .tut-terminal-body { flex-direction: column; align-items: flex-start; }
  .tut-terminal-ip { font-size: 14px; }
  .tut-terminal-copy { width: 100%; justify-content: center; }
  .tut-badge-row { flex-direction: column; }

  /* Footer */
  .footer-cols--1,
  .footer-cols--2,
  .footer-cols--3,
  .footer-cols--4,
  .footer-cols--5,
  .footer-cols--6 { grid-template-columns: 1fr; }
  .footer-body { padding: 40px 0 32px; }

  /* Modal */
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal { border-radius: 16px 16px 0 0; max-width: 100%; }

  /* Page header */
  .page-header { padding: calc(var(--nav-height) + 40px) 0 40px; }

  /* Partner */
  .partner-card { padding: 16px 20px; min-width: 120px; }
}

/* ── 480px: Extra small ── */
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .cta-buttons { flex-direction: column; align-items: center; }

  .tut-section-head { flex-direction: column; gap: 8px; }
  .tut-section-num { font-size: 36px; line-height: 1; opacity: .15; }

  /* Countdown single column on very narrow */
  .countdown-num { font-size: clamp(22px, 8vw, 36px); }
  .countdown-label { font-size: 9px; }

  .footer-cols--2 { grid-template-columns: 1fr; }
}

/* ── Landscape phone ── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }
  .hero-content {
    margin-top: 0;
    padding: 0 20px;
  }
  .hero-layer--person {
    background-size: auto 90%;
    background-position: right center;
  }
}

/* ── Touch: remove hover effects on touch devices ── */
@media (hover: none) {
  .team-card:hover { transform: none; }
  .feature-card:hover { transform: none; }
  .tut-dl-card--link:hover { transform: none; }
  .partner-card:hover { transform: none; }
  .social-card:hover { transform: none; }
  .btn:hover::after { display: none; }
}
