@font-face {
  font-family: 'Super Pixel';
  src: url('/fonts/SuperPixel.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ocean-950: #23064b;
  --ocean-900: #3b0b77;
  --ocean-800: #5a1ac9;
  --turquoise: #91f3ff;
  --foam: rgba(248, 245, 255, 0.96);
  --sand: #ffdf47;
  --gold: #ff9a2f;
  --glass: rgba(55, 10, 112, 0.34);
  --glass-soft: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.28);
  --shadow: 0 24px 65px rgba(43, 4, 84, 0.34);
  --text: #fff7ff;
  --muted: rgba(255, 239, 255, 0.86);
  --glass-bg: rgba(255,255,255,.18);
  --glass-border: rgba(255,182,248,.46);
  --glass-hi: rgba(255,255,255,.86);
  --glass-caustic: rgba(145,243,255,.24);
  --refl-start: rgba(255,255,255,.52);
  --refl-end: rgba(255,255,255,0);
  --glare: rgba(255,255,255,.24);
  --icon-active: #fff7ff;
  --pixel-pink: #ff00b8;
  --pixel-hotpink: #ff4fd8;
  --pixel-orange: #ff8f2b;
  --pixel-yellow: #ffe640;
  --pixel-blue: #5c39d6;
  --pixel-deep: #27125f;
  --liquid-shadow: 0 30px 65px -28px rgba(43, 4, 84, .58), inset 0 2px 3px -1px var(--glass-hi), inset 0 -2px 4px -1px var(--glass-caustic), inset 0 0 0 1px var(--glass-border);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #8d9eaa; color: var(--text); }
body {
  overflow-x: hidden;
  position: relative;
}
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  z-index: 0;
  background: url('/bg-noordwijk.jpg') center center / cover no-repeat;
  filter: blur(12px) saturate(1.04);
  transform: scale(1.06);
  transform-origin: center center;
}
body::after {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(112, 33, 225, 0.30), rgba(255, 0, 184, 0.18) 28%, rgba(255, 143, 43, 0.14) 64%, rgba(39, 18, 95, 0.34)),
    linear-gradient(90deg, rgba(255, 0, 184, 0.08), rgba(255, 230, 64, 0.08), rgba(92, 57, 214, 0.08));
}
button { font: inherit; }
.hidden { display: none !important; }

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.app-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 0, 184, .18), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(145, 243, 255, .18), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(255, 230, 64, .14), transparent 28%),
    linear-gradient(180deg, rgba(255, 233, 197, 0.04), rgba(7, 24, 38, 0.02) 35%, rgba(7, 24, 38, 0.10) 100%);
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.glass-panel,
.glass-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.22));
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  box-shadow: var(--shadow);
}
.glass-panel { border-radius: 34px; }
.glass-card { border-radius: 28px; }

.liquid-glass,
.liquid-pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.liquid-glass > *,
.liquid-pill > * {
  position: relative;
  z-index: 2;
}

.liquid-glass {
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.24));
  backdrop-filter: blur(34px) saturate(165%);
  -webkit-backdrop-filter: blur(34px) saturate(165%);
  box-shadow: var(--liquid-shadow);
}

.liquid-glass::before,
.liquid-pill::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 46%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--refl-start), var(--refl-end));
  opacity: .7;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass::after,
.liquid-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle 120px at 50% 0%, var(--glare), transparent 72%),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.08) 42%, rgba(255,255,255,.18) 49%, rgba(255,255,255,.08) 56%, transparent 100%);
  background-size: 100% 100%, 240% 100%;
  background-position: center center, 45% 50%;
  mix-blend-mode: screen;
}

.liquid-glass--hero,
.liquid-glass--score,
.liquid-glass--metric,
.liquid-glass--panel,
.liquid-glass--status {
  border-color: var(--glass-border);
}

.liquid-glass--hero {
  background: linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,.24));
}

.liquid-glass--score,
.liquid-glass--metric,
.liquid-glass--panel,
.liquid-glass--status {
  background: linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.20));
}

.liquid-glass--score {
  box-shadow: 0 24px 44px rgba(1, 9, 18, .22), inset 0 2px 3px -1px var(--glass-hi), inset 0 -2px 4px -1px rgba(100,216,210,.16), inset 0 0 0 1px var(--glass-border);
}

.liquid-glass--metric,
.liquid-glass--panel,
.liquid-glass--score {
  transition: transform .28s ease, box-shadow .28s ease;
}

.liquid-glass--metric:hover,
.liquid-glass--panel:hover,
.liquid-glass--score:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px -28px rgba(2, 10, 22, .48), inset 0 2px 3px -1px var(--glass-hi), inset 0 -2px 4px -1px var(--glass-caustic), inset 0 0 0 1px var(--glass-border);
}

.liquid-glass--status {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.26);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  box-shadow: 0 14px 28px -20px rgba(2,10,22,.42), inset 0 1px 2px -1px var(--glass-hi), inset 0 0 0 1px var(--glass-border);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  margin-top: max(22px, env(safe-area-inset-top));
  border: 2px solid rgba(255, 182, 248, .38);
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.96);
  font-weight: 800;
}
.hero-title {
  margin: 0;
  font-family: 'Super Pixel', Inter, sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: .88;
  letter-spacing: .04em;
  color: var(--pixel-yellow);
  text-transform: uppercase;
  text-shadow: 6px 0 0 var(--pixel-blue), 0 6px 0 var(--pixel-blue), 6px 6px 0 var(--pixel-blue), 0 14px 28px rgba(39, 18, 95, .38);
}

.hero-subtitle {
  margin: 14px 0 0;
  font-family: 'Super Pixel', Inter, sans-serif;
  font-size: clamp(.95rem, 2vw, 1.35rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff7ff;
  text-shadow: 3px 0 0 var(--pixel-pink), 0 0 18px rgba(255, 79, 216, .32);
}
.subcopy {
  margin: 20px 0 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.primary-btn,
.secondary-btn,
.ghost-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 15px 22px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  overflow: hidden;
  font-family: 'Super Pixel', Inter, sans-serif;
  letter-spacing: .08em;
}
.primary-btn {
  color: #fff7ff;
  background: linear-gradient(135deg, rgba(255, 0, 184, .96), rgba(255, 143, 43, .94));
  box-shadow: 0 18px 30px rgba(39,18,95,.24), inset 0 1px 1px rgba(255,255,255,.34);
  font-weight: 700;
  text-shadow: 2px 2px 0 rgba(39,18,95,.68);
}
.secondary-btn {
  color: #fff7ff;
  background: linear-gradient(135deg, rgba(92, 57, 214, .96), rgba(145, 243, 255, .78));
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 16px 28px rgba(39,18,95,.2), inset 0 1px 1px rgba(255,255,255,.38);
  font-weight: 700;
  text-shadow: 2px 2px 0 rgba(39,18,95,.68);
}
.ghost-btn {
  color: #fff7ff;
  background: linear-gradient(135deg, rgba(92, 57, 214, .88), rgba(255, 79, 216, .88));
  border-color: rgba(255,255,255,.44);
  box-shadow: 0 16px 28px rgba(39,18,95,.18), inset 0 1px 1px rgba(255,255,255,.32);
  font-weight: 700;
  text-shadow: 2px 2px 0 rgba(39,18,95,.68);
  width: 100%;
}
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -18px rgba(1, 9, 18, .44);
}

.liquid-pill {
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 24px -16px rgba(42,56,78,.24), inset 0 1px 2px -1px var(--glass-hi), inset 0 0 0 1px var(--glass-border);
}

.liquid-pill.secondary-btn,
.liquid-pill.ghost-btn {
  color: #fff7ff;
}

.liquid-pill::before {
  height: 55%;
}

.status-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: rgba(245,251,255,.82);
  font-size: .92rem;
  text-shadow: 0 1px 2px rgba(5, 18, 30, .45);
}
.hero-score {
  padding: 22px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.score-kicker {
  font-family: 'Super Pixel', Inter, sans-serif;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff7ff;
  text-shadow: 2px 0 0 var(--pixel-pink), 0 0 16px rgba(255, 79, 216, .28);
}
.score-value {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(4.2rem, 9vw, 6rem);
  line-height: .9;
  margin-top: 12px;
  font-weight: 800;
  color: var(--pixel-yellow);
  text-shadow: 5px 0 0 var(--pixel-blue), 0 5px 0 var(--pixel-blue), 5px 5px 0 var(--pixel-blue), 0 10px 24px rgba(39,18,95,.38);
}
.score-condition {
  margin-top: 10px;
  font-family: 'Super Pixel', Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff7ff;
  text-shadow: 2px 0 0 var(--pixel-pink), 0 0 14px rgba(255, 79, 216, .24);
}
.score-summary {
  color: rgba(255,247,255,.9);
  margin: 12px 0 0;
  line-height: 1.55;
  text-shadow: 0 1px 0 rgba(255,255,255,.12), 0 2px 8px rgba(39,18,95,.26);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.metric-card {
  padding: 20px;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.metric-card--overview {
  padding: 16px;
  min-height: unset;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
}
.metric-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.metric-mini {
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.18));
  border: 1px solid rgba(255,196,247,.34);
  backdrop-filter: blur(34px) saturate(165%);
  -webkit-backdrop-filter: blur(34px) saturate(165%);
  box-shadow: 0 24px 44px rgba(43, 4, 84, .22), inset 0 2px 3px -1px var(--glass-hi), inset 0 -2px 4px -1px rgba(145,243,255,.18), inset 0 0 0 1px var(--glass-border);
  min-width: 0;
}
.metric-label { font-family: 'Super Pixel', Inter, sans-serif; color: #fff7ff; font-size: .82rem; font-weight: 700; text-shadow: 2px 0 0 var(--pixel-pink), 0 0 10px rgba(255, 79, 216, .2); }
.metric-value { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: .95; margin-top: 12px; font-weight: 800; letter-spacing: -.03em; color: var(--pixel-yellow); text-shadow: 3px 0 0 var(--pixel-blue), 0 3px 0 var(--pixel-blue), 0 8px 18px rgba(39,18,95,.24); }
.metric-foot { margin-top: 8px; color: rgba(255,247,255,.84); text-shadow: 0 1px 0 rgba(255,255,255,.14), 0 2px 6px rgba(39,18,95,.18); }

.details-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
}
.details-panel { padding: 24px; }
.panel-topline {
  font-family: 'Super Pixel', Inter, sans-serif;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff7ff;
  margin-bottom: 18px;
  text-shadow: 2px 0 0 var(--pixel-pink), 0 0 12px rgba(255, 79, 216, .24);
}
.panel-copy {
  margin: 0;
  line-height: 1.65;
  color: rgba(255,247,255,.9);
  text-shadow: 0 1px 0 rgba(255,255,255,.12), 0 2px 8px rgba(39,18,95,.20);
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.detail-row:last-child { border-bottom: 0; }
.detail-row span { color: rgba(255,247,255,.82); text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 2px 6px rgba(39,18,95,.18); }
.detail-row strong { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; text-align: right; color: var(--pixel-yellow); text-shadow: 2px 0 0 var(--pixel-blue), 0 2px 0 var(--pixel-blue); }
.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255,247,255,.9);
  line-height: 1.8;
  text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 2px 8px rgba(39,18,95,.18);
}
.footer {
  text-align: center;
  padding: 30px 0 10px;
  color: var(--pixel-yellow);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .95rem;
  font-family: 'Super Pixel', Inter, sans-serif;
  text-shadow: 3px 0 0 var(--pixel-blue), 0 3px 0 var(--pixel-blue), 0 10px 20px rgba(39,18,95,.34);
}

.eyebrow {
  color: rgba(255,255,255,.96);
  text-shadow: 0 1px 0 rgba(255,255,255,.18), 0 2px 8px rgba(5, 18, 30, .34);
}

.footer {
  color: var(--pixel-yellow);
  text-shadow: 3px 0 0 var(--pixel-blue), 0 3px 0 var(--pixel-blue), 0 10px 20px rgba(39,18,95,.34);
}

.reveal { animation: fadeUp .55s ease both; }
.reveal:nth-child(2) { animation-delay: .04s; }
.reveal:nth-child(3) { animation-delay: .08s; }
.reveal:nth-child(4) { animation-delay: .12s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  .hero,
  .details-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page { width: min(100% - 18px, 1120px); padding-bottom: 32px; }
  .hero,
  .details-grid { grid-template-columns: 1fr; }
  .hero { padding: 22px 18px; border-radius: 28px; }
  .glass-card { border-radius: 24px; }
  .metric-card { min-height: 136px; }
  .metric-quad { grid-template-columns: 1fr 1fr; }
  .metric-mini { padding: 12px 14px; border-radius: 18px; }
  .metric-label { font-size: .88rem; }
  .metric-value { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .metric-foot { font-size: .88rem; }
  .liquid-glass--status { width: 100%; justify-content: center; text-align: center; }
}
