/* =====================================================
   WERWATH'S ON TOUR — Indonesia 2026
   Tropical sunset adventure poster aesthetic
   ===================================================== */

:root {
  --cream: #FEF1DB;
  --sand: #FFE3B8;
  --sun: #FFD23F;
  --gold: #FFB037;
  --sunset: #FF6B35;
  --pink: #FF4D8D;
  --magenta: #C2185B;
  --ocean: #0B5563;
  --deep-ocean: #04363F;
  --night: #1B3D5A;
  --palm: #2D6A4F;
  --jungle: #1B4332;
  --ink: #14162E;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sunset); color: #fff; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: max(440px, 52svh);
  max-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 100% 60% at 50% 18%, #FFD23F 0%, transparent 55%),
    linear-gradient(180deg,
      #1B3D5A 0%, #2A3D6A 8%, #C2185B 30%,
      #FF4D8D 45%, #FF6B35 60%, #FFB037 72%,
      #FF6B35 82%, #0B5563 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  background-position: 0 0, 1px 1px;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.5;
  z-index: 1;
}

.scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* stars */
.stars {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 25%;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 30%, #fff, transparent),
    radial-gradient(1px 1px at 28% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 45% 20%, #fff, transparent),
    radial-gradient(1px 1px at 62% 55%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 35%, #fff, transparent),
    radial-gradient(1px 1px at 88% 70%, #fff, transparent),
    radial-gradient(1px 1px at 18% 80%, #fff, transparent),
    radial-gradient(1px 1px at 52% 90%, #fff, transparent);
  opacity: 0.7;
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* sun */
.sun {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 45%, #FFF6C2 0%, #FFE873 30%, #FFD23F 55%, #FFB037 75%, rgba(255,107,53,0) 100%);
  box-shadow: 0 0 60px rgba(255,210,63,0.6), 0 0 140px rgba(255,107,53,0.5);
  animation: sunRise 1.4s cubic-bezier(0.22, 1, 0.36, 1) both,
             sunPulse 5s ease-in-out 1.4s infinite;
}
.sun::before, .sun::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,246,194,0.35);
  animation: sunHalo 6s linear infinite;
}
.sun::after {
  inset: -20px;
  border-color: rgba(255,210,63,0.2);
  animation-duration: 9s;
  animation-direction: reverse;
}

@keyframes sunRise {
  0%   { transform: translateX(-50%) translateY(60px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0);    opacity: 1; }
}
@keyframes sunPulse {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.12); }
}
@keyframes sunHalo {
  to { transform: rotate(360deg); }
}

/* islands */
.islands   { position: absolute; bottom: 30%; left: 0; width: 100%; height: 50px; z-index: 3; }
.islands-2 { bottom: 26%; height: 40px; z-index: 4; }

/* birds */
.bird {
  position: absolute;
  color: rgba(20,22,46,0.55);
  font-size: 14px;
  font-family: Georgia, serif;
  letter-spacing: -2px;
  animation: birdFly 18s linear infinite;
}
.bird-1 { top: 22%; left: -10%; animation-delay: 0s; }
.bird-2 { top: 28%; left: -10%; animation-delay: -6s;  font-size: 11px; }
.bird-3 { top: 18%; left: -10%; animation-delay: -12s; font-size: 12px; }

@keyframes birdFly {
  0%   { transform: translateX(0) translateY(0);       opacity: 0; }
  10%  {                                               opacity: 0.7; }
  50%  { transform: translateX(60vw) translateY(-20px); }
  90%  {                                               opacity: 0.7; }
  100% { transform: translateX(120vw) translateY(0);   opacity: 0; }
}

/* waves */
.wave { position: absolute; bottom: 0; left: 0; width: 220%; height: 110px; z-index: 5; }
.wave-1 { bottom: 0;   z-index: 7; animation: waveSlide 14s linear infinite; }
.wave-2 { bottom: 28px; z-index: 6; animation: waveSlide 22s linear infinite reverse; }
.wave-3 { bottom: 58px; z-index: 5; animation: waveSlide 30s linear infinite; }

@keyframes waveSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* komodo — strolls along the surf line */
.komodo {
  position: absolute;
  bottom: 20px;
  left: -80px;
  font-size: 40px;
  line-height: 1;
  z-index: 25;
  animation: komodoWalk 26s linear infinite, komodoBob 0.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  transform-origin: center;
}

@keyframes komodoWalk {
  0%   { left: -80px; }
  90%  { left: calc(100% + 20px); }
  100% { left: calc(100% + 20px); }
}
@keyframes komodoBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-3px) rotate(2deg); }
}

/* palms */
.palm {
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: 70px;
  z-index: 8;
  transform-origin: bottom center;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
}
.palm-left  { left: -60px;  animation: palmSwayL 7s ease-in-out infinite; }
.palm-right { right: -60px; animation: palmSwayR 8s ease-in-out infinite -1.5s; }

@keyframes palmSwayL {
  0%, 100% { transform: rotate(-4deg); }
  50%       { transform: rotate(2deg);  }
}
@keyframes palmSwayR {
  0%, 100% { transform: rotate(4deg);  }
  50%       { transform: rotate(-2deg); }
}

/* sparkles */
.float-bit {
  position: absolute;
  color: #FFF6C2;
  font-size: 16px;
  text-shadow: 0 0 12px rgba(255,246,194,0.8);
  animation: sparkle 3s ease-in-out infinite;
  z-index: 4;
}
.b-1 { top: 28%; left: 18%;  animation-delay: 0s;  }
.b-2 { top: 36%; right: 22%; animation-delay: -1s; font-size: 12px; }
.b-3 { top: 22%; right: 32%; animation-delay: -2s; font-size: 10px; }

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg);   }
  50%       { opacity: 1;   transform: scale(1.2) rotate(180deg); }
}

/* hero content — everything visible by default */
.hero-content {
  position: relative;
  z-index: 20;
  margin-top: auto;
  padding: 14px 16px 80px;
  text-align: center;
  color: #fff;
}

.kicker {
  font-size: clamp(13px, 3.8vw, 16px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

h1.title {
  font-family: 'Bagel Fat One', cursive;
  font-weight: 400;
  font-size: clamp(44px, 15vw, 92px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin: 2px 0 8px;
  color: #FEF1DB;
  text-shadow: 0 3px 0 #C2185B, 0 6px 0 #FF4D8D, 0 12px 24px rgba(0,0,0,0.35);
}
h1.title .t2 { color: #FFD23F; }

.dates-pill {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  white-space: nowrap;
}

/* countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 300px;
  margin: 0 auto;
  padding: 8px 6px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 4px;
  position: relative;
}
.cd-unit + .cd-unit::before {
  content: ":";
  position: absolute;
  left: -5px;
  top: 9px;
  font-family: 'Bagel Fat One', cursive;
  color: #FFD23F;
  font-size: 22px;
  opacity: 0.6;
}

.cd-num {
  font-family: 'Bagel Fat One', cursive;
  font-size: clamp(24px, 7.5vw, 34px);
  line-height: 1;
  color: #FFE873;
  text-shadow: 0 2px 0 #FF6B35, 0 4px 12px rgba(255,107,53,0.6);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.cd-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 3px;
}

/* arrived state */
.arrived-msg {
  max-width: 300px;
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-family: 'Bagel Fat One', cursive;
  font-size: clamp(18px, 5vw, 26px);
  color: #FFE873;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 #FF6B35, 0 4px 12px rgba(255,107,53,0.6);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-cue .arrow {
  display: inline-block;
  animation: bounce 1.6s ease-in-out infinite;
  font-size: 14px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* =====================================================
   ITINERARY
   ===================================================== */
.itinerary {
  position: relative;
  padding: 56px 16px 40px;
  max-width: 520px;
  margin: 0 auto;
}

.trail {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: calc(100% - 280px);
  z-index: 0;
  opacity: 0.3;
}

.section-intro {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.intro-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sunset);
  background: rgba(255,107,53,0.1);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-intro h2 {
  font-family: 'Bagel Fat One', cursive;
  font-size: clamp(38px, 10vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-intro p {
  color: var(--ink);
  opacity: 0.65;
  font-size: 14.5px;
  max-width: 300px;
  margin: 0 auto;
}
.section-intro em {
  font-style: normal;
  color: var(--sunset);
  font-weight: 700;
}

/* leg cards */
.leg {
  position: relative;
  margin-bottom: 20px;
  border-radius: 24px;
  padding: 24px 20px 20px;
  overflow: hidden;
  color: #fff;
  z-index: 1;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.35), 0 6px 16px -8px rgba(0,0,0,0.2);
  isolation: isolate;
}

.leg-jakarta {
  background:
    radial-gradient(ellipse at top right, #FFB037 0%, transparent 50%),
    linear-gradient(160deg, #FF6B35 0%, #C2185B 80%, #7A0F40 100%);
}
.leg-labuan {
  background:
    radial-gradient(ellipse at bottom left, #2D6A4F 0%, transparent 55%),
    linear-gradient(150deg, #0B5563 0%, #04363F 60%, #1B4332 100%);
}
.leg-bali {
  background:
    radial-gradient(ellipse at bottom right, #FFD23F 0%, transparent 55%),
    linear-gradient(155deg, #2D6A4F 0%, #1B4332 50%, #FF6B35 110%);
}
.leg-home {
  background:
    radial-gradient(ellipse at top left, #FFD23F 0%, transparent 50%),
    linear-gradient(155deg, #2C1A0E 0%, #4A2208 50%, #3D1B00 100%);
}
.leg-abudhabi {
  background:
    radial-gradient(ellipse at top right, #FFD23F 0%, transparent 45%),
    linear-gradient(155deg, #0D1F4A 0%, #1A3570 40%, #9B4E00 85%, #5C2E00 100%);
}

.leg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
}

.city {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  padding: 0 10px;
}
.city span {
  display: block;
  background: rgba(0,0,0,0.4);
  border-radius: 4px 4px 0 0;
  position: relative;
}
.city span:nth-child(1) { width: 24px; height: 55px; }
.city span:nth-child(2) { width: 20px; height: 72px; }
.city span:nth-child(3) { width: 28px; height: 50px; }
.city span:nth-child(4) { width: 16px; height: 80px; }
.city span:nth-child(5) { width: 26px; height: 62px; }
.city span:nth-child(6) { width: 22px; height: 45px; }
.city span::after {
  content: "";
  position: absolute;
  top: 8px; left: 4px; right: 4px; bottom: 8px;
  background-image:
    linear-gradient(0deg, transparent 60%, rgba(255,210,63,0.7) 60%, rgba(255,210,63,0.7) 70%, transparent 70%),
    linear-gradient(0deg, transparent 30%, rgba(255,210,63,0.7) 30%, rgba(255,210,63,0.7) 40%, transparent 40%);
}

.dragon-eye {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFE873 0%, #FFD23F 30%, #FF6B35 70%);
  bottom: -30px; right: -20px;
  box-shadow: 0 0 30px rgba(255,210,63,0.4);
}
.dragon-eye::before {
  content: "";
  position: absolute;
  width: 14px; height: 50px;
  background: #14162E;
  border-radius: 50%;
  top: 10px; left: 50%;
  transform: translateX(-50%);
}
.dragon-eye.eye-2 { width: 50px; height: 50px; right: 70px; bottom: -10px; }
.dragon-eye.eye-2::before { width: 10px; height: 36px; top: 7px; }

.terrace {
  position: absolute;
  height: 26px;
  border-radius: 100px;
  left: -20px; right: -20px;
}
.terrace        { bottom: 12px; background: rgba(255,210,63,0.5);  transform: rotate(-3deg); }
.terrace.t-2    { bottom: 44px; height: 20px; background: rgba(255,246,194,0.4); transform: rotate(-1deg); }
.terrace.t-3    { bottom: 70px; height: 16px; background: rgba(255,210,63,0.3);  transform: rotate(-4deg); }

/* desert dune for Abu Dhabi */
.dune {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
}

/* warm glow for home card */
.home-glow {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,210,63,0.35) 0%, transparent 70%);
  bottom: -50px; right: -10px;
}

.leg-num {
  font-family: 'Bagel Fat One', cursive;
  font-size: 110px;
  line-height: 0.78;
  position: absolute;
  top: 10px; right: 16px;
  opacity: 0.15;
  color: #fff;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.leg-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 11px;
  border-radius: 100px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.leg-title {
  font-family: 'Bagel Fat One', cursive;
  font-size: clamp(46px, 13vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 4px 0 8px;
  max-width: calc(100% - 70px);
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.leg-jakarta  .leg-title { color: #FFE873; }
.leg-labuan   .leg-title { color: #FEF1DB; }
.leg-bali     .leg-title { color: #FFD23F; }
.leg-home     .leg-title { color: #FFE873; }
.leg-abudhabi .leg-title { color: #FFE873; }

.leg-dates {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.leg-blurb {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 16px;
  opacity: 0.88;
  position: relative;
  z-index: 2;
}
.leg-blurb strong { color: #FFD23F; font-weight: 700; }

.highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.4;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 12px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.leg.reveal .highlights li                  { opacity: 1; transform: translateX(0); }
.leg.reveal .highlights li:nth-child(1)     { transition-delay: 0.2s;  }
.leg.reveal .highlights li:nth-child(2)     { transition-delay: 0.35s; }
.leg.reveal .highlights li:nth-child(3)     { transition-delay: 0.5s;  }

.highlights .dot {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,210,63,0.95);
  color: #14162E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  font-family: 'Bagel Fat One', cursive;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.birthday {
  margin-top: 14px;
  background: rgba(255,210,63,0.95);
  color: #14162E;
  padding: 11px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(255,210,63,0.3);
}
.birthday::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: repeating-linear-gradient(45deg, #FF4D8D 0 6px, #FFD23F 6px 12px, #FF6B35 12px 18px, #2D6A4F 18px 24px);
  z-index: -1;
}
.birthday::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,210,63,0.95);
  border-radius: 14px;
  z-index: -1;
}
.birthday .bday-icon { font-size: 20px; }

/* reveal */
.reveal-up {
  opacity: 0;
  transform: translateY(44px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.reveal { opacity: 1; transform: translateY(0) scale(1); }

/* end card */
.end-card {
  margin-top: 24px;
  padding: 28px 20px;
  text-align: center;
  background: var(--cream);
  border: 2px dashed var(--sunset);
  border-radius: 22px;
  position: relative;
  z-index: 1;
}
.end-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sunset);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.end-card h4 {
  font-family: 'Bagel Fat One', cursive;
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}
.end-emoji { font-size: 20px; letter-spacing: 0.3em; }

/* footer */
.footer {
  padding: 28px 24px 48px;
  text-align: center;
  color: var(--ink);
  opacity: 0.5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* desktop */
@media (min-width: 720px) {
  .hero { max-height: none; min-height: 640px; }
  .hero-content { padding-bottom: 110px; }
  .itinerary { padding: 88px 20px 56px; max-width: 580px; }
  .leg { padding: 32px 28px 26px; }
  .palm { width: 260px; height: 260px; }
  .palm-left  { left: -80px; }
  .palm-right { right: -80px; }
  .sun { width: 190px; height: 190px; }
  .komodo { font-size: 56px; bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up { opacity: 1; transform: none; }
}
