/* 
 * Estilo de Elegância Espacial (Spatial Elegance Design System)
 * Inspired by designmd.app/library/estilo-de-elegancia-espacial & Apple VisionOS
 * Glass material, specular highlights, airy depth, starlight & silver palette
 */

:root {
  --bg: #090B10;
  --bg-gradient: radial-gradient(circle at 50% -15%, rgba(45, 55, 80, 0.45) 0%, transparent 65%),
                 radial-gradient(circle at 90% 70%, rgba(30, 58, 110, 0.18) 0%, transparent 50%),
                 #090B10;
  --card: rgba(25, 28, 38, 0.65);
  --card-hover: rgba(35, 39, 52, 0.8);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --surface-active: #FFFFFF;
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-highlight: rgba(255, 255, 255, 0.25);
  
  --primary: #FFFFFF;
  --primary-text: #0D1017;
  --accent: #38BDF8;
  --accent-blue: #60A5FA;
  --accent-glow: rgba(96, 165, 250, 0.25);
  
  --text: #F8FAFC;
  --text-secondary: #E0E0E0;
  --muted: #94A3B8;
  --fine: #64748B;
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

body {
  background: var(--bg-gradient) !important;
  background-attachment: fixed !important;
  color: var(--text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  min-height: 100vh !important;
}

/* Base interactive physics */
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
button:active:not(:disabled) {
  transform: scale(0.97);
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* Shell & Layout */
.shell {
  max-width: 1380px;
}
.sidebar {
  padding-top: 38px;
  border-right: 1px solid var(--glass-border);
  background: rgba(9, 11, 16, 0.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.brand {
  letter-spacing: -1.5px;
  font-weight: 800;
  color: #FFFFFF;
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  display: block;
}
.brand-dot {
  color: var(--accent);
  font-size: 8px;
}
.sidebar p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
}
.nav-button {
  font-size: 13px;
  font-weight: 500;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: all 0.2s ease;
}
.nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}
.nav-button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.sidebar .nav-button.active::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FFFFFF;
  margin-left: auto;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.side-bottom {
  font-size: 11px;
  color: var(--muted);
}
.status-dot {
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

/* Header */
header {
  height: 90px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--glass-border);
}
.wordmark {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  cursor: pointer;
  flex-shrink: 0;
}
.header-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  display: block;
  transition: transform 0.2s ease;
}
.wordmark:hover .header-logo-icon {
  transform: scale(1.05);
}
.wordmark-text-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.6px !important;
  color: #FFFFFF !important;
  line-height: 1 !important;
}
.wordmark-badge {
  background: rgba(56, 189, 248, 0.14) !important;
  color: #38BDF8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  padding: 3px 8px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}
.header-note {
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 500;
  margin-left: auto;
}

/* Header Actions (Telegram & Avito Buttons) */
.header-actions {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-note {
  display: none !important;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header-btn-svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.header-btn-tg {
  background: rgba(42, 171, 238, 0.08);
  border: 1px solid rgba(42, 171, 238, 0.26);
  color: #E0F2FE !important;
}
.header-btn-tg svg {
  color: #38BDF8;
}
.header-btn-tg:hover, .header-btn-tg:active {
  background: rgba(42, 171, 238, 0.16);
  border-color: rgba(56, 189, 248, 0.55);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.22);
}
.header-btn-tg:hover .header-btn-svg, .header-btn-tg:active .header-btn-svg {
  transform: scale(1.12);
}

.header-btn-avito {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #F1F5F9 !important;
}
.header-btn-avito:hover, .header-btn-avito:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(152, 200, 56, 0.45);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 170, 255, 0.18);
}
.header-btn-avito:hover .header-btn-svg, .header-btn-avito:active .header-btn-svg {
  transform: scale(1.12);
}

.header-btn-badge {
  background: rgba(251, 191, 36, 0.16);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.38);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-left: 2px;
}

/* Desktop vs Mobile text switching */
.btn-text-mobile {
  display: none !important;
}
.btn-text-full {
  display: inline !important;
}

@media (max-width: 768px) {
  .header-actions {
    gap: 6px;
  }
  .header-action-btn {
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 11.5px;
    gap: 5px;
  }
  .header-btn-svg {
    width: 14px !important;
    height: 14px !important;
  }
  .header-btn-badge {
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 4px;
  }
  .btn-text-full {
    display: none !important;
  }
  .btn-text-mobile {
    display: inline !important;
  }
}

@media (max-width: 480px) {
  header {
    gap: 8px !important;
  }
  .wordmark {
    gap: 8px !important;
  }
  .header-action-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .header-actions {
    gap: 4px !important;
  }
  .header-action-btn {
    padding: 5px 6px !important;
    font-size: 10px !important;
  }
  .header-btn-badge {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .header-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .wordmark-title {
    font-size: 22px !important;
  }
  .wordmark-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  .header-note {
    display: none;
  }
}
header .avatar {
  display: none !important;
}
.avatar {
  border: 1px solid var(--glass-border-highlight);
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  color: #FFFFFF;
  font-weight: 600;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 4px 16px rgba(0,0,0,0.3);
}

/* Store Intro */
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}
.store-intro {
  margin-bottom: 26px;
}
.store-intro h1 {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin: 12px 0;
  color: #FFFFFF;
}
.store-intro h1 > span {
  color: var(--text-secondary);
  font-weight: 400;
}
.store-intro .subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.online-spark {
  display: inline-block;
  background: #60A5FA;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}
.intro-symbol {
  display: none !important;
}

/* 
 * FIX 1: Seamless Spatial Search Bar (No nested ugly rectangles)
 */
.search {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  padding: 0 20px !important;
  height: 52px !important;
  margin-bottom: 28px !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.22) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}
.search:focus-within {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}
.search svg {
  width: 19px !important;
  height: 19px !important;
  color: #94A3B8 !important;
  flex-shrink: 0 !important;
}
.search input,
.search input[type="text"],
.search input[type="search"],
#search,
input#search {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  font-size: 15px !important;
  color: #FFFFFF !important;
  line-height: normal !important;
}
.search input:focus,
#search:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.search input::placeholder,
#search::placeholder {
  color: #94A3B8 !important;
  opacity: 0.8 !important;
}
.search-key, .search kbd {
  display: none !important;
}

/* Spatial Hero Banner (Bundle Hero) */
.hero.bundle-hero {
  isolation: isolate;
  padding: 32px 34px 0;
  display: block;
  min-height: 270px;
  background: radial-gradient(ellipse at 85% 15%, rgba(100, 116, 139, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 90%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
              linear-gradient(135deg, rgba(30, 35, 48, 0.75) 0%, rgba(18, 20, 28, 0.85) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 16px 45px rgba(0, 0, 0, 0.45);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.bundle-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.65px, transparent 0.65px);
  background-size: 10px 10px;
}
.bundle-copy {
  position: relative;
  z-index: 2;
  width: 58%;
}
.bundle-copy > .eyebrow {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bundle-copy > .eyebrow span {
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 9px;
}
.bundle-hero h2 {
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin: 14px 0 10px;
  color: #FFFFFF;
  font-weight: 750;
}
.bundle-hero p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.bundle-hero .primary {
  background: #FFFFFF;
  color: #0D1017;
  font-weight: 650;
  font-size: 12px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.22);
}

.bundle-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--glass-border);
}
.bundle-price {
  font-size: 26px;
  letter-spacing: -0.8px;
  font-weight: 750;
  color: #FFFFFF;
}
.bundle-price small {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 10px;
}
.bundle-saving {
  font-size: 16px;
  letter-spacing: -0.4px;
  text-align: right;
  color: var(--accent);
  font-weight: 650;
}
.bundle-saving small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}

/* Orbit Visual Effect - Smooth Rotating Satellite Apps (Сбер, Т-Банк, ВК, Макс) */
.bundle-visual {
  position: absolute !important;
  right: 5% !important;
  top: 25px !important;
  width: 210px !important;
  height: 200px !important;
  pointer-events: none !important;
  overflow: visible !important;
}

.orbit-glow {
  position: absolute !important;
  width: 190px !important;
  height: 190px !important;
  top: calc(50% - 95px) !important;
  left: calc(50% - 95px) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.16) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 72%) !important;
  pointer-events: none !important;
}

.orbit-ring-outer {
  position: absolute !important;
  width: 214px !important;
  height: 214px !important;
  top: calc(50% - 107px) !important;
  left: calc(50% - 107px) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  pointer-events: none !important;
}

.orbit-track {
  position: absolute !important;
  width: 160px !important;
  height: 160px !important;
  top: calc(50% - 80px) !important;
  left: calc(50% - 80px) !important;
  border-radius: 50% !important;
  border: 1px dashed rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.03) !important;
  animation: orbitTrackSpin 22s linear infinite !important;
  transform-origin: center center !important;
  pointer-events: auto !important;
}

.bundle-visual:hover .orbit-track,
.bundle-visual:hover .orbit-satellite {
  animation-play-state: paused !important;
}

.orbit-satellite {
  position: absolute !important;
  width: 48px !important;
  height: 48px !important;
  animation: orbitSatelliteCounter 22s linear infinite !important;
  transform-origin: center center !important;
}

.orbit-satellite:nth-child(1) {
  top: -24px !important;
  left: calc(50% - 24px) !important;
}

.orbit-satellite:nth-child(2) {
  top: calc(50% - 24px) !important;
  right: -24px !important;
}

.orbit-satellite:nth-child(3) {
  bottom: -24px !important;
  left: calc(50% - 24px) !important;
}

.orbit-satellite:nth-child(4) {
  top: calc(50% - 24px) !important;
  left: -24px !important;
}

.orbit-satellite .icon.app-icon-box {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
  transition: transform 0.2s ease !important;
}

.orbit-satellite:hover .icon.app-icon-box {
  transform: scale(1.16) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 18px rgba(96, 165, 250, 0.5) !important;
}

.orbit-core {
  position: absolute !important;
  width: 38px !important;
  height: 38px !important;
  top: calc(50% - 19px) !important;
  left: calc(50% - 19px) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(96, 165, 250, 0.1) 70%, transparent 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.35) !important;
  pointer-events: none !important;
  animation: orbitPulseCore 3s ease-in-out infinite alternate !important;
}

@keyframes orbitTrackSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSatelliteCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes orbitPulseCore {
  0% { transform: scale(0.92); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

.bundle-plus,
.bundle-star {
  display: none !important;
}

/* Spatial Background & Hero Meteors (Shooting Stars / Падающие звезды) */

/* 1. Inside Bundle Hero Banner */
.bundle-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.bundle-space-bg {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: 1 !important;
  border-radius: inherit !important;
}

.bundle-copy,
.bundle-footer {
  position: relative !important;
  z-index: 2 !important;
}

.bundle-visual {
  position: absolute !important;
  z-index: 2 !important;
}

/* Hero Twinkling Stars */
.bundle-twinkle {
  position: absolute !important;
  width: 2.5px !important;
  height: 2.5px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.95), 0 0 12px 2px rgba(147, 197, 253, 0.7) !important;
  animation: twinkleStarPulse 2.8s ease-in-out infinite alternate !important;
  pointer-events: none !important;
}

.bt-1 { top: 20%; left: 16%; animation-delay: 0.1s !important; }
.bt-2 { top: 72%; left: 24%; width: 2px !important; height: 2px !important; animation-delay: 1.1s !important; }
.bt-3 { top: 26%; left: 48%; animation-delay: 1.7s !important; }
.bt-4 { top: 76%; left: 56%; width: 3px !important; height: 3px !important; animation-delay: 0.5s !important; }
.bt-5 { top: 18%; right: 26%; animation-delay: 2.2s !important; }
.bt-6 { top: 74%; right: 12%; width: 2px !important; height: 2px !important; animation-delay: 0.9s !important; }

@keyframes twinkleStarPulse {
  0% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.35); }
  100% { opacity: 0.3; transform: scale(0.85); }
}

/* Hero Shooting Stars / Meteors (Streak diagonally across the hero card) */
.hero-meteor {
  position: absolute !important;
  width: 140px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #ffffff 0%, rgba(147, 197, 253, 0.95) 25%, rgba(59, 130, 246, 0.45) 60%, transparent 100%) !important;
  border-radius: 999px !important;
  filter: drop-shadow(0 0 8px rgba(147, 197, 253, 0.95)) drop-shadow(0 0 2px #ffffff) !important;
  opacity: 0 !important;
  transform: rotate(-35deg) !important;
  will-change: transform, opacity !important;
  pointer-events: none !important;
}

.hero-meteor::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 4.5px !important;
  height: 4.5px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.98), 0 0 18px 5px rgba(96, 165, 250, 0.9) !important;
}

.hero-meteor.hm-1 {
  top: 12% !important;
  right: 22% !important;
  animation: heroMeteorFlight 4.5s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 0.4s !important;
}

.hero-meteor.hm-2 {
  top: 42% !important;
  right: 8% !important;
  animation: heroMeteorFlight 5.5s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 2.2s !important;
}

.hero-meteor.hm-3 {
  top: 6% !important;
  right: 52% !important;
  animation: heroMeteorFlight 6s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 3.8s !important;
}

@keyframes heroMeteorFlight {
  0% {
    opacity: 0;
    transform: translate3d(60px, -35px, 0) rotate(-35deg);
  }
  18% {
    opacity: 0.95;
  }
  65% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate3d(-300px, 190px, 0) rotate(-35deg);
  }
}

/* 2. Global Page Background Meteors (visible on viewport edges & when scrolling) */
.shooting-stars-canvas {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

.shell {
  position: relative !important;
  z-index: 1 !important;
}

.shooting-star {
  position: absolute !important;
  width: 150px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #ffffff 0%, rgba(147, 197, 253, 0.9) 25%, transparent 100%) !important;
  border-radius: 999px !important;
  filter: drop-shadow(0 0 6px rgba(147, 197, 253, 0.9)) drop-shadow(0 0 2px #ffffff) !important;
  opacity: 0 !important;
  transform: rotate(-35deg) !important;
  pointer-events: none !important;
  will-change: transform, opacity !important;
}

.shooting-star::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.95), 0 0 16px 4px rgba(96, 165, 250, 0.8) !important;
}

.shooting-star:nth-child(1) {
  top: 8% !important;
  right: 15% !important;
  animation: pageMeteorFlight 5s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 0.6s !important;
}

.shooting-star:nth-child(2) {
  top: 24% !important;
  right: 38% !important;
  animation: pageMeteorFlight 6.2s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 2.5s !important;
}

.shooting-star:nth-child(3) {
  top: 4% !important;
  right: 62% !important;
  animation: pageMeteorFlight 7s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 4.2s !important;
}

.shooting-star:nth-child(4) {
  top: 36% !important;
  right: 10% !important;
  animation: pageMeteorFlight 5.8s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 1.8s !important;
}

.shooting-star:nth-child(5) {
  top: 16% !important;
  right: 50% !important;
  animation: pageMeteorFlight 6.6s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  animation-delay: 3.4s !important;
}

@keyframes pageMeteorFlight {
  0% {
    opacity: 0;
    transform: translate3d(70px, -40px, 0) rotate(-35deg);
  }
  20% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate3d(-380px, 240px, 0) rotate(-35deg);
  }
}

@media (max-width: 768px) {
  .shooting-stars-canvas {
    display: none !important;
  }
}

/* Subtle Twinkling Starlight Points in Global Canvas */
.star-twinkle {
  position: absolute !important;
  width: 2.5px !important;
  height: 2.5px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9) !important;
  animation: twinkleStar 3.5s ease-in-out infinite alternate !important;
  pointer-events: none !important;
}

@keyframes twinkleStar {
  0% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.35); }
  100% { opacity: 0.25; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-meteor, .shooting-star, .bundle-twinkle, .star-twinkle {
    animation: none !important;
  }
}

/* Category Chips */
.category-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 600;
}
.categories {
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  font-size: 12px;
  font-weight: 500;
  min-height: 40px;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}
.chip.active {
  background: #FFFFFF;
  color: #0D1017;
  border-color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
  font-weight: 650;
}

/* Section Headings */
.section-heading {
  margin-top: 30px;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  font-weight: 700;
  color: #FFFFFF;
}
.section-heading h2 > span {
  font-size: 14px;
  color: var(--accent);
  margin-left: 6px;
}
.section-heading > span {
  color: var(--muted);
  font-size: 11px;
}

/* 
 * FIX 2: Pixel-Perfect Popular Card & Clean SVG Add/Check Button
 */
.popular {
  gap: 14px !important;
}
.popular-card {
  padding: 18px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.28) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}
.popular-card:hover {
  transform: translateY(-3px) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}
.popular-card > .icon {
  width: 50px !important;
  height: 50px !important;
  border-radius: 14px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  flex-shrink: 0 !important;
}
.popular-card .add {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
}
.popular-card h3 {
  font-size: 15px !important;
  font-weight: 650 !important;
  letter-spacing: -0.2px !important;
  color: #FFFFFF !important;
  margin: 0 0 3px !important;
  line-height: 1.3 !important;
}
.popular-card p {
  font-size: 12px !important;
  color: var(--muted) !important;
  margin: 0 0 14px !important;
}
.mini-label {
  align-self: flex-start !important;
  margin-top: auto !important;
  font-size: 11px !important;
  font-weight: 550 !important;
  color: #E2E8F0 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 9999px !important;
  padding: 4px 11px !important;
  letter-spacing: -0.1px !important;
}

/* Clean, Balanced Tactile Button (+ and ✓) */
.add {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  flex: 0 0 36px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  line-height: 1 !important;
}
.add svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  display: block !important;
  pointer-events: none !important;
  transition: transform 0.2s ease !important;
}
.add:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.08) !important;
}
.add:active {
  transform: scale(0.92) !important;
}
.add.selected {
  background: #FFFFFF !important;
  color: #090B10 !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}
.add.selected svg {
  stroke: #090B10 !important;
}

/* App Rows */
.catalog {
  gap: 12px !important;
}
.app-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 18px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
}
.app-row:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.app-row:has(.selected) {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.app-row .icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 13px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
.app-row h3 {
  font-size: 14px !important;
  font-weight: 650 !important;
  color: #FFFFFF !important;
  margin: 0 0 2px !important;
}
.app-row p {
  font-size: 12px !important;
  color: var(--muted) !important;
  margin: 0 !important;
}
.app-row .add {
  margin-left: auto !important;
}

/* Buttons System */
.primary {
  background: #FFFFFF !important;
  color: #0D1017 !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2) !important;
  font-weight: 650 !important;
  letter-spacing: -0.2px !important;
}
.primary:hover {
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.32) !important;
}
.secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-secondary) !important;
  font-weight: 550 !important;
}
.secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Panels */
.panel {
  background: linear-gradient(135deg, rgba(28, 32, 44, 0.65), rgba(18, 20, 28, 0.75));
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 12px 36px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.summary-line {
  color: var(--muted);
  font-size: 13px;
}
.summary-line.total {
  font-size: 26px;
  font-weight: 750;
  color: #FFFFFF;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  margin-top: 20px;
}
.summary-line.total > :last-child {
  color: #FFFFFF;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}
.green {
  color: #34D399;
}

/* Form inputs (excluding #search to keep search bar seamless & one-tone) */
input:not(#search), select, .field-label textarea {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
}
input:not(#search):focus, select:focus, .field-label textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* Floating Dock (Cart capsule) */
.dock {
  border: 1px solid var(--glass-border-highlight);
  background: rgba(20, 24, 34, 0.82);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  padding: 14px 20px;
  will-change: transform;
  animation: dock-appear 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dock-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dock strong {
  font-size: 14px;
  color: #FFFFFF;
}
.dock small {
  color: var(--muted);
}
.dock .primary {
  border-radius: var(--radius-sm);
  min-height: 46px;
  padding: 12px 20px;
}

/* Badges & Workflow */
.badge {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.workflow-status {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.25);
  color: #93C5FD;
}
.workflow-notice {
  background: rgba(30, 36, 50, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

/* Trust footer */
.trust {
  border-top: 1px solid var(--glass-border);
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--glass-border);
  color: var(--fine);
}

/* Toast */
#toast {
  background: rgba(26, 30, 42, 0.92);
  color: #FFFFFF;
  border: 1px solid var(--glass-border-highlight);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* Modal Dialog */
dialog {
  background: rgba(20, 23, 32, 0.94);
  border: 1px solid var(--glass-border-highlight);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
}
dialog::backdrop {
  background: rgba(5, 7, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Animations */
.view-enter {
  animation: spatial-enter 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes spatial-enter {
  from {
    opacity: 0.85;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes check-in {
  0% { transform: scale(0.85); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
  body {
    background: radial-gradient(circle at 50% 0%, rgba(45, 55, 80, 0.35) 0%, transparent 55%),
                #090B10 !important;
  }
  main {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  header {
    min-height: 72px;
    margin-bottom: 24px;
    border-bottom-color: var(--glass-border);
  }
  .store-intro h1 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .hero.bundle-hero {
    padding: 24px 22px 0;
    border-radius: var(--radius-md);
  }
  .bundle-copy {
    width: 68% !important;
  }
  .bundle-hero h2 {
    font-size: 23px;
  }
  .bundle-visual {
    right: -24px !important;
    top: 38px !important;
    width: 170px !important;
    height: 170px !important;
    transform: scale(0.72) !important;
    transform-origin: center right !important;
  }
  .popular-card {
    padding: 15px 14px !important;
    border-radius: 18px !important;
  }
  .app-row {
    padding: 13px 14px !important;
    border-radius: 16px !important;
  }
  .dock {
    left: 12px;
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    border-radius: 20px;
    padding: 12px 14px;
  }
  .mobile-nav {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    border-radius: 26px;
    border: 1px solid var(--glass-border-highlight);
    background: rgba(18, 22, 32, 0.88);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: 8px 6px;
  }
  .mobile-nav .nav-button {
    font-size: 9px;
    font-weight: 550;
    color: var(--muted);
    border-radius: 16px;
    padding: 6px 2px;
  }
  .mobile-nav .nav-button.active {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  .mobile-nav .nav-button.active svg {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  }
}

.icon {
  font-size: var(--mark-size, 24px);
  white-space: nowrap;
  overflow: hidden;
}
.orbit-center .icon {
  font-size: calc(var(--mark-size, 24px) * 1.25);
}

/* 
 * How It Works (Spatial Elegance Installation Guide)
 */
.how-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.how-step-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 8px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: all 0.25s ease;
}
.how-step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}
.how-step-badge {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}
.how-step-content {
  flex: 1;
}
.how-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.how-step-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-step-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.3px;
}
.how-step-header .fine {
  color: var(--muted);
  font-size: 12px;
}
.how-step-content p {
  font-size: 14px;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 0 0 14px;
}
.how-pill-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 5px 13px;
  font-size: 12px;
  color: #F1F5F9;
  font-weight: 500;
}
.accent-link {
  color: var(--accent-blue);
  text-decoration: underline;
  font-weight: 600;
}

/* Trust / Guarantees Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.trust-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.trust-icon {
  font-size: 26px;
  margin-bottom: 12px;
}
.trust-card h4 {
  font-size: 15px;
  font-weight: 650;
  color: #FFFFFF;
  margin: 0 0 8px;
}
.trust-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  transition: all 0.2s ease;
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}
.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '↓';
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  color: #FFFFFF;
}
.faq-item p {
  font-size: 13px;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-banner {
  background: linear-gradient(135deg, rgba(30, 35, 48, 0.75) 0%, rgba(18, 20, 28, 0.85) 100%) !important;
  border: 1px solid var(--glass-border-highlight) !important;
}

@media (max-width: 700px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .how-step-card {
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }
}

/* Sleek, Balanced Workflow Action Buttons (No giant boxes) */
.workflow-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 16px !important;
  width: 100% !important;
}
.workflow-buttons button,
.workflow-buttons a,
.workflow-buttons .primary,
.workflow-buttons .secondary {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Real App Store Icons & VisionOS Spatial Squircle (Uniform Identical Borders) */
.icon.app-icon-box {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #141722 !important; /* Neutral dark, NO colored halo/leak! */
  color: var(--icon-fg, #ffffff) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important; /* Identical, uniform border matching the website */
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.app-icon-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 13px !important;
  z-index: 2 !important;
  background: #141722 !important;
  display: block !important;
}

.icon-fallback {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--icon-bg, #2563eb) !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  font-size: 14px !important;
  letter-spacing: -0.4px !important;
  user-select: none !important;
  border-radius: 13px !important;
}

.popular-card > .icon.app-icon-box {
  width: 50px !important;
  height: 50px !important;
  border-radius: 14px !important;
  margin-bottom: 14px !important;
}

.app-row .icon.app-icon-box {
  width: 48px !important;
  height: 48px !important;
  border-radius: 13px !important;
}

.order-icons .icon.app-icon-box {
  width: 42px !important;
  height: 42px !important;
  border-radius: 11px !important;
}

.hero-art .icon.app-icon-box {
  width: 76px !important;
  height: 76px !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 1050px) {
  .hero-art .icon.app-icon-box {
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px !important;
  }
}
@media (max-width: 700px) {
  .popular-card > .icon.app-icon-box {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
  }
  .app-row .icon.app-icon-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
  }
  .order-icons .icon.app-icon-box {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }
}


/* ==========================================================
   LEGAL COMPLIANCE & FOOTER (T-BANK REQUIREMENTS)
   ========================================================== */

dialog {
  width: calc(100% - 32px) !important;
  max-width: 540px !important;
  max-height: 85vh !important;
  box-sizing: border-box !important;
}

.modal-body-scroll {
  max-height: 52vh;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.6;
  color: #CBD5E1;
  padding-right: 8px;
  margin: 12px 0;
  text-align: left;
}
.modal-body-scroll p {
  margin: 0 0 10px;
}
.modal-body-scroll p:last-child {
  margin-bottom: 0;
}
.modal-highlight-box {
  margin: 12px 0;
  padding: 12px 14px;
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid #38BDF8;
  border-radius: 8px;
  font-size: 12.5px;
}

.site-footer {
  margin: 48px 0 calc(120px + env(safe-area-inset-bottom)) !important;
  padding: 28px 0 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  color: var(--text-secondary) !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.footer-payments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payments-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.payments-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.2s, border-color 0.2s;
}
.pay-badge img {
  height: 34px;
  width: auto;
  display: block;
}
.pay-badge:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.tbank-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 2px;
  border-radius: 8px;
  background: rgba(255, 221, 45, 0.08);
  border: 1px solid rgba(255, 221, 45, 0.28);
  color: #FFDD2D;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.tbank-partner-link img {
  height: 34px;
  width: auto;
  display: block;
}
.tbank-partner-link:hover {
  background: rgba(255, 221, 45, 0.16);
  border-color: #FFDD2D;
  transform: translateY(-1px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  color: #94A3B8;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
  font-family: inherit;
}
.legal-btn:hover {
  color: #38BDF8;
}

.footer-requisites {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  font-size: 8.5px;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.22);
  opacity: 0.55;
  transition: opacity 0.2s ease;
  padding: 2px 0;
}
.footer-requisites:hover {
  opacity: 0.9;
}
.footer-requisites strong {
  color: rgba(226, 232, 240, 0.35);
  font-weight: 500;
  font-size: 9px;
}
.footer-requisites a {
  color: rgba(56, 189, 248, 0.4);
  text-decoration: none;
}
.footer-requisites a:hover {
  text-decoration: underline;
  color: #38BDF8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 8.5px;
  color: rgba(100, 116, 139, 0.3);
}
.footer-bottom a {
  color: #FFDD2D;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* Footer SEO Internal Linking */
.footer-seo-links {
  margin: 22px 0 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}
.seo-links-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 10px;
}
.seo-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.seo-links-grid a {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.seo-links-grid a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
