/* iKash launch countdown — v4 (mockup), mobiel-first responsive */

:root {
  --ik-navy: #23223b;
  --ik-navy-deep: #141427;
  --ik-orange: #ff7926;
  --ik-text: #f1f5f9;
  --ik-muted: rgba(226, 232, 240, 0.72);
  --ik-muted-soft: rgba(226, 232, 240, 0.55);
  --ik-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ik-pad-x: clamp(16px, 5vw, 28px);
  --ik-gap: clamp(12px, 2.5dvh, 20px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
}

body {
  font-family: var(--ik-font);
  color: var(--ik-text);
  background: var(--ik-navy-deep);
  -webkit-font-smoothing: antialiased;
}

/* Achtergrond — grid + gloed zoals mockup */
.launch-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(168deg, #06090e 0%, var(--ik-navy-deep) 42%, var(--ik-navy) 100%);
}

.launch-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
}

.launch-bg-glow--purple {
  width: min(420px, 85vw);
  height: min(420px, 85vw);
  top: -18%;
  left: -12%;
  background: rgba(74, 45, 184, 0.2);
}

.launch-bg-glow--orange {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  top: 38%;
  right: -18%;
  background: rgba(255, 121, 38, 0.14);
}

.launch-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 15%, transparent 72%);
}

/* Hoofdcontainer — simpele kolom, geen transform-trucs */
.launch {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(480px, 100%);
  margin: 0 auto;
  padding:
    calc(env(safe-area-inset-top, 0px) + clamp(20px, 4dvh, 32px))
    var(--ik-pad-x)
    calc(env(safe-area-inset-bottom, 0px) + clamp(16px, 3dvh, 24px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ik-gap);
  text-align: center;
}

.launch-logo {
  display: block;
  width: auto;
  height: clamp(30px, 7vw, 38px);
  max-width: min(128px, 42vw);
  margin: 0;
}

.launch-badge {
  display: inline-block;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: clamp(0.62rem, 2.8vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ik-orange);
  background: rgba(255, 121, 38, 0.1);
  border: 1px solid rgba(255, 121, 38, 0.45);
}

.launch-headline {
  margin: 0;
  font-size: clamp(1.55rem, 6.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.launch-headline-accent {
  color: var(--ik-orange);
}

.launch-text {
  margin: 0;
  max-width: 22rem;
  font-size: clamp(0.84rem, 3.6vw, 0.95rem);
  line-height: 1.5;
  color: var(--ik-muted);
}

/* Countdown-kaart */
.launch-card {
  width: 100%;
  margin: 0;
  padding: clamp(14px, 3vw, 20px) clamp(12px, 3vw, 18px) clamp(12px, 2.5vw, 16px);
  border-radius: clamp(14px, 3vw, 20px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--ik-orange);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.launch-card-title {
  margin: 0 0 clamp(10px, 2dvh, 14px);
  font-size: clamp(0.74rem, 3.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ik-muted);
}

.launch-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(5px, 1.5vw, 8px);
  width: 100%;
}

.launch-timer-cell {
  min-width: 0;
  padding: clamp(8px, 2vw, 12px) clamp(4px, 1vw, 8px);
  border-radius: clamp(8px, 2vw, 12px);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-timer-num {
  display: block;
  font-size: clamp(1.15rem, 5.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.launch-timer-lbl {
  display: block;
  margin-top: clamp(3px, 1vw, 5px);
  font-size: clamp(0.46rem, 2.2vw, 0.55rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ik-muted-soft);
}

.launch-timezone {
  margin: clamp(6px, 1.5dvh, 10px) 0 0;
  font-size: clamp(0.62rem, 2.8vw, 0.72rem);
  color: rgba(226, 232, 240, 0.38);
}

/* Feature-lijst — iconen in vakjes zoals mockup */
.launch-list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.launch-list li {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 3vw, 14px);
  padding: clamp(12px, 2.5dvh, 14px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.launch-list-icon {
  flex: 0 0 clamp(36px, 10vw, 42px);
  width: clamp(36px, 10vw, 42px);
  height: clamp(36px, 10vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ik-orange);
  font-size: clamp(0.85rem, 3.5vw, 1rem);
}

.launch-list-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 2px;
}

.launch-list-copy strong {
  font-size: clamp(0.84rem, 3.6vw, 0.92rem);
  font-weight: 700;
  color: rgba(241, 245, 249, 0.95);
  line-height: 1.25;
}

.launch-list-copy span {
  font-size: clamp(0.74rem, 3.2vw, 0.82rem);
  line-height: 1.35;
  color: var(--ik-muted-soft);
}

.launch-foot {
  width: 100%;
  padding-top: clamp(8px, 2dvh, 12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(0.78rem, 3.2vw, 0.85rem);
  color: var(--ik-muted);
}

.launch-foot p {
  margin: 0 0 4px;
}

.launch-foot i {
  margin-right: 4px;
  opacity: 0.75;
}

.launch-foot a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
}

.launch-foot a:hover {
  text-decoration: underline;
}

.launch-copy {
  font-size: clamp(0.65rem, 2.8vw, 0.72rem);
  color: rgba(226, 232, 240, 0.35);
}

/* Desktop — iets ruimer, gecentreerd op scherm */
@media (min-width: 600px) {
  .launch {
    max-width: 520px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 48px);
  }

  .launch-headline {
    font-size: 2.35rem;
  }

  .launch-text {
    font-size: 1rem;
  }

  .launch-timer-num {
    font-size: 2rem;
  }
}

/* Zeer smalle telefoons */
@media (max-width: 360px) {
  :root {
    --ik-gap: 10px;
  }

  .launch-badge {
    letter-spacing: 0.1em;
    padding-inline: 12px;
  }
}

/* Korte schermen — iets compacter */
@media (max-height: 700px) {
  :root {
    --ik-gap: 10px;
  }

  .launch {
    padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  }

  .launch-list li {
    padding-block: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-bg-glow {
    filter: none;
  }
}
