/* ============================================================
   BonusLander — Aviation / Boarding-Pass / Travel-Deals theme
   ONE shared stylesheet, linked by all pages via /css/style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --sky:        #0A6CFF;   /* primary sky-blue */
  --sky-dark:   #0857cc;
  --ink:        #0B2545;   /* deep navy ink */
  --coral:      #FF6B5C;   /* coral accent */
  --coral-dark: #e8523f;
  --paper:      #ffffff;
  --paper-2:    #f4f9ff;
  --line:       #d6e6ff;
  --muted:      #5b6c84;
  --bg-1:       #EAF3FF;
  --bg-2:       #d8eaff;
  --radius:     16px;
  --radius-lg:  22px;
  --shadow:     0 10px 30px rgba(10, 108, 255, 0.10);
  --shadow-lg:  0 18px 50px rgba(11, 37, 69, 0.16);
  --maxw:       1140px;
  --font:       'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 80% -10%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(10,108,255,.32); }
.btn-coral {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255,107,92,.30);
}
.btn-ghost {
  background: #fff;
  color: var(--sky);
  border: 2px solid var(--line);
}

/* ============================================================
   HEADER / NAV  (identical markup on all pages)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand .plane {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--coral));
  color: #fff;
  font-size: 1.1rem;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}
.brand b { color: var(--sky); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--paper-2); color: var(--sky); text-decoration: none; }
.nav-links a.active { background: var(--sky); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTIONS
   ============================================================ */
main { flex: 1 0 auto; }

.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sky);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* ---------- HERO (departures-board feel) ---------- */
.hero { padding: 70px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: "✈";
  position: absolute;
  right: -10px;
  top: 30px;
  font-size: 180px;
  color: rgba(10,108,255,.06);
  transform: rotate(-12deg);
  pointer-events: none;
}
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  margin: 18px 0 16px;
  letter-spacing: -0.03em;
}
.hero p { font-size: 1.15rem; color: var(--ink); opacity: .82; margin: 0 0 28px; max-width: 620px; }

.departures-board {
  margin-top: 40px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  color: #cfe2ff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  position: relative;
}
.departures-board::before {
  content: "DEPARTURES · TODAY'S BEST OFFERS";
  grid-column: 1 / -1;
  font-size: .72rem;
  letter-spacing: .22em;
  color: #ffd479;
  font-weight: 700;
}
.dep-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-variant-numeric: tabular-nums;
  border-top: 1px dashed rgba(255,255,255,.16);
  padding-top: 10px;
}
.dep-row .gate { color: #ffd479; font-weight: 700; }
.dep-row .dest { color: #fff; font-weight: 600; }
.dep-row .status { color: #7ee0a3; font-weight: 700; font-size: .85rem; }

/* ============================================================
   PARTNERS — gate cards
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.gate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.gate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gate-card::before {
  content: "GATE";
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--muted);
  font-weight: 700;
}
.gate-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--ink));
  margin-bottom: 16px;
}
.gate-card:nth-child(2) .gate-logo { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.gate-card:nth-child(3) .gate-logo { background: linear-gradient(135deg, #8a5cff, var(--sky)); }
.gate-card h3 { margin: 0 0 4px; font-size: 1.25rem; }
.gate-card .perk { color: var(--muted); margin: 0 0 18px; flex: 1 0 auto; }
.badge {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
}
.badge.featured { background: var(--sky); }
.badge.hot      { background: var(--coral); }
.badge.exclusive{ background: #8a5cff; }
.gate-card .btn { align-self: flex-start; }
.gate-card .gate-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ============================================================
   RESPONSIBLE GAMING
   ============================================================ */
.rg-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--coral);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.rg-panel h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.6rem;
}
.rg-panel .pill {
  background: var(--coral);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.rg-panel p { margin: 0; color: var(--ink); opacity: .88; }

/* ============================================================
   ARTICLE pages (About / Terms)
   ============================================================ */
.article-hero {
  padding: 56px 0 24px;
}
.article-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin: 14px 0 8px;
  letter-spacing: -0.02em;
}
.article-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px clamp(22px, 4vw, 48px);
  box-shadow: var(--shadow);
  max-width: 880px;
  margin: 0 auto 64px;
}
.article-body .lead { font-size: 1.12rem; color: var(--ink); opacity: .9; }
.article-body h2 {
  margin: 34px 0 14px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-body h2::before {
  content: "✈";
  color: var(--sky);
  font-size: 1.1rem;
}
.article-body ul { padding-left: 0; list-style: none; margin: 0 0 6px; }
.article-body ul li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px dashed var(--line);
}
.article-body ul li::before {
  content: "🎟";
  position: absolute;
  left: 0;
  top: 9px;
}
.article-body ul li:last-child { border-bottom: 0; }
.article-body p { color: var(--ink); opacity: .88; }

/* ============================================================
   BONUSES — boarding-pass / ticket-stub cards
   ============================================================ */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.boarding-pass {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.boarding-pass:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* perforated tear line between stub and main */
.boarding-pass .stub {
  flex: 0 0 96px;
  background: linear-gradient(160deg, var(--sky), var(--ink));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  position: relative;
  text-align: center;
}
.boarding-pass:nth-child(even) .stub { background: linear-gradient(160deg, var(--coral), var(--coral-dark)); }
.boarding-pass .stub .spins {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.boarding-pass .stub .spins-label {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .9;
}
/* dashed tear line + perforation notches */
.boarding-pass .tear {
  width: 2px;
  background-image: linear-gradient(to bottom, var(--line) 60%, transparent 0%);
  background-size: 2px 12px;
  background-repeat: repeat-y;
  position: relative;
}
.boarding-pass .tear::before,
.boarding-pass .tear::after {
  content: "";
  position: absolute;
  left: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.boarding-pass .tear::before { top: -7px; }
.boarding-pass .tear::after  { bottom: -7px; }

.boarding-pass .pass-body {
  flex: 1 1 auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}
.boarding-pass .pass-body h3 { margin: 0 0 4px; font-size: 1.15rem; }
.boarding-pass .pass-body .route { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.boarding-pass .code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--paper-2);
  border: 1px dashed var(--sky);
  color: var(--ink);
  font-weight: 700;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: .92rem;
}
/* barcode-ish CSS strip */
.boarding-pass .barcode {
  height: 30px;
  margin: 0 0 16px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--ink) 0, var(--ink) 2px,
    transparent 2px, transparent 4px,
    var(--ink) 4px, var(--ink) 5px,
    transparent 5px, transparent 9px,
    var(--ink) 9px, var(--ink) 12px,
    transparent 12px, transparent 14px
  );
  opacity: .8;
  border-radius: 3px;
}
.boarding-pass .pass-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.boarding-pass .pass-foot .btn { padding: 11px 20px; font-size: .92rem; }

/* ============================================================
   FOOTER  (identical markup on all pages)
   ============================================================ */
.site-footer {
  flex-shrink: 0;
  background: var(--ink);
  color: #cfe2ff;
  padding: 40px 0 28px;
  margin-top: 20px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}
.footer-brand .plane {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sky), var(--coral));
  transform: rotate(-8deg);
}
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.footer-links a { color: #cfe2ff; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-copy {
  margin-top: 20px;
  font-size: .9rem;
  color: #9fc0ef;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.footer-copy .age {
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .8rem;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--ink); font-weight: 500; }
.cookie-banner .cookie-emoji { margin-right: 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 14px; }

  .boarding-pass .stub { flex-basis: 80px; }
}

@media (max-width: 520px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ============================================================
   PROD-2017 — casino logos (partners + bonus cards) & bonus sub-nav
   ============================================================ */
/* Home partner cards: logo + name only, no GATE chrome */
.gate-card.partner { align-items: flex-start; }
.gate-card.partner::before { content: none; }
.partner-logo {
  width: 100%;
  height: 64px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 18px;
  margin-bottom: 16px;
}
.partner-logo img { max-height: 42px; width: auto; object-fit: contain; }
.gate-card.partner h3 { margin: 0 0 16px; }
.gate-card.partner .btn { align-self: flex-start; }

/* Casino logo inside boarding-pass bonus cards */
.boarding-pass .casino-logo {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 12px;
  margin-bottom: 12px;
}
.boarding-pass .casino-logo img { max-height: 28px; width: auto; max-width: 140px; object-fit: contain; }
/* welcome stub: smaller number so "110%" fits the 96px stub */
.boarding-pass.is-welcome .stub .spins { font-size: 1.45rem; }

/* Bonus category buttons on /bonuses + sub-page back link */
.bonus-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 22px 0 4px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--sky);
}
.back-link:hover { text-decoration: none; opacity: .8; }
