:root {
  --bg: #080610;
  --panel: #110d1b;
  --panel2: #181123;
  --purple: #9255d7;
  --purple2: #b78aff;
  --white: #f8f5ff;
  --muted: #a49aae;
  --border: rgba(190, 145, 255, 0.17);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: Inter, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
input,
textarea,
.country-card,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 48%, #241338 0%, #100a1b 36%, #080610 75%);
  transition: opacity 0.8s, visibility 0.8s;
}

.intro.leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#constellationCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 25px;
}

.intro-content.sucked-in {
  animation: blackHoleSuck 0.7s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes blackHoleSuck {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: scale(0) rotate(540deg);
    opacity: 0;
    filter: blur(12px);
  }
}

.rotating-welcome {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #e2c6ff;
  margin-bottom: 18px;
  min-height: 20px;
  text-transform: uppercase;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.rotating-welcome.fade-out,
#rotatingQuote.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

.logo-mark {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(200, 160, 255, 0.7);
  border-radius: 23px;
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  font-size: 36px;
  font-weight: 900;
  color: white;
  background: linear-gradient(145deg, #5b2e8c, #171020);
  box-shadow: 0 0 50px #8b4ac966;
}

.eyebrow {
  color: var(--purple2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.intro h1 {
  font-size: clamp(42px, 8vw, 76px);
  letter-spacing: 5px;
  font-weight: 900;
}

.intro h1 span,
.brand span,
.auth-brand span {
  color: var(--purple2);
}

.neon-flicker {
  color: #fff;
  text-shadow:
    0 0 7px #fff,
    0 0 18px #b78aff,
    0 0 38px #9255d7,
    0 0 70px #9255d7;
  animation: neonSign 4.5s infinite;
}

.neon-flicker-alt {
  color: var(--purple2);
  animation: neonSignAlt 3.2s infinite;
}

@keyframes neonSign {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow:
      0 0 7px #fff,
      0 0 18px #b78aff,
      0 0 38px #9255d7,
      0 0 75px #9255d7;
  }
  20%, 24%, 55% {
    opacity: 0.35;
    text-shadow: none;
  }
}

@keyframes neonSignAlt {
  0%, 40%, 44%, 78%, 82%, 100% {
    opacity: 1;
  }
  42%, 80% {
    opacity: 0.2;
    text-shadow: none;
  }
}

.intro-subtitle {
  color: var(--muted);
  margin: 17px 0 35px;
  letter-spacing: 2px;
  min-height: 24px;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.intro-bottom {
  position: absolute;
  bottom: 28px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 3px;
  color: #746783;
}

.black-hole {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}

.black-hole.active {
  animation: holeExpand 0.75s ease-in forwards;
}

@keyframes holeExpand {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px 10px #9255d7;
  }
  70% {
    opacity: 1;
    transform: scale(35);
    box-shadow: 0 0 80px 30px #b78aff;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.big-bang-flash {
  position: fixed;
  inset: 0;
  z-index: 1005;
  background: radial-gradient(circle, #ffffff 0%, #d8b4ff 35%, #7c3aed 70%, #080610 100%);
  opacity: 0;
  pointer-events: none;
}

.big-bang-flash.explode {
  animation: bigBangBoom 1.1s ease-out forwards;
}

@keyframes bigBangBoom {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }
  25% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}
.primary-btn,
.secondary-btn {
  border-radius: 9px;
  padding: 14px 21px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  transition: 0.25s;
}

.primary-btn {
  color: white;
  background: linear-gradient(110deg, #6935a0, #9d61d8);
  box-shadow: 0 8px 30px #8b4ac933;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px #a15de866;
}

.secondary-btn {
  color: white;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.secondary-btn:hover {
  border-color: var(--purple2);
  background: rgba(155, 95, 215, 0.12);
}

.icon-btn {
  background: transparent;
  color: white;
  border: 0;
}

.app {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
}

.space-video-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, #1b0e2e 0%, #080610 75%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 6, 16, 0.78);
  backdrop-filter: blur(18px);
}

.menu-btn {
  width: 38px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.menu-btn span {
  width: 23px;
  height: 2px;
  background: white;
  border-radius: 5px;
}

.menu-btn span:nth-child(2) {
  width: 16px;
}

.brand {
  text-decoration: none;
  color: white;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.secure-lock {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--purple2);
  font-size: 15px;
}

.header-actions {
  justify-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions select {
  color: white;
  background: #171020;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 6px;
  outline: none;
  max-width: 82px;
  font-size: 11px;
}

.header-actions select option {
  background: #171020;
}

.login-btn {
  background: transparent;
  color: white;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 11px;
  white-space: nowrap;
}

.login-btn:hover {
  border-color: var(--purple2);
  background: rgba(155, 95, 215, 0.12);
}

.side-shade {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.side-shade.open {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 85vw);
  padding: 27px;
  background: #100b19;
  border-right: 1px solid var(--border);
  transform: translateX(-105%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 55px;
}

.close-menu {
  font-size: 28px;
}

.menu-caption {
  color: #82758e;
  font-size: 9px;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.side-nav {
  display: grid;
  gap: 9px;
}

.side-nav button,
.menu-login {
  text-align: left;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #e8e0f1;
  background: transparent;
  font-size: 13px;
}

.side-nav button span {
  margin-left: 12px;
}

.side-nav button:hover,
.menu-login:hover {
  background: #241533;
  border-color: var(--border);
}

.menu-divider {
  height: 1px;
  background: var(--border);
  margin: 30px 0 15px;
}

.menu-login {
  color: var(--purple2);
}

.menu-footer {
  margin-top: auto;
  color: #766b80;
  font-size: 9px;
  letter-spacing: 2px;
}
main {
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  min-height: 65vh;
  animation: pageIn 0.45s ease;
}

.page.active {
  display: block;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  min-height: 580px;
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
}

.hero-copy {
  max-width: 590px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 9px 13px;
  color: #d5c4e8;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 35px;
  background: #ffffff08;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #b98cff;
  border-radius: 50%;
  box-shadow: 0 0 12px #b98cff;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: -3px;
  font-weight: 900;
}

.hero h1 span,
.page-hero h1 span,
.feature-section h2 span {
  color: var(--purple2);
}

.hero-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 470px;
  margin: 25px 0 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 55px;
}

.hero-stats div {
  display: grid;
  gap: 7px;
}

.hero-stats strong {
  font-size: 23px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 10px;
}

.hero-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  position: relative;
}

.solar-system {
  position: relative;
  width: min(400px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.sun {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1ff, #c78bff 25%, #7836ac 65%, #31114b);
  box-shadow: 0 0 35px #bd7aff, 0 0 110px #8d45d9;
  z-index: 2;
}

.solar-orbit {
  position: absolute;
  border: 1px solid #c69bff35;
  border-radius: 50%;
  animation: orbitSpin 30s linear infinite;
}

.orbit-a {
  width: 180px;
  height: 180px;
}

.orbit-b {
  width: 280px;
  height: 280px;
  animation-duration: 45s;
}

.orbit-c {
  width: 390px;
  height: 390px;
  animation-duration: 60s;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.solar-planet {
  position: absolute;
  border-radius: 50%;
}

.planet-a {
  width: 19px;
  height: 19px;
  background: #c3a0ff;
  top: 8px;
  left: 48%;
  box-shadow: 0 0 20px #b57aff;
}

.planet-b {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #e2c6ff, #6938a1);
  right: 17px;
  top: 47%;
  box-shadow: 0 0 20px #a66ce0;
}

.planet-c {
  width: 13px;
  height: 13px;
  background: #e3d1ff;
  left: 10%;
  bottom: 16%;
  box-shadow: 0 0 15px #c89bff;
}

.floating-label {
  position: absolute;
  font-size: 8px;
  color: #b7a0d1;
  letter-spacing: 2px;
}

.label-top {
  top: 12%;
  right: 0;
}

.label-bottom {
  bottom: 12%;
  left: 0;
}

.section-wrap {
  padding: 65px 8%;
}

.quick-search {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 25px;
  align-items: center;
  background: rgba(23, 16, 32, 0.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quick-search h2,
.section-heading h2 {
  font-size: 27px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 16px;
  border: 1px solid var(--border);
  background: #080610;
  border-radius: 10px;
  min-width: 0;
}

.search-box > span {
  color: var(--purple2);
  font-size: 25px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 10px 0;
  font-size: 12px;
}

.search-box input::placeholder {
  color: #81768c;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.text-link {
  background: none;
  border: 0;
  color: var(--purple2);
  font-size: 11px;
  font-weight: 700;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.country-card {
  position: relative;
  overflow: hidden;
  min-height: 145px;
  padding: 22px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 90% 10%, #693b8d33, transparent 45%),
    linear-gradient(145deg, rgba(25, 18, 35, 0.9), rgba(16, 12, 23, 0.92));
  backdrop-filter: blur(8px);
  transition: 0.25s;
  cursor: pointer;
}

.country-card:hover {
  transform: translateY(-5px);
  border-color: #a96de5;
  box-shadow: 0 12px 35px #0005;
}

.country-flag {
  font-size: 31px;
  margin-bottom: 15px;
}

.country-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.country-card p {
  color: var(--muted);
  font-size: 11px;
}

.country-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--purple2);
  font-size: 18px;
}

.feature-section {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 30px 8% 80px;
  padding: 45px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(29, 17, 42, 0.9), rgba(16, 11, 24, 0.92));
}

.feature-orb {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: white;
  background: radial-gradient(circle at 35% 30%, #d8b9ff, #7139a3 55%, #29103e);
  box-shadow: 0 0 40px #9654d955;
}

.feature-section h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.feature-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.feature-section .primary-btn {
  margin-left: auto;
  white-space: nowrap;
}
.page-hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 65px);
}

.page-hero > p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}

.destination-tools {
  display: flex;
  gap: 15px;
  padding: 0 8%;
  margin-bottom: 20px;
}

.destination-search {
  flex: 1;
}

.destination-tools select {
  background: #171020;
  border: 1px solid var(--border);
  color: white;
  border-radius: 9px;
  padding: 0 15px;
  min-width: 160px;
}

.destination-tools select option {
  background: #171020;
}

.result-count {
  padding: 0 8%;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 20px;
}

#allCountries {
  padding: 0 8% 80px;
}

.about-grid {
  padding: 0 8% 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.support-card {
  padding: 30px;
  background: linear-gradient(145deg, rgba(25, 18, 35, 0.9), rgba(16, 12, 23, 0.92));
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.info-icon {
  color: var(--purple2);
  font-size: 32px;
  margin-bottom: 20px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p,
.support-card > p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 12px;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto 45px;
  padding: 0 20px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: linear-gradient(145deg, rgba(25, 18, 35, 0.9), rgba(16, 12, 23, 0.92));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: var(--white);
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.support-card {
  max-width: 570px;
  margin: 0 auto 90px;
}

.support-card h2 {
  margin-bottom: 12px;
}

.support-card label,
.modal-panel label {
  display: block;
  color: #cfc1df;
  font-size: 11px;
  margin: 20px 0 8px;
}

.support-card input,
.support-card textarea,
.support-select,
.modal-panel input {
  width: 100%;
  padding: 13px;
  color: white;
  background: #090710;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  resize: vertical;
}

.support-card input:focus,
.support-card textarea:focus,
.support-select:focus,
.modal-panel input:focus {
  border-color: var(--purple2);
}

.support-card .primary-btn {
  margin-top: 18px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 35px 8%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(8, 6, 16, 0.92);
}

.footer p {
  color: var(--muted);
  font-size: 11px;
}

.footer > span {
  color: #766b80;
  font-size: 9px;
  letter-spacing: 1px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  background: rgba(19, 13, 29, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid #b78aff66;
  border-radius: 22px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.85), inset 0 0 30px rgba(146, 85, 215, 0.15);
  clip-path: circle(0% at var(--drop-x, 50%) var(--drop-y, 50%));
  transform: scale(0.92);
  transition:
    clip-path 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.open .modal-panel {
  clip-path: circle(150% at var(--drop-x, 50%) var(--drop-y, 50%));
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: transparent;
  color: white;
  border: 0;
  font-size: 27px;
}

.country-modal-flag {
  font-size: 50px;
  margin-bottom: 15px;
}

.country-panel h2 {
  font-size: 29px;
  margin-bottom: 8px;
}

.country-panel .country-meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 25px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.plan-card {
  padding: 18px;
  border: 1px solid var(--border);
  background: #0c0812;
  border-radius: 11px;
}

.plan-card h3 {
  font-size: 23px;
  color: var(--purple2);
}

.plan-card p {
  color: var(--muted);
  font-size: 11px;
  margin: 6px 0 14px;
}

.plan-card .primary-btn {
  width: 100%;
  padding: 10px;
}

.auth-brand {
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #090710;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
}

.auth-tabs button {
  padding: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.auth-tabs button.active {
  background: var(--purple);
  color: white;
}

.modal-panel h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.modal-panel > form > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.full-btn {
  width: 100%;
  margin-top: 22px;
}

.auth-switch-text {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
}

.inline-link {
  background: none;
  border: 0;
  color: var(--purple2);
  font-weight: 700;
  text-decoration: underline;
  padding: 0 4px;
}

.feedback {
  color: #b78aff;
  font-size: 12px;
  margin-top: 14px;
  text-align: center;
}

.demo-note {
  color: #766b80;
  font-size: 10px;
  text-align: center;
  margin-top: 18px;
}

.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 200;
  background: #1b1229;
  border: 1px solid var(--purple2);
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 10px 30px #0008;
  transform: translateY(120%);
  opacity: 0;
  transition: 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 55px 6%; gap: 40px; }
  .hero-copy { max-width: 100%; margin: 0 auto; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-buttons, .hero-stats { justify-content: center; }
  .hero-visual { min-height: 340px; }
  .quick-search { grid-template-columns: 1fr; text-align: center; padding: 45px 6%; }
  .country-grid, .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-section { flex-direction: column; text-align: center; padding: 35px 25px; margin: 20px 6% 60px; }
  .feature-section .primary-btn { margin-left: 0; }
}

@media (max-width: 768px) {
  .topbar { height: 64px; padding: 0 4%; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .header-center { display: none; }
  .brand { font-size: 15px; letter-spacing: 1.5px; }
  .header-actions { gap: 6px; }
  .header-actions select { padding: 6px 4px; font-size: 12px !important; max-width: 68px; }
  .login-btn { padding: 7px 10px; font-size: 11px; }
  .intro h1 { font-size: clamp(32px, 10vw, 48px); letter-spacing: 3px; }
  .rotating-welcome { font-size: 11px; letter-spacing: 3px; }
  .intro-subtitle { font-size: 13px; padding: 0 15px; }
  .solar-system { width: 270px; }
  .orbit-a { width: 120px; height: 120px; }
  .orbit-b { width: 190px; height: 190px; }
  .orbit-c { width: 265px; height: 265px; }
  .sun { width: 64px; height: 64px; }
  .floating-label { font-size: 7px; }
  .section-wrap { padding: 45px 5%; }
  .page-hero { padding: 60px 5% 35px; }
  .page-hero h1, .hero h1 { letter-spacing: -1.5px; }
  .hero-stats { gap: 22px; margin-top: 35px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .destination-tools { flex-direction: column; padding: 0 5%; }
  .destination-tools select { height: 46px; width: 100%; }
  #allCountries, .about-grid { padding: 0 5% 60px; }
  .modal { padding: 12px; align-items: flex-end; }
  .modal-panel { padding: 24px 18px; border-radius: 20px; max-height: 86dvh; }
  .plan-grid { grid-template-columns: 1fr; }
  input, select, textarea { font-size: 16px !important; }
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
  .footer { flex-direction: column; text-align: center; padding: 30px 5%; gap: 12px; }
}

@media (max-width: 420px) {
  .country-grid, .about-grid { grid-template-columns: 1fr; }
  .search-box { flex-wrap: wrap; padding: 10px; }
  .search-box .primary-btn { width: 100%; margin-top: 6px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons button { width: 100%; }
}
.disintegrate-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.intro-content.disintegrating {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}
iframe[src*="netlify"],
#netlify-identity-widget,
[data-netlify-deploy-preview] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}