/* Leikjavalmynd – vínylfígúrur í safnkössum á hillu. */
:root {
  --ink: #1b1b1f;
  --font-box: "Lilita One", "Arial Black", sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: #fff;
  background:
    radial-gradient(1200px 600px at 50% -10%, #6a4bc4 0%, transparent 60%),
    linear-gradient(180deg, #2b1d4f 0%, #1a1233 100%);
  min-height: 100vh;
  padding: calc(24px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom));
}

.menu-header { text-align: center; margin-bottom: 26px; }
.menu-title {
  font-family: var(--font-box);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  margin: 0;
  letter-spacing: 0.02em;
  color: #ffd23f;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--ink);
  transform: rotate(-2deg);
}
.menu-sub { margin: 10px 0 0; color: #cfc4f2; font-weight: 800; }

/* Hilla: kassarnir standa á hillubrún */
.shelf {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px 28px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 8px 26px;
  position: relative;
}

/* ------------------------------------------------------------------
   Safnkassi
   ------------------------------------------------------------------ */
.pop-box {
  --box: #ff4f8b;
  --box-dark: #c7275f;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 270px;
  padding: 12px 12px 14px;
  border: 5px solid var(--ink);
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--box-dark) 0 14px, transparent 14px),
    var(--box);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 0 var(--ink), 0 22px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pop-box:hover, .pop-box:focus-visible {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 18px 0 var(--ink), 0 30px 40px rgba(0, 0, 0, 0.5);
  outline: none;
}
.pop-box:active { transform: translateY(2px); box-shadow: 0 6px 0 var(--ink); }

.box-laumu { --box: #8b5cf6; --box-dark: #6233c9; }
.box-skissa { --box: #ff9f1c; --box-dark: #d97706; }
.box-jol { --box: #1f9d55; --box-dark: #15703c; }
.box-soon { --box: #55556a; --box-dark: #3c3c4c; filter: saturate(0.6); cursor: default; }
.box-soon:hover { transform: none; box-shadow: 0 10px 0 var(--ink), 0 22px 30px rgba(0, 0, 0, 0.45); }

/* Upphengiflipi efst eins og á leikfangakössum */
.box-tab {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 26px;
  background: var(--box);
  border: 5px solid var(--ink);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
}
.box-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 30px;
  height: 9px;
  transform: translateX(-50%);
  background: #1a1233;
  border-radius: 6px;
}

/* Númerabóla efst í horni */
.box-number {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 5px solid var(--ink);
  font-family: var(--font-box);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
}

.box-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 6px 10px 18px;
}
.box-title {
  font-family: var(--font-box);
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--ink);
}
.box-tag {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--ink);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
}

/* Glær gluggi með fígúrunni */
.box-window {
  position: relative;
  display: block;
  margin-left: 8px;
  height: 250px;
  border: 5px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55) 60%, rgba(255, 255, 255, 0.35));
}
.pop-figure {
  position: absolute;
  inset: 8px 0 0;
  width: 100%;
  height: calc(100% - 8px);
  transition: transform 0.25s ease;
}
.pop-box:hover .pop-figure { transform: rotate(-4deg) scale(1.04); }
.box-soon:hover .pop-figure { transform: none; }

/* Endurskin í plastinu */
.box-glare {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 40%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(22deg);
  pointer-events: none;
}

.box-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 4px 0 18px;
}
.box-desc { font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.box-play {
  align-self: flex-start;
  font-family: var(--font-box);
  font-size: 1.25rem;
  background: #ffd23f;
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 12px;
  padding: 4px 14px;
  box-shadow: 0 4px 0 var(--ink);
}
.box-play small { font-family: var(--font-body); font-size: 0.75rem; font-weight: 800; }
.box-play.muted { background: #8a8aa0; }

@media (max-width: 600px) {
  .shelf { gap: 44px; }
  .pop-box { width: min(300px, 92vw); }
}
