:root {
  --bg: #0c0f18;
  --surface: #141824;
  --surface-alt: #1b2031;
  --accent: #ffd94a;
  --accent-soft: rgba(255, 217, 74, 0.12);
  --text: #f5f6fa;
  --muted: #a7adbe;
  --danger: #ff4e6a;
  --radius: 1.2rem;
  --shadow: 0 20px 40px rgba(0,0,0,0.45);
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top, #20263a, #0c0f18 70%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.page {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 850px) {
  .page { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}

.hero-eyebrow {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  opacity: 0.8;
}

h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

h1 span { color: var(--accent); }

.hero-subtitle {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.pill {
  background: var(--surface-alt);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.06);
}

.notice {
  background: linear-gradient(135deg, var(--accent-soft), rgba(255,78,106,0.08));
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 1.4rem;
}

.notice strong { color: var(--accent); }

.meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Wheel */
.wheel-card { text-align: center; }

.wheel-wrapper {
  position: relative;
  width: min(260px, 70vw);
  height: min(260px, 70vw);
  margin: 0 auto 1.5rem;
}

.pointer {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid var(--accent);
  filter: drop-shadow(0 0 6px rgba(255,217,74,0.7));
  z-index: 5;
}

.wheel {
  z-index: 1;
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(
    var(--accent-soft) 0deg 2deg,   /* JA – smalt og i samme gule aksentfarge */
    var(--surface-alt) 2deg 360deg  /* NEI – mørk, subtil rødtonet bakgrunn som matcher temaet */
  );
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 0 25px rgba(0,0,0,0.7);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-center {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff, #ffd94a);
  border: 2px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111;
}

.wheel-label-big {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--danger);
  text-shadow: 0 0 12px rgba(0,0,0,0.7);
  pointer-events: none;
}

.wheel-caption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.btn {
  background: var(--accent);
  border: none;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
  transition: 0.15s ease-out;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

.result {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.4em;
}

.tagline {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.tagline strong { color: var(--accent); }
