/* TripCraft design tokens — mirrored in wwwroot/css for static hosting */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..700&display=swap');

:root {
  --tc-navy-950: #0a1628;
  --tc-navy-900: #0f2744;
  --tc-navy-800: #153a5c;
  --tc-cream-50: #ffffff;
  --tc-cream-100: #f5fbff;
  --tc-cream-200: #e0f2fe;
  --tc-sand-300: #d4c4a8;
  --tc-coral-500: #ff2d7d;
  --tc-coral-400: #ff6aa3;
  --tc-gold-500: #ff8a00;
  --tc-gold-400: #ffc12a;
  --tc-teal-500: #2dd4bf;
  --tc-teal-600: #00c2b8;
  --tc-aqua-400: #00d4ff;
  --tc-electric-500: #1f6bff;
  --tc-electric-400: #55a3ff;
  --tc-mango-500: #ff6b00;
  --tc-white: #ffffff;
  --tc-ink: #0c1222;
  --tc-muted: #4b5563;
  --tc-font-sans: "DM Sans", system-ui, sans-serif;
  --tc-font-display: "Fraunces", Georgia, serif;
  --tc-radius-sm: 10px;
  --tc-radius-md: 16px;
  --tc-radius-lg: 24px;
  --tc-radius-xl: 32px;
  --tc-shadow-sm: 0 4px 20px rgba(10, 22, 40, 0.06);
  --tc-shadow-md: 0 12px 40px rgba(10, 22, 40, 0.1);
  --tc-shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.14);
  --tc-section-max: 1200px;
  --tc-space-1: 0.25rem;
  --tc-space-2: 0.5rem;
  --tc-space-3: 0.75rem;
  --tc-space-4: 1rem;
  --tc-space-5: 1.25rem;
  --tc-space-6: 1.5rem;
  --tc-space-8: 2rem;
  --tc-space-10: 2.5rem;
  --tc-space-12: 3rem;
  --tc-space-16: 4rem;
  --tc-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.tc-body {
  margin: 0;
  font-family: var(--tc-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tc-ink);
  background:
    radial-gradient(1000px circle at 12% 0%, rgba(31, 107, 255, 0.10), transparent 55%),
    radial-gradient(800px circle at 88% 10%, rgba(255, 45, 125, 0.10), transparent 50%),
    linear-gradient(180deg, var(--tc-cream-50) 0%, var(--tc-cream-100) 45%, var(--tc-cream-50) 100%);
  min-height: 100vh;
}

.tc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tc-main {
  flex: 1;
}

.tc-h1 {
  font-family: var(--tc-font-display);
  font-weight: 650;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--tc-space-4);
  color: var(--tc-navy-950);
}

.tc-h2 {
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 var(--tc-space-3);
  color: var(--tc-navy-900);
}

.tc-lead {
  font-size: 1.125rem;
  color: var(--tc-muted);
  max-width: 38rem;
  margin: 0;
}

.tc-section {
  padding: var(--tc-space-12) var(--tc-space-4);
}

.tc-section--tight {
  padding: var(--tc-space-8) var(--tc-space-4);
}

.tc-wrap {
  max-width: var(--tc-section-max);
  margin: 0 auto;
  width: 100%;
}

/* Home hero: global layout so 2-column grid + TripCard width are not dropped by CSS isolation */
.tc-wrap.tc-live-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 20px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(420px, 520px);
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.tc-live-hero__left {
  text-align: left;
  justify-self: end;
  max-width: 560px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.tc-live-hero__right {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  justify-self: start;
  display: block;
  padding: 0;
  box-sizing: border-box;
}

.tc-hero-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  margin: 0;
}

.tc-hero-stack .tc-tcard {
  width: 360px;
  max-width: none;
}

.tc-hero-stack__item {
  position: absolute;
  width: 360px;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.tc-hero-stack__item--1 {
  --tc-hero-rot: 2deg;
  top: 0;
  left: 36px;
  transform: rotate(var(--tc-hero-rot));
  z-index: 3;
}

.tc-hero-stack__item--2 {
  --tc-hero-rot: -4deg;
  top: 126px;
  left: 6px;
  transform: rotate(var(--tc-hero-rot));
  z-index: 2;
}

.tc-hero-stack__item--3 {
  --tc-hero-rot: 3deg;
  top: 236px;
  left: 52px;
  transform: rotate(var(--tc-hero-rot));
  z-index: 1;
}

@media (max-width: 900px) {
  .tc-wrap.tc-live-hero__inner {
    max-width: var(--tc-section-max);
    padding: 30px 22px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tc-live-hero__right {
    justify-self: center;
    max-width: 380px;
    min-height: 420px;
  }

  .tc-hero-stack {
    max-width: 380px;
    height: 420px;
  }

  .tc-hero-stack .tc-tcard,
  .tc-hero-stack__item {
    width: 320px;
  }

  .tc-hero-stack__item--1 {
    top: 0;
    left: 44px;
  }

  .tc-hero-stack__item--2 {
    top: 118px;
    left: 8px;
  }

  .tc-hero-stack__item--3 {
    top: 214px;
    left: 56px;
  }
}

@media (max-width: 680px) {
  .tc-wrap.tc-live-hero__inner {
    padding: 28px 20px;
  }

  .tc-live-hero__left {
    justify-self: start;
  }

  .tc-live-hero__right {
    max-width: 334px;
    min-height: 360px;
  }

  .tc-hero-stack {
    max-width: 334px;
    height: 360px;
  }

  .tc-hero-stack .tc-tcard,
  .tc-hero-stack__item {
    width: 284px;
  }

  .tc-hero-stack__item--1 {
    top: 0;
    left: 34px;
  }

  .tc-hero-stack__item--2 {
    top: 98px;
    left: 2px;
  }

  .tc-hero-stack__item--3 {
    top: 176px;
    left: 44px;
  }
}

.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tc-space-2);
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--tc-transition), box-shadow var(--tc-transition), background var(--tc-transition);
  font-family: inherit;
}

.tc-btn:active {
  transform: scale(0.98);
}

.tc-btn--primary {
  background: linear-gradient(135deg, var(--tc-electric-500) 0%, var(--tc-teal-600) 55%, var(--tc-coral-500) 100%);
  color: var(--tc-white);
  box-shadow: 0 14px 44px rgba(31, 107, 255, 0.32);
}

.tc-btn--primary:hover {
  box-shadow: 0 22px 66px rgba(31, 107, 255, 0.40);
  transform: translateY(-2px);
}

.tc-btn--coral {
  background: linear-gradient(135deg, var(--tc-coral-500) 0%, var(--tc-mango-500) 100%);
  color: var(--tc-white);
  box-shadow: 0 16px 48px rgba(255, 45, 125, 0.30);
}

.tc-btn--coral:hover {
  box-shadow: 0 26px 80px rgba(255, 45, 125, 0.36);
  transform: translateY(-2px);
}

.tc-btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  color: var(--tc-white);
  border: 1px solid rgba(59, 130, 246, 0.35);
  backdrop-filter: blur(8px);
}

.tc-btn--ghost-dark {
  background: var(--tc-white);
  color: var(--tc-navy-900);
  border: 1px solid var(--tc-cream-200);
}

.tc-btn--ghost-dark:hover {
  border-color: var(--tc-teal-500);
  color: var(--tc-navy-950);
}

.tc-btn--outline {
  background: transparent;
  color: var(--tc-electric-500);
  border: 1.5px solid rgba(37, 99, 235, 0.45);
}

.tc-btn--outline:hover {
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.tc-btn--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.tc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(31, 107, 255, 0.14);
  color: #053c9a;
  border: 1px solid rgba(31, 107, 255, 0.24);
}

.tc-chip--teal {
  background: rgba(0, 194, 184, 0.18);
  color: #036b65;
  border: 1px solid rgba(0, 194, 184, 0.30);
}

.tc-chip--coral {
  background: rgba(255, 45, 125, 0.16);
  color: #9f0f47;
  border: 1px solid rgba(255, 45, 125, 0.30);
}

.tc-chip--gold {
  background: rgba(255, 138, 0, 0.18);
  color: #8a3f00;
  border: 1px solid rgba(255, 138, 0, 0.30);
}

.tc-card {
  background: var(--tc-white);
  border-radius: var(--tc-radius-md);
  box-shadow: var(--tc-shadow-sm);
  overflow: hidden;
  transition: transform var(--tc-transition), box-shadow var(--tc-transition);
  border: 1px solid rgba(37, 99, 235, 0.10);
}

.tc-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 56px rgba(37, 99, 235, 0.14),
    0 12px 36px rgba(20, 184, 166, 0.10);
}

.tc-card__media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tc-card__body {
  padding: var(--tc-space-5);
}

.tc-skeleton {
  background: linear-gradient(90deg, var(--tc-cream-200) 25%, var(--tc-cream-100) 50%, var(--tc-cream-200) 75%);
  background-size: 200% 100%;
  animation: tc-shimmer 1.2s infinite;
  border-radius: var(--tc-radius-sm);
}

@keyframes tc-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.tc-toast-host {
  position: fixed;
  bottom: var(--tc-space-6);
  right: var(--tc-space-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-2);
  pointer-events: none;
}

.tc-toast {
  pointer-events: auto;
  background: linear-gradient(135deg, rgba(31, 107, 255, 0.98) 0%, rgba(0, 194, 184, 0.98) 55%, rgba(255, 45, 125, 0.98) 100%);
  color: var(--tc-white);
  padding: var(--tc-space-4) var(--tc-space-5);
  border-radius: var(--tc-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 90px rgba(31, 107, 255, 0.26);
  max-width: 320px;
  animation: tc-toast-in 0.35s ease;
}

@keyframes tc-toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.tc-toast__title {
  font-weight: 700;
  font-size: 0.95rem;
}

.tc-toast__msg {
  font-size: 0.85rem;
  opacity: 0.88;
  margin-top: var(--tc-space-1);
}

@media (max-width: 768px) {
  .tc-toast-host {
    left: var(--tc-space-4);
    right: var(--tc-space-4);
  }
}
