/* ============================================
   DASMASTERS — COMPUTER REPAIR SERVICE
   ============================================ */

:root {
  --deep-space-blue: #003049;
  --flag-red: #d62828;
  --vivid-tangerine: #f77f00;
  --sunflower-gold: #fcbf49;
  --vanilla-custard: #eae2b7;
  
  /* Semantic */
  --primary: var(--deep-space-blue);
  --primary-dark: #00243a;
  --primary-light: #004a6e;
  --accent: var(--vivid-tangerine);
  --accent-light: var(--sunflower-gold);
  --danger: var(--flag-red);
  
  /* Messengers */
  --telegram: #0088cc;
  --telegram-dark: #006699;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  
  /* MAX Messenger */
  --max: #5C6BC0;
  --max-dark: #3949AB;
  --shadow-max: 0 4px 14px rgba(92, 107, 192, 0.35);
  
  /* Neutral */
  --white: #FFFFFF;
  --cream: var(--vanilla-custard);
  --cream-light: #f5f1dc;
  --cream-dark: #d9d0a3;
  
  --gray-50: #faf9f6;
  --gray-100: #f5f3ed;
  --gray-200: #e8e4d9;
  --gray-300: #d4cfc0;
  --gray-400: #a8a08a;
  --gray-500: #7a7360;
  --gray-600: #5c5647;
  --gray-700: #3d3930;
  --gray-800: #262318;
  --gray-900: #1a1710;
  
  /* States */
  --success: #2a9d8f;
  --error: var(--flag-red);
  
  /* Backgrounds */
  --bg-main: #fdfbf5;
  --bg-section: var(--cream-light);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  
  /* Gradients */
  --gradient-sunset: linear-gradient(135deg, var(--flag-red) 0%, var(--vivid-tangerine) 50%, var(--sunflower-gold) 100%);
  --gradient-ocean: linear-gradient(135deg, var(--deep-space-blue) 0%, var(--primary-light) 100%);
  --gradient-warm: linear-gradient(135deg, var(--vivid-tangerine) 0%, var(--sunflower-gold) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 48, 73, 0.06);
  --shadow: 0 8px 30px rgba(0, 48, 73, 0.1);
  --shadow-md: 0 16px 40px rgba(0, 48, 73, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 48, 73, 0.16);
  --shadow-primary: 0 8px 30px rgba(0, 48, 73, 0.25);
  --shadow-accent: 0 8px 30px rgba(247, 127, 0, 0.3);
  --shadow-telegram: 0 8px 30px rgba(0, 136, 204, 0.3);
  --shadow-whatsapp: 0 8px 30px rgba(37, 211, 102, 0.3);
  
  /* Sizing */
  --container-max: 1140px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
  
  /* Animations */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.35s var(--ease-out);
  --transition-fast: all 0.2s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* ============================
   BUTTONS — BASE
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn i { font-size: 1.1em; }

/* Primary (Orange) */
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(247, 127, 0, 0.25);
}

.btn--primary:hover {
  background: var(--sunflower-gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(247, 127, 0, 0.35);
}

/* Secondary (Blue) */
.btn--secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 48, 73, 0.2);
}

.btn--secondary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 48, 73, 0.3);
}

/* Outline (White with border) */
.btn--outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  background: var(--cream-light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================
   CTA BUTTONS (Hero, Sections)
   ============================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.cta-btn i { font-size: 1.1em; }

/* Primary CTA (Orange with glow) */
.cta-btn--primary {
  background: var(--gradient-warm);
  color: var(--white);
  box-shadow: 
    0 8px 25px rgba(247, 127, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-btn--primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 35px rgba(247, 127, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Large CTA */
.cta-btn--large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Messenger CTAs */
.cta-btn--telegram {
  background: var(--telegram);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
}
.cta-btn--telegram:hover {
  background: var(--telegram-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.cta-btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-btn--max {
  background: var(--max);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(92, 107, 192, 0.3);
}
.cta-btn--max:hover {
  background: var(--max-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Secondary CTA (Blue) */
.cta-btn--secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 48, 73, 0.25);
}
.cta-btn--secondary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* White CTA */
.cta-btn--white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.cta-btn--white:hover {
  background: var(--cream-light);
  color: var(--accent);
  transform: translateY(-2px);
}

/* MAX Light CTA */
.cta-btn--max-light {
  background: var(--white);
  color: var(--max);
  box-shadow: var(--shadow);
}
.cta-btn--max-light:hover {
  background: var(--max);
  color: var(--white);
  transform: translateY(-2px);
}

/* Outline CTA */
.cta-btn--outline {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--cream-dark);
}
.cta-btn--outline:hover {
  background: var(--gray-100);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================
   FORM INPUTS
   ============================ */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--cream-dark);
  padding: 14px 20px;
  background: var(--white);
  color: var(--text-primary);
  transition: var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(247, 127, 0, 0.1);
}

/* Validation */
.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.12) !important;
}

.chips-group.is-invalid {
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(214, 40, 40, 0.5);
  background: rgba(214, 40, 40, 0.06);
}

.checkbox-label.is-invalid .checkbox-custom {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.12);
}

textarea {
  border-radius: var(--radius-lg);
  resize: vertical;
  min-height: 100px;
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

/* iOS Safari Fixes */
@supports (-webkit-touch-callout: none) {
  input, textarea, select, .btn, .cta-btn, .chip {
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: var(--radius-full);
    border-radius: var(--radius-full);
  }
  
  textarea {
    -webkit-border-radius: var(--radius-lg);
    border-radius: var(--radius-lg);
  }
  
  .cta-btn--primary, .btn--primary, .hero-request-btn {
    background: var(--accent);
  }
  
  /* Fix clipped shadows on iOS */
  .service-card, .modal, .promo-popup, .header-pill {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Fix gradient rendering */
  .hero-bg, .callback-cta, .services-cta-block {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

/* ============================
   LOADING SCREEN
   ============================ */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.loader-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(252, 191, 73, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(247, 127, 0, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(214, 40, 40, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.loader-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}

.loader-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: var(--spacing-lg);
}

.loader-logo {
  width: clamp(180px, 40vw, 280px);
  height: clamp(180px, 40vw, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderSpin 2.5s ease-in-out infinite;
}

.loader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(252, 191, 73, 0.4));
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(10deg) scale(1.05); }
  50% { transform: rotate(0deg) scale(1); }
  75% { transform: rotate(-10deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1); }
}

/* Windows 10 style loading spinner */
.loader-spinner {
  position: relative;
  width: 50px;
  height: 50px;
  animation: spinnerRotate 1.8s linear infinite;
}

@keyframes spinnerRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  top: 0;
  left: 50%;
  margin-left: -3px;
  transform-origin: 3px 25px;
}

.loader-dot:nth-child(1) { transform: rotate(0deg); opacity: 1; }
.loader-dot:nth-child(2) { transform: rotate(40deg); opacity: 0.9; }
.loader-dot:nth-child(3) { transform: rotate(75deg); opacity: 0.8; }
.loader-dot:nth-child(4) { transform: rotate(105deg); opacity: 0.65; }
.loader-dot:nth-child(5) { transform: rotate(130deg); opacity: 0.5; }
.loader-dot:nth-child(6) { transform: rotate(150deg); opacity: 0.35; }
.loader-dot:nth-child(7) { transform: rotate(165deg); opacity: 0.2; }
.loader-dot:nth-child(8) { transform: rotate(175deg); opacity: 0.1; }

/* Loader Status */
.loader-status {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* Loader Fact */
.loader-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 340px;
  animation: factSlideIn 0.5s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.loader-fact i {
  font-size: 1.3rem;
  color: var(--sunflower-gold);
  flex-shrink: 0;
}

.loader-fact-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.4;
}

@keyframes factSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
  opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.loading {
  overflow: hidden;
}

body.loading > *:not(.loader-screen):not(.toast):not(.scroll-to-top) {
  opacity: 0;
}

body.loaded > *:not(.loader-screen):not(.toast):not(.scroll-to-top) {
  transition: opacity 0.6s ease;
}


img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover { color: var(--accent); }

::selection {
  background: var(--sunflower-gold);
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================
   CONTAINER
   ============================ */
.container,
.services-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
  .container,
  .services-container {
    padding: 0 var(--spacing-sm);
  }
}

/* Utility Classes */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================
   SECTION HEADER
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================
   HEADER SPLIT PILLS
   ============================ */

:root {
  --pill-height: clamp(56px, 8vw, 70px);
  --pill-padding: clamp(14px, 2.5vw, 24px);
  --pill-radius: 100px;
  --pill-top: clamp(16px, 3vw, 24px);
  --pill-side: clamp(16px, 3vw, 40px);
  --pill-gap: clamp(12px, 2vw, 20px);
}

@keyframes headerSlideDown {
  from { transform: translateY(-120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Split Header Container */
.header-split {
  position: fixed;
  top: var(--pill-top);
  left: var(--pill-side);
  right: var(--pill-side);
  z-index: 1000;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pill-gap);
  
  pointer-events: none;
  animation: headerSlideDown 0.7s var(--ease-out) forwards;
}


/* Common Pill Styles */
.header-pill {
  pointer-events: auto;
  height: var(--pill-height);
  border-radius: var(--pill-radius);
  
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.12) 0%, 
      rgba(255, 255, 255, 0.05) 100%
    ),
    rgba(0, 48, 73, 0.75);
  
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  
  border: 1px solid rgba(255, 255, 255, 0.18);
  
  box-shadow: 
    0 15px 40px -10px rgba(0, 48, 73, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  
  transition: all 0.3s var(--ease-out);
}

.header-pill:hover {
  box-shadow: 
    0 18px 50px -10px rgba(0, 48, 73, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.header-pill--left:hover,
.header-pill--right:hover {
  transform: translateY(-2px);
}

.header-pill--center:hover {
  transform: translateX(-50%);
}

/* Left Pill: Logo */
.header-pill--left.logo {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 10px);
  padding: 0 var(--pill-padding);
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.header-pill--left.logo:hover {
  color: var(--white);
}

.header-pill--left .logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-pill--left .logo-image {
  width: clamp(70px, 10vw, 95px);
  height: auto;
  object-fit: contain;
  margin: -18px 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 6px 20px rgba(247, 127, 0, 0.4)); }
}

.header-pill--left .logo-text {
  font-weight: 700;
  font-size: clamp(0.6rem, 0.9vw, 0.75rem);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Center Pill: Status Button */
.header-pill--center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 clamp(16px, 2.5vw, 28px);
  
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.08) 0%, 
      rgba(255, 255, 255, 0.03) 100%
    ),
    rgba(0, 48, 73, 0.65);
  
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.15),
    0 15px 40px -10px rgba(0, 48, 73, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header-pill--center:hover {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.12) 0%, 
      rgba(255, 255, 255, 0.05) 100%
    ),
    rgba(0, 48, 73, 0.75);
  
  border-color: rgba(255, 255, 255, 0.4);
  
  box-shadow: 
    0 0 30px rgba(255, 255, 255, 0.25),
    0 18px 50px -10px rgba(0, 48, 73, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.header-pill--center i {
  color: var(--white);
  font-size: 1.1rem;
}

.header-pill--center .status-btn-text {
  color: var(--white);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  white-space: nowrap;
}

/* Right Pill: Phone */
.header-pill--right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 clamp(18px, 3vw, 28px);
  
  background: var(--gradient-warm);
  border: none;
  
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  white-space: nowrap;
  flex-shrink: 0;
  
  box-shadow: 
    0 8px 28px rgba(247, 127, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.header-pill--right:hover {
  color: var(--white);
  box-shadow: 
    0 12px 35px rgba(247, 127, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.header-pill--right:hover i {
  animation: phoneRing 0.4s ease-in-out infinite alternate;
}

@keyframes phoneRing {
  from { transform: rotate(-10deg); }
  to { transform: rotate(10deg); }
}

/* Header Scrolled State */
.header-split.scrolled .header-pill {
  --pill-height: clamp(50px, 6vw, 60px);
  backdrop-filter: blur(30px) saturate(200%);
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.15) 0%, 
      rgba(255, 255, 255, 0.08) 100%
    ),
    rgba(0, 48, 73, 0.88);
  box-shadow: 
    0 20px 50px -10px rgba(0, 48, 73, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.header-split.scrolled .header-pill--left .logo-image {
  width: clamp(60px, 8vw, 80px);
  margin: -14px 0;
}

.header-split.scrolled .header-pill--right {
  background: var(--gradient-warm);
}

/* ===== HEADER RESPONSIVE ===== */
@media (max-width: 1000px) {
  .header-pill--center {
    max-width: 260px;
    padding: 0 16px;
  }
  
  .header-pill--center .status-btn-text {
    font-size: 0.82rem;
  }
}

@media (max-width: 850px) {
  .header-pill--left .logo-text { display: none; }
  
  .header-pill--center .status-btn-text { display: none; }
  .header-pill--center {
    width: var(--pill-height);
    max-width: var(--pill-height);
    padding: 0;
  }
}

@media (max-width: 768px) {
  .header-split {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }
  
  .header-pill--left {
    padding: 0 12px;
  }
  
  .header-pill--left .logo-image {
    width: 85px;
    margin: -22px 0;
  }
  
  .header-pill--right {
    width: var(--pill-height);
    padding: 0;
    border-radius: 50%;
  }
  
  .header-pill--right .phone-text { display: none; }
}

@media (max-width: 480px) {
  :root {
    --pill-height: 50px;
  }
  
  .header-pill--left .logo-image {
    width: 70px;
    margin: -18px 0;
  }
  
  .header-pill--right,
  .header-pill--center {
    width: 50px;
    height: 50px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .header-split { animation: none; opacity: 1; }
  .header-pill, .header-pill--left .logo-image { animation: none; transition: none; }
}

/* ========================================
   PROMO POPUP (из header)
   ======================================== */
@keyframes promoSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.promo-popup {
  position: fixed;
  top: clamp(100px, 15vh, 140px);
  right: clamp(20px, 5vw, 60px);
  
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  
  background: 
    linear-gradient(135deg, 
      rgba(0, 48, 73, 0.98) 0%, 
      rgba(0, 36, 58, 1) 100%
    );
  backdrop-filter: blur(20px);
  
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(252, 191, 73, 0.4);
  
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(252, 191, 73, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  min-width: 260px;
  z-index: 1100;
  
  overflow: hidden;
}

.promo-popup.active {
  display: flex;
  animation: promoSlideIn 0.4s var(--ease-out) forwards;
}

.promo-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  animation: promoShine 3s ease-in-out infinite;
  animation-delay: 1s;
}

.promo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.promo-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.promo-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-warm);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(247, 127, 0, 0.35);
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.promo-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-code {
  font-family: 'Space Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sunflower-gold);
  background: rgba(252, 191, 73, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 2px dashed rgba(252, 191, 73, 0.4);
  letter-spacing: 3px;
  user-select: all;
}

.promo-desc {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

.promo-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--gradient-warm);
  border: none;
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.promo-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(247, 127, 0, 0.4);
}

.promo-copy.copied {
  background: var(--success);
}

@media (max-width: 768px) {
  .promo-popup {
    right: 12px;
    left: 12px;
    min-width: auto;
  }
}

/* ============================
   STATUS MODAL
   ============================ */
.modal--status {
  max-width: 420px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-light);
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 auto var(--spacing-sm);
}

.modal-icon--success {
  background: rgba(42, 157, 143, 0.15);
  color: var(--success);
}

.modal-icon--error {
  background: rgba(214, 40, 40, 0.1);
  color: var(--danger);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-submit--status {
  background: var(--primary);
}

.form-submit--status:hover {
  background: var(--primary-light);
}

.form-submit--secondary {
  background: var(--cream-light);
  color: var(--primary);
}

.form-submit--secondary:hover {
  background: var(--cream-dark);
}

/* Status Card */
.status-card {
  background: var(--cream-light);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.status-order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: var(--spacing-sm);
}

.status-order-number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.status-order-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-device {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--spacing-sm);
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: var(--spacing-md);
}

.status-device i {
  font-size: 1.2rem;
  color: var(--accent);
}

.status-device span {
  font-weight: 600;
  color: var(--text-primary);
}

/* Progress Steps */
.status-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.status-progress::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--cream-dark);
  z-index: 0;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
  flex: 1;
}

.status-step-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--cream-dark);
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.status-step.completed .status-step-icon {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.status-step.active .status-step-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 127, 0, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(247, 127, 0, 0); }
}

.status-step-info {
  text-align: center;
}

.status-step-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.status-step-date {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.status-step.active .status-step-title {
  color: var(--accent);
}

/* Status Message */
.status-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: var(--spacing-sm);
  background: rgba(42, 157, 143, 0.1);
  border-radius: var(--radius);
  border-left: 4px solid var(--success);
}

.status-message i {
  color: var(--success);
  margin-top: 2px;
  flex-shrink: 0;
}

.status-message p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 var(--spacing-2xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(252, 191, 73, 0.3), transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(247, 127, 0, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 40% at 60% 20%, rgba(0, 48, 73, 0.08), transparent 50%),
    linear-gradient(180deg, var(--cream-light) 0%, var(--bg-main) 60%, var(--white) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--cream-dark) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-sunset);
  z-index: 10;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--spacing-2xl);
  align-items: center;
}

.hero-content {
  animation: fadeUp 0.8s ease forwards;
}

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

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
}

.hero-badge-icon {
  color: var(--accent);
}

.hero-badge-divider {
  color: var(--cream-dark);
}

/* Hero Title */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.hero-title-line {
  display: block;
}

.hero-accent {
  color: var(--accent);
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--primary);
}

/* Hero Features */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-feature i {
  color: var(--accent);
}

/* Hero CTA */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--spacing-md);
}

/* Hero Request Button */
.hero-request-card {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--cream-dark);
  box-shadow: var(--shadow-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--spacing-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-request-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 20px 40px;
  margin: 0;
  border: none;
  border-radius: var(--radius-full);
  background: var(--accent);
  cursor: pointer;
  box-shadow: 
    0 10px 30px rgba(247, 127, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: heroBtnPulse 2.5s ease-in-out infinite;
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: visible;
}

@keyframes heroBtnPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-request-btn-glow { display: none; }

.hero-request-tooltip {
  position: absolute;
  top: -14px;
  right: 10px;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  box-shadow: 0 14px 40px rgba(0, 48, 73, 0.35);
  transform: rotate(-1.5deg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hero-request-tooltip::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
}

.hero-request-tooltip-text {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  text-transform: lowercase;
}

.hero-request-tooltip-pad {
  position: absolute;
  top: -14px;
  right: -12px;
  font-size: 1.65rem;
  color: var(--sunflower-gold);
  transform: rotate(12deg);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
  text-shadow: 0 2px 0 rgba(0,0,0,0.18);
  animation: gamepadWobble 3.8s ease-in-out infinite, gamepadPulse 3.8s ease-in-out infinite;
}

@keyframes gamepadWobble {
  0%, 100% { transform: rotate(12deg) translate(0, 0); }
  50% { transform: rotate(6deg) translate(-1px, 1px); }
}

@keyframes gamepadPulse {
  0%, 100% { filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35)); }
  50% { filter: drop-shadow(0 14px 26px rgba(0,0,0,0.45)); }
}

/* Universal Button Tooltip */
.has-tooltip {
  position: relative;
  overflow: visible;
}

.btn-tooltip {
  position: absolute;
  top: -48px;
  right: 16px;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 7px 11px;
  box-shadow: 0 12px 36px rgba(0, 48, 73, 0.35);
  transform: rotate(-1.2deg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 10;
}

.btn-tooltip::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
}

.btn-tooltip-text {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  text-transform: lowercase;
}

.btn-tooltip-emoji {
  font-size: 1.4rem;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.3));
  animation: tooltipEmojiWobble 3.5s ease-in-out infinite;
}

@keyframes tooltipEmojiWobble {
  0%, 100% { transform: rotate(8deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.08); }
}

@media (max-width: 768px) {
  .btn-tooltip {
    top: -42px;
    right: 12px;
    padding: 6px 9px;
  }
  
  .btn-tooltip-text {
  font-size: 0.75rem;
  }
  
  .btn-tooltip-emoji {
    font-size: 1.2rem;
  }
}

.hero-request-btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.hero-request-btn-content i { font-size: 1.2rem; }

.hero-request-btn:hover {
  animation: none;
  background: var(--sunflower-gold);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(247, 127, 0, 0.45);
}

.hero-request-btn:active { transform: scale(0.98); }

@media (max-width: 768px) {
  .hero-request-card {
    max-width: 100%;
    padding: 12px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
  }

  .hero-request-btn {
    max-width: 100%;
    padding: 18px 32px;
  }
  
  .hero-request-btn-content {
    font-size: 1.1rem;
  }
  
  .hero-request-tooltip {
    top: -10px;
    right: 8px;
    padding: 7px 10px;
  }
  
  .hero-request-tooltip-text {
    font-size: 0.85rem;
  }
}

/* Hero Mini Game Proof */
.hero-game-proof {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.hero-game-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-game-stat-label {
  color: var(--text-muted);
}

.hero-game-stat strong {
  color: var(--primary);
  font-family: 'Space Mono', monospace;
}

.hero-game-stat-divider {
  opacity: 0.6;
}

.hero-activity-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 2px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.2;
  animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

.hero-activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.hero-activity-text strong {
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero-game-proof {
    max-width: 100%;
    margin: -6px 0 var(--spacing-md);
  }
  
  .hero-game-stats {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }
  
  .hero-activity-chip {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}

/* Hero Location */
.hero-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-location i {
  color: var(--accent);
}

.hero-location-divider {
  color: var(--cream-dark);
}

/* Workload Indicator */
.workload-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--spacing-sm);
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.workload-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workload-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.workload-label i {
  color: var(--primary);
  font-size: 0.9em;
}

.workload-bar {
  position: relative;
  width: 80px;
  height: 6px;
  background: var(--cream-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.workload-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--load, 50%);
  background: 
    repeating-linear-gradient(
      -45deg,
      #34d399,
      #34d399 8px,
      #10b981 8px,
      #10b981 16px
    );
  background-size: 32px 32px;
  border-radius: var(--radius-full);
  transition: width 1s ease;
  animation: workloadStripes 0.8s linear infinite;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes workloadStripes {
  0% { background-position: 0 0; }
  100% { background-position: 32px 0; }
}

.workload-glow {
  display: none;
}

.workload-status {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

/* Workload States */
.workload-indicator[data-load^="8"] .workload-status,
.workload-indicator[data-load^="9"] .workload-status,
.workload-indicator[data-load="100"] .workload-status {
  color: var(--accent);
}

.workload-indicator[data-load^="6"] .workload-status,
.workload-indicator[data-load^="7"] .workload-status {
  color: var(--vivid-tangerine);
}

.workload-hint {
  display: none;
}

@media (max-width: 768px) {
  .workload-indicator {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .workload-bar {
    width: 60px;
  }
}

/* Hero Cards */
/* Hero Bubbles */
.hero-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

.hero-bubble {
  --float-delay: 0s;
  --pos-x: 50%;
  --pos-y: 50%;
  --mouse-x: 0px;
  --mouse-y: 0px;
  
  position: absolute;
  left: var(--pos-x);
  top: var(--pos-y);
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  width: clamp(140px, 20vw, 170px);
  height: clamp(140px, 20vw, 170px);
  
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 50%;
  
  cursor: default;
  pointer-events: auto;
  user-select: none;
  transition: border-color 0.3s ease;
  
  transform: translate(-50%, -50%);
  will-change: transform;
}

.hero-bubble:hover {
  border-color: var(--accent);
}

.hero-bubble--free {
  border-color: var(--success);
  background: rgba(42, 157, 143, 0.06);
}

.hero-bubble--accent {
  border-color: var(--vivid-tangerine);
  background: rgba(247, 127, 0, 0.06);
}

.hero-bubble--accent .hero-bubble-icon {
  color: var(--vivid-tangerine);
}

.hero-bubble--stat {
  border-color: var(--sunflower-gold);
  background: rgba(252, 191, 73, 0.08);
}

.hero-bubble--stat .hero-bubble-icon {
  color: var(--sunflower-gold);
}

.hero-bubble--trigger {
  border-color: var(--flag-red);
  background: rgba(214, 40, 40, 0.05);
}

.hero-bubble--trigger .hero-bubble-icon {
  color: var(--flag-red);
}

.hero-bubble-icon {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  color: var(--primary);
}

.hero-bubble--free .hero-bubble-icon {
  color: var(--success);
}

.hero-bubble-title {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.2;
}

.hero-bubble-price {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 700;
  color: var(--primary);
  font-family: 'Space Mono', monospace;
  text-align: center;
}

.hero-bubble--free .hero-bubble-price {
  color: var(--success);
}

/* Clickable Bubbles */
.hero-bubble--clickable {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.hero-bubble--clickable::before {
  content: '👆 Нажми';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  z-index: 10;
}

.hero-bubble--clickable:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 48, 73, 0.25);
  border-color: var(--accent);
}

.hero-bubble--clickable:hover::before {
  opacity: 1;
  bottom: -12px;
}

.hero-bubble--clickable:active {
  transform: translateY(-4px) scale(1.02);
}

/* Bubble Hint Card */
.bubble-hint-card {
  position: absolute;
  left: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  min-width: 220px;
  max-width: 280px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: 0 12px 36px rgba(0, 48, 73, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.bubble-hint-card::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid var(--primary);
}

.bubble-hint-card::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(2px);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid var(--white);
}

.hero-bubble--clickable:hover .bubble-hint-card {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.bubble-hint-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
}

.bubble-hint-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.bubble-hint-action i {
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero-bubbles {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 120px 0 var(--spacing-xl);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
  
  
  .hero-features {
    flex-direction: column;
  }
  
  .hero-feature {
    width: 100%;
    justify-content: center;
  }
}

/* ============================
   SERVICES
   ============================ */
.services-section {
  padding: var(--spacing-2xl) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: transparent; /* Transparent to show video */
  border: 2px solid var(--cream-dark); /* About-card style */
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: var(--transition);
  position: relative;
  height: 100%;
  overflow: hidden;
  box-shadow: none; /* About-card starts without shadow */
  isolation: isolate;
}

/* Video Background */
.service-card-bg {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  opacity: 0.1; /* Almost invisible initially */
  transition: opacity 0.5s ease;
  z-index: -2 !important;
  pointer-events: none;
  filter: grayscale(10%);
}

.service-card:hover .service-card-bg {
  opacity: 1; /* Fully visible on hover */
  filter: grayscale(0%);
}

/* Gradient Overlay for Readability */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(255, 255, 255, 0.95) 40%, 
    rgba(255, 255, 255, 0.85) 100%
  );
  z-index: -1;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  background-size: 200% 200%;
  background-position: 0% 0%;
}

.service-card:hover::before {
  background-position: 100% 100%;
  opacity: 0.4;
}

/* Content Elements - Semi-transparent Pills */
.service-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.85); /* Slightly transparent */
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.06);
  width: fit-content;
  max-width: 100%;
  backdrop-filter: blur(4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-light);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  border: none;
  box-shadow: none;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: none;
  box-shadow: none;
}

.service-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.85); /* Slightly transparent */
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Space Mono', monospace;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 24px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.06);
  display: inline-block;
  backdrop-filter: blur(4px);
}

/* Badges - Colored */
.service-badge {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  white-space: nowrap;
}

.service-badge--free { background: #e6fcf5; color: var(--success); border-color: var(--success); }
.service-badge--popular { background: #fff0f6; color: var(--accent); border-color: var(--accent); }
.service-badge--boost { background: #fff4e6; color: var(--vivid-tangerine); border-color: var(--vivid-tangerine); }
.service-badge--expert { background: #f3e8ff; color: #8a2be2; border-color: #8a2be2; }

/* Mobile: disable video playback, show only poster */
@media (max-width: 768px) {
  .service-card-bg {
    opacity: 0.08 !important;
  }
  
  .service-card:hover .service-card-bg {
    opacity: 0.08 !important;
  }
}

/* Services CTA Block */
.services-cta-block {
  background: var(--gradient-warm);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-xl);
  margin-top: var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  box-shadow: 0 20px 60px rgba(247, 127, 0, 0.25);
}

.services-cta-content h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-bottom: var(--spacing-xs);
}

.services-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.services-cta-block .cta-btn--large {
  flex-shrink: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.services-cta-block .cta-btn--large:hover {
  background: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .services-cta-block {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-lg);
  }
  
  .services-cta-block .cta-btn--large {
    width: 100%;
  }
}

.services-note {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--cream-light);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
}

.services-note i {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.services-note p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   ABOUT
   ============================ */
.about-section {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-section);
}

/* Master Card */
.master-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  padding-right: 420px;
  margin-bottom: var(--spacing-xl);
  margin-top: 80px;
  color: var(--white);
  overflow: visible;
  min-height: 340px;
}

.master-photo {
  position: absolute;
  right: 30px;
  bottom: 0;
  width: 420px;
  pointer-events: none;
  z-index: 2;
}

.master-photo-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.35));
  transform: translateY(-60px);
  mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
}

.master-info h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--sunflower-gold);
  margin-bottom: 4px;
}

.master-title {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
}

.master-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-sm);
}

.master-stats {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.master-stat {
  text-align: center;
}

.master-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sunflower-gold);
  font-family: 'Space Mono', monospace;
}

.master-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .master-card {
    flex-direction: column;
    text-align: center;
    padding-right: var(--spacing-xl);
    padding-top: 180px;
    margin-top: 100px;
  }
  
  .master-photo {
    position: absolute;
    right: 50%;
    bottom: auto;
    top: 0;
    transform: translateX(50%) translateY(-50%);
    width: 200px;
  }
  
  .master-photo-img {
    transform: none;
    max-height: 260px;
  }
  
  .master-stats {
    justify-content: center;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.about-card {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
    text-align: center;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.about-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--spacing-md);
  font-size: 1.6rem;
  color: var(--accent);
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   GALLERY + CAROUSEL
   ============================ */
.gallery-section {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--white) 50%, var(--cream-light) 100%);
  position: relative;
  overflow: hidden;
}

/* Floating Gradient */
.gallery-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(252, 191, 73, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(234, 226, 183, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(247, 127, 0, 0.08) 0%, transparent 60%);
  animation: floatingGradient 15s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatingGradient {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(5%, -3%) rotate(2deg); }
  66% { transform: translate(-3%, 5%) rotate(-2deg); }
  100% { transform: translate(3%, 3%) rotate(1deg); }
}

.gallery-section .container {
  position: relative;
  z-index: 1;
}

/* Carousel */
.carousel {
  position: relative;
  margin-bottom: var(--spacing-xl);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.carousel-slide {
  min-width: 100%;
  padding: 0 var(--spacing-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  background: var(--cream-light);
  box-shadow: var(--shadow-md);
}

.carousel-placeholder {
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  background: var(--cream-light);
  border: 3px dashed var(--cream-dark);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

.carousel-placeholder i {
  font-size: 4rem;
  opacity: 0.4;
}

.carousel-placeholder span {
  font-size: 1.1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.carousel-btn--prev { left: var(--spacing-md); }
.carousel-btn--next { right: var(--spacing-md); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--spacing-md);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--cream-dark);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-slide img,
  .carousel-placeholder {
    height: 300px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-btn--prev { left: var(--spacing-xs); }
  .carousel-btn--next { right: var(--spacing-xs); }
}

/* Media Block with Video */
.media-block {
  background: var(--cream-light);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.media-block--wide {
  max-width: 900px;
}

/* Custom Video Player */
.video-player {
  position: relative;
  background: var(--cream-light);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-player video {
  width: calc(100% + 22%);
  height: 100%;
  margin-left: -11%;
  object-fit: cover;
  display: block;
}

/* Sound Button */
.video-sound-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s var(--ease-out);
}

.video-sound-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.video-sound-btn i {
  font-size: 1.1rem;
}

.video-sound-btn.unmuted {
  background: var(--gradient-warm);
  border-color: transparent;
}

.video-sound-btn.unmuted i {
  color: var(--white);
}

@media (max-width: 600px) {
  .video-sound-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    bottom: 12px;
    right: 12px;
  }
  
  .video-sound-btn span {
    display: none;
  }
  
  .video-sound-btn i {
    font-size: 1rem;
  }
}

/* Legacy embed styles */
.media-video {
  position: relative;
  background: var(--gray-900);
}

.media-video video {
  width: 100%;
  display: block;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.media-info {
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.media-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.media-info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .media-info {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================
   PRICES
   ============================ */
.prices-section {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-section);
}

.price-table-wrapper {
  overflow-x: auto;
  margin: var(--spacing-lg) 0;
  border-radius: var(--radius-xl);
  border: 2px solid var(--cream-dark);
  box-shadow: var(--shadow);
  background: var(--white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.price-table thead {
  background: var(--primary);
  color: var(--white);
}

.price-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-table tbody tr {
  border-bottom: 1px solid var(--cream);
  transition: var(--transition-fast);
}

.price-table tbody tr:hover {
  background: rgba(252, 191, 73, 0.08);
}

.price-table tbody tr:last-child {
  border-bottom: none;
}

.price-table td {
  padding: 16px 20px;
}

.price-table td strong {
  font-weight: 600;
  color: var(--primary);
}

.price-value {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Space Mono', monospace;
}

.price-free {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(42, 157, 143, 0.15);
  color: var(--success);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

.price-note {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: rgba(247, 127, 0, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.price-note i {
  color: var(--accent);
  margin-top: 3px;
}

.price-note p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================
   REVIEWS
   ============================ */
.reviews-section {
  padding: var(--spacing-2xl) 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.review-card {
  background: var(--cream-light);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.review-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  font-size: 0.85rem;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.review-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--white);
  border-radius: var(--radius);
}

.review-source i {
  color: #FC3F1D;
}

.reviews-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cream-light);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.reviews-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   STEPS
   ============================ */
.steps-section {
  padding: var(--spacing-2xl) 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.step-card {
  background: var(--cream-light);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  position: relative;
  transition: var(--transition);
  text-align: center;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.step-number {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Space Mono', monospace;
  color: var(--cream-dark);
  line-height: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-warm);
  border-radius: var(--radius);
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 auto var(--spacing-md);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
  padding: var(--spacing-xl) 0;
  background: var(--bg-section);
}

.cta-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--gradient-ocean);
  border-radius: var(--radius-xl);
  color: var(--white);
}

.cta-content h2 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-content p {
  color: rgba(255,255,255,0.85);
  max-width: 400px;
}

.cta-block .cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-block .cta-btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.cta-block .cta-btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 700px) {
  .cta-block {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-content p { max-width: none; }
  
  .cta-block .cta-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cta-block .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================
   CONTACTS
   ============================ */
.contacts-section {
  padding: var(--spacing-2xl) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: var(--transition);
  text-decoration: none;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.contact-card--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.contact-card--primary:hover {
  background: var(--primary-light);
}

.contact-card--telegram {
  background: var(--telegram);
  border-color: var(--telegram);
  color: var(--white);
}

.contact-card--telegram:hover {
  background: var(--telegram-dark);
}

.contact-card--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
}

.contact-card--whatsapp:hover {
  background: var(--whatsapp-dark);
}

.contact-card--max {
  background: var(--max);
  border-color: var(--max);
  color: var(--white);
}

.contact-card--max:hover {
  background: var(--max-dark);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.contact-icon--location {
  background: var(--cream-light);
  color: var(--accent);
}

.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: inherit;
}

.contact-value {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Space Mono', monospace;
  white-space: nowrap;
}

.contact-value--small {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}

.contact-hint {
  font-size: 0.85rem;
  opacity: 0.8;
}

.contact-card:not([href]) {
  cursor: default;
  color: var(--text-primary);
}

.contact-card:not([href]) .contact-icon {
  background: var(--cream-light);
  color: var(--accent);
}

.contact-card:not([href]) .contact-value {
  color: var(--primary);
}

.contact-card:not([href]) .contact-hint {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Map Widget */
.map-widget {
  margin-top: var(--spacing-xl);
  background: var(--cream-light);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container {
  width: 100%;
  height: 350px;
  background: var(--gray-200);
  position: relative;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.map-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--white);
}

.map-info-main {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
  min-width: 280px;
}

.map-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-warm);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}

.map-details h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.map-metro {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.map-metro i {
  color: #E42313;
}

.map-directions {
  background: var(--cream-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-sm) 0;
}

.map-directions p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.map-directions strong {
  color: var(--primary);
}

.map-info-extra {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.map-schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.map-schedule i {
  color: var(--success);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.map-link:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ============================
   NEW MAP WIDGET
   ============================ */
.map-widget-new {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  margin-top: var(--spacing-xl);
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container-new {
  position: relative;
  min-height: 400px;
  background: var(--gray-200);
}

.map-container-new iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: saturate(0.9) contrast(1.05);
}

/* Custom Marker */
.map-custom-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 10;
  pointer-events: none;
}

.map-marker-pin {
  width: 48px;
  height: 48px;
  background: var(--gradient-warm);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.4);
  animation: markerBounce 2s ease-in-out infinite;
}

.map-marker-pin i {
  transform: rotate(45deg);
  color: var(--white);
  font-size: 1.2rem;
}

@keyframes markerBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-8px); }
}

.map-marker-popup {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
}

.map-custom-marker:hover .map-marker-popup,
.map-marker-popup:hover {
  opacity: 1;
  visibility: visible;
}

.map-marker-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--white);
}

.map-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--cream-dark);
}

.map-popup-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.map-popup-title strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.map-popup-rating {
  font-size: 0.8rem;
  color: var(--sunflower-gold);
}

.map-popup-rating i {
  margin-right: 2px;
}

.map-popup-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-popup-body i {
  color: var(--accent);
  width: 14px;
  text-align: center;
}

.map-popup-btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: var(--gradient-warm);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: var(--spacing-sm);
  transition: all 0.2s var(--ease-out);
}

.map-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Info Card */
.map-info-card {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--white) 100%);
}

.map-info-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.map-info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-warm);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-info-icon i {
  color: var(--white);
  font-size: 1.3rem;
}

.map-info-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.map-info-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-info-text p i {
  color: var(--accent);
}

.map-info-directions {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 1px solid var(--cream-dark);
}

.map-info-directions h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-info-directions h4 i {
  color: var(--success);
}

.map-info-directions ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.map-info-directions li {
  counter-increment: step;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 28px;
  position: relative;
}

.map-info-directions li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: var(--cream-dark);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-info-directions li strong {
  color: var(--primary);
}

.map-info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--cream-dark);
  margin-top: auto;
}

.map-info-schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.map-info-schedule i {
  color: var(--success);
}

.map-info-yandex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.map-info-yandex:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Leaflet Custom Styles */
#leaflet-map {
  z-index: 1;
}

/* Map Offset */
#leaflet-map .leaflet-map-pane {
  transform: translateY(50px);
}

/* Hide Attribution */
.leaflet-control-attribution {
  display: none !important;
}

/* Zoom Controls */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow-md) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.leaflet-control-zoom a {
  background: var(--white) !important;
  color: var(--primary) !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 1.1rem !important;
  border: none !important;
  transition: var(--transition);
}

.leaflet-control-zoom a:hover {
  background: var(--cream-light) !important;
  color: var(--accent) !important;
}

.leaflet-control-zoom-in {
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

.leaflet-control-zoom-out {
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
}

.leaflet-custom-marker {
  background: transparent;
  border: none;
}

.leaflet-marker-pin {
  width: 48px;
  height: 48px;
  background: var(--gradient-warm);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.4);
  animation: markerBounce 4s ease-in-out infinite;
}

.leaflet-marker-pin i {
  transform: rotate(45deg);
  color: var(--white);
  font-size: 1.2rem;
}

@keyframes markerBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-3px); }
}

/* Metro Marker */
.leaflet-metro-marker {
  background: transparent;
  border: none;
}

.leaflet-metro-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaflet-metro-pin {
  width: 28px;
  height: 28px;
  background: #FF7F00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 127, 0, 0.5);
  border: 2px solid var(--white);
  flex-shrink: 0;
}

.leaflet-metro-pin span {
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}

.leaflet-metro-label {
  background: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1.3;
}

/* Leaflet Popup Custom */
.leaflet-popup-custom .leaflet-popup-content-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
}

.leaflet-popup-custom .leaflet-popup-content {
  margin: 0;
  width: 260px !important;
}

.leaflet-popup-custom .leaflet-popup-tip {
  background: var(--white);
}

.leaflet-popup-content-custom {
  padding: var(--spacing-md);
}

.leaflet-popup-content-custom .popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--cream-dark);
}

.leaflet-popup-content-custom .popup-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.leaflet-popup-content-custom .popup-title strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
}

.leaflet-popup-content-custom .popup-rating {
  font-size: 0.85rem;
  color: var(--sunflower-gold);
}

.leaflet-popup-content-custom .popup-rating i {
  margin-right: 3px;
}

.leaflet-popup-content-custom .popup-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaflet-popup-content-custom .popup-body i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.leaflet-popup-content-custom .popup-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--gradient-warm);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--spacing-sm);
  transition: all 0.2s var(--ease-out);
}

.leaflet-popup-content-custom .popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* === MAP WIDGET RESPONSIVE === */

/* Tablet */
@media (max-width: 900px) {
  .map-widget-new {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }
  
  .map-container-new {
    min-height: 280px;
    order: 1;
  }
  
  .map-info-card {
    order: 2;
  padding: var(--spacing-md);
  }
  
  .map-info-header {
    gap: var(--spacing-sm);
  }
  
  .map-info-icon {
    width: 44px;
    height: 44px;
  }
  
  .map-info-icon i {
    font-size: 1.1rem;
  }
  
  .map-info-text h3 {
  font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .map-widget-new {
    margin-top: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-width: 1px;
    overflow: hidden;
  }
  
  .map-container-new {
    min-height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
  }
  
  #leaflet-map .leaflet-map-pane {
    transform: translateY(25px);
  }
  
  .map-info-card {
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
  }
  
  .map-info-header {
    flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-xs);
}

  .map-info-icon {
    width: 40px;
    height: 40px;
  }
  
  .map-info-text h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  .map-info-text p {
    font-size: 0.8rem;
  }
  
  .map-info-directions {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
  }
  
  .map-info-directions h4 {
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .map-info-directions ol {
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .map-info-directions li {
    padding-left: 20px;
  }
  
  .map-info-directions li::before {
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
  }
  
  .map-info-footer {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .map-info-schedule {
    justify-content: center;
    font-size: 0.85rem;
  }
  
  .map-info-yandex {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  
  .leaflet-marker-pin {
    width: 40px;
    height: 40px;
  }
  
  .leaflet-marker-pin i {
  font-size: 1rem;
  }
  
  .leaflet-metro-pin {
    width: 24px;
    height: 24px;
  }
  
  .leaflet-metro-pin span {
    font-size: 0.75rem;
  }
  
  .leaflet-metro-label {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  
  .leaflet-popup-custom .leaflet-popup-content {
    width: 180px !important;
  }
  
  .leaflet-popup-content-custom {
    padding: 10px;
  }
  
  .leaflet-popup-content-custom .popup-header {
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  
  .leaflet-popup-content-custom .popup-logo {
    width: 28px;
    height: 28px;
  }
  
  .leaflet-popup-content-custom .popup-title strong {
    font-size: 0.8rem;
  }
  
  .leaflet-popup-content-custom .popup-rating {
    font-size: 0.7rem;
  }
  
  .leaflet-popup-content-custom .popup-body p {
    font-size: 0.7rem;
    margin-bottom: 3px;
    gap: 5px;
  }
  
  .leaflet-popup-content-custom .popup-body i {
    width: 12px;
    font-size: 0.65rem;
  }
  
  .leaflet-popup-content-custom .popup-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
    margin-top: 8px;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .map-container-new {
    min-height: 180px;
  }
  
  #leaflet-map .leaflet-map-pane {
    transform: translateY(20px);
  }
  
  .map-info-card {
    padding: var(--spacing-sm);
  }
  
  .map-info-icon {
    width: 36px;
    height: 36px;
  }
  
  .map-info-text h3 {
    font-size: 0.9rem;
  }
  
  .map-info-directions {
    padding: 10px;
  }
  
  .map-info-directions ol {
    font-size: 0.75rem;
    gap: 4px;
  }
  
  .map-info-yandex {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
  
  .leaflet-metro-label {
    display: none;
  }
  
  .leaflet-metro-wrapper {
    justify-content: center;
  }
}

/* ============================
   CALLBACK FORM
   ============================ */
.callback-section {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-section);
}

.callback-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-family: inherit;
  background: var(--gray-50);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  border-radius: var(--radius-lg);
}

.form-group--checkbox {
  margin-bottom: var(--spacing-lg);
}

.checkbox-label{
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  width: 100%;
}

.checkbox-input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.checkbox-custom{
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: background var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
}

.checkbox-input:checked + .checkbox-custom{
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-input:checked + .checkbox-custom::after{
  content: "✓";
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.checkbox-input:focus-visible + .checkbox-custom{
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  border-color: var(--accent);
}

.checkbox-label:hover .checkbox-custom{
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--cream-dark) 70%, var(--primary));
}

.checkbox-text{
  flex: 1;
  line-height: 1.4;
  color: var(--text);
  min-width: 0;
}

.checkbox-text a{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-text a:hover{
  text-decoration-thickness: 2px;
}

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0, 48, 73, 0.25);
}

.form-submit:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--primary);
  color: var(--cream);
}

footer::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--gradient-sunset);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Footer Top */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.footer-logo:hover {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Stats */
.footer-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-stat {
  text-align: center;
  padding: 0 var(--spacing-md);
}

.footer-stat-value {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sunflower-gold);
  line-height: 1.2;
}

.footer-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Trust Block */
.footer-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.footer-trust-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-trust-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-trust-rating i {
  color: #FFD700;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.4));
}

.footer-trust-score {
  font-family: 'Space Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sunflower-gold);
}

.footer-trust-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* Award Badge */
.footer-award {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.footer-award:hover {
  transform: scale(1.03);
}

.footer-award-img {
  width: auto;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.25));
}

.footer-award-text,
.footer-award-rating {
  display: none;
}

/* Footer Main */
.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
}

.footer-col h4 {
  color: var(--sunflower-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col a i {
  width: 18px;
  text-align: center;
  color: var(--sunflower-gold);
  opacity: 0.7;
}

.footer-col a:hover i {
  opacity: 1;
}

/* Address Column */
.footer-col--address p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-col--address p i {
  color: var(--sunflower-gold);
  margin-top: 3px;
  opacity: 0.7;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--spacing-sm);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-map-link:hover {
  background: var(--sunflower-gold);
  color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom > * {
  margin: 0;
}

.footer-privacy {
  color: rgba(255, 255, 255, 0.5);
}

.footer-privacy:hover {
  color: var(--sunflower-gold);
}

/* Footer Developer CTA (moved inside footer-bottom) */
.footer-bottom .footer-dev {
  display: flex;
  justify-content: center;
  padding: var(--spacing-sm) 0;
  margin: var(--spacing-xs) 0;
  width: 100%;
  position: relative;
  z-index: 100;
  isolation: isolate;
}

/* TWK CTA Button */
.twk-cta {
  --twk-padY: 16px;
  --twk-padX: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: var(--twk-padY) var(--twk-padX);
  border-radius: var(--radius-full);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font: 650 14px/1.15 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  
  background: linear-gradient(
    270deg,
    rgba(124, 58, 237, 0.6),
    rgba(6, 182, 212, 0.5),
    rgba(139, 92, 246, 0.6),
    rgba(34, 211, 238, 0.5),
    rgba(124, 58, 237, 0.6)
  );
  background-size: 400% 100%;
  animation: gradientShift 8s ease infinite;
  
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 10px 30px rgba(124, 58, 237, 0.25),
    0 0 20px rgba(6, 182, 212, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  z-index: 200;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.twk-cta .twk-cta__icon,
.twk-cta .twk-cta__text,
.twk-cta .twk-cta__arrow {
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.twk-cta__icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.twk-cta__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.twk-cta__text {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.twk-cta__arrow {
  color: rgba(255, 255, 255, 0.68);
  transition: transform 0.22s ease, color 0.22s ease;
}

.twk-cta:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 15px 40px rgba(124, 58, 237, 0.35),
    0 0 30px rgba(6, 182, 212, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.twk-cta:hover .twk-cta__arrow {
  transform: translateX(3px);
  color: rgba(255, 255, 255, 0.92);
}

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

.twk-cta:focus {
  outline: none;
}

.twk-cta:focus-visible {
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22), 0 0 0 6px rgba(124, 58, 237, 0.18), 0 18px 60px rgba(0, 0, 0, 0.46);
  border-color: rgba(96, 165, 250, 0.34);
}

@media (prefers-reduced-motion: reduce) {
  .twk-cta,
  .twk-cta::after,
  .twk-cta__arrow {
    transition: none !important;
  }
  
  .twk-cta::after {
    display: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .footer-stats {
    justify-content: center;
  }
  
  .footer-trust-score {
    font-size: 2rem;
  }
  
  .footer-trust-rating i {
    font-size: 1.5rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-col a {
    justify-content: center;
  }
  
  .footer-col--address p {
    justify-content: center;
}

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
  
  .footer-bottom .footer-dev {
    padding: var(--spacing-sm) 0 0;
    margin-top: var(--spacing-xs);
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  
  .footer-stats {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }
  
  .footer-stat-divider {
    display: none;
  }
  
  .footer-stat {
    padding: 0 var(--spacing-sm);
  }
  
  .footer-stat-value {
    font-size: 1.3rem;
  }
  
  .footer-logo-img {
    height: 120px;
  }
  
  .footer-award-img {
    height: 145px;
  }
}

/* ============================
   MODAL
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 48, 73, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: var(--spacing-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay[aria-hidden="false"],
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
}

.modal-overlay[aria-hidden="false"] .modal,
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-light);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  z-index: 30;
  pointer-events: auto;
}

.modal-close:hover {
  background: var(--danger);
  color: var(--white);
}

.modal-header {
  margin-bottom: var(--spacing-lg);
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal-header p { color: var(--text-secondary); }

/* Modal Appbar (mobile) */
.modal-appbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.modal-appbar-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.2px;
}

.modal-appbar-title i { color: var(--accent); }

.modal-close--appbar {
  position: static;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(0, 48, 73, 0.08);
}

.modal-close--appbar:hover {
  background: rgba(214, 40, 40, 0.12);
  color: var(--danger);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.modal-form input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.modal-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.modal-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--spacing-md);
}

.modal-note a {
  color: var(--telegram);
  font-weight: 600;
}

/* ============================
   MOBILE CTA
   ============================ */

/* ============================
   TOAST
   ============================ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--success);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.toast.active,
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast i { font-size: 1.2rem; }

@media (max-width: 768px) {
  .toast {
    bottom: 120px;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    transform: translateX(0) translateY(100px);
    justify-content: center;
  }
  
  .toast.active { transform: translateX(0) translateY(0); }
}

/* ============================
   CHAT BOT WIZARD MODAL
   ============================ */
.modal--wizard {
  padding: 0;
  width: min(480px, 94vw);
  height: min(680px, 88vh);
  max-width: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Chat Header */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--primary);
  color: var(--white);
  flex-shrink: 0;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-header-name {
  font-weight: 700;
  font-size: 1rem;
}

.chat-header-status {
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}

.chat-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Chat Form */
.chat-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

/* Chat Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Message Bubbles */
.chat-message {
  display: flex;
  gap: 8px;
  max-width: 88%;
  animation: chatFadeIn 0.3s ease;
}

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

.chat-message--bot {
  align-self: flex-start;
}

.chat-message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.chat-message--bot .chat-message-avatar {
  background: var(--primary);
  color: var(--white);
}

.chat-message--user .chat-message-avatar {
  background: var(--accent);
  color: var(--white);
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message--bot .chat-bubble {
  background: var(--white);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.chat-message--user .chat-bubble {
  background: var(--accent);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* Chat Summary */
.chat-summary {
  background: linear-gradient(135deg, var(--cream-light), var(--white));
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.chat-summary strong {
  color: var(--primary);
  font-size: 0.9rem;
}

/* Callback Timer */
#callback-timer {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--sunflower-gold));
  color: var(--white);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  font-family: 'JetBrains Mono', monospace;
  animation: timerPulse 2s ease-in-out infinite;
}

@keyframes timerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Chat Game Rules */
.chat-game-rules {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--white);
}

.chat-game-rules strong {
  color: var(--sunflower-gold);
  font-size: 0.95rem;
}

.chat-game-rules em {
  color: var(--gray-400);
  font-style: italic;
}

/* Chat Game Choice Buttons */
.chat-game-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px;
}

.chat-game-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-game-btn--play {
  background: linear-gradient(135deg, var(--accent), var(--sunflower-gold));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.4);
  animation: pulseGlow 2s ease-in-out infinite;
}

.chat-game-btn--play:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(247, 127, 0, 0.5);
}

.chat-game-btn--skip {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--gray-300);
}

.chat-game-btn--skip:hover {
  background: var(--gray-100);
  border-color: var(--primary);
}

/* Typing Indicator */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.chat-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: typingBounce 1.4s infinite ease-in-out;
}

.chat-typing-dot:nth-child(1) { animation-delay: 0s; }
.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* Chat Input Area */
.chat-input-area {
  flex-shrink: 0;
  padding: 14px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

/* Chat Text Row - unified input */
.chat-text-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-text-row input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.chat-text-row input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 48, 73, 0.1);
}

.chat-text-row input:disabled {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
}

.chat-text-row button {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chat-text-row button:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.chat-text-row button:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
}

/* Chat Chips */
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.chat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.chat-chip--help {
  background: linear-gradient(135deg, var(--primary), #1a5276);
  color: var(--white);
  border-color: var(--primary);
}

.chat-chip--help:hover {
  background: linear-gradient(135deg, #1a5276, var(--primary));
  transform: scale(1.02);
}

.chat-chip:hover {
  border-color: var(--accent);
  background: var(--cream-light);
}

.chat-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.chat-chip i {
  font-size: 0.85rem;
  opacity: 0.8;
}

.chat-chip--other {
  background: var(--gray-100);
  border-style: dashed;
}

/* Chat Text Input */
.chat-text-input {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-text-input input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  background: var(--gray-50);
}

.chat-text-input input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.chat-text-input input.is-invalid {
  border-color: var(--error);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Chat Actions */
.chat-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.chat-action-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.chat-action-btn--back {
  background: var(--gray-100);
  color: var(--text-secondary);
  border: 2px solid var(--gray-200);
}

.chat-action-btn--back:hover {
  background: var(--gray-200);
}

.chat-action-btn--next {
  background: var(--gradient-warm);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-primary);
}

.chat-action-btn--next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(247, 127, 0, 0.3);
}

.chat-action-btn--next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Contact Form in Chat */
.chat-contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-contact-form .form-group {
  margin: 0;
}

.chat-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.chat-contact-form input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.chat-contact-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.chat-contact-form input.is-invalid {
  border-color: var(--error);
}

/* Mood Selector in Chat */
.chat-mood {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.chat-mood-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-mood-btn:hover {
  transform: scale(1.1);
  background: var(--cream-light);
}

.chat-mood-btn.active {
  border-color: var(--accent);
  background: var(--cream-light);
  transform: scale(1.15);
}

/* Checkbox in Chat */
.chat-checkbox {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

.chat-checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chat-checkbox-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--gray-400);
  border-radius: 4px;
  background: var(--white);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: var(--transition-fast);
}

.chat-checkbox input:checked + .chat-checkbox-box {
  background: var(--primary);
  border-color: var(--primary);
}

.chat-checkbox input:checked + .chat-checkbox-box::after {
  content: "✓";
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
}

.chat-checkbox-text {
  flex: 1;
  line-height: 1.35;
}

.chat-checkbox-text a {
  color: var(--accent);
  text-decoration: underline;
}

.chat-checkbox.is-invalid .chat-checkbox-box {
  border-color: var(--error);
}

/* Mobile Chat Styles */
@media (max-width: 768px) {
  .modal--wizard {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  
  .chat-header {
    padding: 12px 14px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }
  
  .chat-avatar {
    width: 36px;
    height: 36px;
  }
  
  .chat-messages {
    padding: 14px 10px;
  }
  
  .chat-input-area {
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 16px));
  }
  
  .chat-text-row input {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .chat-text-row button {
    width: 40px;
    height: 40px;
  }
  
  .chat-chip {
    padding: 7px 10px;
    font-size: 0.8rem;
  }
  
  .chat-game-choice {
    gap: 8px;
  }
  
  .chat-game-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .chat-game-rules {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
  
  .chat-action-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

/* Legacy wizard styles (hidden) */
.wizard-decor-logo,
.wizard-progress,
.wizard-step { display: none; }

/* Keep for legacy */
.wizard-step-dot.active {
  background: var(--gradient-warm);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(247, 127, 0, 0.35);
}

.wizard-form {
  padding: var(--spacing-lg);
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeSlideUp 0.3s ease;
}

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

.wizard-step.shake {
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.wizard-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.wizard-header h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.wizard-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Chips */
.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}

.chips-group--small {
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.chip:hover {
  border-color: var(--accent);
  background: var(--cream-light);
}

.chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.chip i {
  font-size: 1rem;
  opacity: 0.8;
}

.chip--other {
  background: var(--gray-100);
  border-style: dashed;
}

.chips-group--small .chip {
  padding: 10px 14px;
  font-size: 0.85rem;
}

.wizard-input-wrap {
  margin-top: var(--spacing-md);
}

.wizard-input-wrap input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.wizard-input-wrap input:focus {
  outline: none;
  border-color: var(--accent);
}

.wizard-question {
  margin-bottom: var(--spacing-lg);
}

.wizard-question > label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
}

.wizard-input-group {
    display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.wizard-input-group .form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.wizard-input-group .form-group input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-full);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.wizard-input-group .form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Mood Selector */
.wizard-question--mood {
  text-align: center;
}

.mood-selector {
  display: flex;
  justify-content: center;
    gap: 12px;
}

.mood-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 3px solid transparent;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mood-btn:hover {
  transform: scale(1.1);
  background: var(--cream-light);
}

.mood-btn.active {
  border-color: var(--accent);
  background: var(--cream-light);
  transform: scale(1.15);
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
  position: relative;
  background: transparent;
  padding-bottom: 0;
  z-index: 2;
}

.wizard-btn {
    flex: 1;
  padding: 14px 24px;
  border-radius: var(--radius-full);
    font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* iOS/overlay click fix: ensure nav buttons are always clickable */
.wizard-nav * { pointer-events: auto; }

@media (max-width: 768px) {
  #request-modal.modal-overlay,
  #game-modal.modal-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }
  
  .modal--wizard,
  .modal--game {
    border-radius: 0;
    height: 100dvh;
    max-height: 100dvh;
    width: 100vw;
    max-width: 100vw;
  }
  
  /* App-like wizard structure */
  .modal--wizard {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  .modal--game {
    padding: 0;
  }
  
  .modal-close { display: none; }
  .modal-close.modal-close--appbar { display: flex; }
  .chat-close { display: flex; }
  
  .modal-appbar {
    display: flex;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    flex-shrink: 0;
  }
  
  .wizard-progress {
    padding: 10px 16px;
    flex-shrink: 0;
  }
  
  /* Scrollable content area */
  .wizard-form {
    padding: 12px 14px;
    padding-bottom: 100px; /* Space for fixed nav */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    justify-content: flex-start;
  }
  
  .wizard-decor-logo,
  .game-decor-logo {
    display: none;
  }
  
  /* Wizard nav - relative by default */
  .wizard-nav {
    position: relative;
    gap: 10px;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 20px));
    margin-top: auto;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-top: 1px solid var(--gray-200);
  }
  
  /* Fixed bottom navigation ONLY when modal is open */
  .modal-overlay[aria-hidden="false"] .wizard-nav,
  .modal-overlay.active .wizard-nav {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
  }
  
  .modal-overlay[aria-hidden="false"] .wizard-nav *,
  .modal-overlay.active .wizard-nav * {
    pointer-events: auto !important;
  }
  
  .wizard-btn {
    padding: 14px 16px;
    font-size: 0.9rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  .modal-overlay[aria-hidden="false"] .wizard-btn,
  .modal-overlay.active .wizard-btn {
    z-index: 10000 !important;
    pointer-events: auto !important;
  }
}

/* Make steps more compact to avoid scroll */
.wizard-header {
  margin-bottom: var(--spacing-md);
}

.wizard-header h3 {
  font-size: 1.25rem;
}

.wizard-header p {
  font-size: 0.9rem;
}

.wizard-question {
  margin-bottom: var(--spacing-md);
}

.chips-group {
  justify-content: flex-start;
}

@media (min-width: 900px) {
  /* Grid layout for chips on desktop */
  .chips-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    justify-content: stretch;
  }
  
  .chips-group--small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .chip {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.92rem;
  }
  
  .wizard-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .wizard-question--mood {
    text-align: left;
  }
  
  .mood-selector {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  /* Compact mobile wizard styles */
  .wizard-header {
    margin-bottom: 10px;
  }
  
  .wizard-header h3 {
    font-size: 1.05rem;
  }
  
  .wizard-header p {
    font-size: 0.85rem;
  }
  
  .wizard-question {
    margin-bottom: 12px;
  }
  
  .wizard-question > label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  
  .chips-group {
    gap: 6px;
  }
  
  .chips-group--small .chip,
  .chip {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 5px;
  }
  
  .chip i {
    font-size: 0.8rem;
  }
  
  .mood-btn {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  
  .wizard-input-group {
    gap: 10px;
  }
  
  .wizard-input-group .form-group input {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .wizard-input-group .form-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }
  
  .checkbox-label {
    font-size: 0.8rem;
    gap: 10px;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }
  
  .checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0 !important;
    margin-top: 1px;
  }
  
  .checkbox-text {
    flex: 1;
    line-height: 1.4;
  }
}

.wizard-btn--back {
  background: var(--gray-100);
  color: var(--text-secondary);
  border: 2px solid var(--gray-200);
}

.wizard-btn--back:hover:not(:disabled) {
  background: var(--gray-200);
}

.wizard-btn--back:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wizard-btn--next,
.wizard-btn--submit {
  background: var(--gradient-warm);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-primary);
}

.wizard-btn--next:hover,
.wizard-btn--submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.4);
}

/* ============================
   GAME MODAL
   ============================ */
.modal-overlay--game {
  background: rgba(0, 20, 40, 0.9);
}

.modal--game {
  --game-bg: #0b0f19;
  --game-accent: #00d4ff;
  --game-risk: #ff3366;
  --game-panel: #141a26;
  --game-text: #e0e6ed;
  
  padding: 0;
  width: min(600px, 94vw);
  height: min(620px, 85vh);
  max-width: none;
  background: var(--game-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Background Grid */
.game-bg-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: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Decorative Logo */
.game-decor-logo {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 180px;
  height: auto;
  opacity: 0.06;
  filter: grayscale(100%) brightness(2);
  pointer-events: none;
  z-index: 0;
}

/* Game View */
.game-view {
  position: relative;
  padding: clamp(20px, 4vw, 28px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
    text-align: center;
  gap: clamp(14px, 3vh, 20px);
  flex: 1;
  min-height: 0;
}

.game-view.hidden { display: none; }

/* Prevent hyphenation */
.modal--game,
.modal--game * {
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Header */
.game-header-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.game-header-new h3 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.game-header-new p {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.85rem, 2vw, 1rem);
  margin: 0;
}

/* Cards Grid */
.game-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.game-info-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.game-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.game-info-card--win .card-icon { color: var(--game-accent); box-shadow: 0 0 12px rgba(0, 212, 255, 0.12); }
.game-info-card--risk .card-icon { color: var(--game-risk); box-shadow: 0 0 12px rgba(255, 51, 102, 0.12); }
.game-info-card--rules .card-icon { color: #ffd700; box-shadow: 0 0 12px rgba(255, 215, 0, 0.12); }

.card-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.card-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

.highlight {
  color: #fff;
    font-weight: 700;
}

/* Actions */
.game-actions-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.game-main-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--game-accent), #0077ff);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, filter 0.2s;
  box-shadow: 0 8px 28px rgba(0, 119, 255, 0.35);
}

.game-main-btn:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.game-main-btn:active { transform: scale(0.98); }

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.btn-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.btn-glare {
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: btnGlare 3s infinite;
}

@keyframes btnGlare {
  0%, 80% { left: -100%; }
  100% { left: 200%; }
}

.game-sub-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 8px;
}

.game-sub-btn:hover {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
}

/* Case Roulette */
.case-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 140px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0;
}

.case-reel {
  display: flex !important;
  position: absolute;
  top: 10px;
  left: 0;
  will-change: transform;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 3;
}

.case-item {
  flex-shrink: 0;
  width: 130px;
  margin: 0 6px;
  padding: 16px 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.case-item[data-type="bad"] {
  border-color: rgba(255, 51, 102, 0.5);
  background: rgba(255, 51, 102, 0.15);
}

.case-item[data-type="good"],
.case-item[data-type="great"] {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.15);
}

.case-item i {
  font-size: 1.5rem;
  color: var(--game-accent);
  display: block;
  margin-bottom: 6px;
}

.case-item[data-type="bad"] i { color: var(--game-risk); }

.case-item span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.case-item.winner {
  border-color: var(--game-accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.15);
}

.case-item[data-type="bad"].winner {
  border-color: var(--game-risk);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
  background: rgba(255, 51, 102, 0.15);
}

.case-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid var(--game-accent);
  z-index: 10;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
}

.case-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 5;
}
.case-glow--left {
  left: 0;
  background: linear-gradient(90deg, var(--game-bg) 0%, transparent 100%);
}
.case-glow--right {
  right: 0;
  background: linear-gradient(-90deg, var(--game-bg) 0%, transparent 100%);
}

/* Result Section (inline) */
.game-result-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: resultFadeIn 0.5s ease-out;
}

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

.game-result-inline.hidden { display: none; }

.result-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-badge--good {
  background: rgba(0, 212, 255, 0.15);
  color: var(--game-accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.result-badge--bad {
  background: rgba(255, 51, 102, 0.15);
  color: var(--game-risk);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.result-icon {
  font-size: 2.5rem;
  margin: 8px 0;
}

.result-icon--good { color: var(--game-accent); }
.result-icon--bad { color: var(--game-risk); }

.result-prize {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  max-width: 90%;
}

.game-close-btn {
  margin-top: 8px;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Mobile: Full Screen */
@media (max-width: 768px) {
  #game-modal .modal--game {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .game-cards-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .game-info-card {
    flex-direction: row;
    text-align: left;
    padding: 10px 12px;
    gap: 12px;
  }
  
  .card-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .card-title {
    margin-bottom: 2px;
    font-size: 0.9rem;
  }
  
  .card-desc {
    font-size: 0.75rem;
  }
  
  .game-view {
    padding: 16px;
    padding-top: 56px;
    padding-bottom: 24px;
    gap: 12px;
  }
  
  .game-header-new h3 { font-size: 1.4rem; }
  
  .case-container { height: 110px; }
  
  .case-item {
    width: 100px;
    padding: 10px 6px;
  }
  
  .case-item i { font-size: 1.1rem; }
  .case-item span { font-size: 0.6rem; }
  
  .game-result-inline {
    padding: 14px;
  }
  
  .result-icon { font-size: 2rem; margin: 4px 0; }
  .result-prize { font-size: 0.9rem; }
  .game-close-btn { padding: 10px 24px; font-size: 0.85rem; }
  
  /* App-like game modal structure */
  .modal--game {
    display: flex;
    flex-direction: column;
  }
  
  .game-view {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 100px;
  }
  
  /* Game actions - relative by default */
  .game-actions-new {
    position: relative;
    padding: 12px 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 20px));
  }
  
  /* Fixed bottom actions ONLY when game modal is open */
  .modal-overlay[aria-hidden="false"] .game-actions-new,
  .modal-overlay.active .game-actions-new {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 1) 0%, rgba(11, 15, 25, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
  }
  
  .game-main-btn,
  .game-sub-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 210, 255, 0.2);
  }
}

/* ============================
   CTA CALLBACK SECTION
   ============================ */
.callback-cta {
  background: var(--gradient-warm);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl) var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  box-shadow: 0 20px 60px rgba(247, 127, 0, 0.25);
}

.callback-cta-content h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: var(--spacing-xs);
}

.callback-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .callback-cta {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-xl);
  }
  
  .callback-cta .cta-btn--large {
    width: 100%;
  }
}

/* ============================
   SCROLL TO TOP
   ============================ */
.scroll-to-top {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .scroll-to-top { display: none; }
}

/* ============================
   ANIMATIONS
   ============================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s var(--ease-out);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ============================
   REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  body { opacity: 1 !important; transform: none !important; }
}
