/* Majestic Studios – professionelles Grundgerüst für Seiten außerhalb von Splash Lab
   (Bezahlen, Kundenbereich, Bio-Editor). Gleiche Klassennamen wie splashlab.css,
   aber im ruhigen Majestic-Look: Grafit, Gold, Archivo, keine Offset-Schatten. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0d0d0f;
  --bg2: #111114;
  --card: #17171b;
  --card2: #1f1f24;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f3f2ee;
  --dim: #b2b0a9;
  --mute: #8c8a84;
  /* Alte Splash-Lab-Namen auf die Majestic-Palette umgelegt, damit bestehende Seiten-CSS weiter passt */
  --gold: #ffc83d;
  --gold-deep: #c58f0e;
  --gold-ink: #1b1403;
  --gold-soft: rgba(255, 200, 61, .12);
  --pink: var(--gold);
  --pink-d: var(--gold-deep);
  --lime: var(--gold);
  --lime-d: var(--gold-deep);
  --violet: var(--gold);
  --ink: linear-gradient(135deg, rgba(255, 200, 61, .55), rgba(255, 255, 255, .08));
  --limeg: var(--gold);
  --ok: #4fd18b;
  --display: "Archivo", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --ui: "Archivo", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pop: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; color: var(--text); font: 400 16px/1.6 var(--ui);
  background: radial-gradient(1100px 520px at 80% -12%, rgba(255, 200, 61, .06), transparent 62%), var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.12; margin: 0; letter-spacing: -.015em; }
svg use { pointer-events: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
.wrap.narrow { width: min(820px, 100% - 32px); }

/* ---------- Kopfzeile ---------- */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(13, 13, 15, .82); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 32px; width: auto; }
.top-nav { display: flex; gap: 2px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--dim); font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.top-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.top-nav a[aria-current="page"] { color: var(--text); }
.top-actions { display: flex; gap: 8px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 600 14px var(--ui); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.chip-btn:hover { border-color: var(--gold); background: var(--gold-soft); }
.chip-btn svg { width: 18px; height: 18px; }
.chip-btn img { width: 24px; height: 24px; border-radius: 50%; }
@media (max-width: 860px) { .top-nav { display: none; } .top-actions { margin-left: auto; } }

/* ---------- Labels & Buttons ---------- */
.sticker {
  display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--ui); text-transform: uppercase; letter-spacing: .12em;
  padding: 5px 11px; border-radius: 999px; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(255, 200, 61, .28);
}
.sticker.pink, .sticker.lime { color: var(--gold); background: var(--gold-soft); }
.sticker.tilt { transform: none; }

.ink-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; text-decoration: none;
  font: 650 15px var(--ui); color: var(--text); background: var(--card2);
  transition: background .2s, border-color .2s, transform .15s var(--ease), filter .2s;
}
.ink-btn svg { width: 18px; height: 18px; }
.ink-btn:hover { border-color: rgba(255, 255, 255, .32); background: #26262c; }
.ink-btn:active { transform: translateY(1px); }
.ink-btn.lime { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); box-shadow: 0 6px 20px rgba(255, 200, 61, .16); }
.ink-btn.lime:hover { background: #ffd35e; border-color: #ffd35e; }
.ink-btn.ghost { background: transparent; }
.ink-btn.ghost:hover { border-color: var(--gold); background: var(--gold-soft); }
.ink-btn.big { min-height: 52px; font-size: 16px; width: 100%; }
.ink-btn.is-off { color: var(--mute); background: var(--card2); border-color: var(--line); cursor: default; box-shadow: none; }
.ink-btn.is-off:hover { filter: none; }
.ink-btn:disabled { opacity: .55; cursor: not-allowed; }
.ink-btn.discord, .dlg-body .discord-btn { background: #5865f2; border-color: #5865f2; color: #fff; box-shadow: none; }
.ink-btn.discord:hover, .dlg-body .discord-btn:hover { background: #4752c4; border-color: #4752c4; }
.ink-btn.google, .dlg-body .google { background: #fff; border-color: #fff; color: #1f1f1f; box-shadow: none; }
.ink-btn.google:hover, .dlg-body .google:hover { background: #ececec; }
.ink-btn .discord { width: 20px; height: 20px; }

/* ---------- Fußzeile ---------- */
.foot { border-top: 1px solid var(--line); padding: 30px 0; color: var(--mute); font-size: 14px; margin-top: 40px; }
.foot-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot .foot-main { justify-content: center; }
.foot .foot-legal { gap: 8px 16px; font-size: 13px; }
.foot a { text-decoration: none; color: var(--dim); }
.foot a:hover { color: var(--gold); }
.foot .foot-legal a { color: var(--mute); }
@media (max-width: 760px) { .foot-row { grid-template-columns: 1fr; justify-items: start; } .foot .foot-main { justify-content: flex-start; } }

/* ---------- Login-Dialog ---------- */
.login-dlg {
  width: min(420px, 100% - 32px); padding: 0; border-radius: 16px; color: var(--text);
  background: var(--card); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.login-dlg::backdrop { background: rgba(6, 6, 8, .72); backdrop-filter: blur(4px); }
.login-dlg[open] { animation: dlg .3s var(--ease); }
@keyframes dlg { from { transform: translateY(8px); opacity: 0; } }
.dlg-body { padding: 32px 28px 26px; text-align: center; }
.dlg-body img.logo { width: 64px; height: 64px; margin: 0 auto 10px; }
.dlg-body h2 { font-size: 24px; margin-bottom: 8px; }
.dlg-body p { color: var(--dim); margin: 0 0 20px; }
.dlg-body .ink-btn { width: 100%; margin-top: 10px; }
.dlg-err { color: #ff8d8d; font-weight: 600; margin-bottom: 14px !important; }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.dlg-x:hover { background: rgba(255, 255, 255, .12); }
.dlg-x svg { width: 16px; height: 16px; }

.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
}
