@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --violet-400: #a78bfa;
  --accent-grad: linear-gradient(135deg, #38bdf8, #0ea5e9);
  --accent-grad-hover: linear-gradient(135deg, #5cc9fb, #0ea5e9);
  --accent-text: #04141f;
  --bg-0: #0a0b0f;
  --bg-1: #14161d;
  --bg-2: #1f222d;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.13);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.45);
  --ink: #ffffff;
  --muted: #9ca3af;
  --muted-2: #6b7280;
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 15px 40px rgba(56, 189, 248, 0.25);
}

/* ---------- SimHop Carnival rebrand ---------- */
.festive-page{--coral:#ff5b62;--gold:#ffc857;--emerald:#16d69c;--violet:#8b5cf6;--cyan:#26d9ff;background:#080b14;font-family:Manrope,Inter,sans-serif}
.festive-page h1,.festive-page h2,.festive-page h3{font-family:"Space Grotesk",Inter,sans-serif;letter-spacing:-.035em}
.festive-page .nav{background:rgba(8,11,20,.84)}
.carnival-hero{position:relative;overflow:hidden;padding:88px 0 118px;background:radial-gradient(circle at 76% 45%,rgba(139,92,246,.18),transparent 25%),radial-gradient(circle at 18% 18%,rgba(38,217,255,.12),transparent 28%),#080b14}
.carnival-hero:after{content:"";position:absolute;left:0;right:0;bottom:-60px;height:120px;background:#101526;transform:skewY(-2.5deg);transform-origin:left}
.carnival-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:60px;align-items:center;position:relative;z-index:2}
.hero-copy h1{font-size:clamp(50px,7vw,88px);line-height:.96;margin:22px 0 26px;max-width:760px}.hero-copy .lead{font-size:19px;line-height:1.7;max-width:660px;color:#b9c1d4}.festival-text{background:linear-gradient(95deg,var(--cyan),#7ef0ff 30%,var(--gold) 66%,var(--coral));-webkit-background-clip:text;background-clip:text;color:transparent}.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:#dfe7f7}.trust-row{display:flex;flex-wrap:wrap;gap:17px;margin-top:25px;color:#8995aa;font-size:12px}.trust-row span:before{content:"✓";color:var(--emerald);margin-right:6px}
.route-glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.38}.route-glow-a{width:330px;height:330px;background:var(--violet);right:9%;top:13%}.route-glow-b{width:230px;height:230px;background:var(--coral);right:27%;bottom:0}.confetti-field i{position:absolute;width:6px;height:28px;border-radius:5px;z-index:1;opacity:.72}.confetti-field i:nth-child(1){left:4%;top:18%;background:var(--gold);transform:rotate(29deg)}.confetti-field i:nth-child(2){left:48%;top:12%;background:var(--coral);transform:rotate(-20deg)}.confetti-field i:nth-child(3){right:6%;top:20%;background:var(--emerald);transform:rotate(55deg)}.confetti-field i:nth-child(4){right:2%;bottom:28%;background:var(--cyan);transform:rotate(-32deg)}.confetti-field i:nth-child(5){left:44%;bottom:17%;background:var(--violet)}.confetti-field i:nth-child(6){left:8%;bottom:12%;background:var(--coral);transform:rotate(70deg)}
.carnival-hero-art{position:relative;display:grid;place-items:center}.carnival-hero-art img{width:100%;max-width:420px;height:auto;filter:drop-shadow(0 40px 80px rgba(0,0,0,.55));-webkit-user-drag:none;user-drag:none;user-select:none;-webkit-touch-callout:none}
.finder-shell{position:relative;z-index:5;margin-top:-55px}.finder-card{padding:28px;border-radius:25px;background:#12182a;border:1px solid rgba(255,255,255,.11);box-shadow:0 24px 65px rgba(0,0,0,.35)}.finder-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.finder-heading h2{font-size:30px}.mode-switch{padding:5px;background:#090d18;border-radius:999px;display:flex}.mode-switch button{border:0;background:transparent;color:#8792a6;padding:10px 15px;border-radius:999px;font-weight:700;cursor:pointer}.mode-switch button.active{background:#24304d;color:white}.finder-card .find-search-row{margin:0;background:#090d18;border-color:rgba(255,255,255,.14)}.quick-destinations{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.quick-destinations a{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);padding:9px 13px;border-radius:999px;font-size:13px;font-weight:700}.quick-destinations a:hover{border-color:var(--cyan);color:var(--cyan)}
.event-spotlight{background:#101526}.event-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.event-card{overflow:hidden;background:#171e33;border:1px solid rgba(255,255,255,.09);border-radius:20px;transition:.25s}.event-card:hover{transform:translateY(-6px);border-color:rgba(38,217,255,.4)}.event-art{height:170px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.event-art:after{content:"";position:absolute;width:170px;height:170px;border:28px solid rgba(255,255,255,.14);border-radius:50%;right:-50px;bottom:-65px}.event-art span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.event-art b{font-size:25px;line-height:.9;max-width:180px}.trinidad .event-art{background:linear-gradient(145deg,#ef3f55,#812557)}.crop .event-art{background:linear-gradient(145deg,#ffb52d,#e84c66)}.london .event-art{background:linear-gradient(145deg,#7157ed,#2d91c6)}.miami .event-art{background:linear-gradient(145deg,#0bc89c,#087e8b)}.event-copy{padding:18px}.event-copy small{font-size:9px;color:#8e9ab0;letter-spacing:.08em}.event-copy h3{margin-top:8px;font-size:20px}.event-copy p{font-size:12px}.event-copy a,.text-link{color:var(--cyan);font-weight:800;font-size:13px}.date-note{font-size:11px;margin-top:15px}
.crew-section{background:#0b0f1b}.crew-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.crew-statement h2{font-size:clamp(38px,5vw,62px);margin:17px 0}.crew-statement p{font-size:17px;line-height:1.65;margin-bottom:24px}.benefit-list{display:grid;grid-template-columns:1fr 1fr}.benefit-list>div{padding:28px;border-left:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}.benefit-list span{font-size:10px;font-weight:800;color:var(--coral)}.benefit-list h3{font-size:19px;margin-top:14px}.benefit-list p{font-size:13px}
.beyond-section{background:#101526}.beyond-banner{display:flex;align-items:center;justify-content:space-between;gap:50px;padding:45px;border-radius:25px;background:radial-gradient(circle at 90% 30%,rgba(38,217,255,.16),transparent 27%),linear-gradient(120deg,#161f38,#141a2c);border:1px solid rgba(255,255,255,.1)}.beyond-banner h2{font-size:35px;max-width:760px;margin:12px 0}.beyond-banner p{max-width:760px}.travel-types{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:25px;color:#95a1b7;font-size:13px}.travel-types span:first-letter{color:var(--gold)}
.referral-crew{background:#0b0f1b}.referral-panel{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:28px;padding:36px 45px;border:1px solid rgba(255,200,87,.22);border-radius:24px;background:linear-gradient(100deg,rgba(255,200,87,.08),rgba(255,91,98,.06),rgba(139,92,246,.08))}.referral-panel>div:not(.referral-orbit){max-width:440px;text-align:left}.referral-panel h2{font-size:34px}.referral-orbit{width:118px;flex-shrink:0}.referral-orbit img{width:100%;height:auto;-webkit-user-drag:none;user-drag:none;user-select:none;-webkit-touch-callout:none}.review-filters{display:flex;gap:8px;flex-wrap:wrap}.review-filters span{font-size:11px;border:1px solid rgba(255,255,255,.12);padding:7px 10px;border-radius:999px;color:#a8b2c5}.simple-steps{background:#101526}
.carnival-hub-hero{padding:75px 0;background:radial-gradient(circle at 80% 25%,rgba(255,91,98,.18),transparent 25%),radial-gradient(circle at 25% 25%,rgba(38,217,255,.12),transparent 28%),#0a0e19}.carnival-hub-hero h1{font-size:clamp(48px,7vw,82px);max-width:900px}.hub-search{max-width:650px;margin-top:28px}.hub-event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.hub-event{padding:25px;border-radius:20px;background:#161d30;border:1px solid rgba(255,255,255,.1)}.hub-event .flag{font-size:32px}.hub-event small{display:block;color:var(--coral);margin:10px 0 7px;font-weight:800}.hub-event a{color:var(--cyan);font-weight:800}.checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.checklist div{padding:17px 18px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.04)}.checklist div:before{content:"✓";color:var(--emerald);margin-right:10px;font-weight:900}.event-detail-hero{padding:70px 0 95px;background:radial-gradient(circle at 85% 25%,rgba(139,92,246,.22),transparent 27%),#090d18}.event-detail-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:center}.event-detail-hero h1{font-size:clamp(46px,6vw,78px)}.event-poster{min-height:360px;border-radius:30px;background:linear-gradient(140deg,var(--event-a,#ef3f55),var(--event-b,#653bbf));padding:32px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 35px 70px rgba(0,0,0,.4);overflow:hidden}.event-poster-flag{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;font-size:34px;border-radius:18px;background:rgba(255,255,255,.18);backdrop-filter:blur(6px);flex-shrink:0}.event-poster-body{display:flex;flex-direction:column;gap:6px;min-width:0}.event-poster-body small{font-size:12px;font-weight:800;letter-spacing:.08em;color:rgba(255,255,255,.75);text-transform:uppercase}.event-poster-body strong{font-size:clamp(26px,4.5vw,42px);line-height:1.08;color:#fff;overflow-wrap:break-word}.event-poster-body p{font-size:14px;color:rgba(255,255,255,.85);margin:0;overflow-wrap:break-word}.plan-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.plan-choice{padding:25px;border-radius:19px;background:#171e31;border:1px solid rgba(255,255,255,.1)}.plan-choice.featured{border-color:var(--cyan);box-shadow:0 0 35px rgba(38,217,255,.1)}.plan-choice .price{font-size:30px;font-weight:900;color:white}.faq-stack details{border-bottom:1px solid rgba(255,255,255,.11);padding:18px 0}.faq-stack summary{cursor:pointer;font-weight:800}.faq-stack p{padding-top:12px}.safety-note{padding:18px;border-left:3px solid var(--gold);background:rgba(255,200,87,.07);border-radius:0 12px 12px 0}
@media(max-width:900px){.carnival-hero-grid,.crew-grid,.event-detail-grid{grid-template-columns:1fr}.carnival-hero-art img{max-width:300px}.event-rail{grid-template-columns:1fr 1fr}.hub-event-grid,.plan-choice-grid{grid-template-columns:1fr 1fr}.finder-heading,.beyond-banner{align-items:flex-start;flex-direction:column}.referral-panel{justify-content:flex-start}.referral-panel .btn{flex-basis:100%}}
@media(max-width:600px){.carnival-hero{padding-top:55px}.hero-copy h1{font-size:50px}.hero-cta{display:grid}.carnival-hero-art img{max-width:230px;margin:-15px 0}.finder-shell{margin-top:-30px}.finder-card{padding:20px}.mode-switch{width:100%}.mode-switch button{flex:1;font-size:11px;padding:9px}.event-rail,.benefit-list,.hub-event-grid,.plan-choice-grid,.checklist{grid-template-columns:1fr}.crew-grid{gap:35px}.beyond-banner{padding:28px}.referral-panel{padding:28px}.referral-panel>div:not(.referral-orbit){max-width:none}.referral-orbit{width:92px}.review-filters{display:none}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(56,189,248,0.10), transparent 60%),
    radial-gradient(900px 700px at 100% 10%, rgba(167,139,250,0.07), transparent 55%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
p { margin: 0 0 12px; color: var(--muted); }

/* ---------- Glass surface (shared) ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent-grad);
  color: var(--accent-text);
  box-shadow: var(--shadow-glow);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 60%);
  opacity: .5;
  pointer-events: none;
}
.btn-primary:hover { background: var(--accent-grad-hover); transform: translateY(-2px); box-shadow: 0 18px 46px rgba(56,189,248,0.35); }
.btn-outline {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--sky-400); color: var(--sky-300); transform: translateY(-2px); background: var(--surface-strong); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; }

/* ---------- Top banner ---------- */
.demo-banner {
  background: rgba(56, 189, 248, 0.07);
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}
.demo-banner strong { color: var(--sky-300); }

/* ---------- Nav ---------- */
.nav {
  background: rgba(10, 11, 15, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.logo-img { height: 24px; width: auto; }
.logo-full { height: 34px; }
.logo-sub {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.logo-sub .tiny { display: block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-400); margin-top: -2px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  flex: 1;
  min-width: 0;
}
.nav-links a:not(.btn) { padding: 6px 2px; border-bottom: 2px solid transparent; color: var(--muted); white-space: nowrap; }
.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { border-color: var(--sky-400); color: var(--ink); }
.nav-links-extra { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--sky-300);
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--sky-400);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  display: none;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }
.nav-text-link { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-text-link:hover { color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.currency-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-1);
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav .container { gap: 12px; }
  .logo { min-width: 0; flex-shrink: 1; }
  .nav-toggle, .nav-actions { flex-shrink: 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: var(--bg-0);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--border-soft);
    gap: 14px;
    z-index: 60;
  }
  .nav-links.open a { padding: 10px 2px; }
  .nav-links-extra {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
  }
  .nav-links-extra .currency-select { width: 100%; }
  .nav-links-extra .btn { width: 100%; text-align: center; }
  .nav-text-link { display: block; text-align: center; padding: 10px 0; }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(0,0,0,0.6);
    z-index: 40;
  }
  .nav-backdrop.open { display: block; }
}
@media (min-width: 981px) { .nav-backdrop { display: none !important; } }

/* ---------- Icons ---------- */
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-inline { width: 15px; height: 15px; vertical-align: -2px; }
.icon-lg { width: 30px; height: 30px; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(56,189,248,0.16), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(167,139,250,0.12), transparent 42%),
              radial-gradient(circle at 50% 100%, rgba(14,165,233,0.08), transparent 50%);
  padding: 84px 0 68px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.12);
  color: var(--sky-300);
  border: 1px solid rgba(56,189,248,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.08), 0 4px 18px rgba(56,189,248,0.12);
}
.hero h1 {
  font-size: 50px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero p.lead {
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.search-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--ink);
}
.search-card label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 8px 0 16px;
}
.search-row input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  width: 100%;
  font-family: inherit;
}
.search-row input::placeholder { color: var(--muted-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: rgba(56,189,248,0.12);
  color: var(--sky-300);
  border: 1px solid rgba(56,189,248,0.2);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
}
.chip:hover { background: var(--accent-grad); color: var(--accent-text); border-color: transparent; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 { font-size: 28px; }
.section-head p { margin: 0; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sky-400);
  margin-bottom: 8px;
}

/* ---------- Country grid ---------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.country-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  display: block;
  position: relative;
}
.carnival-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5b62, #7a2ed1);
  color: #fff;
  letter-spacing: .01em;
  white-space: nowrap;
}
.country-card:hover { transform: translateY(-4px); border-color: var(--border-glow); background: var(--surface-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow); }
.country-card .flag { font-size: 30px; margin-bottom: 10px; }
.country-card .name { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.country-card .from { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.country-card .price { color: var(--sky-300); font-weight: 800; font-size: 18px; }
.country-card .plans-count { font-size: 12px; color: var(--muted-2); }

@media (max-width: 980px) { .country-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .country-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-sm); }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
  margin-bottom: 16px;
}
.step-card h3 { color: var(--ink); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Plan cards (plans.html) ---------- */
.plan-list { display: flex; flex-direction: column; gap: 14px; }
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.plan-card:hover { transform: translateY(-2px); border-color: var(--border-glow); background: var(--surface-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-sm); }
.plan-card .meta { display: flex; gap: 26px; flex-wrap: wrap; }
.plan-card .meta .val { font-weight: 800; font-size: 20px; color: var(--ink); }
.plan-card .meta .val.provider-name { font-size: 15px; color: var(--sky-300); }
.plan-card .meta .lbl { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.plan-card .price { font-size: 22px; font-weight: 800; color: var(--sky-300); min-width: 90px; text-align: right; }

.page-hero {
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}
.page-hero .crumb { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.page-hero h1 { color: var(--ink); font-size: 32px; margin: 0; display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.page-hero .crumb, .page-hero > .container { position: relative; z-index: 1; }
.page-hero-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(50px);
  top: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(56,189,248,0.28), transparent 70%);
  pointer-events: none;
  animation: orbDrift 16s ease-in-out infinite;
  z-index: 0;
}
@media (max-width: 780px) { .page-hero-orb { display: none; } }

/* ---------- Cart / checkout ---------- */
.cart-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cart-item .flag { font-size: 26px; }
.cart-item .info { flex: 1; }
.cart-item .info .title { font-weight: 700; color: var(--ink); }
.cart-item .info .sub { font-size: 13px; color: var(--muted); }
.cart-item .price { font-weight: 800; color: var(--sky-300); }
.remove-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 90px;
}
.summary-card h3 { color: var(--ink); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.summary-row.total { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--border-soft); padding-top: 12px; margin-top: 12px; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } .summary-card { position: static; } }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.empty-state h3 { color: var(--ink); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.form-group input::placeholder { color: var(--muted-2); }
.form-group input:focus { border-color: var(--sky-400); }
.form-group input:disabled { opacity: .6; cursor: not-allowed; }
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238b96ac' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.form-group select option { background: var(--surface, #0f1420); color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group textarea::placeholder { color: var(--muted-2); }
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sky-400); }

.password-field-wrap { position: relative; }
.password-field-wrap input { padding-right: 42px; }
.password-toggle-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: none;
  color: var(--muted-2);
  cursor: pointer;
  border-radius: 6px;
}
.password-toggle-btn:hover { color: var(--muted); background: rgba(255,255,255,0.05); }
.password-toggle-btn.active { color: var(--sky-400); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Container for PayPal's hosted card-entry iframes (number/expiry/CVV).
   PayPal's fields render transparent/borderless (see checkout.html's
   commonFieldStyle) and let THIS div supply the entire visible box — that
   way there's only one real box per field, not a double-boxed look, and
   the box is white because PayPal's hosted fields are always rendered on
   a white background regardless of this page's own dark theme. */
.pp-card-field {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: #ffffff;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 15px;
  color: #111827;
}
/* The cardholder-name text input reuses this exact class to look
   pixel-identical to the PayPal fields next to it — needs the extra
   specificity to win over .form-group input's own dark-theme styling. */
.form-group input.pp-card-field {
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: #ffffff;
  color: #111827;
  font-size: 15px;
}
.form-group input.pp-card-field::placeholder { color: #9ca3af; }

/* ---------- Account dashboard (account.html) ---------- */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 90px;
}
.account-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
}
.account-sidebar-user > div:last-child { min-width: 0; }
.account-sidebar-user > div:last-child > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
}
.account-nav-item:hover { background: rgba(56,189,248,0.06); color: var(--ink); }
.account-nav-item.active { background: rgba(56,189,248,0.12); color: var(--sky-300); }
.account-nav-item .icon { width: 17px; height: 17px; flex-shrink: 0; }
.account-panel { min-width: 0; }
.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 22px;
}
/* Solid (not translucent) card background for modal dialogs — .account-card's
   --surface is only 5% white, meant to sit on the page background; floated
   over a dimmed backdrop instead, that translucency lets page content behind
   the backdrop show through legibly. Modals need a properly opaque surface. */
.modal-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
/* Shared transactional pop-out modal (js/modal.js) — the "wait" state of a
   real action (placing an order, issuing an eSIM, signing up) and the
   confirmation/error that follows it, so money-moving and account moments
   get a focused overlay instead of inline page text. */
.tx-modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,6,10,0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .22s var(--ease);
}
.tx-modal-backdrop.show { opacity: 1; pointer-events: auto; }
.tx-modal {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg, var(--radius)); padding: 38px 32px;
  max-width: 400px; width: 100%; text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  transform: translateY(14px) scale(.96); transition: transform .25s var(--ease);
}
.tx-modal-backdrop.show .tx-modal { transform: translateY(0) scale(1); }
.tx-modal h3 { color: var(--ink); margin-bottom: 8px; }
.tx-modal p.tx-modal-msg { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 4px; }
.tx-modal-body { text-align: left; margin: 18px 0; }
.tx-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.tx-modal-spinner {
  width: 50px; height: 50px; margin: 0 auto 20px;
  border-radius: 50%; border: 3px solid var(--border-soft); border-top-color: var(--sky-400);
  animation: tx-modal-spin .8s linear infinite;
}
@keyframes tx-modal-spin { to { transform: rotate(360deg); } }
.tx-modal-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: tx-modal-pop .35s var(--ease); }
.tx-modal-icon svg { width: 28px; height: 28px; }
.tx-modal-icon.ok { background: rgba(34,197,94,0.15); color: #22c55e; }
.tx-modal-icon.err { background: rgba(248,113,113,0.15); color: #f87171; }
@keyframes tx-modal-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .tx-modal-backdrop, .tx-modal, .tx-modal-icon { transition: none; animation: none; }
}

.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.account-table { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
.account-table th { text-align: left; padding: 14px 16px; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border-soft); }
.account-table td { padding: 14px 16px; color: var(--ink); border-bottom: 1px solid var(--border-soft); }
.account-table tr:last-child td { border-bottom: none; }
.cell-truncate { display: inline-block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.account-table td.actions-cell, .account-table th.actions-cell { padding-left: 8px; padding-right: 8px; }
.modal-card .account-table th, .modal-card .account-table td { padding: 12px 10px; }
.row-actions { display: flex; gap: 4px; }
.icon-btn-sm {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--sky-300);
  cursor: pointer;
}
.icon-btn-sm:hover { border-color: var(--sky-400); color: var(--ink); }
.icon-btn-sm.danger:hover { border-color: #f87171; color: #f87171; }
@media (max-width: 780px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; flex-direction: row; overflow-x: auto; scroll-behavior: smooth; }
  .account-sidebar-user { display: none; }
  .account-nav-item { flex-shrink: 0; }
}

/* ---------- Horizontal-scroll arrow indicators (mobile tab strips) ---------- */
.hscroll-arrow {
  display: none;
  position: sticky;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  cursor: pointer;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 5;
}
.hscroll-arrow svg { width: 15px; height: 15px; display: block; }
.hscroll-arrow:active { transform: scale(0.92); }
.hscroll-arrow.visible { opacity: 1; pointer-events: auto; }
.hscroll-arrow-left { left: 4px; }
.hscroll-arrow-right { right: 4px; }
@media (max-width: 780px) {
  .account-sidebar .hscroll-arrow { display: flex; }
}

.notice {
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--sky-300);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}
.code-block {
  background: #0a0e1a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #b9c1d4;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 400px;
  overflow-y: auto;
}

/* ---------- Legal pages (Terms / Privacy / Refund) ---------- */
.legal-content { max-width: 820px; }
.legal-content .updated { color: var(--muted-2); font-size: 13px; margin-bottom: 28px; }
.legal-content h2 { font-size: 21px; margin-top: 34px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 16px; margin-top: 20px; color: var(--ink); }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.65; }
.legal-content ul, .legal-content ol { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--sky-300); text-decoration: underline; }
.notice strong { display: block; margin-bottom: 2px; color: var(--ink); }

/* ---------- Confirmation ---------- */
.confirm-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 48px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.confirm-card h2 { color: var(--ink); }
.confirm-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.confirm-check .icon { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 { color: var(--ink); font-size: 14px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--ink); }
.footer .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer .brand-line .logo-img { height: 20px; }
.footer .brand-line .logo-full { height: 28px; }
.footer .brand-line .logo-sub { font-size: 16px; }
.footer .bottom {
  border-top: 1px solid var(--border-soft);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 780px) { .footer .container { grid-template-columns: 1fr 1fr; } .hero-inner { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } }

/* ---------- Phone mockup ---------- */
.phone-mockup {
  background: var(--bg-1);
  border: 6px solid var(--bg-2);
  border-radius: 32px;
  padding: 18px;
  width: 220px;
  box-shadow: var(--shadow-lg);
}
.phone-mockup .screen {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px;
  color: var(--ink);
}
.phone-mockup .status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sky-300);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}
.phone-mockup .status svg { width: 16px; height: 16px; }
.phone-mockup .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 7px 0; border-bottom: 1px dashed var(--border-soft); }
.phone-mockup .row b { color: var(--ink); font-size: 13px; }
.phone-mockup .promo {
  margin-top: 12px;
  background: rgba(56,189,248,0.12);
  color: var(--sky-300);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}
.hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }

/* ---------- Caribbean-to-world connectivity animation (homepage hero) ---------- */
.connect-map { width: 100%; max-width: 420px; height: auto; }
.connect-line {
  fill: none;
  stroke: var(--sky-400);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  opacity: .45;
  animation: connectFlow 3.2s linear infinite;
}
.connect-line:nth-child(2) { animation-duration: 3.6s; }
.connect-line:nth-child(3) { animation-duration: 2.8s; }
.connect-line:nth-child(4) { animation-duration: 4s; }
.connect-line:nth-child(5) { animation-duration: 3.4s; }
.connect-line:nth-child(6) { animation-duration: 3s; }
@keyframes connectFlow { to { stroke-dashoffset: -140; } }
.dest-dot { fill: var(--sky-300); animation: destPulse 2.6s ease-in-out infinite; }
.dest-dot:nth-of-type(2) { animation-delay: .3s; }
.dest-dot:nth-of-type(3) { animation-delay: .6s; }
.dest-dot:nth-of-type(4) { animation-delay: .9s; }
.dest-dot:nth-of-type(5) { animation-delay: 1.2s; }
.dest-dot:nth-of-type(6) { animation-delay: 1.5s; }
@keyframes destPulse { 0%, 100% { opacity: .5; r: 4; } 50% { opacity: 1; r: 6; } }
.hub-dot { fill: var(--sky-400); filter: drop-shadow(0 0 8px rgba(56,189,248,0.7)); }
.hub-ring { fill: none; stroke: var(--sky-400); stroke-width: 1.5; opacity: .6; transform-origin: 220px 190px; animation: hubPing 2.6s ease-out infinite; }
.hub-ring-2 { animation-delay: 1.3s; }
@keyframes hubPing { 0% { r: 14; opacity: .7; } 100% { r: 56; opacity: 0; } }
.connect-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) {
  .connect-line, .dest-dot, .hub-ring { animation: none; }
}

/* ---------- Tabs ---------- */
.tab-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-soft);
}
.tab-btn {
  background: none;
  border: none;
  padding: 12px 4px;
  margin-right: 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
}
.tab-btn.active { color: var(--ink); border-color: var(--sky-400); }
.tab-btn .icon { width: 17px; height: 17px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.badge-ultra { background: var(--accent-grad); color: var(--accent-text); }
.badge-new { background: var(--surface-strong); border: 1px solid var(--border); color: var(--sky-300); }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--border-glow); }
.stat-card .icon { color: var(--sky-400); margin: 0 auto 10px; }
.stat-card .val { font-size: 22px; font-weight: 800; color: var(--ink); }
.stat-card .lbl { font-size: 13px; color: var(--muted); }
@media (max-width: 780px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.dash-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; min-width: 0; }
.dash-split > * { min-width: 0; }
@media (max-width: 780px) { .dash-split { grid-template-columns: 1fr; } }

/* ---------- Accordion (tutorials / FAQ) ---------- */
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.accordion-head svg.chev { margin-left: auto; transition: transform .2s ease; color: var(--muted); }
.accordion-item.open .chev { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 20px;
}
.accordion-item.open .accordion-body { max-height: 400px; padding: 0 20px 18px; }
.accordion-body ol { margin: 0; padding-left: 20px; color: var(--muted); }
.accordion-body ol li { margin-bottom: 8px; }
.accordion-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(56,189,248,0.12); color: var(--sky-300);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Form status messages ---------- */
.form-msg { font-size: 13px; margin-top: 8px; }
.form-msg.ok { color: var(--sky-300); }
.form-msg.err { color: #f87171; }

/* ---------- Star rating picker (account "My Review") ---------- */
.star-pick { background: none; border: none; padding: 2px; cursor: pointer; color: var(--border); transition: transform .1s ease, color .1s ease; }
.star-pick .icon { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.star-pick.active { color: #fbbf24; }
.star-pick.active .icon { fill: currentColor; }
.star-pick:hover { color: #fbbf24; transform: scale(1.08); }

/* ---------- Public review cards (homepage) ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.review-card:hover { transform: translateY(-3px); border-color: var(--border-glow); }
.review-card .stars { color: #fbbf24; letter-spacing: 2px; font-size: 15px; }
.review-card .review-title { font-weight: 700; color: var(--ink); font-size: 15px; }
.review-card .review-body { color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.review-card .review-author { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.review-card .review-author .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-grad); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.review-card .review-author .name { font-weight: 700; color: var(--ink); font-size: 13px; }
.review-card .review-author .island { color: var(--muted-2); font-size: 12px; }
@media (max-width: 980px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Auth (login/signup) ---------- */
.auth-wrap {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.auth-wrap h1 { font-size: 24px; text-align: center; color: var(--ink); }
.auth-wrap > p { text-align: center; }
.auth-switch { text-align: center; font-size: 14px; margin-top: 16px; color: var(--muted); }
.auth-switch a { color: var(--sky-300); font-weight: 700; }

/* ---------- Top up ---------- */
.topup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.topup-pack {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  color: var(--ink);
}
.topup-pack.selected { border-color: var(--sky-400); box-shadow: 0 0 0 3px rgba(56,189,248,0.15); }
.topup-pack .val { font-size: 20px; font-weight: 800; margin: 6px 0 2px; }
.topup-pack .price { color: var(--sky-300); font-weight: 700; }
@media (max-width: 700px) { .topup-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Live chat widget ---------- */
#chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 200; }
#chat-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--accent-grad);
  color: var(--accent-text);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, opacity .15s ease;
}
#chat-bubble:hover { transform: translateY(-2px) scale(1.04); }
#chat-bubble.hidden { opacity: 0; pointer-events: none; transform: scale(0.8); }
#chat-bubble .icon { width: 26px; height: 26px; }
.chat-bubble-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.no-save-img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 500px;
  max-height: calc(100vh - 100px);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat-panel-head {
  background: #ffffff;
  color: var(--accent-text);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.chat-panel-head-left { display: flex; align-items: center; gap: 10px; }
.chat-panel-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.chat-panel-title { font-weight: 800; font-size: 15px; }
.chat-panel-sub { font-size: 12px; display: flex; align-items: center; gap: 6px; opacity: .85; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; display: inline-block; }
#chat-close { background: none; border: none; cursor: pointer; color: var(--accent-text); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-0);
}
.chat-msg {
  max-width: 100%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chat-msg-row { display: flex; align-items: flex-end; gap: 8px; align-self: flex-start; max-width: 88%; }
.chat-msg-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-msg.from-bot {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat-msg.from-user {
  align-self: flex-end;
  max-width: 85%;
  background: var(--accent-grad);
  color: var(--accent-text);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.chat-msg.chat-typing { color: var(--muted); font-style: italic; }

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-1);
}
.chat-form input {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
}
.chat-form input:focus { border-color: var(--sky-400); }
.chat-form input::placeholder { color: var(--muted-2); }
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent-grad);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 90px; }
  #chat-widget { right: 16px; bottom: 16px; }
  .chat-nudge { right: 12px; left: 12px; max-width: none; bottom: 88px; }
}

.chat-nudge {
  position: fixed;
  right: 22px;
  bottom: 92px;
  max-width: 260px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 32px 14px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 199;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  cursor: pointer;
}
.chat-nudge.show { opacity: 1; transform: translateY(0); }
.chat-nudge-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.chat-nudge-body { display: flex; align-items: flex-start; gap: 10px; }
.chat-nudge-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-nudge-body strong { display: block; font-size: 13px; margin-bottom: 4px; color: var(--ink); }
.chat-nudge-body p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.chat-chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.chat-chip {
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--sky-300);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.chat-chip:hover { background: var(--accent-grad); color: var(--accent-text); border-color: transparent; }

/* ---------- Motion: orbs, float, pulse, marquee, gradient text ---------- */
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { opacity: .7; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero { position: relative; overflow: hidden; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 14s ease-in-out infinite;
}
.hero-orb.orb-1 { width: 340px; height: 340px; top: -80px; left: -60px; background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 70%); }
.hero-orb.orb-2 { width: 300px; height: 300px; bottom: -100px; right: -40px; background: radial-gradient(circle, rgba(14,165,233,0.3), transparent 70%); animation-delay: -6s; }
.hero > .container { position: relative; z-index: 1; }

.gradient-text {
  background: linear-gradient(135deg, #38bdf8, #a78bfa 55%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(56,189,248,0.22));
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: livePulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.phone-mockup { animation: floatY 5s ease-in-out infinite; }

/* Auto-scrolling destination ticker */
.ticker-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: marqueeScroll 32s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-item .flag { font-size: 18px; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

/* Count-up number readiness (JS toggles the actual digits) */
.stat-card .val { transition: opacity .2s ease; }

.chat-msg a.chat-link {
  color: var(--sky-300);
  text-decoration: underline;
  font-weight: 700;
}
.chat-msg.from-user a.chat-link { color: var(--accent-text); }

@media (max-width: 780px) {
  .hero-orb { display: none; }
}

/* ---------- Hero search inline results ---------- */
.hero-search-results {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 640px;
  margin: 10px auto 0;
  background: rgba(255,255,255,0.02);
}

/* ---------- Full-width "find a destination" band (homepage) ---------- */
.find-band {
  padding: 52px 0 56px;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.find-band-head { text-align: center; max-width: 560px; margin: 0 auto 26px; }
.find-band-head h2 { font-size: 26px; margin-bottom: 8px; }
.find-band-head p { margin: 0; }
.find-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-0);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 15px 22px;
}
.find-search-row input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  width: 100%;
  font-family: inherit;
}
.find-search-row input::placeholder { color: var(--muted-2); }
#hero-trending .chip-row { justify-content: center; }
.hero-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.hero-result-item:last-child { border-bottom: none; }
.hero-result-item:hover { background: rgba(56,189,248,0.08); }
.hero-result-item .flag { font-size: 18px; }
.hero-result-item .name { flex: 1; font-weight: 600; color: var(--ink); }
.hero-result-item .price { color: var(--sky-300); font-weight: 700; font-size: 13px; }
.hero-result-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--muted);
}
.hero-result-empty a { color: var(--sky-300); text-decoration: underline; }

/* Worldwide carnival calendar */
.hub-stats{display:flex;flex-wrap:wrap;gap:28px;margin-top:24px;color:#8f9bb0;font-size:12px}.hub-stats b{color:white;font-size:17px;margin-right:5px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.calendar-filters{display:flex;flex-wrap:wrap;gap:8px}.calendar-filters button,.calendar-toolbar select{border:1px solid rgba(255,255,255,.12);background:#111729;color:#aeb8ca;border-radius:999px;padding:10px 15px;font-weight:700;cursor:pointer}.calendar-filters button.active{background:var(--cyan);border-color:var(--cyan);color:#08101a}.calendar-toolbar select{min-width:190px}.hub-event{transition:transform .22s var(--ease),border-color .22s var(--ease)}.hub-event:hover{transform:translateY(-4px);border-color:rgba(38,217,255,.38)}.event-card-top{display:flex;align-items:center;justify-content:space-between}.region-pill{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#9eabc0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);padding:6px 8px;border-radius:999px}.hub-event h3{font-size:20px}.hub-event p{font-size:13px}
@media(max-width:600px){.calendar-toolbar{align-items:stretch;flex-direction:column}.calendar-toolbar select{width:100%}.calendar-filters{display:grid;grid-template-columns:1fr 1fr}.hub-stats{gap:14px}}
.event-rail{grid-template-columns:repeat(5,minmax(0,1fr))}.nyc .event-art{background:linear-gradient(145deg,#ff5b62,#3c55d9)}
@media(max-width:1100px){.event-rail{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.event-rail{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.event-rail{grid-template-columns:1fr}}
