:root {
  --night: #1A1730;
  --night-2: #241F42;
  --hot-pink: #FF3D68;
  --sunset: #FF6B35;
  --sun: #FFC93C;
  --cream: #FFF8F0;
  --ink: #211D3B;
  --ink-soft: #5A5578;
  --line: rgba(33, 29, 59, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

/* Header */
.site-header {
  background: var(--night);
  padding: 20px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  position: relative;
}
.header-search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.5;
  pointer-events: none;
}
.header-search input {
  width: 100%;
  font-family: inherit;
  font-size: 13px;
  padding: 9px 12px 9px 36px;
  border-radius: 100px;
  border: 1px solid rgba(255,248,240,0.15);
  background: rgba(255,248,240,0.08);
  color: var(--cream);
  min-width: 0;
}
.header-search input::placeholder { color: rgba(255,248,240,0.45); }
.header-search input:focus {
  outline: none;
  border-color: var(--hot-pink);
  background: rgba(255,248,240,0.12);
}
@media (min-width: 768px) {
  .header-search-input-icon { left: 16px; font-size: 14px; }
  .header-search input {
    font-size: 14px;
    padding: 10px 16px 10px 40px;
  }
}
.logo {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--cream);
  text-transform: lowercase;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-mark { flex-shrink: 0; }
.logo-img { display: block; height: 40px; width: auto; }
.logo-img-footer { height: 48px; }
.logo span { color: var(--sun); }
.main-nav { display: flex; gap: 10px; }
.main-nav a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  border: 1px solid rgba(255,248,240,0.25);
  border-radius: 10px;
  padding: 7px 14px;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover {
  opacity: 1;
  border-color: var(--hot-pink);
}

/* Hero */
.hero {
  background: var(--night);
  background-image: radial-gradient(circle at 85% 15%, rgba(255,201,60,0.18), transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(255,61,104,0.22), transparent 50%);
  padding: 32px 0 24px;
  position: relative;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 420px;
  width: 420px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  z-index: 1;
  overflow: visible;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  color: var(--sun);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Anton', sans-serif;
  color: var(--cream);
  font-size: clamp(34px, 6.2vw, 96px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  white-space: nowrap;
}
.hero-highlight {
  color: var(--sunset);
  animation: hero-glow 2.4s ease-in-out infinite;
}
@keyframes hero-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(255,107,53,0.35); }
  50% { text-shadow: 0 0 26px rgba(255,107,53,0.85); }
}
.hero-sub {
  color: rgba(255,248,240,0.75);
  font-size: clamp(16px, 1.6vw, 24px);
  max-width: 640px;
  margin-top: 26px;
  line-height: 1.6;
}
.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--hot-pink);
  border-radius: 100px;
  margin-top: 26px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 32px;
}
.stat { display: flex; flex-direction: column; align-items: center; min-width: 96px; }
.stat-num {
  font-family: 'Anton', sans-serif;
  color: var(--sun);
  font-size: clamp(28px, 3vw, 42px);
  text-transform: lowercase;
}
.stat-label {
  color: rgba(255,248,240,0.6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Finder */
/* Category icon shortcuts */
.categories {
  background: var(--night);
  padding: 16px 0;
}
.category-row-wrap { position: relative; }
.category-fade { display: none; }
@media (max-width: 639px) {
  .category-fade {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    width: 52px;
    background: linear-gradient(90deg, transparent, var(--night) 80%);
    pointer-events: none;
  }
}
.category-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  padding-right: 40px;
  justify-content: flex-start;
}
@media (min-width: 640px) {
  .category-row { justify-content: center; padding-right: 0; gap: 24px; }
}
@media (min-width: 900px) {
  .category-row { gap: 64px; }
}
.category-btn {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 70px;
}
.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--night-2);
  border: 1.5px solid rgba(255,248,240,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--sun);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.category-btn:hover .category-icon {
  border-color: var(--hot-pink);
  transform: translateY(-2px);
}
.category-btn.active .category-icon {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
}
.category-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,248,240,0.75);
  text-align: center;
  line-height: 1.3;
}
.category-btn.active .category-label { color: var(--hot-pink); }

/* Finder */
.finder {
  background: var(--cream);
  padding: 18px 0 20px;
}
.finder-card {
  background: var(--night);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.finder-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,248,240,0.08);
}
.finder-row:last-child { border-bottom: none; }
.finder-row-icon {
  font-size: 18px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.finder-row-body {
  flex: 1;
  min-width: 0;
  position: relative;
}
.finder-row-body label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,248,240,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.finder-row-body select {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  background: transparent;
  border: none;
  width: 100%;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.finder-row-body select option { color: var(--ink); }
.finder-submit {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 24px;
  min-height: 48px;
  width: 100%;
  border-radius: 0 0 16px 16px;
  border: none;
  background: var(--hot-pink);
  color: #fff;
  cursor: pointer;
  margin-top: 0;
}
.finder-submit:hover { background: #E5265A; }

.last-updated {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 14px;
}

@media (min-width: 900px) {
  .finder-form {
    display: flex;
    align-items: stretch;
    gap: 0;
  }
  .finder-card {
    display: flex;
    flex: 1;
    border-radius: 100px 0 0 100px;
  }
  .finder-row {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid rgba(255,248,240,0.08);
    padding: 12px 20px;
  }
  .finder-row:last-child { border-right: none; }
  .finder-submit {
    width: auto;
    white-space: nowrap;
    border-radius: 0 100px 100px 0;
    margin-top: 0;
    padding: 0 32px;
  }
}

/* Rating popover (nested inside a finder-row-body now) */
.rating-select {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
}
.rating-select-arrow { font-size: 11px; color: rgba(255,248,240,0.5); }
.rating-popover {
  position: absolute;
  width: 260px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(26,23,48,0.25);
  z-index: 20;
}
.rating-popover-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-soft);
}

.rating-slider:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--night);
  outline-offset: 2px;
}
.rating-slider:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--night);
  outline-offset: 2px;
}

.rating-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: var(--line);
  outline: none;
  margin-top: 4px;
}
.rating-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hot-pink);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.rating-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hot-pink);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Filters */
/* Deals grid */
.deals-section { padding: 8px 0 64px; }
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.deal-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: block;
  min-height: 340px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,23,48,0.25);
}

.deal-image {
  height: 100%;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  background-color: var(--night);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.deal-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,23,48,0.05) 0%, rgba(26,23,48,0.55) 55%, rgba(26,23,48,0.95) 100%);
  z-index: 0;
}

.deal-tag-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.deal-tag-overlay.hot { background: #FF3D68; color: #fff; }
.deal-tag-overlay.last-minute { background: var(--sun); color: var(--night); }
.deal-tag-overlay.new { background: #fff; color: var(--ink); }

.deal-hot-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hot-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.deal-overlay-content {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.deal-headline {
  font-family: 'Anton', sans-serif;
  font-size: 21px;
  text-transform: lowercase;
  letter-spacing: 0.2px;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 8px;
}
.deal-stars {
  font-size: 13px;
  color: #F5B700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.deal-rating-num {
  font-size: 12px;
  color: rgba(255,248,240,0.7);
  letter-spacing: 0;
}
.deal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--cream);
  background: rgba(255,248,240,0.14);
  border: 1px solid rgba(255,248,240,0.2);
  padding: 4px 9px;
  border-radius: 100px;
}

.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.deal-card:active {
  transform: scale(0.98);
}
.deal-deposit {
  position: absolute;
  top: 52px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: var(--night);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 100px;
}

.deal-was {
  font-size: 13px;
  color: rgba(255,248,240,0.5);
  text-decoration: line-through;
}
.deal-now {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  color: var(--sun);
  line-height: 1;
  white-space: nowrap;
}
.deal-pp {
  font-size: 13px;
  color: rgba(255,248,240,0.6);
}

.deals-empty {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  padding: 32px 0;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-dot {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.page-dot:hover { border-color: var(--hot-pink); color: var(--hot-pink); }
.page-dot.active {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
  color: #fff;
}

/* Popular destinations */
.popular { padding: 32px 0 56px; }
.popular h2 {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  text-transform: lowercase;
  margin-bottom: 18px;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.popular-card {
  font-family: inherit;
  text-align: left;
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.popular-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,23,48,0.35) 0%, rgba(26,23,48,0.88) 100%);
  transition: background 0.2s ease;
}
.popular-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(26,23,48,0.25);
}
.popular-card:hover::before {
  background: linear-gradient(180deg, rgba(255,61,104,0.25) 0%, rgba(26,23,48,0.9) 100%);
}
.popular-name, .popular-desc { position: relative; z-index: 1; }
.popular-name {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: var(--sun);
  text-transform: lowercase;
}
.popular-desc {
  font-size: 13px;
  color: rgba(255,248,240,0.75);
  line-height: 1.5;
}

/* Alerts */
.alerts {
  background: var(--hot-pink);
  padding: 56px 0;
}
.alerts-inner { text-align: center; max-width: 480px; margin: 0 auto; }
.alerts h2 {
  font-family: 'Anton', sans-serif;
  color: var(--night);
  font-size: 32px;
  text-transform: lowercase;
}
.alerts p {
  color: rgba(26,23,48,0.78);
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
}
.alert-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.alert-form input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 100px;
  border: none;
  min-width: 240px;
  flex: 1;
}
.alert-form input:focus {
  outline: 3px solid var(--night);
  outline-offset: 2px;
}
.alert-form button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  background: var(--night);
  color: var(--cream);
  cursor: pointer;
}
.alert-form button:hover { background: #100D22; }
.alert-confirm {
  margin-top: 16px;
  color: var(--night);
  font-weight: 700;
}

/* Destination pages */
.dest-hero {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.dest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,23,48,0.5) 0%, rgba(26,23,48,0.92) 100%);
}
.dest-hero-inner { position: relative; z-index: 1; padding-bottom: 24px; }
.dest-hero-title {
  font-family: 'Anton', sans-serif;
  color: var(--cream);
  font-size: 48px;
  text-transform: lowercase;
}
.dest-content { max-width: 640px; }
.dest-subhead {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  text-transform: lowercase;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 8px;
}
.dest-cta {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--hot-pink);
  padding: 12px 28px;
  border-radius: 100px;
}
.dest-cta:hover { background: #E5265A; }

/* Generic page content */
.page-content { padding: 56px 0; min-height: 40vh; }
.page-title {
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  text-transform: lowercase;
  margin-bottom: 20px;
}
.page-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--night);
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,248,240,0.12);
  margin-bottom: 20px;
}
.footer-brand p {
  color: rgba(255,248,240,0.6);
  font-size: 13px;
  margin-top: 10px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-heading {
  color: rgba(255,248,240,0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  margin-bottom: 2px;
}
.footer-links a {
  color: rgba(255,248,240,0.75);
  font-size: 13px;
}
.footer-links a:hover { color: var(--sun); }
.footer-disclaimer {
  color: rgba(255,248,240,0.45);
  font-size: 12px;
  line-height: 1.6;
  max-width: 640px;
}
.footer-copyright {
  color: rgba(255,248,240,0.35);
  font-size: 12px;
  margin-top: 0;
  text-align: center;
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-art { width: 280px; height: 280px; opacity: 0.35; }
  .hero-title { line-height: 1.1; }
  .hero-stats { display: none; }
  .hero-divider { margin-top: 20px; margin-bottom: 4px; }
  .category-icon { width: 50px; height: 50px; font-size: 19px; }
  .hero { padding: 24px 0 16px; }
  .categories { padding: 12px 0; }
  .finder { padding: 16px 0 16px; }
  .finder-row { padding: 12px 18px; }
  .finder-submit { padding: 14px 24px; min-height: 46px; }
}
