/* ============================================================
   WIZZ DEALS. Bright, bold, static. Wizz magenta + violet.
   No motion, no hover effects. Typography carries it.
   ============================================================ */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/figtree.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 97%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%;
}

:root {
  --paper:        #FBF7FC;
  --surface:      #FFFFFF;
  --surface-sunk: #F5EFF8;

  --ink:      #170B2E;
  --ink-2:    #46395F;
  --graphite: #6C6084;
  --muted:    #A99FBB;

  --rule:        #ECE3F3;
  --rule-strong: #DBCEE8;

  --accent:      #C6007E;
  --accent-2:    #7A1FE0;
  --accent-tint: #FBE0F0;
  --grad:        linear-gradient(96deg, #E4007E 0%, #C6007E 44%, #7A1FE0 100%);

  --ok:      #067647; --ok-tint:   #E4F6EC;
  --telegram:#229ED9;

  --r-pill: 999px; --r-xl: 24px; --r-lg: 18px; --r-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(23,11,46,.06), 0 2px 6px rgba(23,11,46,.05);
  --shadow-md: 0 6px 18px -6px rgba(122,31,224,.20), 0 2px 6px rgba(23,11,46,.06);

  --font: 'Figtree', 'Figtree Fallback', sans-serif;

  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px;
  --shell: 620px; --shell-wide: 900px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 1rem; line-height: 1.5; font-weight: 500;
  color: var(--ink);
  background:
    radial-gradient(130% 55% at 50% -8%, #FBDDEE 0%, rgba(251,221,238,0) 62%),
    var(--paper);
  background-attachment: fixed;
  min-height: 100dvh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
main { flex: 1 0 auto; }
svg { display: block; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--s-4); }

/* ---------- header ---------- */
.header { padding: var(--s-4) 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: var(--grad); box-shadow: var(--shadow-sm); }
.logo-text { font-size: 1.2rem; font-weight: 900; letter-spacing: -.03em; }
.logo-text b { font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.header-bot { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 800; color: #fff; background: var(--grad); padding: 8px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }

/* ---------- hero ---------- */
.hero { padding: var(--s-6) 0 var(--s-5); text-align: center; }
.hero-title {
  font-size: clamp(2.4rem, 9vw, 3.7rem); font-weight: 900; letter-spacing: -.045em; line-height: .98;
  text-wrap: balance;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: var(--s-4) auto 0; max-width: 40ch; color: var(--ink-2); font-size: 1.06rem; font-weight: 600; text-wrap: pretty; }
.updated { margin-top: var(--s-4); font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .01em; }
.updated b { color: var(--accent); font-weight: 800; }

/* ---------- hero deal (the fully-real cheapest fare) ---------- */
.deals { padding: var(--s-3) 0 var(--s-6); }

.hero-deal {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1.5px solid var(--rule-strong); border-radius: var(--r-xl);
  padding: var(--s-5) var(--s-5) var(--s-4);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--s-4);
}
.hero-deal::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.hero-deal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: var(--s-4); }
.hero-deal-eyebrow { font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hero-deal-route { display: flex; align-items: center; justify-content: center; gap: var(--s-4); flex-wrap: wrap; }
.hero-deal-route .iata { font-size: clamp(2.3rem, 11vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.hero-deal-route .plane { color: var(--accent-2); }
.hero-deal-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-4); }
.hero-deal-price { font-size: clamp(2.4rem, 11vw, 3.2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-deal-price .cur { font-size: .55em; font-weight: 800; }
.hero-deal-meta { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; color: var(--graphite); }
.hero-deal-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rule-strong); }

/* ---------- the three cards ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .deals .shell { max-width: var(--shell-wide); } .card-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: var(--r-lg);
  padding: var(--s-5); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 6px; min-height: 172px;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.card-label { font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.card-detail { font-size: .82rem; font-weight: 600; color: var(--muted); }
.card-price { margin-top: auto; font-size: 2.15rem; font-weight: 900; letter-spacing: -.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-price .pre { font-size: .42em; font-weight: 800; letter-spacing: 0; color: var(--graphite); -webkit-text-fill-color: var(--graphite); margin-right: 3px; text-transform: uppercase; }
.card-price .cur { font-size: .62em; font-weight: 800; }
.card-price.soon { background: none; color: var(--muted); -webkit-text-fill-color: var(--muted); font-size: 1.5rem; }
.card-route { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-top: 4px; }
.card-sub { font-size: var(--fs-xs); font-weight: 700; color: var(--graphite); }
.card-breakdown { font-size: .72rem; font-weight: 600; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.card-foot { padding-top: var(--s-3); border-top: 1.5px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: .74rem; font-weight: 700; color: var(--graphite); }

.pill { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.pill.live { background: var(--ok-tint); color: var(--ok); }
.pill.floor { background: var(--accent-tint); color: var(--accent); }
.pill.soon { background: var(--surface-sunk); color: var(--graphite); }

/* ---------- telegram ---------- */
.telegram-section { padding: var(--s-3) 0 var(--s-7); }
.telegram-card { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap;
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: var(--r-xl); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.telegram-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff; background: var(--telegram); flex-shrink: 0; }
.telegram-copy { flex: 1 1 200px; }
.telegram-title { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }
.telegram-text { color: var(--ink-2); font-size: .9rem; font-weight: 600; margin-top: 2px; }
.telegram-cta { display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; background: var(--grad); padding: 13px 24px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }

/* ---------- footer ---------- */
.footer { border-top: 1.5px solid var(--rule); padding: var(--s-5) 0; margin-top: auto; }
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.footer-terms { font-size: .78rem; font-weight: 600; color: var(--muted); max-width: 52ch; margin-inline: auto; }
.footer-links a { font-size: .78rem; color: var(--graphite); font-weight: 800; }
