/*
 * R4X Framework Base CSS
 * Auszug aus styles.css vom Dashboard v129
 * Enthält: Reset, Root-Variablen, Body-Basis, Footer-Styles
 * Zweck: Einheitlicher Look zwischen Dashboard und Beginner-Bereich
 */

html {
  scroll-behavior: smooth;
}

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

:root {
  --bg: #05060a;
  --bg-elevated: #10121a;
  --bg-elevated-soft: #141724;
  --border-subtle: #272a3a;
  --text: #f5f5f7;
  --text-muted: #b3b3c2;
  --gold: #f5d27a;
  --gold-soft: rgba(245, 210, 122, 0.16);
  --ui-silver: #c9d1df;
  --ui-silver-soft: rgba(201, 209, 223, 0.12);
  --ui-silver-border: rgba(201, 209, 223, 0.28);
  --ui-silver-border-strong: rgba(201, 209, 223, 0.46);
  --ui-silver-text: rgba(225, 231, 241, 0.84);
  --danger: #ff6b6b;
  --blue: #4aa3ff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

.brand-gold { color: var(--gold); }
.brand-white { color: #ffffff; }
.brand-wordmark { font-weight: 700; letter-spacing: 0.02em; }

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171925 0, #05060a 52%, #020307 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   Page Footer (aus Dashboard)
   ============================================================ */

.page-footer {
  position: relative;
  margin-top: 34px;
  padding: 24px 16px 18px;
  background: rgba(1, 1, 3, 0.98);
  color: rgba(245, 245, 247, 0.9);
}

.page-footer::before {
  content: "";
  display: block;
  width: min(700px, calc(100% - 40px));
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.page-footer::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.16);
}

.page-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.page-footer-disclaimer {
  margin: 0 auto 12px;
  max-width: 980px;
  font-size: 11.5px;
  line-height: 1.28;
  color: rgba(245, 245, 247, 0.95);
  text-wrap: balance;
}

.page-footer-break {
  display: inline;
}

.page-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.25;
  color: rgba(245, 245, 247, 0.95);
}

.page-footer-copy {
  white-space: nowrap;
}

.page-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.page-footer a {
  color: rgba(245, 245, 247, 0.96);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.page-footer a:hover {
  color: rgba(245, 245, 247, 0.96);
}

@media (max-width: 640px) {
  .page-footer {
    margin-top: 26px;
    padding: 22px 14px 16px;
  }

  .page-footer::before {
    width: min(520px, calc(100% - 28px));
    margin-bottom: 12px;
  }

  .page-footer-disclaimer,
  .page-footer-meta {
    font-size: 11px;
    line-height: 1.35;
  }

  .page-footer-copy {
    white-space: normal;
  }

  .page-footer-break {
    display: none;
  }
}
