/* ==========================================================================
   SinSMP.de — Maintenance Page — Design Tokens
   (copied from the main site's design system for visual consistency)
   ========================================================================== */
:root {
  color-scheme: dark;

  /* Backgrounds */
  --c-void: #05060c;
  --c-bg-deep: #080a16;
  --c-midnight: #0b0f22;

  /* Borders */
  --c-border-red: rgba(122, 20, 20, 0.35);
  --c-border-cool: rgba(148, 163, 196, 0.14);

  /* Blood red accents */
  --c-blood: #7a1414;
  --c-blood-bright: #a5261f;

  /* Secondary accents */
  --c-gold: #c9a24b;
  --c-gold-soft: #e8cf8a;
  --c-purple: #7c4dc4;

  /* Text */
  --c-text: #eae7f0;
  --c-text-dim: #a8adc7;
  --c-text-faint: #6c7292;

  /* Fonts */
  --font-display: 'Pirata One', 'Cinzel', serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-pixel: 'Silkscreen', monospace;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg-deep);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { margin: 0; }
p { margin: 0; }

::selection { background: var(--c-blood); color: #fff; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--c-blood-bright); color: #fff;
  padding: .75rem 1.25rem; z-index: 1000; text-decoration: none;
  transition: top .2s ease; border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero__logo, .dot--amber, .ember { animation: none !important; }
}

/* ==========================================================================
   Shared components — Buttons, Badges, Dots, Social buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--c-blood);
  --btn-bg-hover: var(--c-blood-bright);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .03em;
  padding: .9em 1.7em;
  background: var(--btn-bg);
  color: #fdf7f0;
  border: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
  box-shadow: 0 4px 18px -6px rgba(0, 0, 0, .6);
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(165, 38, 31, .55); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--large { padding: 1.05em 2.1em; font-size: 1.05rem; }

.badge {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .55em 1.2em;
  background: rgba(224, 168, 60, .08);
  border: 1px solid rgba(224, 168, 60, .35);
  color: var(--c-gold-soft);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  background: #5ec26a; box-shadow: 0 0 8px currentColor; flex-shrink: 0;
}
.dot--amber {
  background: #e0a83c; color: #e0a83c; box-shadow: 0 0 8px #e0a83c;
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.82); }
}

.social-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, .05); border: 1px solid var(--c-border-cool);
  color: var(--c-text-dim); transition: all .25s ease; text-decoration: none;
}
.social-btn:hover { background: var(--c-blood); color: #fff; border-color: var(--c-blood-bright); transform: translateY(-3px); }
.social-btn .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 7, 15, .72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--c-border-red);
}
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.5rem; }

.navbar__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--c-text); }
.navbar__brand img { filter: drop-shadow(0 0 10px rgba(165, 38, 31, .5)); }
.navbar__brand-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; }
.navbar__brand-text em { font-style: normal; color: var(--c-blood-bright); }
.navbar__brand-text small { font-size: .55em; color: var(--c-text-faint); margin-left: .15em; font-family: var(--font-body); font-weight: 500; }

.navbar__status {
  display: flex; align-items: center; gap: .5em;
  font-family: var(--font-pixel); font-size: .68rem; color: #e0a83c; letter-spacing: .05em;
  padding: .5em .9em; border: 1px solid rgba(224, 168, 60, .35); background: rgba(224, 168, 60, .08);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .navbar__status span:last-child { display: none; }
}

/* ==========================================================================
   Hero / Main content
   ========================================================================== */
.hero {
  position: relative;
  flex: 1;
  display: flex; align-items: center;
  padding: 70px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(122, 20, 20, .22), transparent 60%),
    radial-gradient(ellipse at 12% 92%, rgba(124, 77, 196, .14), transparent 55%),
    var(--c-bg-deep);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url("../assets/web/hero-bg.webp");
  background-position: center 8%;
  background-repeat: no-repeat;
  background-size: min(950px, 95%) auto;
  opacity: .38;
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 72%);
  pointer-events: none;
}
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.ember {
  position: absolute;
  bottom: -5%;
  width: var(--size, 4px); height: var(--size, 4px);
  border-radius: 50%;
  background: radial-gradient(circle, #ffb26b 0%, #a5261f 55%, transparent 100%);
  box-shadow: 0 0 6px 1px rgba(165, 38, 31, .6);
  opacity: 0;
  animation: emberRise var(--duration, 9s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes emberRise {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: .9; }
  60% { opacity: .6; }
  100% { transform: translate(var(--drift, 30px), -105vh); opacity: 0; }
}

.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.3rem; max-width: 720px; margin: 0 auto; }

.hero__logo {
  width: min(220px, 48vw); height: auto;
  filter: drop-shadow(0 10px 40px rgba(165, 38, 31, .45));
  margin-bottom: .3rem;
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1;
  color: var(--c-text);
  text-shadow: 0 0 34px rgba(165, 38, 31, .55);
}
.hero__title-accent { color: #c7cad6; }

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: var(--c-gold-soft);
  letter-spacing: .03em;
}

.hero__lead { color: var(--c-text); font-size: 1.08rem; line-height: 1.8; max-width: 600px; }
.hero__lead--sub { color: var(--c-text-faint); font-size: .92rem; line-height: 1.7; max-width: 560px; margin-top: -.6rem; }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: .4rem; }

.hero__socials { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }

.server-info-bar {
  display: flex; align-items: center; gap: 1.5rem; margin-top: .6rem;
  padding: 1rem 1.9rem; background: rgba(255, 255, 255, .03);
  border: 1px solid var(--c-border-cool); backdrop-filter: blur(6px);
  flex-wrap: wrap; justify-content: center;
}
.server-info-bar__item { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.server-info-bar__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-faint); }
.server-info-bar__value { display: flex; align-items: center; gap: .45em; font-weight: 600; color: var(--c-text); font-size: .95rem; }
.server-info-bar__divider { width: 1px; height: 30px; background: var(--c-border-cool); }

@media (max-width: 640px) {
  .hero { padding: 50px 0 60px; }
  .server-info-bar { gap: 1rem; padding: 1rem 1.2rem; }
  .server-info-bar__divider { display: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--c-void); border-top: 1px solid var(--c-border-red); }
.footer__top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1.5rem; padding: 2rem 0;
}
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand img { filter: drop-shadow(0 0 12px rgba(165, 38, 31, .4)); }
.footer__brand p { color: var(--c-text-dim); font-size: .88rem; }
.footer__socials { display: flex; gap: .6rem; flex-wrap: wrap; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: 1.4rem 0; border-top: 1px solid var(--c-border-cool); font-size: .85rem; color: var(--c-text-faint);
}
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a { color: var(--c-text-faint); text-decoration: none; }
.footer__legal a:hover { color: var(--c-gold-soft); }

.footer__disclaimer { text-align: center; font-size: .78rem; color: var(--c-text-faint); padding: 1.1rem 0 1.6rem; opacity: .8; }

@media (max-width: 700px) {
  .footer__top { flex-direction: column; text-align: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Legal pages (Legal Notice / Privacy Policy)
   ========================================================================== */
.legal {
  padding: 90px 0 100px;
  background: var(--c-midnight);
  flex: 1;
}
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 2.6rem); color: var(--c-text); margin-bottom: .5rem; }
.legal__back { display: inline-flex; align-items: center; gap: .4em; color: var(--c-text-faint); text-decoration: none; font-size: .9rem; margin-bottom: 1.8rem; }
.legal__back:hover { color: var(--c-gold-soft); }
.legal__updated { color: var(--c-text-faint); font-size: .85rem; margin-bottom: 2.5rem; }

.legal__notice {
  display: flex; gap: .9rem; align-items: flex-start;
  background: rgba(165, 38, 31, .08); border: 1px solid var(--c-border-red);
  padding: 1.3rem 1.5rem; margin-bottom: 3rem; font-size: .92rem; color: var(--c-text-dim); line-height: 1.6;
}
.legal__notice strong { color: var(--c-gold-soft); }

.legal section { margin-bottom: 2.4rem; }
.legal h2 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--c-gold-soft); margin-bottom: .9rem; }
.legal p, .legal li { color: var(--c-text-dim); font-size: .96rem; line-height: 1.8; }
.legal p { margin-bottom: .9rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: .9rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--c-gold-soft); }
.legal strong { color: var(--c-text); }
.legal .placeholder { color: var(--c-blood-bright); font-style: italic; }