/* ═══════════════════════════════════════════
   SPAWN — Portal v4 "Proper"
   Reservation-first hierarchy
   Palette: Gold #d4a047 · Cyan #00e5ff
   ═══════════════════════════════════════════ */

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #08080c;
  --surface: #141418;
  --surface-glass: rgba(20, 20, 28, 0.75);
  --text: #f5f5f5;
  --text-soft: #c8c8d4;
  --text-muted: #6e6e80;

  --gold: #e0aa4a;
  --gold-light: #f0cc70;
  --gold-dim: rgba(224, 170, 74, 0.18);
  --cyan: #00e5ff;
  --cyan-light: #6ef3ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);

  --ig: #e1306c;
  --tt: #ff0050;

  --radius: 16px;
  --radius-sm: 12px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   AMBIENT BACKGROUND
   ═══════════════════════════════════════════ */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.ambient__orb--gold {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -180px; left: -100px;
  opacity: 0.18;
  /* Static — removed infinite float animation to save GPU */
}

.ambient__orb--cyan {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  bottom: -120px; right: -80px;
  opacity: 0.12;
  /* Static — removed infinite float animation to save GPU */
}

/* subtle grid texture */
.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0,0,0,0.6) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0,0,0,0.6) 0%, transparent 100%);
}

@keyframes float {
  from { transform: translate(0, 0); }
  to   { transform: translate(30px, 20px); }
}

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════ */
.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.6s;
}

.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(20, 20, 28, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: all 0.25s ease;
}

.lang-switcher__toggle:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(30, 30, 40, 0.9);
}

.lang-switcher__chevron {
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.lang-switcher__toggle[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(20, 20, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 160px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);

  /* closed state */
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switcher__menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.lang-switcher__option span {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-switcher__option:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

.lang-switcher__option.active {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
}

/* ─── PORTAL CONTAINER ─── */
.portal {
  max-width: 440px;
  width: 100%;
  padding: 2.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

/* ─── SECTION ENTRANCE ─── */
.hero, .promo, .actions, .social, .footer {
  animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── LOGO ─── */
.hero__logo-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.hero__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 170, 74, 0.35) 0%,
    rgba(0, 229, 255, 0.2) 50%,
    transparent 80%
  );
  filter: blur(45px);
  animation: glowPulse 4s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.2); }
}

.hero__logo {
  width: 200px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 25px rgba(224, 170, 74, 0.25)) drop-shadow(0 4px 25px rgba(0, 229, 255, 0.15));
}

/* ─── BRAND TEXT ─── */
.hero__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: 0.2em;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff 35%, var(--cyan-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.hero__tagline {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════
   CTA — THE DOMINANT RESERVATION BUTTON
   ═══════════════════════════════════════════ */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;

  /* gradient background */
  background: linear-gradient(135deg, #00e5ff 0%, #00bcd4 40%, #0097a7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  box-shadow:
    0 0 35px rgba(0, 229, 255, 0.35),
    0 0 70px rgba(0, 229, 255, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 50px rgba(0, 229, 255, 0.45),
    0 0 90px rgba(0, 229, 255, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.6);
}

.cta:active {
  transform: translateY(0) scale(0.99);
}

/* shimmer sweep */
.cta__glow {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
  will-change: left;
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

.cta__text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.cta__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
}

.cta__arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cta:hover .cta__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ─── INFO PILLS ─── */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--text-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  background: rgba(20, 20, 28, 0.88);
  border: 1px solid rgba(255,255,255,0.10);
}

.pill svg { opacity: 0.7; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   PROMO
   ═══════════════════════════════════════════ */
.promo {
  width: 100%;
  position: relative;
  border-radius: var(--radius);
  padding: 2px; /* border thickness */
  background: conic-gradient(from var(--border-angle), var(--gold), var(--cyan), var(--gold));
  animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both, spinBorder 5s linear infinite;
}

@keyframes spinBorder {
  to { --border-angle: 360deg; }
}

.promo__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

/* inner ambient */
.promo__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(224, 170, 74, 0.15), transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(0, 229, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.promo__badge {
  font-size: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.promo__content {
  position: relative;
  z-index: 1;
}

.promo__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
}

.promo__copy {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.promo__copy strong {
  color: var(--gold);
  font-weight: 700;
}

.promo__fine {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  display: block;
}

/* ═══════════════════════════════════════════
   ACTION CARDS — compact 3-up row
   ═══════════════════════════════════════════ */
.actions {
  width: 100%;
}

.actions__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 20, 28, 0.88);
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
}

.action-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.action-card__icon svg {
  width: 22px; height: 22px;
}

.action-card:hover .action-card__icon {
  transform: scale(1.1);
}

.action-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}

/* accents */
[data-accent="cyan"] .action-card__icon {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
}
[data-accent="cyan"]:hover {
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.14);
}

[data-accent="gold"] .action-card__icon {
  background: rgba(224, 170, 74, 0.18);
  color: var(--gold);
}
[data-accent="gold"]:hover {
  box-shadow: 0 6px 28px rgba(224, 170, 74, 0.14);
}

[data-accent="neutral"] .action-card__icon {
  background: rgba(255,255,255,0.10);
  color: var(--text);
}
[data-accent="neutral"]:hover {
  box-shadow: 0 6px 28px rgba(255,255,255,0.07);
}

/* ═══════════════════════════════════════════
   SOCIAL
   ═══════════════════════════════════════════ */
.social {
  width: 100%;
  display: flex;
  gap: 0.55rem;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 20, 28, 0.88);
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.social-btn svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: var(--text);
}

[data-platform="ig"]:hover {
  border-color: rgba(225, 48, 108, 0.4);
  box-shadow: 0 4px 24px rgba(225, 48, 108, 0.15);
}
[data-platform="ig"]:hover svg { color: var(--ig); }

[data-platform="tt"]:hover {
  border-color: rgba(255, 0, 80, 0.35);
  box-shadow: 0 4px 24px rgba(255, 0, 80, 0.15);
}
[data-platform="tt"]:hover svg { color: var(--tt); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer__addr { opacity: 0.7; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero__title { font-size: 2.2rem; }
  .hero__logo { width: 140px; }
  .portal { padding: 1.5rem 1rem; }
  .cta { padding: 1rem 1.25rem; font-size: 0.9rem; }
  .actions__row { gap: 0.45rem; }
  .action-card { padding: 0.9rem 0.35rem; }
  .action-card__icon { width: 38px; height: 38px; }
}

@media (min-width: 768px) {
  .portal { padding-top: 5rem; }
  .hero__logo { width: 220px; }
  .hero__title { font-size: 3.2rem; }
}

/* ─── TOUCH ─── */
@media (hover: none) {
  .cta:active { transform: scale(0.98); }
  .action-card:active { transform: scale(0.97); }
  .social-btn:active { transform: scale(0.97); }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
