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

:root {
  --bg-main: #050609;
  --bg-card: rgba(16, 19, 29, 0.58);
  --bg-card-solid: #0d1018;
  --bg-input: rgba(18, 22, 34, 0.72);
  --gold-primary: #e5c158;
  --gold-glow: #f59e0b;
  --gold-gradient: linear-gradient(135deg, #fff1b8 0%, #e5c158 45%, #b38018 100%);
  --gold-metal: linear-gradient(90deg, #b8860b 0%, #ffe678 50%, #b8860b 100%);
  --chrome-gradient: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(185,198,218,0.8) 50%, rgba(255,255,255,0.95) 100%);
  --cyan-neon: #00f0ff;
  --red-neon: #ff3366;
  --border-subtle: rgba(255, 255, 255, 0.13);
  --border-glow: rgba(229, 193, 88, 0.65);
  --font-display: 'Unbounded', 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-tech: 'Space Grotesk', monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  background-color: var(--bg-main);
  color: #f8fafc;
  font-family: var(--font-body);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Fondo Urbano con Orbes Líquidos Refractivos (Liquid Chrome, Gold & Cyan) */
body::before,
body::after {
  content: '';
  position: fixed;
  width: 62vw;
  height: 62vw;
  max-width: 680px;
  max-height: 680px;
  border-radius: 50%;
  filter: blur(115px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.36;
  animation: liquid-orb-drift 18s ease-in-out infinite alternate;
}

body::before {
  top: -15%;
  left: -12%;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.35) 0%, rgba(0, 240, 255, 0.16) 55%, transparent 75%);
}

body::after {
  bottom: -18%;
  right: -12%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.28) 0%, rgba(168, 85, 247, 0.14) 55%, transparent 75%);
  animation-delay: -9s;
}

@keyframes liquid-orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.12); }
  100% { transform: translate(-3%, -4%) scale(0.95); }
}

/* Tipografía Urbana de Alto Impacto */
.font-display { font-family: var(--font-display); letter-spacing: -0.02em; }
.font-tech { font-family: var(--font-tech); }

/* Textos Metálicos y Liquid Chrome */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-metal {
  background: var(--gold-metal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-liquid-chrome {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 48%, #94a3b8 52%, #f8fafc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-gold {
  box-shadow: 0 0 30px rgba(229, 193, 88, 0.25);
}

.glow-gold-lg {
  box-shadow: 0 0 55px rgba(229, 193, 88, 0.45);
}

.glow-cyan {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.35);
}

/* ==========================================================================
   SISTEMA LIQUID GLASS URBANO (Refracción, Borde Especular y Profundidad)
   ========================================================================== */
.urban-card,
.liquid-glass {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.085) 0%,
    rgba(19, 23, 35, 0.68) 42%,
    rgba(9, 11, 18, 0.84) 100%
  );
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.26),
    inset 0 -1px 1px rgba(229, 193, 88, 0.12);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}

.urban-card:hover,
.liquid-glass:hover {
  border-color: rgba(229, 193, 88, 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 28px rgba(229, 193, 88, 0.16),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.38);
}

/* Cápsula Flotante Liquid Dock (Menú Superior e Inferior) */
.liquid-dock {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(15, 18, 28, 0.76) 55%,
    rgba(10, 12, 20, 0.88) 100%
  );
  backdrop-filter: blur(36px) saturate(210%);
  -webkit-backdrop-filter: blur(36px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.32),
    0 0 25px rgba(0, 240, 255, 0.08);
  border-radius: 9999px;
}

/* Píldora de Navegación Activa en Liquid Dock */
.liquid-pill-active {
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.95) 0%, rgba(255, 232, 145, 0.98) 50%, rgba(190, 140, 28, 0.95) 100%);
  color: #06070a !important;
  font-weight: 800;
  box-shadow:
    0 6px 22px rgba(229, 193, 88, 0.42),
    inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

.liquid-pill-inactive {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.liquid-pill-inactive:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Efecto 3D Tilt y Destello Holográfico */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.15s ease-out;
}

.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
}

.tilt-card:hover .card-glare {
  opacity: 1;
}

/* Rejilla Urbana Sutil */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Botones Liquid Gold & Liquid Glass */
.btn-gold {
  background: var(--gold-gradient);
  color: #06070a;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  box-shadow:
    0 8px 28px rgba(229, 193, 88, 0.38),
    inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 14px 36px rgba(229, 193, 88, 0.58),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  filter: brightness(1.06);
}

.btn-gold:active {
  transform: translateY(0) scale(0.98);
}

.btn-dark {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 13px 24px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all 0.24s ease;
  cursor: pointer;
  font-weight: 700;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.btn-dark:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: var(--gold-primary);
  color: #ffe678;
  transform: translateY(-2px);
}

/* Tag / Badge Street Liquid */
.tag-street {
  font-family: var(--font-tech);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 9999px;
  border: 1px solid currentColor;
  backdrop-filter: blur(12px);
}

/* Animación de Pulso */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.22);
  }
}

.pulse-dot {
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Marquee Infinito */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  user-select: none;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  animation: marquee 28s linear infinite;
}

.marquee-content-reverse {
  display: flex;
  flex-shrink: 0;
  animation: marquee-reverse 32s linear infinite;
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #050609;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}
