/* Grundlagen: Konsolenopa-Tokens, Schriften, Hintergrund */
:root {
  --bg: #080808;
  --surface: #0f0f0f;
  --surface2: #161616;
  --border: rgba(255, 255, 255, 0.07);
  --text: #f5f5f7;
  --muted: rgba(255, 255, 255, 0.45);
  --soft: rgba(255, 255, 255, 0.62);
  --accent: #cc33cc;
  --accent-glow: rgba(204, 51, 204, 0.45);
  --accent-soft: rgba(204, 51, 204, 0.1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* Steampunk-Wand, stark abgedunkelt und leicht unscharf */
.bg {
  position: fixed;
  inset: -12px;
  z-index: -1;
  background: url('../img/hintergrund.jpg') center / cover no-repeat;
  filter: blur(2px) brightness(0.42) saturate(0.9);
}

.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(8, 8, 8, 0.25), rgba(8, 8, 8, 0.75) 80%);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.big {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.gradient-text {
  /* Luft rechts, damit der Farbverlauf den Überhang des letzten Buchstabens mitfüllt */
  padding-right: 0.12em;
  background: linear-gradient(135deg, #ffffff 18%, var(--accent) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  padding: 0.78rem 1.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  transform: scale(1.03);
  box-shadow: 0 0 24px var(--accent-glow);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.madeby {
  position: fixed;
  right: 32px;
  top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.madeby a {
  text-decoration: none;
  transition: color 0.2s;
}

.madeby a:hover {
  color: var(--accent);
}

/* Opis Signatur: Slogan plus deutlicher Link zu konsolenopa.onfy.re */
.opi-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.opi-quote {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.opi-quote b {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  padding-right: 0.12em;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.opi-quote span {
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  color: var(--soft);
}

.opi-link {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 7px 18px;
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.opi-link small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.opi-link i {
  font-style: normal;
}

.opi-link:hover {
  background: rgba(204, 51, 204, 0.14);
  box-shadow: 0 0 22px var(--accent-glow, rgba(204, 51, 204, 0.45));
  transform: translateY(-1px);
}

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