:root {
  --bg: #06020d;
  --bg-soft: #10051f;
  --panel: rgba(15, 6, 30, 0.78);
  --panel-strong: rgba(10, 3, 18, 0.9);
  --text: #f5ebff;
  --muted: #c1a6ed;
  --purple: #8b3dff;
  --purple-hot: #b46cff;
  --blue: #42b4ff;
  --border: rgba(174, 99, 255, 0.42);
  --shadow: 0 0 44px rgba(122, 32, 255, 0.34);
  --max: 1180px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(125, 56, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 80% 12%, rgba(66, 180, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #05010a 0%, #10051d 48%, #040208 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url("../assets/images/original-urlug.webp");
  background-size: min(900px, 92vw);
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.09;
  filter: blur(1px) saturate(1.4);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(4, 1, 10, 0.88), rgba(4, 1, 10, 0.2));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 1, 10, 0.86);
  border-color: rgba(174, 99, 255, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(139, 61, 255, 0.7);
}

.main-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.7rem, 2.5vw, 1.8rem);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav a,
.header-cta,
.btn,
.social-row a {
  text-decoration: none;
}

.main-nav a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 12px var(--purple-hot);
}

.header-cta {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--text);
  background: rgba(139, 61, 255, 0.12);
  box-shadow: 0 0 20px rgba(139, 61, 255, 0.22);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-panel {
  position: relative;
  isolation: isolate;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: end center;
  padding: 9rem 1.2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.2) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4,1,10,0.36) 0%, rgba(4,1,10,0.18) 42%, rgba(4,1,10,0.96) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(4,1,10,0.7) 78%);
}

.hero-content {
  width: min(860px, 100%);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(180, 108, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 2, 18, 0.44), rgba(8, 2, 18, 0.74));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--purple-hot);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4.4rem, 16vw, 11rem);
  letter-spacing: 0.08em;
  color: #dfc7ff;
  text-shadow:
    0 0 10px rgba(180, 108, 255, 0.75),
    0 0 38px rgba(139, 61, 255, 0.7),
    0 8px 0 rgba(40, 10, 78, 0.9);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.08em;
  color: #f0e5ff;
  text-shadow: 0 0 18px rgba(139, 61, 255, 0.58);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0.08em;
  color: #e8d4ff;
}

.hero-subtitle {
  margin: 1rem auto 0;
  max-width: 58rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.social-row a:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(180, 108, 255, 0.48);
}

.btn-primary {
  background: linear-gradient(135deg, #6f24ff, #b46cff);
  color: white;
  box-shadow: 0 0 28px rgba(139, 61, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #eadcff;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  opacity: 0.8;
}

.section-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  margin: 0 auto 2rem;
  max-width: 780px;
  text-align: center;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr) minmax(240px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(21, 8, 42, 0.88), rgba(8, 2, 18, 0.82));
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(180,108,255,0.18), transparent 32rem);
}

.text-card,
.cgn-card,
.quote-main {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.text-card p,
.cgn-card p,
.stream-inner p {
  color: var(--muted);
}

.marker-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.marker-list li {
  padding-left: 1.6rem;
  position: relative;
}

.marker-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--purple-hot);
  text-shadow: 0 0 10px var(--purple-hot);
}

.cgn-card {
  display: grid;
  place-items: center;
  text-align: center;
}

.cgn-badge {
  width: min(240px, 100%);
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03) 36%, rgba(139,61,255,0.22)),
    #0a0710;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 1000;
  letter-spacing: -0.08em;
  color: #ded9ef;
  text-shadow: 0 2px 0 #07030d, 0 0 18px rgba(180,108,255,0.54);
  box-shadow: inset 0 0 28px rgba(255,255,255,0.08), 0 0 36px rgba(139,61,255,0.34);
}

.image-card {
  min-height: 320px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.games {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}

.games::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/images/games-collage-urlug.webp") center/cover no-repeat;
  opacity: 0.22;
  filter: saturate(1.2);
}

.games::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #05010a 0%, rgba(5,1,10,0.78) 22%, rgba(5,1,10,0.84) 100%),
    radial-gradient(circle at 50% 0%, rgba(139,61,255,0.22), transparent 42rem);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.game-grid span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid rgba(180,108,255,0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(24, 8, 48, 0.78), rgba(6, 2, 13, 0.78));
  color: #eadcff;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(139,61,255,0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game-grid span:hover {
  transform: translateY(-4px);
  border-color: rgba(180,108,255,0.82);
  background: linear-gradient(180deg, rgba(70, 24, 130, 0.85), rgba(12, 3, 24, 0.9));
}

.motto-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.motto-image {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.motto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-main {
  display: grid;
  place-items: center;
}

blockquote {
  margin: 0;
}

.quote-main blockquote {
  color: #eadcff;
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
  text-align: center;
}

.quote-main p + p {
  margin-top: 1.1rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.quote-grid blockquote {
  min-height: 160px;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(8, 2, 18, 0.72);
  color: var(--muted);
  text-align: center;
  box-shadow: 0 0 24px rgba(139,61,255,0.2);
}

.stream {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  text-align: center;
}

.stream::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5,1,10,0.42), #05010a 84%),
    url("../assets/images/hero-urlug.webp") center/cover no-repeat;
  opacity: 0.74;
}

.stream-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 2, 18, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-row a {
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(139,61,255,0.16);
  color: #eadcff;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.impressum {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.impressum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.legal-card dl {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 0;
}

.legal-card dt {
  color: var(--purple-hot);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.legal-card dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.legal-card a {
  color: #eadcff;
  text-decoration-color: rgba(180,108,255,0.55);
  text-underline-offset: 0.18em;
}

.legal-note {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(180,108,255,0.26);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.6rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(193,166,237,0.8);
  border-top: 1px solid rgba(174,99,255,0.18);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .split-grid,
  .motto-layout,
  .impressum-grid {
    grid-template-columns: 1fr;
  }

  .image-card {
    min-height: 420px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 0.75rem 1rem;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    padding: 0.65rem 0.85rem;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .motto-image {
    min-height: 300px;
  }

  .site-footer {
    display: grid;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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