@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --navy: #081b33;
  --navy-deep: #041225;
  --ink: #f7f8fb;
  --muted: #a5b3c4;
  --teal: #41dbc8;
  --orange: #ffad61;
  --line: rgba(207, 226, 246, 0.13);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

* { box-sizing: border-box; }

html, body, .page-shell { width: 100%; min-width: 0; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 31px clamp(24px, 6vw, 92px) 24px;
  background:
    radial-gradient(circle at 73% 18%, rgba(30, 73, 114, 0.32), transparent 27%),
    linear-gradient(125deg, #06162c 0%, #0a223c 54%, #12314b 100%);
}

.page-shell::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.3;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.sun-orb {
  position: absolute;
  z-index: -1;
  width: min(38vw, 480px);
  height: min(38vw, 480px);
  left: -9vw;
  bottom: -19vw;
  border-radius: 50%;
  background: radial-gradient(circle at 52% 44%, rgba(255, 196, 103, .95) 0 10%, rgba(247, 141, 83, .75) 33%, rgba(214, 94, 97, .22) 68%, transparent 70%);
  filter: blur(3px);
  opacity: .8;
}

.star-field, .star-field::before, .star-field::after { position: absolute; content: ''; z-index: -1; border-radius: 50%; }
.star-field { width: 4px; height: 4px; top: 20%; left: 46%; background: var(--teal); box-shadow: 160px 54px 0 rgba(255,255,255,.48), 360px -31px 0 rgba(255,255,255,.4), -240px 140px 0 rgba(255,255,255,.3), 540px 110px 0 rgba(255,255,255,.35), -70px -80px 0 rgba(255,255,255,.35); opacity: .8; }
.star-field::before { width: 2px; height: 2px; top: 180px; left: -330px; background: #fff; box-shadow: 160px 54px 0 #fff, 440px 94px 0 rgba(255,255,255,.5), 620px 154px 0 rgba(255,255,255,.4); }
.star-field::after { width: 3px; height: 3px; top: 64px; left: 380px; background: var(--orange); box-shadow: -530px 210px 0 rgba(255,173,97,.65), 210px 250px 0 rgba(65,219,200,.65); }

.wave { position: absolute; z-index: -1; width: 84vw; height: 33vw; border: 1px solid rgba(96, 199, 218, .13); border-radius: 50%; transform: rotate(-8deg); pointer-events: none; }
.wave-one { right: -23vw; top: 57%; }
.wave-two { right: -13vw; top: 64%; border-color: rgba(255, 173, 97, .12); }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-width: 0; position: relative; z-index: 1; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brand strong { color: var(--teal); font-family: 'Plus Jakarta Sans', sans-serif; font-size: .88em; letter-spacing: .05em; }
.brand-mark { width: 31px; height: 31px; border: 1px solid rgba(65,219,200,.65); border-radius: 50%; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 2px; transform: rotate(-22deg); }
.brand-mark::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); position: absolute; top: 3px; left: 4px; box-shadow: 0 0 13px rgba(255,173,97,.8); }
.brand-mark span { width: 2px; height: 13px; background: var(--teal); border-radius: 2px; transform: rotate(38deg); margin-top: 7px; }
.brand-mark span:nth-child(2) { height: 9px; opacity: .75; }
.brand-mark span:nth-child(3) { height: 16px; opacity: .52; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; color: #bdd1de; font-size: 12px; letter-spacing: .02em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(65,219,200,.12), 0 0 16px rgba(65,219,200,.55); }

.main-content { width: 100%; max-width: 1035px; min-width: 0; margin: auto; padding: clamp(54px, 10vh, 105px) 0 36px; }
.intro { width: 100%; max-width: 650px; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--teal); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; margin: 0 0 23px; font-weight: 700; }
.eyebrow-line { display: inline-block; width: 35px; height: 1px; background: var(--teal); box-shadow: 0 0 12px rgba(65,219,200,.7); }
h1 { max-width: 100%; margin: 0; font-size: clamp(48px, 7.25vw, 92px); line-height: .98; letter-spacing: -.07em; font-weight: 700; overflow-wrap: normal; }
h1 em { color: var(--orange); font-style: normal; display: inline-block; position: relative; }
h1 em::after { content: ''; position: absolute; right: 4px; bottom: -7px; width: 72%; height: 3px; background: var(--teal); border-radius: 9px; transform: rotate(-2deg); opacity: .75; }
.lead { margin: 25px 0 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.9; max-width: 480px; }

.countdown-card { width: 100%; max-width: 800px; min-width: 0; margin-top: 50px; padding: clamp(23px, 3.7vw, 40px) clamp(20px, 4.7vw, 52px) 24px; border: 1px solid rgba(171, 215, 231, .19); border-radius: 22px; background: linear-gradient(135deg, rgba(21, 53, 78, .84), rgba(10, 30, 53, .77)); box-shadow: 0 25px 90px rgba(0, 0, 0, .19), inset 0 1px rgba(255,255,255,.06); backdrop-filter: blur(14px); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.card-kicker { color: var(--muted); font-size: 12px; display: block; margin-bottom: 6px; }
.card-heading h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.04em; font-weight: 600; }
.card-heading h2 span { color: var(--teal); font-family: 'Plus Jakarta Sans', sans-serif; font-size: .7em; letter-spacing: .04em; margin-right: 7px; }
.calendar-badge { width: 60px; height: 63px; flex: 0 0 auto; border: 1px solid rgba(255,173,97,.43); border-radius: 10px; text-align: center; overflow: hidden; transform: rotate(4deg); background: rgba(6, 20, 37, .55); box-shadow: 0 9px 18px rgba(0,0,0,.16); }
.calendar-badge span { display: block; background: var(--orange); color: #0b2436; font: 800 10px 'Plus Jakarta Sans', sans-serif; letter-spacing: .1em; padding: 4px; }
.calendar-badge strong { display: block; color: var(--ink); font: 700 27px 'Plus Jakarta Sans', sans-serif; padding-top: 5px; letter-spacing: -.08em; }
.divider { height: 1px; background: var(--line); margin: 27px 0 24px; }
.timer { direction: ltr; display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(5px, 1vw, 13px); min-width: 0; }
.time-unit { min-width: 0; text-align: center; flex: 1; }
.number-wrap { min-height: 79px; display: flex; align-items: center; justify-content: center; background: rgba(4, 18, 37, .42); border: 1px solid rgba(179, 218, 232, .12); border-radius: 12px; box-shadow: inset 0 0 22px rgba(3,13,27,.18); }
.time-number { font: 700 clamp(30px, 4.4vw, 53px) 'Plus Jakarta Sans', sans-serif; letter-spacing: -.075em; color: #f5f8fa; line-height: 1; }
.accent-number { border-color: rgba(255,173,97,.42); background: rgba(119, 66, 49, .16); }
.accent-number .time-number { color: var(--orange); }
.time-label { direction: rtl; display: block; color: #91a7b8; font-size: 11px; margin-top: 11px; }
.separator { color: rgba(65, 219, 200, .65); font: 600 29px 'Plus Jakarta Sans', sans-serif; padding-top: 21px; }
.local-note { color: #738b9e; font-size: 11px; text-align: center; margin: 22px 0 0; }
.pin-icon { color: var(--teal); font-size: 17px; vertical-align: -1px; margin-left: 3px; }
.done-message { align-items: center; justify-content: center; gap: 9px; color: var(--orange); font-size: 19px; font-weight: 600; padding: 28px 10px 15px; }
.done-icon { font-size: 24px; }
.done-message[hidden] { display: none; }

.trip-notes { display: flex; align-items: center; gap: 23px; width: 100%; margin-top: 33px; color: #b2c2cf; }
.note { display: flex; align-items: center; gap: 10px; min-width: 0; }
.note-icon { width: 29px; height: 29px; display: grid; place-items: center; color: var(--teal); border: 1px solid rgba(65,219,200,.28); border-radius: 50%; font-size: 16px; flex: 0 0 auto; }
.note strong, .note small { display: block; }
.note strong { font-size: 12px; color: #d9e4ec; font-weight: 600; }
.note small { font-size: 10px; color: #71899b; margin-top: 2px; }
.note-divider { width: 1px; height: 25px; background: rgba(162,192,210,.2); }
.footer { display: flex; justify-content: center; gap: 11px; color: #60798d; font-size: 10px; letter-spacing: .1em; position: relative; z-index: 1; margin-top: auto; }
.footer-dot { width: 3px; height: 3px; align-self: center; border-radius: 50%; background: var(--orange); }

@media (max-width: 620px) {
  .page-shell { padding: 23px 20px 18px; }
  .status-pill { font-size: 10px; }
  .main-content, .topbar { width: calc(100vw - 40px); max-width: calc(100vw - 40px); }
  .main-content { padding-top: 69px; }
  .mobile-break { display: block; }
  h1 { font-size: clamp(42px, 13.5vw, 68px); line-height: 1.03; }
  .lead { font-size: 14px; margin-top: 20px; }
  .countdown-card { margin-top: 38px; border-radius: 17px; }
  .number-wrap { min-height: 64px; border-radius: 9px; }
  .time-number { font-size: clamp(23px, 8vw, 38px); }
  .time-label { font-size: 9px; margin-top: 8px; }
  .separator { font-size: 21px; padding-top: 17px; }
  .card-heading h2 { font-size: 25px; }
  .calendar-badge { width: 51px; height: 55px; }
  .calendar-badge strong { font-size: 23px; }
  .trip-notes { gap: 11px; justify-content: space-between; }
  .note { gap: 6px; }
  .note-icon { width: 25px; height: 25px; font-size: 13px; }
  .note strong { font-size: 10px; }
  .note small { font-size: 8px; }
  .note-divider { display: none; }
}

.mobile-break { display: none; }

@media (max-width: 620px) {
  .mobile-break { display: block; }
  h1 { overflow-wrap: anywhere; }
  h1 em { display: inline; }
}

@media (max-width: 390px) {
  .status-pill { display: none; }
  .trip-notes { margin-top: 24px; }
  .note small { display: none; }
}
