/* ════════════════════════════════════════════════════════════
   SEKSJONER: side-spesifikke stiler (bygger på global.css)
   ════════════════════════════════════════════════════════════ */

/* ═══ KAKE-OVERLEGG ═══════════════════════════════════════════ */

.cake-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(217, 164, 65, 0.25), transparent 60%),
    var(--night);
  color: var(--paper);
  transition: opacity 0.9s ease, visibility 0.9s;
}

.cake-overlay.is-leaving { opacity: 0; visibility: hidden; }

.overlay-kicker {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--gold-soft);
  margin: 0;
}

.overlay-title {
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  color: var(--paper);
  margin: 0;
}

.overlay-hint { color: rgba(250, 243, 230, 0.65); margin: 0 0 1.5rem; }

.overlay-done {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--gold);
  margin: 1.2rem 0 0;
  animation: pulse-glow 1.6s ease infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.04); }
}

.overlay-skip {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(250, 243, 230, 0.7);
}

/* Kaken */
.cake {
  position: relative;
  width: min(78vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cake-layer {
  width: 100%;
  border-radius: 12px 12px 6px 6px;
  position: relative;
}

.cake-layer--top {
  width: 62%;
  height: 44px;
  background: linear-gradient(#e8a2b4, #d9849b);
  border-radius: 14px 14px 0 0;
}
.cake-layer--top::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 18px;
  background:
    radial-gradient(circle at 10% 100%, #fdf1f4 9px, transparent 10px),
    radial-gradient(circle at 30% 100%, #fdf1f4 11px, transparent 12px),
    radial-gradient(circle at 50% 100%, #fdf1f4 9px, transparent 10px),
    radial-gradient(circle at 70% 100%, #fdf1f4 11px, transparent 12px),
    radial-gradient(circle at 90% 100%, #fdf1f4 9px, transparent 10px),
    #fdf1f4;
  border-radius: 14px 14px 0 0;
}

.cake-layer--mid {
  width: 80%;
  height: 52px;
  background: linear-gradient(#8a5a3b, #6e4429);
  border-radius: 10px 10px 0 0;
}

.cake-layer--base {
  width: 100%;
  height: 60px;
  background: linear-gradient(#e8a2b4, #c97389);
  border-radius: 10px 10px 4px 4px;
}

.cake-plate {
  width: 116%;
  height: 14px;
  background: linear-gradient(#f3ede2, #cfc4af);
  border-radius: 999px;
  margin-top: 2px;
}

.cake-candles {
  display: flex;
  gap: clamp(8px, 3vw, 18px);
  margin-bottom: -2px;
  z-index: 3;
}

.candle {
  position: relative;
  width: 30px; /* bred treffsone for mobiltomler … */
  height: 56px;
  border: none;
  border-left: 8px solid transparent; /* … men visuelt bare 14px stearin */
  border-right: 8px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  background: repeating-linear-gradient(135deg, #f7f7f2 0 6px, var(--terracotta) 6px 12px);
  background-clip: padding-box;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.candle::before {
  /* flamme */
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 14px;
  height: 20px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 80%, #fff7d6 15%, #ffce54 45%, #f2762e 80%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  animation: flicker 0.35s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(255, 190, 80, 0.9));
}

@keyframes flicker {
  from { transform: translateX(-52%) scale(1) rotate(-3deg); }
  to   { transform: translateX(-48%) scale(1.12) rotate(3deg); }
}

.candle.is-out::before {
  animation: none;
  background: transparent;
  filter: none;
}

.candle.is-out::after {
  /* røyk */
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  width: 8px;
  height: 22px;
  transform: translateX(-50%);
  background: linear-gradient(to top, rgba(200, 200, 200, 0.7), transparent);
  border-radius: 50%;
  animation: smoke 1.4s ease-out forwards;
}

@keyframes smoke {
  from { opacity: 0.9; transform: translate(-50%, 0) scaleY(0.4); }
  to   { opacity: 0; transform: translate(-30%, -28px) scaleY(1.6); }
}

/* ═══ HERO ════════════════════════════════════════════════════ */

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(217, 164, 65, 0.28), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(201, 87, 58, 0.18), transparent 55%),
    var(--paper);
}

.hero-name {
  font-size: clamp(3.4rem, 16vw, 8rem);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--terracotta);
  margin: 0;
  text-shadow: 4px 4px 0 var(--gold-soft);
}

.hero-badge {
  display: inline-block;
  margin: 1.2rem 0;
  padding: 0.5rem 1.6rem;
  background: var(--green);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 700;
  border-radius: 999px;
  transform: rotate(-2.5deg);
  box-shadow: var(--shadow-soft);
}

.hero-sub {
  max-width: 34rem;
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: var(--ink-soft);
}

.hero-scroll {
  margin-top: 3rem;
  font-weight: 700;
  color: var(--terracotta);
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ═══ SPESIFIKASJONER ═════════════════════════════════════════ */

.specs { background: var(--paper-warm); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: left;
}

.spec-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--gold);
  transition: transform 0.2s ease;
}

.spec-card:nth-child(odd) { transform: rotate(-0.6deg); border-top-color: var(--terracotta); }
.spec-card:nth-child(even) { transform: rotate(0.6deg); }
.spec-card:hover { transform: rotate(0) translateY(-4px); }

.spec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.spec-label { font-weight: 700; }

.spec-value {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--terracotta);
  font-size: 1.15rem;
}

.spec-bar {
  height: 9px;
  background: rgba(56, 41, 31, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.spec-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.spec-card.is-visible .spec-bar-fill { width: var(--fill, 50%); }

.spec-note { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ═══ LIVSREISEN ══════════════════════════════════════════════ */

.timeline {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
  position: relative;
  padding-left: 2.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 10px, transparent 10px 18px);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
}

.timeline-emoji {
  position: absolute;
  left: -2.4rem;
  top: -2px;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  background: var(--paper);
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.timeline-year {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.15rem 0 0.3rem;
}

.timeline-text { margin: 0; color: var(--ink-soft); }

/* ═══ 70 ÅR I TALL ════════════════════════════════════════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 0.9rem;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.stat-card {
  background: var(--paper);
  border: 2px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.1rem 0.9rem;
  box-shadow: var(--shadow-soft);
}

.stat-card:nth-child(3n+1) { transform: rotate(-0.8deg); }
.stat-card:nth-child(3n) { transform: rotate(0.8deg); }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 800;
  color: var(--terracotta);
  margin: 0;
  line-height: 1.1;
}

.stat-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--green);
  margin: 0.25rem 0 0.5rem;
}

.stat-note { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

.billboard-card {
  max-width: 34rem;
  margin: 0 auto;
  background: var(--night);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-pop);
}

.vinyl {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 28%, rgba(255, 255, 255, 0.06) 29% 31%, transparent 32% 40%, rgba(255, 255, 255, 0.06) 41% 43%, transparent 44% 52%, rgba(255, 255, 255, 0.06) 53% 55%, transparent 56%),
    #14110d;
  display: grid;
  place-items: center;
  animation: vinyl-spin 4s linear infinite;
  box-shadow: 0 0 24px rgba(217, 164, 65, 0.3);
}

@keyframes vinyl-spin { to { transform: rotate(360deg); } }

.vinyl-label {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}

.billboard-label { color: rgba(250, 243, 230, 0.75); font-size: 0.95rem; margin: 0 0 0.4rem; }

.billboard-song {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.billboard-note { font-size: 0.92rem; color: rgba(250, 243, 230, 0.8); margin: 0 0 1.4rem; }

/* ═══ QUIZ ════════════════════════════════════════════════════ */

.quiz-section { background: var(--green); color: var(--paper); }
.quiz-section .kicker { color: var(--gold); }
.quiz-section .section-sub { color: rgba(250, 243, 230, 0.85); }

.quiz-box {
  max-width: 34rem;
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 5vw, 2.2rem);
  box-shadow: var(--shadow-pop);
  text-align: left;
}

.quiz-progress {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.8rem;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--paper-warm);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.quiz-option:hover:not(:disabled) { border-color: var(--gold); transform: translateX(4px); }
.quiz-option.is-correct { background: #d9ecd4; border-color: var(--green); }
.quiz-option.is-wrong { background: #f4d9d2; border-color: var(--terracotta); opacity: 0.8; }
.quiz-option:disabled { cursor: default; }

.quiz-reaction {
  background: var(--gold-soft);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  margin: 0.6rem 0 1rem;
  animation: modal-pop 0.3s ease;
}

.quiz-center { text-align: center; }

.quiz-result-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--terracotta);
  margin: 0.4rem 0;
}

.quiz-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  margin: 0;
}

/* ═══ PHILIP ══════════════════════════════════════════════════ */

.philip-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* luftrom til (mislykkede) flyforsøk */
  padding-top: 10rem;
}

.philip-stars {
  position: absolute;
  font-size: 2rem;
  /* svever over den kræsjede fuglen */
  top: 7.2rem;
  animation: stars-spin 1.2s linear infinite;
  z-index: 5;
}

@keyframes stars-spin {
  from { transform: rotate(0) scale(1); }
  50% { transform: rotate(180deg) scale(1.25); }
  to { transform: rotate(360deg) scale(1); }
}

.philip-commentary {
  max-width: 20rem;
  margin: 1rem auto 0;
  background: var(--paper-warm);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  box-shadow: var(--shadow-soft);
  animation: modal-pop 0.25s ease;
}

.philip-crash-counter {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.philip-crash-counter strong { color: var(--terracotta); font-size: 1.05rem; }

.philip-bird {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.philip-bird:active .bird-body { transform: scale(0.93); }

.bird-body {
  position: relative;
  width: 92px;
  height: 110px;
  background: linear-gradient(160deg, #8fd14f 20%, #5aa53a 85%);
  border-radius: 50% 50% 46% 46% / 60% 60% 42% 42%;
  transition: transform 0.15s ease;
  animation: bird-idle 3.2s ease-in-out infinite;
}

@keyframes bird-idle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg) translateY(-3px); }
}

/* Flyforsøket: ambisiøs klatring, panikk, fritt fall, krasj */
.philip-bird.is-flying .bird-body {
  animation: philip-flight 1.7s cubic-bezier(0.45, 0, 0.6, 1) forwards;
}

@keyframes philip-flight {
  0%   { transform: translateY(0) rotate(0); }
  30%  { transform: translateY(-115px) rotate(-10deg); }   /* full kontroll (tror han) */
  45%  { transform: translateY(-125px) rotate(6deg); }     /* toppunkt, selvtilliten på topp */
  55%  { transform: translateY(-110px) rotate(48deg); }    /* …hva skjer nå */
  85%  { transform: translateY(14px) rotate(150deg); }     /* fritt fall */
  92%  { transform: translateY(-6px) rotate(170deg); }     /* sprett */
  100% { transform: translateY(8px) rotate(178deg); }      /* hvil i fred (midlertidig) */
}

.philip-bird.is-crashed .bird-body {
  transform: translateY(8px) rotate(178deg);
  animation: none;
}

.philip-bird.is-crashed .bird-legs span { transform: rotate(40deg); }

.bird-wing {
  position: absolute;
  right: 4px;
  top: 38px;
  width: 38px;
  height: 52px;
  background: linear-gradient(150deg, #4d8f33, #3a7026);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  transform-origin: top center;
}

.philip-bird.is-flying .bird-wing { animation: wing-flap 0.16s ease infinite; }

@keyframes wing-flap {
  0%, 100% { transform: rotate(0); }
  40% { transform: rotate(-38deg); }
}

.bird-eye {
  position: absolute;
  left: 22px;
  top: 26px;
  width: 13px;
  height: 13px;
  background: #1d1a14;
  border-radius: 50%;
  box-shadow: inset -2px -2px 0 rgba(255, 255, 255, 0.5);
}

.bird-beak {
  position: absolute;
  left: -7px;
  top: 36px;
  width: 18px;
  height: 14px;
  background: #f2a93b;
  border-radius: 50% 30% 50% 60%;
  transform: rotate(-12deg);
}

.bird-cheek {
  position: absolute;
  left: 12px;
  top: 44px;
  width: 12px;
  height: 9px;
  background: rgba(242, 132, 90, 0.55);
  border-radius: 50%;
}

.bird-legs {
  display: flex;
  gap: 14px;
  margin-top: -4px;
}

.bird-legs span {
  width: 3px;
  height: 14px;
  background: #b07a2f;
  border-radius: 2px;
}

.bird-perch {
  width: 150px;
  height: 9px;
  background: linear-gradient(#9a6b3f, #7a5230);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.philip-hint {
  margin-top: 1rem;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--ink-soft);
}

/* ═══ KIM LARSEN ══════════════════════════════════════════════ */

.kim-section { background: var(--paper-warm); }

/* ═══ IRLAND ══════════════════════════════════════════════════ */

.ireland-section {
  background: linear-gradient(#bfe3d2 0%, #8cc7a8 100%);
  padding-bottom: clamp(7rem, 16vw, 11rem);
}

.ireland-section .kicker { color: var(--green-deep); }
.ireland-section .section-sub { color: #234d3c; }

.ireland-hills {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
}

.hill {
  position: absolute;
  bottom: -22%;
  border-radius: 50% 50% 0 0;
}

.hill--1 { left: -22%; width: 75%; height: 88%; background: #3f7a5c; }
.hill--2 { right: -25%; width: 85%; height: 100%; background: #2e5e4e; }
.hill--3 { left: 18%; width: 75%; height: 62%; background: #4f9168; }

.postcard {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 8px;
  padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-pop);
  transform: rotate(-1.6deg);
  text-align: left;
}

.postcard::before {
  /* washi-teip */
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 110px;
  height: 28px;
  background: rgba(217, 164, 65, 0.6);
  border-left: 2px dashed rgba(255, 255, 255, 0.6);
  border-right: 2px dashed rgba(255, 255, 255, 0.6);
}

.postcard-stamp {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-size: 1.6rem;
  border: 2px dashed var(--green);
  border-radius: 6px;
  padding: 0.25rem 0.4rem;
  transform: rotate(6deg);
}

.postcard-label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.5rem;
}

.postcard-text { margin: 0 0 0.8rem; color: var(--ink); }

.postcard-cheers {
  font-weight: 700;
  color: var(--green-deep);
  margin: 0;
  text-align: right;
}

/* ═══ RHODOS ══════════════════════════════════════════════════ */

.rhodos-section {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 214, 110, 0.5), transparent 55%),
    linear-gradient(#7ec8e3 0%, #f5e8d3 78%);
}

.rhodos-section .kicker { color: var(--wine); }

.rhodos-body {
  max-width: 33rem;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.rhodos-body p { margin-bottom: 1.2rem; }

.receipt {
  max-width: 19rem;
  margin: 0 auto 2.5rem;
  background: #fdfcf7;
  color: #3a352b;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  text-align: left;
  padding: 1.3rem 1.1rem 1.5rem;
  box-shadow: var(--shadow-pop);
  transform: rotate(1.6deg);
  /* takkete kvitteringskant */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 95% 100%, 90% calc(100% - 7px), 85% 100%, 80% calc(100% - 7px), 75% 100%, 70% calc(100% - 7px), 65% 100%, 60% calc(100% - 7px), 55% 100%, 50% calc(100% - 7px), 45% 100%, 40% calc(100% - 7px), 35% 100%, 30% calc(100% - 7px), 25% 100%, 20% calc(100% - 7px), 15% 100%, 10% calc(100% - 7px), 5% 100%, 0 calc(100% - 7px));
}

.receipt-head {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-bottom: 1px dashed #999;
  padding-bottom: 0.6rem;
  margin: 0 0 0.8rem;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0;
}

.receipt-line--free span:last-child { font-weight: 700; color: var(--terracotta-deep); }

.receipt-fine { font-size: 0.7rem; color: #8a8372; margin: 0.6rem 0; }

.receipt-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  border-top: 1px dashed #999;
  padding-top: 0.6rem;
  margin: 0.6rem 0 0;
}

.rhodos-quote { margin: 0; }

.rhodos-quote .handwritten {
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  color: var(--wine);
  margin: 0 0 0.2rem;
}

.rhodos-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ═══ HULEBJØRNEN ═════════════════════════════════════════════ */

.cave-photo {
  max-width: 22rem;
  margin: 0 auto 2.2rem;
  background: var(--paper);
  padding: 0.8rem 0.8rem 1rem;
  border-radius: 6px;
  box-shadow: var(--shadow-pop);
  transform: rotate(-2deg);
}

.cave-photo img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.cave-photo figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  text-align: left;
  line-height: 1.45;
}

.cave-section {
  background:
    radial-gradient(ellipse at 50% 130%, rgba(217, 164, 65, 0.22), transparent 55%),
    linear-gradient(#3a2c22, #261b13);
  color: var(--paper);
}

.cave-section .kicker { color: var(--gold); }
.cave-section .section-sub { color: rgba(250, 243, 230, 0.82); }

.btn--cave {
  background: var(--gold);
  color: var(--ink);
  font-size: 1.05rem;
  box-shadow: 0 0 30px rgba(217, 164, 65, 0.35);
}
.btn--cave:hover { transform: translateY(-2px) scale(1.02); }

/* ═══ MINNET ══════════════════════════════════════════════════ */

.memory-section {
  background:
    radial-gradient(ellipse 60% 38% at 50% 32%, rgba(110, 160, 255, 0.16), transparent),
    linear-gradient(var(--night), var(--night-deep));
  color: #e8e4da;
}

.memory-section .kicker { color: #7da5e8; }
.memory-section .section-title { color: #f3efe5; }

.scoreboard {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #0c1322;
  border: 2px solid rgba(125, 165, 232, 0.4);
  border-radius: 12px;
  padding: 0.7rem 1.4rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 0 38px rgba(110, 160, 255, 0.22);
}

.score-team {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.score-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd76e;
}

.score-dash { color: rgba(232, 228, 218, 0.5); }

.memory-body {
  max-width: 33rem;
  margin: 0 auto;
  text-align: left;
}

.memory-body p { margin-bottom: 1.3rem; }

.memory-highlight {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffd76e;
  text-align: center;
}

.memory-section .caption { color: rgba(232, 228, 218, 0.7); }

/* ═══ LIVETS BESTE DAG ════════════════════════════════════════ */

.bestday-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 164, 65, 0.35), transparent 55%),
    var(--paper-warm);
}

.bestday-body {
  max-width: 33rem;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.bestday-body p { margin-bottom: 1.2rem; }

.plaque {
  max-width: 24rem;
  margin: 0 auto 2rem;
  background: linear-gradient(160deg, #e9c878, #c89b3c 60%, #e9c878);
  border: 4px solid #a87f2a;
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-pop), inset 0 0 18px rgba(255, 248, 220, 0.55);
}

.plaque-quote {
  font-size: 2rem;
  color: #4a3413;
  margin: 0 0 0.3rem;
}

.plaque-sub { font-size: 0.85rem; color: #5c451f; margin: 0; }

.bestday-disclaimer {
  max-width: 28rem;
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ═══ HUMOR ═══════════════════════════════════════════════════ */

.joke-machine {
  max-width: 30rem;
  margin: 0 auto;
}

.joke-display {
  background: var(--paper-warm);
  border: 3px dashed var(--gold);
  border-radius: var(--radius);
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}

.joke-setup { font-family: var(--font-hand); font-size: 1.55rem; margin: 0; }

.joke-punch {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--terracotta);
  margin: 0.6rem 0 0;
  animation: modal-pop 0.3s ease;
}

.joke-react {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0.6rem 0 0;
}

.joke-counter { margin-top: 1rem; color: var(--ink-soft); font-size: 0.95rem; }

.humor-disclaimer {
  max-width: 30rem;
  margin: 2.5rem auto 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-left: 4px solid var(--terracotta);
  padding-left: 1rem;
  text-align: left;
}

/* ═══ MAMMAS KJØKKEN ══════════════════════════════════════════ */

.menu-section {
  background:
    radial-gradient(ellipse at 50% 110%, rgba(201, 87, 58, 0.25), transparent 60%),
    linear-gradient(#2c2620, #211c16);
  color: var(--paper);
}

.menu-section .kicker { color: var(--gold); }
.menu-section .section-sub { color: rgba(250, 243, 230, 0.82); }

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

.menu-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2rem 1.3rem 1.3rem;
  box-shadow: var(--shadow-pop);
  text-align: left;
}

.menu-card:nth-child(odd) { transform: rotate(-1deg); }
.menu-card:nth-child(even) { transform: rotate(1deg); }

.menu-skull {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  background: var(--paper);
  border-radius: 50%;
  padding: 0.15rem 0.3rem;
  box-shadow: var(--shadow-soft);
}

.menu-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--terracotta-deep);
  margin: 0 0 0.5rem;
  text-align: center;
}

.menu-desc { font-size: 0.95rem; margin: 0 0 0.8rem; }

.menu-danger {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wine);
  border: 2px solid var(--wine);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  transform: rotate(-2deg);
  margin: 0;
}

.menu-footer {
  max-width: 30rem;
  margin: 0 auto;
  font-size: 0.92rem;
  color: rgba(250, 243, 230, 0.8);
}

.menu-redemption {
  max-width: 28rem;
  margin: 2.2rem auto 0;
  font-size: 1.5rem;
  color: var(--gold);
  border-top: 1px dashed rgba(217, 164, 65, 0.45);
  padding-top: 1.6rem;
}

/* ═══ SVIDD FROKOST ═══════════════════════════════════════════ */

.breakfast-section { background: var(--paper-warm); }

.award {
  position: relative;
  max-width: 30rem;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-pop);
}

.award::before {
  content: "🏆";
  position: absolute;
  top: -1.3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.2rem;
  background: var(--paper);
  border-radius: 50%;
  padding: 0.2rem;
}

.award-egg {
  position: relative;
  width: 110px;
  height: 86px;
  margin: 0.5rem auto 1.4rem;
}

.egg-white {
  position: absolute;
  inset: 0;
  background: #2b2017; /* svidd! */
  border-radius: 58% 42% 55% 45% / 55% 60% 40% 45%;
}

.egg-yolk {
  position: absolute;
  left: 34px;
  top: 22px;
  width: 42px;
  height: 38px;
  background: radial-gradient(circle at 38% 32%, #4d3a22, #2f2412);
  border-radius: 50%;
  box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.5);
}

.egg-sprinkles span {
  position: absolute;
  width: 11px;
  height: 4px;
  border-radius: 3px;
}

.egg-sprinkles span:nth-child(1) { background: #e85d75; top: 12px; left: 18px; transform: rotate(24deg); }
.egg-sprinkles span:nth-child(2) { background: #4fc1e9; top: 30px; left: 86px; transform: rotate(-30deg); }
.egg-sprinkles span:nth-child(3) { background: #ffce54; top: 58px; left: 28px; transform: rotate(60deg); }
.egg-sprinkles span:nth-child(4) { background: #a0d468; top: 66px; left: 70px; transform: rotate(-12deg); }
.egg-sprinkles span:nth-child(5) { background: #ac92ec; top: 8px; left: 60px; transform: rotate(80deg); }
.egg-sprinkles span:nth-child(6) { background: #fc6e51; top: 42px; left: 8px; transform: rotate(-50deg); }

.award-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.award-body { color: var(--ink-soft); }

.award-stamp {
  display: inline-block;
  margin-top: 1rem;
  border: 3px solid var(--terracotta);
  color: var(--terracotta);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  transform: rotate(-5deg);
}

/* ═══ VINNINJAENE ═════════════════════════════════════════════ */

.ninjas-section { background: linear-gradient(var(--wine), var(--wine-deep)); color: var(--paper); }
.ninjas-section .kicker { color: var(--gold); }
.ninjas-section .section-sub { color: rgba(250, 243, 230, 0.85); }

.ninja-row {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 1.4rem);
  margin: 1.5rem 0 1rem;
}

.wine-glass {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.wine-glass.is-clinking { animation: clink 0.5s ease; }

@keyframes clink {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-14deg) translateY(-8px); }
  60% { transform: rotate(10deg); }
}

.glass-bowl {
  position: relative;
  width: 44px;
  height: 50px;
  border: 3px solid rgba(250, 243, 230, 0.85);
  border-top: none;
  border-radius: 0 0 26px 26px;
  overflow: hidden;
}

.glass-wine {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(#9e2b3f, #6e1d2d);
  transition: inset 0.3s ease;
}

.wine-glass.is-empty .glass-wine { inset: 100% 0 0; }

.glass-stem { width: 3px; height: 22px; background: rgba(250, 243, 230, 0.85); }
.glass-foot { width: 28px; height: 4px; background: rgba(250, 243, 230, 0.85); border-radius: 999px; }

.ninja-mask {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.ninja-hint { font-family: var(--font-hand); font-size: 1.3rem; color: var(--gold-soft); }
.ninja-counter { font-size: 0.9rem; color: rgba(250, 243, 230, 0.7); }

.clink-pop {
  position: absolute;
  font-weight: 800;
  color: var(--gold);
  animation: pop-up 0.9s ease forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes pop-up {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-46px); }
}

/* ═══ MYSTISK TALLREKKE ═══════════════════════════════════════ */

.phone-section {
  background: var(--ink);
  color: var(--paper);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-digits {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 0.8rem;
  font-variant-numeric: tabular-nums;
}

.phone-hint { font-size: 1.6rem; color: rgba(250, 243, 230, 0.75); margin: 0 0 2rem; }

.phone-reveal-btn { color: rgba(250, 243, 230, 0.85); }

.phone-answer {
  max-width: 26rem;
  margin: 1.5rem auto 0;
  color: var(--gold-soft);
  animation: modal-pop 0.4s ease;
}

/* ═══ TRIST-KNAPPEN ═══════════════════════════════════════════ */

.sad-section {
  background: var(--paper);
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.sad-text { font-size: 1.8rem; color: var(--ink-soft); margin: 0 0 1.4rem; }

.btn--sad {
  background: var(--night);
  color: var(--paper);
  font-size: 1.1rem;
  padding: 1rem 2.2rem;
  box-shadow: var(--shadow-pop);
}

.btn--sad:hover { transform: translateY(-2px); background: var(--night-deep); }

.sad-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.9rem; }

/* ═══ RØTTER ══════════════════════════════════════════════════ */

.roots-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 164, 65, 0.18), transparent 55%),
    var(--paper);
}

.roots-body {
  max-width: 33rem;
  margin: 0 auto 3rem;
  text-align: left;
}

.roots-body p { margin-bottom: 1.3rem; }

.roots-pause {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--terracotta);
}

.roots-highlight {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--green-deep);
  border-left: 4px solid var(--gold);
  padding-left: 1.1rem;
}

.family-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tree-crown {
  position: relative;
  width: min(82vw, 300px);
  padding: 1.6rem 1rem 1.2rem;
  background: radial-gradient(ellipse at 50% 40%, #4f9168, var(--green));
  border-radius: 50% 50% 42% 42% / 58% 58% 36% 36%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.tree-kids {
  width: 100%;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--gold-soft);
}

.tree-trunk {
  background: linear-gradient(#8a5a3b, #6e4429);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 1.1rem 1.5rem;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.04em;
}

.tree-roots {
  background: linear-gradient(#5c4326, #3d2c17);
  color: var(--gold-soft);
  font-family: var(--font-hand);
  font-size: 1.2rem;
  padding: 0.55rem 1.8rem 0.7rem;
  border-radius: 0 0 50% 50% / 0 0 85% 85%;
  margin-top: -2px;
}

.tree-label { margin-top: 0.8rem; color: var(--ink-soft); }

/* ═══ BREVET ══════════════════════════════════════════════════ */

.letter-section { background: var(--paper-warm); }

.letter {
  max-width: 34rem;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 6px;
  padding: clamp(1.6rem, 5vw, 2.6rem);
  box-shadow: var(--shadow-pop);
  text-align: left;
  position: relative;
}

.letter::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 12%;
  width: 90px;
  height: 26px;
  background: rgba(201, 87, 58, 0.45);
  transform: rotate(-3deg);
  border-left: 2px dashed rgba(255, 255, 255, 0.6);
  border-right: 2px dashed rgba(255, 255, 255, 0.6);
}

.letter p { margin-bottom: 1.2rem; }

.letter-opening { font-size: 2rem; margin-bottom: 0.8rem; color: var(--terracotta); }

.letter-final { font-weight: 700; font-size: 1.1rem; }

.letter-sign {
  font-size: 1.7rem;
  color: var(--green-deep);
  text-align: right;
  margin-top: 1.6rem;
}

.letter-ps {
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px dashed rgba(56, 41, 31, 0.25);
  padding-top: 1rem;
  margin-bottom: 0 !important;
}

/* ═══ FINALE ══════════════════════════════════════════════════ */

.finale-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201, 87, 58, 0.3), transparent 60%),
    var(--green-deep);
  color: var(--paper);
}

.finale-title {
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--gold-soft);
}

.btn--finale {
  background: var(--terracotta);
  color: var(--paper);
  font-size: 1.15rem;
  padding: 1.1rem 2.2rem;
  box-shadow: 0 0 36px rgba(201, 87, 58, 0.5);
  animation: pulse-glow 2s ease infinite;
}

.finale-after {
  margin-top: 1.6rem;
  font-size: 1.6rem;
  color: var(--gold-soft);
  animation: modal-pop 0.4s ease;
}
