/* ======================
   COLOR SYSTEM
====================== */
:root {
  --bg-base: #020617;        /* almost black blue */
  --bg-1: #020617;
  --bg-2: #040b1e;
  --bg-3: #07132f;

  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);

  --text: #e5e7eb;
  --muted: #94a3b8;

  --accent: #1e3a8a;        /* deep indigo */
  --accent-soft: #1e40af;   /* steel blue */

  --glow: rgba(30, 58, 138, 0.35);
}

/* Optional Light Mode – sehr zurückhaltend */
[data-theme="light"] {
  --bg-base: #eef2ff;
  --bg-1: #eef2ff;
  --bg-2: #e0e7ff;
  --bg-3: #c7d2fe;

  --card: rgba(255, 255, 255, 0.75);
  --border: rgba(0, 0, 0, 0.08);

  --text: #020617;
  --muted: #475569;

  --accent: #1e3a8a;
  --accent-soft: #1e40af;

  --glow: rgba(30, 58, 138, 0.25);
}

/* ======================
   BASE
====================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Ubuntu, Cantarell, sans-serif;

  background:
    radial-gradient(
      circle at 20% 10%,
      var(--bg-3),
      var(--bg-1) 45%,
      var(--bg-base) 70%
    );

  background-size: 200% 200%;
  animation: bgShift 40s ease-in-out infinite;

  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Sehr langsame Bewegung */
@keyframes bgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======================
   LAYOUT
====================== */
.container {
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.5rem;
}

.profile {
  text-align: center;
  margin-bottom: 2.4rem;
}

.profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.profile h1 {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.profile p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ======================
   LINKS (SOFT GLOW)
====================== */
.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  position: relative;
  padding: 1rem;
  text-align: center;
  text-decoration: none;

  color: var(--text);
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);

  backdrop-filter: blur(14px);
  font-weight: 500;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* dezenter „Bloom“ statt Neon */
.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow:
    0 0 0 1px rgba(30, 64, 175, 0.3),
    0 12px 28px var(--glow);
}

/* ======================
   FOOTER
====================== */
footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ======================
   THEME TOGGLE
====================== */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;

  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);

  backdrop-filter: blur(12px);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px var(--glow);
}
