/* FRESH-CO Cocktails - Versión Minimalista (2 Tonos: Negro / Azul Marca + Montserrat) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700;1,900&display=swap');

:root {
  --color-bg-deep: #06080C;
  --color-bg-surface: #0B0E14;
  --color-card: #0D111A;
  --color-card-border: rgba(0, 163, 255, 0.25);
  --color-brand-blue: #00A3FF;
  --color-brand-cyan: #00D2FF;
  --color-brand-blue-hover: #33B5FF;
  --color-white: #FFFFFF;
  --color-gray-subtle: #8892B0;
  --color-gray-border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-bg-deep);
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(0, 163, 255, 0.12) 0%, transparent 60%),
    url('assets/brand_assets/freshco_blue_smoke_bg.webp');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Tipografía Oficial: Montserrat 100% */
.font-sans, .font-body {
  font-family: 'Montserrat', sans-serif;
}

.font-ethnocentric, .font-display {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.font-tag {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 600;
}

/* 2-Tone Color Classes (Azul Eléctrico & Negro) */
.bg-deep { background-color: var(--color-bg-deep); }
.bg-surface { background-color: var(--color-bg-surface); }
.bg-card { background-color: var(--color-card); }
.bg-brand-blue { background-color: var(--color-brand-blue); }
.bg-brand-blue-soft { background-color: rgba(0, 163, 255, 0.12); }

.text-brand-blue { color: var(--color-brand-blue); }
.text-brand-cyan { color: var(--color-brand-cyan); }
.text-muted { color: var(--color-gray-subtle); }

.border-brand-blue { border-color: var(--color-brand-blue); }
.border-card { border-color: var(--color-card-border); }

/* Glow Effects */
.glow-blue {
  text-shadow: 0 0 20px rgba(0, 163, 255, 0.65), 0 0 40px rgba(0, 163, 255, 0.35);
}

.box-glow-blue {
  box-shadow: 0 0 25px rgba(0, 163, 255, 0.3);
}

.box-glow-subtle {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 1px rgba(0, 163, 255, 0.3);
}

/* Animations */
@keyframes softFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.animate-soft-float {
  animation: softFloat 4.2s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #06080C;
}
::-webkit-scrollbar-thumb {
  background: #1A2230;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-blue);
}

/* Hide scrollbar for mini cans row */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Toast Notification */
#express-toast {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* ========================================== */
/* CAROUSEL MINIMALISTA - MINI TARRITOS       */
/* ========================================== */
.carousel-track {
  overflow-x: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  will-change: scroll-position;
}

.carousel-track:active {
  cursor: grabbing;
}

.thumb-can-btn {
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 163, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-arrow-btn:hover {
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.7);
}

/* ========================================== */
/* GAMIFICACIÓN: TERMÓMETRO DE FRÍO FRESH-CO */
/* ========================================== */
@keyframes coldShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

.animate-cold-shimmer {
  animation: coldShimmer 2.2s infinite linear;
}

@keyframes coldShimmerVertical {
  0% { transform: translateY(120%); }
  100% { transform: translateY(-120%); }
}

.animate-cold-shimmer-vertical {
  animation: coldShimmerVertical 2.2s infinite linear;
}

@keyframes icePulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.3), 0 0 30px rgba(0, 210, 255, 0.15);
  }
  50% {
    box-shadow: 0 0 28px rgba(0, 163, 255, 0.7), 0 0 50px rgba(0, 210, 255, 0.4);
  }
}

.box-ice-pulse {
  animation: icePulse 2.8s infinite ease-in-out;
}

@keyframes celebrationFlash {
  0% { transform: scale(1); filter: brightness(1); }
  40% { transform: scale(1.025); filter: brightness(1.25); box-shadow: 0 0 45px rgba(0, 163, 255, 0.95); }
  100% { transform: scale(1); filter: brightness(1); }
}

.celebration-pop {
  animation: celebrationFlash 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================== */
/* ANIMACIÓN: VUELO Y CAÍDA DE LATA A BANDEJA */
/* ========================================== */
.flying-can-clone {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.6s ease-in, filter 0.6s ease;
  will-change: transform, opacity;
}

@keyframes trayItemLand {
  0% {
    transform: scale(0.65) translateY(-20px);
    opacity: 0;
    box-shadow: 0 0 30px #00A3FF;
  }
  60% {
    transform: scale(1.06) translateY(0);
    opacity: 1;
    box-shadow: 0 0 25px #00A3FF, 0 0 45px rgba(0, 210, 255, 0.6);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.2);
  }
}

.tray-item-land {
  animation: trayItemLand 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes trayHighlight {
  0% {
    border-color: rgba(0, 163, 255, 0.9);
    box-shadow: 0 0 35px rgba(0, 163, 255, 0.6);
  }
  50% {
    border-color: #00D2FF;
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.8);
  }
  100% {
    border-color: rgba(0, 163, 255, 0.35);
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.3);
  }
}

.tray-flash {
  animation: trayHighlight 0.8s ease-out;
}

@keyframes attentionPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 163, 255, 0);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 20px 4px rgba(0, 163, 255, 0.4);
  }
}

.attention-pulse {
  animation: attentionPulse 1.2s ease-in-out 2;
}

/* ========================================== */
/* NEVERA DE ICOPOR / HIELERA FLOTANTE        */
/* ========================================== */
#floating-hielera-btn #cooler-lid-group {
  transform-origin: 20px 26px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#floating-hielera-btn:hover #cooler-lid-group,
#floating-hielera-btn.tray-flash #cooler-lid-group {
  transform: translateY(-5px) rotate(-12deg);
}

@keyframes coolerCatchBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.16) rotate(-4deg); filter: drop-shadow(0 0 28px #00D2FF); }
  65% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

#floating-hielera-btn.tray-flash {
  animation: coolerCatchBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
