/* 
   SAKAZA WORLD REDESIGN - STYLE SHEET
   Incorporating design principles from:
   - Gimi Michi (Authentic Bold Typography & Cultural Vibes)
   - Drink Bubz (Vibrant Colors & Dynamic Floating Elements)
   - Zyro India (Dark Mode Premium Aesthetics & Neon Glows)
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Syne:wght@700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  /* Fonts */
  --font-display: 'Syne', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Colors */
  --color-bg: #070708;
  --color-bg-light: #121215;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0ab;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  
  /* Flavor Accents (Dynamic) */
  --flavor-thai: #ff2d55;        /* Thai Fire Blaze */
  --flavor-curry: #ffb300;       /* Malaysian Curry */
  --flavor-singapore: #00e676;   /* Singapore Street Style */
  --flavor-tequila: #ff6d00;     /* Spicy Tequila Sauce */
  --flavor-gin: #00b0ff;         /* Wasabi Gin Sauce */
  
  /* Active Dynamic Flavor Background (controlled by JS) */
  --active-flavor-color: #ff2d55;
  --active-flavor-glow: rgba(255, 45, 85, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Heights */
  --header-height: 80px;
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Hide default cursor for custom cursor */
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-secondary);
}

/* Hide scrollbar when cursor: none isn't active on mobile */
@media (max-width: 1024px) {
  * {
    cursor: auto !important;
  }
  .custom-cursor {
    display: none !important;
  }
}

/* --- CUSTOM CURSOR --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Cursor States on Hover */
body.hover-link .custom-cursor {
  width: 12px;
  height: 12px;
  background-color: var(--active-flavor-color);
}
body.hover-link .custom-cursor-follower {
  width: 60px;
  height: 60px;
  border-color: var(--active-flavor-color);
  background-color: rgba(255, 255, 255, 0.03);
}

body.hover-btn .custom-cursor {
  width: 0;
  height: 0;
}
body.hover-btn .custom-cursor-follower {
  width: 70px;
  height: 70px;
  border-color: var(--active-flavor-color);
  background-color: var(--active-flavor-color);
  opacity: 0.15;
}

/* --- DYNAMIC BACKGROUND GLOWS --- */
.bg-glow-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  transition: background-color var(--transition-slow);
  background-color: var(--color-bg);
}

.bg-radial-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vmax;
  height: 80vmax;
  background: radial-gradient(circle, var(--active-flavor-glow) 0%, rgba(7, 7, 8, 0) 70%);
  z-index: -1;
  pointer-events: none;
  transition: background var(--transition-slow);
}

.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* --- PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.preloader.loaded {
  transform: translateY(-100%);
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -2px;
  position: relative;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.preloader-logo::before {
  content: 'SAKAZA';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  color: var(--flavor-thai);
  -webkit-text-stroke: 0px transparent;
  animation: preloader-fill 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-bar-container {
  width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 2rem;
  overflow: hidden;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background-color: var(--flavor-thai);
  transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 1rem;
  color: var(--color-text-secondary);
  opacity: 0;
  animation: fade-in-up 0.5s ease 0.5s forwards;
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  transition: background-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(7, 7, 8, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span {
  color: var(--active-flavor-color);
  transition: color var(--transition-smooth);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--active-flavor-color);
  transition: width var(--transition-fast), background-color var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  position: relative;
  font-size: 1.3rem;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--active-flavor-color);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-smooth), transform var(--transition-fast);
}

.cart-count.bounce {
  transform: scale(1.3);
}

.cta-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  background-color: var(--color-text-primary);
  border: 1px solid var(--color-text-primary);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.cta-btn:hover {
  transform: scale(1.05);
  background-color: transparent;
  color: var(--color-text-primary);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--header-height) 6% 4% 6%;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--active-flavor-color);
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: color var(--transition-smooth), border var(--transition-smooth);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -3px;
  margin-bottom: 2rem;
}

.hero-title .text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
  transition: -webkit-text-stroke var(--transition-smooth);
}

.hero-title span {
  display: block;
}

.hero-title .highlight {
  color: var(--active-flavor-color);
  text-shadow: 0 0 40px var(--active-flavor-glow);
  transition: color var(--transition-smooth), text-shadow var(--transition-smooth);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin-bottom: 3rem;
  font-family: var(--font-body);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.primary-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #000;
  background-color: var(--active-flavor-color);
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 30px var(--active-flavor-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-smooth);
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--active-flavor-glow);
}

.primary-btn i {
  transition: transform var(--transition-fast);
}

.primary-btn:hover i {
  transform: translateX(4px);
}

.secondary-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-primary);
  background-color: transparent;
  border: 1px solid var(--color-border);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.secondary-btn:hover {
  border-color: var(--color-text-primary);
  background-color: rgba(255, 255, 255, 0.04);
}

/* Visual Mockup for Floating Hero Object */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.hero-circle-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--active-flavor-glow) 0%, rgba(0,0,0,0) 70%);
  filter: blur(20px);
  z-index: 1;
  transition: background var(--transition-smooth);
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

.hero-product-image {
  position: relative;
  z-index: 2;
  width: 320px;
  height: auto;
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8));
  animation: float-slow 6s ease-in-out infinite;
}

.hero-splash {
  position: absolute;
  z-index: 1;
  width: 450px;
  opacity: 0.6;
  pointer-events: none;
  animation: spin-slow 20s linear infinite;
  filter: hue-rotate(calc(var(--active-flavor-color)));
}

/* --- MARQUEE TICKER --- */
.ticker-container {
  overflow: hidden;
  background-color: #0d0d0f;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
  position: relative;
  z-index: 10;
  display: flex;
  transform: rotate(-1.5deg) scale(1.02);
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ticker-wrap {
  display: flex;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-primary);
  animation: ticker-slide 20s linear infinite;
}

.ticker-item span.accent {
  color: var(--active-flavor-color);
  transition: color var(--transition-smooth);
}

.ticker-item i {
  font-size: 1.2rem;
  color: var(--active-flavor-color);
  transition: color var(--transition-smooth);
}

/* --- DYNAMIC PRODUCTS SHOWCASE (SCROLL SYNCED) --- */
.products-section {
  position: relative;
  padding: 100px 0;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px auto;
  padding: 0 4%;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--active-flavor-color);
  margin-bottom: 1rem;
  transition: color var(--transition-smooth);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1.5px;
}

/* Scroll Sync Section Containers */
.showcase-container {
  display: flex;
  flex-direction: column;
  gap: 180px;
  padding: 0 6%;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  min-height: 80vh;
  position: relative;
}

.product-row:nth-child(even) {
  direction: rtl;
}

.product-row:nth-child(even) .product-info {
  direction: ltr;
}

.product-visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
  min-height: 500px;
}

.product-card-3d {
  width: 100%;
  max-width: 440px;
  height: 540px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transform-style: preserve-3d;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  backdrop-filter: blur(10px);
}

.product-card-3d:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Floating elements within 3D card */
.card-glow-bg {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  opacity: 0.2;
  transition: background-color var(--transition-smooth);
}

.card-product-img {
  width: 240px;
  height: auto;
  z-index: 2;
  transform: translateZ(50px);
  transition: transform 0.1s ease;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
}

.card-floating-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-primary);
  transform: translateZ(30px);
}

.card-ingredient-tags {
  display: flex;
  gap: 8px;
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  justify-content: center;
  transform: translateZ(40px);
}

.ingredient-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* Product Info columns */
.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-flavor-indicator {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.product-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

/* Detailed specifications list */
.product-specs {
  list-style: none;
  margin-bottom: 2.5rem;
}

.product-specs li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: var(--color-text-primary);
}

.product-specs li i {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Buy section within Row */
.product-buy-block {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.product-price span {
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.btn-add-to-cart {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  background-color: var(--color-text-primary);
  border: 1px solid var(--color-text-primary);
  padding: 16px 36px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-add-to-cart:hover {
  transform: translateY(-2px);
  background-color: transparent;
  border-color: var(--color-text-primary);
  color: var(--color-text-primary);
}

/* Flavor Row specific accent bindings (overwritten in CSS/JS) */
.row-thai .product-flavor-indicator { color: var(--flavor-thai); }
.row-thai .card-glow-bg { background-color: var(--flavor-thai); }
.row-thai .btn-add-to-cart:hover { box-shadow: 0 8px 25px rgba(255, 45, 85, 0.3); }

.row-curry .product-flavor-indicator { color: var(--flavor-curry); }
.row-curry .card-glow-bg { background-color: var(--flavor-curry); }
.row-curry .btn-add-to-cart:hover { box-shadow: 0 8px 25px rgba(255, 179, 0, 0.3); }

.row-singapore .product-flavor-indicator { color: var(--flavor-singapore); }
.row-singapore .card-glow-bg { background-color: var(--flavor-singapore); }
.row-singapore .btn-add-to-cart:hover { box-shadow: 0 8px 25px rgba(0, 230, 118, 0.3); }

.row-tequila .product-flavor-indicator { color: var(--flavor-tequila); }
.row-tequila .card-glow-bg { background-color: var(--flavor-tequila); }
.row-tequila .btn-add-to-cart:hover { box-shadow: 0 8px 25px rgba(255, 109, 0, 0.3); }

.row-gin .product-flavor-indicator { color: var(--flavor-gin); }
.row-gin .card-glow-bg { background-color: var(--flavor-gin); }
.row-gin .btn-add-to-cart:hover { box-shadow: 0 8px 25px rgba(0, 176, 255, 0.3); }


/* --- THE FLAVOR FUSION MIXER WIDGET --- */
.mixer-section {
  position: relative;
  padding: 120px 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(7,7,8,0) 0%, rgba(18,18,21,0.5) 100%);
  border-top: 1px solid var(--color-border);
}

.mixer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.mixer-info {
  display: flex;
  flex-direction: column;
}

.mixer-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.mixer-title span {
  color: var(--active-flavor-color);
  transition: color var(--transition-smooth);
}

.mixer-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

/* Mixer widget interface card */
.mixer-widget {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.mixer-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.01) 0%, rgba(0,0,0,0) 75%);
  pointer-events: none;
}

/* Selector Grids */
.mixer-selector-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mixer-selector-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-secondary);
}

.mixer-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mixer-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mixer-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

.mixer-option.selected {
  color: #000000;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Specific selections custom colors */
.mixer-option.selected[data-value="thai"] { background-color: var(--flavor-thai); }
.mixer-option.selected[data-value="curry"] { background-color: var(--flavor-curry); }
.mixer-option.selected[data-value="singapore"] { background-color: var(--flavor-singapore); }
.mixer-option.selected[data-value="tequila"] { background-color: var(--flavor-tequila); }
.mixer-option.selected[data-value="gin"] { background-color: var(--flavor-gin); }

.mixer-options-grid.sauces-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Fusion results display box */
.mixer-result-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed var(--color-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}

.mixer-result-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 0.8rem;
}

.mixer-result-description {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  max-width: 420px;
  margin-bottom: 1.5rem;
}

/* Heat and rating meters */
.mixer-meters {
  display: flex;
  gap: 2rem;
  width: 100%;
  justify-content: center;
}

.mixer-meter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mixer-meter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.mixer-meter-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--active-flavor-color);
  transition: color var(--transition-smooth);
}

/* --- PREMIUM GIFT BOX SECTION --- */
.gifting-section {
  padding: 100px 0;
  background-color: #0c0c0e;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 10;
}

.gifting-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.gift-showcase-box {
  position: relative;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, rgba(0,0,0,0) 80%);
  border-radius: 40px;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-border);
  min-height: 480px;
}

.gift-box-image {
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  animation: float-slow 8s ease-in-out infinite alternate;
}

.gifting-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.gifting-info p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
}

.gifting-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 3rem;
}

.gifting-feat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
}

.gifting-feat-card i {
  font-size: 1.4rem;
  color: var(--active-flavor-color);
  margin-bottom: 0.8rem;
  transition: color var(--transition-smooth);
}

.gifting-feat-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gifting-feat-card p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--color-text-secondary);
}

.gift-buy-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* --- SLIDE-OUT CART DRAWER --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background-color: rgba(12, 12, 14, 0.92);
  border-left: 1px solid var(--color-border);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(25px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 30px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-items-wrapper {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual cart item */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.cart-item-img-box {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.cart-item-img {
  max-width: 100%;
  height: auto;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--active-flavor-color);
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.cart-qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-border-hover);
}

.cart-qty-val {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 5px;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: #ff3b30;
}

.cart-footer {
  padding: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-label {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}

.cart-total-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.checkout-btn {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  background-color: var(--active-flavor-color);
  border: none;
  padding: 18px;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition-fast), background-color var(--transition-smooth);
}

.checkout-btn:hover {
  transform: translateY(-2px);
}

/* Empty cart state */
.empty-cart-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-secondary);
  gap: 15px;
}

.empty-cart-state i {
  font-size: 3rem;
  opacity: 0.4;
}

/* Drawer overlay backdrop */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- FOOTER --- */
footer {
  background-color: #050506;
  border-top: 1px solid var(--color-border);
  padding: 80px 6% 40px 6%;
  position: relative;
  z-index: 10;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--active-flavor-color);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--active-flavor-color);
}

.footer-col.newsletter p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.subscribe-form {
  display: flex;
  position: relative;
  max-width: 320px;
}

.subscribe-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 16px 60px 16px 24px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.subscribe-input:focus {
  border-color: var(--color-text-secondary);
}

.subscribe-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--active-flavor-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-smooth);
}

.subscribe-btn:hover {
  transform: scale(1.05);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-text-primary);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes preloader-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Flying particle animation for adding to cart */
.flying-particle {
  position: fixed;
  z-index: 9999;
  width: 15px;
  height: 15px;
  background-color: var(--active-flavor-color);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px var(--active-flavor-glow);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    height: 400px;
  }
  .product-row {
    grid-template-columns: 1fr;
    gap: 4rem;
    min-height: auto;
    text-align: center;
  }
  .product-row:nth-child(even) {
    direction: ltr;
  }
  .product-info {
    align-items: center;
  }
  .product-buy-block {
    justify-content: center;
    width: 100%;
  }
  .mixer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .gifting-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .gifting-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gift-buy-row {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 767px) {
  header {
    padding: 0 6%;
  }
  .nav-links {
    display: none; /* Hide standard links on mobile */
  }
  .hero-title {
    font-size: 3rem;
    letter-spacing: -2px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .primary-btn, .secondary-btn {
    width: 100%;
    justify-content: center;
  }
  .product-card-3d {
    height: 460px;
    padding: 20px;
  }
  .card-product-img {
    width: 180px;
  }
  .mixer-widget {
    padding: 20px;
  }
  .mixer-options-grid {
    grid-template-columns: 1fr;
  }
  .mixer-options-grid.sauces-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
