:root {
  --bg: #061015;
  --bg-deep: #02070a;
  --panel: rgba(9, 22, 29, 0.86);
  --panel-2: rgba(13, 29, 38, 0.92);
  --line: rgba(255, 211, 71, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4fbff;
  --muted: #b1c6cf;
  --gold: #ffb300;
  --gold-soft: rgba(255, 179, 0, 0.18);
  --red: #ff4c1f;
  --red-dark: #cc2e0b;
  --green: #76ff03;
  --green-dark: #44c419;
  --cyan: #25d8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 76, 31, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(118, 255, 3, 0.12), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(37, 216, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #041017 0%, #07161c 42%, #03080d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.25));
}

.page-glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.25;
  z-index: 0;
}

.page-glow-left {
  background: rgba(255, 76, 31, 0.22);
  left: -10vw;
  top: 12vh;
}

.page-glow-right {
  background: rgba(118, 255, 3, 0.18);
  right: -10vw;
  top: 6vh;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(255, 179, 0, 0.2));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-faiv {
  color: var(--red);
  text-shadow: 0 0 18px rgba(255, 76, 31, 0.18);
}

.brand-games {
  color: var(--green);
  text-shadow: 0 0 18px rgba(118, 255, 3, 0.18);
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a,
.footer-links a,
.small-legal a,
.legal-card a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.small-legal a:hover,
.legal-card a:hover {
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: stretch;
  padding: 8px 0 28px;
}

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%, transparent 80%, rgba(0, 0, 0, 0.22)),
    linear-gradient(135deg, rgba(255, 179, 0, 0.06), transparent 30%, rgba(118, 255, 3, 0.03));
}

.hero-left {
  padding: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 0, 0.24);
  background: rgba(255, 179, 0, 0.08);
  color: #ffe7ab;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.lead,
.info-card p,
.discord-card p,
.signup p,
.footer,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 62ch;
  font-size: 1.07rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #ff7a1f 38%, #ffcf24 100%);
  color: #140b04;
  box-shadow: 0 12px 34px rgba(255, 108, 31, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(118, 255, 3, 0.16);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.mini-box {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-box strong {
  display: block;
  margin-bottom: 8px;
  color: #fff4d6;
  font-size: 1rem;
}

.hero-right {
  display: grid;
  grid-template-rows: minmax(300px, 1fr) auto;
  gap: 18px;
}

.image-card,
.info-card,
.discord-card,
.signup,
.legal-card {
  padding: 24px;
}

.teaser-shell {
  position: relative;
  padding-bottom: 42px; /* Platz für den überstehenden Balken */
}

.teaser-frame {
  position: relative;
  min-height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 71, 0.18);
  background:
    radial-gradient(circle at 50% 10%, rgba(37, 216, 255, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(11, 25, 34, 0.9), rgba(5, 14, 19, 0.96));
}

.teaser-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teaser-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0px;
  transform: translateY(-5px);
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(5, 10, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.teaser-overlay span {
  display: block;
  color: #ffd979;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.teaser-overlay strong {
  display: block;
  font-size: 1rem;
}

.info-card {
  border-color: rgba(37, 216, 255, 0.12);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 18px;
}

.discord-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: rgba(118, 255, 3, 0.1);
  color: #d5ffc7;
  border: 1px solid rgba(118, 255, 3, 0.16);
  font-size: 0.92rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
  outline: none;
}

input[type="email"]:focus {
  border-color: rgba(255, 179, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 179, 0, 0.12);
}

.small-note,
.small-legal {
  font-size: 0.93rem;
  margin-top: 12px;
}

.small-note {
  min-height: 1.4em;
}

.small-note.success {
  color: #99ff87;
}

.small-note.error {
  color: #ff9e82;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0 40px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-wrap {
  max-width: 980px;
}

.legal-card {
  padding: 38px;
}

.legal-section + .legal-section {
  margin-top: 26px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links,
  .footer-links {
    gap: 10px 14px;
  }

  .hero-left,
  .image-card,
  .info-card,
  .discord-card,
  .signup,
  .legal-card {
    padding: 24px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }
}
