:root {
  --text: #E8D6A4;
  --muted: #A89C7D;
  --gold: #D6B76A;
  --rust: #B3542A;
  --concrete: #2A2A2A;
  --brick: #8B4513;
  --glass: rgba(42, 42, 42, 0.8);
  --glass-brd: rgba(179, 84, 42, 0.4);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  --surface: rgba(42, 42, 42, 0.9);
}

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

html, body {
  height: 100%;
}

body {
  color: var(--text);
  background: #1A1A1A;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* УСКОРЕННАЯ Initial state */
.initial-state {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.initial-state.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 0.5s;
}

.main-content {
  opacity: 0;
  transition: opacity 1s ease 1s;
}

.main-content.visible {
  opacity: 1;
}

/* Background */
picture.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.5s ease 0.8s;
}

picture.hero-bg.loaded {
  opacity: 1;
}

picture.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.7) contrast(1.2);
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.5s ease 1s;
  background: radial-gradient(ellipse at 20% 80%, rgba(179, 84, 42, 0.15), transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(214, 183, 106, 0.1), transparent 50%);
}

.vignette.visible {
  opacity: 1;
}

/* УСКОРЕННАЯ Brand Section */
.brand-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s;
  filter: blur(10px);
}

.brand-section.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* УСКОРЕННАЯ Navigation Section */
.nav-section {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 80px;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2s;
  filter: blur(10px);
}

.nav-section.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Card */
.card {
  width: min(1000px, 92vw);
  background: var(--glass);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 2px solid var(--glass-brd);
  border-radius: 8px;
  padding: 60px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rust), var(--gold), var(--rust));
}

.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rust);
  opacity: 0.3;
}

/* Brand */
.brand h1 {
  font-family: 'Unbounded', cursive;
  font-size: 82px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 16px;
  text-shadow: 2px 2px 0px var(--rust), 4px 4px 0px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.brand h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--rust);
  border-radius: 2px;
}

.brand h2 {
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 16px;
}

.brand h2::after {
  content: "• • •";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--rust);
  letter-spacing: 8px;
}

.addr {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  background: rgba(42, 42, 42, 0.6);
  padding: 16px 24px;
  border-radius: 4px;
  border-left: 3px solid var(--rust);
  display: inline-block;
}

/* Links */
.addr a,
.section a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.addr a:hover,
.section a:hover {
  opacity: 0.8;
}

/* Buttons */
.cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  padding: 18px 32px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--rust) 0%, var(--gold) 100%);
  color: #1A1A1A;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  box-shadow: 0 0 25px rgba(214, 183, 106, 0.4);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--gold), #FFD700, var(--gold));
  border-radius: 6px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effects only for non-touch devices */
@media (hover: hover) {
  .btn:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--rust) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(214, 183, 106, 0.6);
  }

  .btn:hover::before {
    left: 100%;
  }

  .btn:hover::after {
    opacity: 1;
  }
}

/* Sections */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(5px);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.section.hidden {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(5px);
}

.panel {
  background: var(--surface);
  border: 2px solid var(--glass-brd);
  border-radius: 8px;
  padding: 50px 40px;
  box-shadow: var(--shadow);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  background-image: linear-gradient(45deg, rgba(42, 42, 42, 0.9) 0%, transparent 50%),
                    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(179, 84, 42, 0.05) 2px, rgba(179, 84, 42, 0.05) 4px);
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rust);
}

.section h2 {
  font-family: 'Unbounded', cursive;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 16px;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--rust);
}

.section p {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section li {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.2px;
  padding-left: 24px;
  position: relative;
}

.section li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: bold;
}

.section li strong {
  color: var(--gold);
  font-weight: 600;
}

/* Menu Items - УНИВЕРСАЛЬНЫЕ СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(179, 84, 42, 0.2);
  transition: all 0.3s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  transform: translateX(5px);
}

.item-info {
  flex: 1;
  padding-right: 20px;
}

.item-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.item-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.item-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
  min-width: 80px;
}

/* Spirits Grid - УНИВЕРСАЛЬНЫЕ СТИЛИ */
.spirits-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(179, 84, 42, 0.2);
  align-items: center;
}

.spirits-grid:last-child {
  border-bottom: none;
}

.cell-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.cell-vol {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.cell-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  white-space: nowrap;
}

/* Footer */
.footer {
  padding: 60px 24px;
  text-align: center;
  opacity: 0.6;
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid var(--glass-brd);
  background: var(--concrete);
}

/* Map */
.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--glass-brd);
  box-shadow: var(--shadow);
  height: 200px;
  position: relative;
}

.map-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rust);
  z-index: 1;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: brightness(0.9) contrast(1.1) saturate(1.1);
}

.map-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.map-actions a {
  color: var(--rust);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--rust);
  padding-bottom: 2px;
}

/* Модальные окна */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.95);
  z-index: 1000;
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 2px solid var(--glass-brd);
  border-radius: 8px;
  padding: 50px 40px;
  max-width: 480px;
  width: 90vw;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rust);
}

/* Меню табаков для mixed.html */
.tobacco-menu {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.tobacco-tabs {
  display: flex;
  gap: 8px;
  margin: 32px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.tobacco-tab {
  padding: 16px 24px;
  background: var(--surface);
  border: 2px solid var(--glass-brd);
  border-radius: 4px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Jost', sans-serif;
  position: relative;
  overflow: hidden;
}

/* CLASSIC - чистый стиль с градиентными полосками */
.tobacco-tab.active[data-tab="classic"] {
  background: linear-gradient(135deg, rgba(42,42,42,0.9) 0%, rgba(26,26,26,0.9) 100%);
  border: 2px solid rgba(179,84,42,0.4);
  color: var(--gold);
  font-weight: 700;
}

/* PREMIUM - диагональный узор на фоне */
.tobacco-tab.active[data-tab="premium"] {
  background: 
    linear-gradient(135deg, rgba(42,42,42,0.95) 0%, rgba(26,26,26,0.95) 100%),
    radial-gradient(circle at 30% 70%, rgba(179,84,42,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(214,183,106,0.1) 0%, transparent 50%);
  border: 2px solid rgba(214,183,106,0.5);
  color: var(--gold);
  font-weight: 700;
  position: relative;
}

.tobacco-tab.active[data-tab="premium"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(214,183,106,0.03) 10px,
      rgba(214,183,106,0.03) 20px
    );
  pointer-events: none;
}

/* ULTRA - усиленное анимированное сияние */
.tobacco-tab.active[data-tab="ultra"] {
  background: 
    linear-gradient(135deg, rgba(20,20,20,0.98) 0%, rgba(35,35,35,0.98) 100%),
    radial-gradient(circle at 20% 80%, rgba(255,215,0,0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,193,7,0.2) 0%, transparent 40%);
  border: 2px solid rgba(255,215,0,0.8);
  color: #FFD700;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(255,215,0,0.5), 0 0 5px rgba(255,215,0,0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255,215,0,0.2), inset 0 0 15px rgba(255,215,0,0.1);
}

.tobacco-tab.active[data-tab="ultra"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255,215,0,0.15) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255,215,0,0.15) 50%, transparent 52%);
  background-size: 15px 15px;
  pointer-events: none;
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

.tobacco-tab.active[data-tab="ultra"]::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent, 
    rgba(255,215,0,0.15), 
    rgba(255,193,7,0.25), 
    rgba(255,215,0,0.15), 
    transparent);
  transform: rotate(45deg);
  animation: ultraShine 3s infinite;
  pointer-events: none;
}

/* Усиленная анимация сияния для Ultra */
@keyframes ultraShine {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

/* Анимация движения сетки */
@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 15px 15px; }
}

/* Hover эффекты для неактивных вкладок */
.tobacco-tab:hover:not(.active) {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.tobacco-content {
  margin-top: 30px;
}

.tobacco-panel {
  display: none;
}

.tobacco-panel.active {
  display: block;
}

.tobacco-list {
  padding: 32px;
  border: 2px solid var(--glass-brd);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--glass);
}

/* CLASSIC блок - чистый стиль */
#classic-panel .tobacco-list {
  background: linear-gradient(135deg, rgba(42,42,42,0.9) 0%, rgba(26,26,26,0.9) 100%);
  border-color: rgba(179,84,42,0.4);
}

/* PREMIUM блок - диагональный узор */
#premium-panel .tobacco-list {
  background: 
    linear-gradient(135deg, rgba(42,42,42,0.95) 0%, rgba(26,26,26,0.95) 100%),
    radial-gradient(circle at 30% 70%, rgba(179,84,42,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(214,183,106,0.1) 0%, transparent 50%);
  border-color: rgba(214,183,106,0.5);
  position: relative;
}

#premium-panel .tobacco-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(214,183,106,0.03) 10px,
      rgba(214,183,106,0.03) 20px
    );
  pointer-events: none;
}

/* ULTRA блок - усиленное анимированное сияние */
#ultra-panel .tobacco-list {
  background: 
    linear-gradient(135deg, rgba(20,20,20,0.98) 0%, rgba(35,35,35,0.98) 100%),
    radial-gradient(circle at 20% 80%, rgba(255,215,0,0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,193,7,0.15) 0%, transparent 40%);
  border: 2px solid rgba(255,215,0,0.7);
  box-shadow: 0 0 30px rgba(255,215,0,0.15);
  position: relative;
  overflow: hidden;
}

#ultra-panel .tobacco-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255,215,0,0.08) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255,215,0,0.08) 50%, transparent 52%);
  background-size: 12px 12px;
  pointer-events: none;
  opacity: 0.4;
  animation: gridMove 25s linear infinite;
}

#ultra-panel .tobacco-list::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent, 
    rgba(255,215,0,0.12), 
    rgba(255,193,7,0.18), 
    rgba(255,215,0,0.12), 
    transparent);
  transform: rotate(45deg);
  animation: ultraShine 4s infinite;
  pointer-events: none;
}

.tobacco-name {
  font-family: 'Unbounded', cursive;
  font-size: 32px;
  font-weight: 700;
  margin: 20px 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.tobacco-name:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(214, 183, 106, 0.5);
}

/* Усиленный эффект для названий табаков в Ultra */
#ultra-panel .tobacco-name {
  color: #FFD700;
  text-shadow: 0 0 12px rgba(255,215,0,0.4);
  position: relative;
  z-index: 2;
}

#ultra-panel .tobacco-name:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255,215,0,0.6);
}

.tobacco-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

#ultra-panel .tobacco-price {
  color: #FFA500;
  text-shadow: 0 0 8px rgba(255,165,0,0.3);
  font-weight: 700;
}

/* AI Генератор для mixed.html */
.ai-generator {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.generator-card {
  background: var(--surface);
  border: 2px solid var(--glass-brd);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.flavor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.pill {
  padding: 12px 20px;
  background: var(--glass);
  border: 2px solid var(--glass-brd);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.pill.active {
  background: linear-gradient(135deg, var(--rust) 0%, var(--gold) 100%);
  border-color: transparent;
  color: #1A1A1A;
}

.strength-control {
  margin: 30px 0;
}

.strength-slider {
  width: 100%;
  margin: 15px 0;
  -webkit-appearance: none;
  height: 6px;
  background: var(--glass);
  border-radius: 3px;
  outline: none;
}

.strength-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
}

.freshness-buttons {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.freshness-btn {
  flex: 1;
  padding: 15px;
  background: var(--glass);
  border: 2px solid var(--glass-brd);
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--text);
}

.freshness-btn.active {
  background: linear-gradient(135deg, var(--rust) 0%, var(--gold) 100%);
  border-color: transparent;
  color: #1A1A1A;
}

/* Исправляем кнопку генератора */
#generateBtn {
  width: 100%;
  margin-top: 30px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 18px 32px;
}

.result-card {
  display: none;
  background: var(--surface);
  border: 2px solid var(--glass-brd);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.mix-component {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: var(--glass);
  border-radius: 4px;
  margin: 10px 0;
  border-left: 3px solid var(--rust);
}

.mix-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 120px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.nav-btn {
  padding: 10px 15px;
  background: var(--glass);
  border: 2px solid var(--glass-brd);
  border-radius: 4px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
  background: var(--rust);
  border-color: var(--rust);
}

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

.saved-mixes {
  margin-top: 40px;
}

.saved-mix-item {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: 4px;
  padding: 15px;
  margin: 10px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
}

.saved-mix-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Responsive - ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
  .brand h1 {
    font-size: 58px;
  }
  
  .card {
    padding: 40px 20px;
  }
  
  .panel {
    padding: 40px 20px;
    min-height: auto;
  }
  
  .map-wrap {
    height: 180px;
  }
  
  .cta {
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .btn {
    padding: 16px 20px;
    font-size: 14px;
    min-width: 140px;
    max-width: 160px;
    flex: 0 1 calc(50% - 6px);
  }
  
  .tobacco-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .tobacco-tab {
    width: 100%;
    max-width: 280px;
  }
  
  .generator-card,
  .result-card {
    padding: 30px 20px;
  }
  
  .freshness-buttons {
    flex-direction: column;
  }
  
  .mix-actions {
    flex-direction: column;
  }
  
  .action-btn {
    min-width: auto;
  }

  /* Spirits Grid для планшетов */
  .spirits-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }
  
  .cell-vol, .cell-price {
    text-align: left;
  }
  
  .cell-price {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .brand h1 {
    font-size: 44px;
    text-shadow: 1px 1px 0px var(--rust), 2px 2px 0px rgba(0, 0, 0, 0.3);
  }
  
  .brand h2 {
    font-size: 16px;
    letter-spacing: 4px;
  }
  
  .cta {
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .btn {
    padding: 14px 16px;
    font-size: 13px;
    min-width: 120px;
    max-width: 140px;
    flex: 0 1 calc(50% - 5px);
    letter-spacing: 1px;
  }
  
  .panel {
    padding: 30px 20px;
    min-height: auto;
  }
  
  .map-wrap {
    height: 160px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .tobacco-name {
    font-size: 24px;
  }

  /* Menu Items для мобильных - ИСПРАВЛЕНО */
 