:root {
  --bg-overlay-top: rgba(0, 0, 0, 0.75);
  --bg-overlay-bottom: rgba(0, 0, 0, 0.95);

  --card-bg-top: #2b2b2b;
  --card-bg-bottom: #1f1f1f;

  --text: #f2f2f2;
  --muted: #b5b5b5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);

  /* 🧱 STEN-BAGGRUND FRA /img/stone-wall.png */
  background:
    linear-gradient(
      180deg,
      var(--bg-overlay-top),
      var(--bg-overlay-bottom)
    ),
    url("/img/stone-wall.png") center / cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.container {
  width: 100%;
  max-width: 420px;

  background: linear-gradient(
    180deg,
    var(--card-bg-top),
    var(--card-bg-bottom)
  );

  border-radius: 24px;
  padding: 2rem 1.5rem 2.5rem;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
  border-radius: 50%;

  /* 🙂 AVATAR FRA /img/avatar.png */
  background: url("/img/avatar.png") center / cover no-repeat;

  border: 3px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  margin: 0.3rem 0;
}

.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

.links {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.link {
  text-decoration: none;
  color: var(--text);

  background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
  padding: 0.9rem 1.2rem;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-weight: 500;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.icon {
  opacity: 0.85;
}

footer {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Desktop */
@media (min-width: 900px) {
  body {
    padding: 3rem 2rem;
  }

  .container {
    max-width: 520px;
    padding: 2.5rem 2.5rem 3rem;
  }

  .links {
    gap: 1rem;
  }

  .link {
    padding: 1.1rem 1.4rem;
    font-size: 1.05rem;
  }
}

.logo {
  display: block;
  margin: 0 auto 0.6rem;

  max-width: 260px;   /* matcher ca. tidligere h1-størrelse */
  width: 100%;
  height: auto;

  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}

.link-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.link-icon svg {
  width: 18px;
  height: 18px;
  fill: #f2f2f2;
  opacity: 0.85;
}
