/* Палитра в духе фото: красный-чек, крем, песок, мягкий розовый, зелень */
/* Новогодние цвета */
:root {
  --red-gingham: #e63b3b;           /* насыщенный красный */
  --red-gingham-dark: #c93030;      /* тёмнее для hover */
  --cream: #faf6f2;                 /* светлый крем */
  --sand: #efe7dd;                  /* песочный фон */
  --black: #0b0b0c;                 /* глубокий чёрный для акцентов */
  --ink: #151618;                   /* основной текст темнее */
  --muted: #6b7076;                 /* вторичный текст */
  --leaf: #3a7d5c;                  /* зелёный-акцент из растений */
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius-xl: 18px;
  
  /* Новогодние цвета */
  --xmas-red: #dc2626;              /* новогодний красный */
  --xmas-green: #16a34a;            /* новогодний зеленый */
  --xmas-gold: #fbbf24;             /* золотой */
  --xmas-snow: #f0f9ff;             /* снежно-белый */
  --xmas-dark-green: #15803d;       /* темно-зеленый */
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--xmas-snow) 0%, #e0f2fe 30%, var(--cream) 60%, var(--sand) 100%);
  position: relative;
  overflow-x: hidden;
}

/* Анимированный клетчатый фон с новогодним акцентом */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(22, 163, 74, 0.04) 20px,
      rgba(22, 163, 74, 0.04) 22px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(220, 38, 38, 0.03) 20px,
      rgba(220, 38, 38, 0.03) 22px
    );
  pointer-events: none;
  z-index: 0;
  animation: patternMove 20s linear infinite;
}
@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 246, 242, 0.95) 50%, rgba(240, 249, 255, 0.95) 100%);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 2px solid rgba(22, 163, 74, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 30px rgba(22, 163, 74, 0.1);
  transition: all 0.3s ease;
}
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--xmas-red) 0%, 
    var(--xmas-gold) 25%, 
    var(--xmas-green) 50%, 
    var(--xmas-gold) 75%, 
    var(--xmas-red) 100%);
  opacity: 0.8;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--xmas-green), var(--xmas-red), var(--xmas-green), transparent);
  opacity: 0.5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
  z-index: 1;
}
.logo { 
  font-weight: 800; 
  background: linear-gradient(135deg, var(--xmas-red), var(--xmas-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none; 
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 24px;
  text-shadow: 0 2px 10px rgba(22, 163, 74, 0.2);
}
.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--xmas-red), var(--xmas-green));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
}
.logo:hover::after {
  width: 100%;
}
.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.main-nav a { 
  color: var(--ink); 
  text-decoration: none; 
  margin: 0 12px; 
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 8px;
}
.main-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(220, 38, 38, 0.1));
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--xmas-green), var(--xmas-red));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
}
.main-nav a:hover { 
  color: var(--xmas-green); 
}
.main-nav a:hover::before {
  opacity: 1;
}
.main-nav a:hover::after {
  width: 80%;
}
.header-cta .btn-primary { box-shadow: 0 10px 24px rgba(230,59,59,.25); }

/* Выпадающее меню покупки в хедере */
.header-buy-dropdown {
  position: relative;
  display: inline-block;
}

.header-buy-dropdown #header-buy-btn {
  position: relative;
  padding-right: 32px;
}

.header-buy-dropdown #header-buy-btn::after {
  content: '▼';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  opacity: 0.8;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.header-buy-dropdown.active #header-buy-btn::after {
  transform: translateY(-50%) rotate(180deg);
}

.buy-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 242, 0.98) 100%);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15), 0 0 30px rgba(22, 163, 74, 0.15), 0 4px 20px rgba(220, 38, 38, 0.1);
  backdrop-filter: blur(20px);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.buy-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.buy-dropdown-item {
  display: block;
  padding: 12px 16px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(22, 163, 74, 0.1);
  position: relative;
}

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

.buy-dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--xmas-green), var(--xmas-red));
  transition: width 0.3s ease;
}

.buy-dropdown-item:hover {
  background: rgba(22, 163, 74, 0.05);
  color: var(--xmas-green);
  padding-left: 20px;
}

.buy-dropdown-item:hover::before {
  width: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn:hover { 
  transform: translateY(-2px) scale(1.02);
}
.btn:active { 
  transform: translateY(0) scale(0.98);
}
.btn-primary { 
  background: linear-gradient(135deg, var(--red-gingham), var(--red-gingham-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(230, 59, 59, 0.3), 0 2px 5px rgba(230, 59, 59, 0.2);
}
.btn-primary:hover { 
  box-shadow: 0 8px 25px rgba(230, 59, 59, 0.4), 0 4px 10px rgba(230, 59, 59, 0.3);
}
.btn-secondary { 
  background: linear-gradient(135deg, var(--leaf), #2d6349);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(58, 125, 92, 0.3);
}
.btn-secondary:hover { 
  box-shadow: 0 8px 25px rgba(58, 125, 92, 0.4);
  filter: brightness(1.05);
}
.btn-ghost { 
  background: rgba(255, 255, 255, 0.8); 
  color: var(--ink); 
  border: 1px solid rgba(22, 163, 74, 0.3);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { 
  color: var(--xmas-green); 
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(220, 38, 38, 0.1));
  border-color: var(--xmas-green);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2), 0 0 20px rgba(22, 163, 74, 0.1);
  transform: translateY(-2px);
}

/* Hero */
.hero { 
  position: relative; 
  overflow: hidden; 
  padding: 48px 0 24px;
  z-index: 1;
}
.hero-inner { 
  display: grid; 
  grid-template-columns: 1.1fr .9fr; 
  gap: 32px; 
  align-items: center;
  animation: fadeInUp 0.8s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.audio-player {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  max-width: 500px;
  animation: fadeInDown 0.6s ease-out 0.1s both;
  transition: all 0.3s ease;
}
.audio-player:hover {
  border-color: var(--red-gingham);
  box-shadow: 0 4px 12px rgba(230, 59, 59, 0.15);
}
.audio-cover {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  background: linear-gradient(135deg, var(--red-gingham), var(--red-gingham-dark));
}
.audio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.audio-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.audio-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.audio-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-time {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.audio-progress-wrapper {
  width: 100%;
  position: relative;
}
.audio-progress {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,.08);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.audio-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red-gingham);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(230, 59, 59, 0.3);
  transition: all 0.2s ease;
}
.audio-progress::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(230, 59, 59, 0.5);
}
.audio-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red-gingham);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(230, 59, 59, 0.3);
  transition: all 0.2s ease;
}
.audio-progress::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(230, 59, 59, 0.5);
}
.audio-progress::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,.08);
}
.audio-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--red-gingham);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 2px 8px rgba(230, 59, 59, 0.3);
}
.audio-play-btn:hover {
  background: var(--red-gingham-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(230, 59, 59, 0.4);
}
.audio-play-btn:active {
  transform: scale(0.95);
}
.audio-play-btn.playing .play-icon {
  display: none;
}
.audio-play-btn.playing .pause-icon {
  display: block !important;
}
.audio-prev-btn,
.audio-next-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}
.audio-prev-btn:hover,
.audio-next-btn:hover {
  border-color: var(--red-gingham);
  background: rgba(230, 59, 59, 0.05);
  color: var(--red-gingham);
  transform: scale(1.05);
}
.audio-prev-btn:active,
.audio-next-btn:active {
  transform: scale(0.95);
}
.audio-track-list {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.track-btn {
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.track-btn:hover {
  border-color: var(--red-gingham);
  background: rgba(230, 59, 59, 0.05);
  color: var(--red-gingham);
}
.track-btn.active {
  background: var(--red-gingham);
  color: #fff;
  border-color: var(--red-gingham);
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 { 
  font-size: 54px; 
  line-height: 1.02; 
  margin: 0 0 12px; 
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink), var(--red-gingham));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead { 
  color: var(--muted); 
  font-size: 18px; 
  margin: 0 0 22px;
  animation: fadeIn 1s ease-out 0.2s both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cta-row { 
  display: flex; 
  flex-direction: column;
  gap: 12px; 
  margin-bottom: 14px; 
}

.buy-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secondary-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contract { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); margin-bottom: 16px; }
.contract code { background: var(--white); border: 1px solid rgba(0,0,0,.06); padding: 8px 10px; border-radius: 8px; }
.contract .copy { height: 36px; padding: 0 12px; border-radius: 8px; border: none; background: var(--red-gingham); color: #fff; cursor: pointer; box-shadow: var(--shadow); }
.contract .copy:hover { background: var(--red-gingham-dark); }

.mini-converter {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  max-width: 500px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.mini-converter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mini-converter-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mini-converter-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--red-gingham);
  font-variant-numeric: tabular-nums;
}
.mini-converter-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mini-converter-currency-select {
  position: relative;
  flex-shrink: 0;
}
.mini-converter-currency-select select {
  height: 44px;
  padding: 0 40px 0 42px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23151618' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 100px;
}
.mini-converter-currency-select select:focus {
  outline: none;
  border-color: var(--red-gingham);
  box-shadow: 0 0 0 2px rgba(230, 59, 59, 0.1);
}
.mini-converter-currency-select select:hover {
  border-color: rgba(0,0,0,.2);
}
.currency-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.currency-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.currency-emoji-fallback {
  font-size: 18px;
  display: none;
}
.currency-icon img[style*="display: none"] + .currency-emoji-fallback {
  display: inline;
}
.mini-converter-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mini-converter-input-group input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.mini-converter-input-group input:focus {
  outline: none;
  border-color: var(--red-gingham);
  box-shadow: 0 0 0 2px rgba(230, 59, 59, 0.1);
}
.mini-converter-input-group input:hover {
  border-color: rgba(0,0,0,.2);
}
.mini-converter-result {
  font-size: 13px;
  font-weight: 600;
  color: var(--red-gingham);
  font-variant-numeric: tabular-nums;
  padding-left: 2px;
}

.hero-media { 
  display: flex; 
  justify-content: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.photo-frame { 
  border-radius: var(--radius-xl); 
  overflow: hidden; 
  box-shadow: 0 20px 40px rgba(230,59,59,.18), inset 0 0 0 2px rgba(0,0,0,.6); 
  border: 8px solid var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.photo-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(230, 59, 59, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.photo-frame:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 25px 50px rgba(230,59,59,.25), inset 0 0 0 2px rgba(0,0,0,.6);
}
.photo-frame:hover::after {
  opacity: 1;
}
.photo-frame img { 
  width: 100%; 
  height: auto; 
  display: block;
  transition: transform 0.4s;
}
.photo-frame:hover img {
  transform: scale(1.05);
}

/* Chart Section */
.chart-section {
  background: linear-gradient(180deg, transparent, rgba(230, 59, 59, 0.02));
}
.chart-wrapper {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}
.chart-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-gingham), var(--red-gingham-dark), var(--red-gingham));
}
.chart-wrapper iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
  border-radius: 12px;
}

/* Converter Section */
.converter-section {
  background: linear-gradient(180deg, transparent, rgba(230, 59, 59, 0.02));
}
.converter-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}
.converter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-gingham), var(--red-gingham-dark), var(--red-gingham));
}
.price-display {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(0,0,0,.08);
  flex-wrap: wrap;
}
.price-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--red-gingham);
  font-variant-numeric: tabular-nums;
}
.converter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.converter-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.converter-input-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.converter-input-group input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 2px solid rgba(0,0,0,.12);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.converter-input-group input:focus {
  outline: none;
  border-color: var(--red-gingham);
  box-shadow: 0 0 0 3px rgba(230, 59, 59, 0.1);
}
.converter-input-group input:hover {
  border-color: rgba(0,0,0,.2);
}
.converter-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(230, 59, 59, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(230, 59, 59, 0.1);
}
.result-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.result-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--red-gingham);
  font-variant-numeric: tabular-nums;
}
.converter-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: center;
}
.converter-note p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Чекерный акцент на фоне */
.hero-check {
  position: absolute;
  inset: auto 0 -80px 50%;
  height: 260px;
  transform: translateX(-50%) rotate(-2deg);
  background-image:
    repeating-linear-gradient(45deg,
      var(--red-gingham) 0 16px,
      var(--white) 16px 32px);
  opacity: .08;
  filter: saturate(120%);
}

/* Sections */
.section { 
  padding: 64px 0; 
  position: relative;
  z-index: 1;
}
.section h2 { 
  font-size: 36px; 
  margin: 0 0 18px; 
  padding-bottom: 6px; 
  border-bottom: 2px solid rgba(0,0,0,.16);
  position: relative;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-gingham), transparent);
  animation: expandLine 1s ease-out 0.5s both;
}
@keyframes expandLine {
  from { width: 0; }
  to { width: 60px; }
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { 
  background: var(--white); 
  border: 1px solid rgba(0,0,0,.12); 
  border-radius: 16px; 
  padding: 18px; 
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 59, 59, 0.1), transparent);
  transition: left 0.5s;
}
.card:hover::before {
  left: 100%;
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,.12), 0 5px 15px rgba(230, 59, 59, 0.15);
  border-color: rgba(230, 59, 59, 0.3);
}
.card h3 { 
  margin: 0 0 8px; 
  font-size: 18px; 
  color: var(--red-gingham);
  position: relative;
  z-index: 1;
}
.card p { 
  margin: 0; 
  color: var(--ink); 
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step-item { 
  background: var(--white); 
  border: 1px solid rgba(0,0,0,.06); 
  border-radius: 14px; 
  padding: 16px 18px 16px 54px; 
  position: relative; 
  box-shadow: var(--shadow); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}
.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:hover { 
  border-color: rgba(0,0,0,.12); 
  transform: translateX(5px);
  box-shadow: 0 12px 35px rgba(0,0,0,.1);
}
.step-item.expanded { 
  border-color: rgba(230,59,59,.2); 
  box-shadow: 0 10px 30px rgba(0,0,0,.08), 0 0 0 1px rgba(230,59,59,.1), 0 0 20px rgba(230,59,59,.1);
  transform: scale(1.01);
}
.step-item::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--red-gingham); color:#fff; display: grid; place-items: center; font-weight: 700; }
.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}
.steps h3 { margin: 0; font-size: 18px; flex: 1; }
.step-quarter {
  font-size: 13px;
  font-weight: 700;
  color: var(--red-gingham);
  background: rgba(230,59,59,.08);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.step-toggle {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, color .2s ease;
  flex-shrink: 0;
}
.step-item.expanded .step-toggle {
  transform: rotate(180deg);
  color: var(--red-gingham);
}
.step-description { margin: 8px 0 0; color: var(--muted); }
.step-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, margin-top .4s ease, opacity .3s ease;
  opacity: 0;
  margin-top: 0;
}
.step-item.expanded .step-details {
  max-height: 500px;
  opacity: 1;
  margin-top: 16px;
}
.step-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  isolation: isolate;
  overflow: visible;
}
.step-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: transparent;
  border: 2px solid rgba(0,0,0,.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 2;
}
.step-checklist li.completed::before {
  content: '✓';
  background: var(--red-gingham);
  border-color: var(--red-gingham);
  color: #fff;
}
.blurred {
  color: var(--ink);
  filter: blur(5px);
  user-select: none;
  opacity: 0.7;
  display: inline-block;
  background: rgba(0,0,0,.03);
  padding: 0 2px;
  border-radius: 2px;
  position: relative;
  z-index: 0;
  margin-left: 0;
}
.steps p { margin: 0; color: var(--muted); }

/* Locks Section */
.lock-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out;
}
.lock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-gingham), var(--red-gingham-dark), var(--red-gingham));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.lock-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(0,0,0,.12), 0 5px 15px rgba(230, 59, 59, 0.1);
  border-color: rgba(230, 59, 59, 0.2);
}
.lock-card:hover::before {
  transform: scaleX(1);
}
.lock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0,0,0,.08);
}
.lock-header h3 {
  margin: 0;
  font-size: 24px;
  color: var(--ink);
  font-weight: 700;
}
.lock-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-gingham);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap .2s ease, color .2s ease;
}
.lock-link:hover {
  color: var(--red-gingham-dark);
  gap: 8px;
}
.lock-link svg {
  flex-shrink: 0;
}
.lock-timer {
  background: linear-gradient(135deg, rgba(230,59,59,.08), rgba(230,59,59,.04));
  border: 1px solid rgba(230,59,59,.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}
.timer-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.timer-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--red-gingham);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timer-unit {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin-bottom: 28px;
}
.lock-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lock-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lock-value {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}
.lock-address {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  word-break: break-all;
  color: var(--muted);
}
.lock-progress {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid rgba(0,0,0,.08);
}
.lock-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.lock-stage {
  color: var(--red-gingham);
  font-weight: 700;
}
.progress-bar {
  height: 10px;
  background: rgba(0,0,0,.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-gingham), var(--red-gingham-dark), var(--red-gingham));
  background-size: 200% 100%;
  border-radius: 6px;
  transition: width .6s ease;
  box-shadow: 0 0 10px rgba(230,59,59,.3);
  position: relative;
  overflow: hidden;
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 2s infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Footer */
.site-footer { 
  border-top: 2px solid rgba(22, 163, 74, 0.2); 
  padding: 48px 0 32px; 
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(250, 246, 242, 0.95) 30%,
    rgba(240, 249, 255, 0.95) 100%);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08), 0 0 40px rgba(22, 163, 74, 0.1);
  position: relative;
  margin-top: 64px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--xmas-red) 0%, 
    var(--xmas-gold) 20%,
    var(--xmas-green) 40%,
    var(--xmas-gold) 60%,
    var(--xmas-red) 80%,
    var(--xmas-gold) 100%);
  opacity: 0.9;
  animation: shimmer 4s ease-in-out infinite;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.3);
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(22, 163, 74, 0.02) 40px,
      rgba(22, 163, 74, 0.02) 42px
    );
  pointer-events: none;
  z-index: 0;
}
.footer-inner { 
  display: grid; 
  grid-template-columns: 1fr auto 1fr; 
  align-items: center; 
  gap: 24px; 
  position: relative;
  z-index: 1;
}
.brand { 
  font-weight: 800; 
  background: linear-gradient(135deg, var(--xmas-red), var(--xmas-green), var(--xmas-red));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  letter-spacing: 1px;
  animation: gradientShift 3s ease infinite;
  position: relative;
  padding: 12px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.1);
  backdrop-filter: blur(10px);
  display: inline-block;
}
.brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), rgba(220, 38, 38, 0.05));
  border-radius: 12px;
  z-index: -1;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.socials { 
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(22, 163, 74, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.socials a { 
  margin: 0; 
  text-decoration: none; 
  color: var(--ink); 
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 163, 74, 0.2);
  font-size: 14px;
  overflow: hidden;
}
.socials a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.15), transparent);
  transition: left 0.5s ease;
}
.socials a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(220, 38, 38, 0.1));
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.socials a:hover { 
  color: var(--xmas-green);
  border-color: var(--xmas-green);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25), 0 0 15px rgba(22, 163, 74, 0.15);
  background: rgba(255, 255, 255, 0.95);
}
.socials a:hover::before {
  left: 100%;
}
.socials a:hover::after {
  opacity: 1;
}
.disclaimer { 
  text-align: right; 
  color: var(--muted); 
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 16px 12px 40px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  max-width: 100%;
  transition: all 0.3s ease;
}
.disclaimer::before {
  content: '⚠️';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.6;
  transition: transform 0.3s ease;
}
.disclaimer:hover {
  border-color: rgba(22, 163, 74, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
}
.disclaimer:hover::before {
  transform: translateY(-50%) scale(1.2);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .photo-frame { max-width: 520px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .disclaimer { text-align: center; }
}

@media (max-width: 768px) {
  /* Улучшенный header для планшетов */
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  
  .main-nav a {
    margin: 0 4px;
    padding: 6px 10px;
    font-size: 14px;
  }
  
  .header-cta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .logo {
    font-size: 20px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section h2 {
    font-size: 28px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .card {
    padding: 16px;
  }
  
  .card h3 {
    font-size: 16px;
  }
  
  .card p {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  /* Мобильное меню */
  .header-inner { 
    height: auto; 
    padding: 12px 0; 
    gap: 12px; 
    flex-wrap: wrap;
    align-items: center;
  }
  
  .logo {
    font-size: 22px;
    flex: 1;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    padding: 8px 0;
    border-top: 1px solid rgba(22, 163, 74, 0.1);
    margin-top: 8px;
  }
  
  .main-nav a {
    margin: 0;
    padding: 8px 12px;
    font-size: 13px;
    flex: 1;
    min-width: calc(50% - 3px);
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(22, 163, 74, 0.15);
  }
  
  .main-nav a::before,
  .main-nav a::after {
    display: none;
  }
  
  .header-cta {
    display: flex;
    gap: 8px;
    width: 100%;
    order: 2;
  }
  
  .header-cta .btn {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    padding: 0 14px;
    height: 40px;
  }
  
  .header-buy-dropdown {
    flex: 1;
  }
  
  .header-buy-dropdown #header-buy-btn {
    width: 100%;
  }
  
  /* Hero секция */
  .hero {
    padding: 32px 0;
  }
  
  .hero-content h1 { 
    font-size: 32px; 
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero-content .lead {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Карточки */
  .cards { 
    grid-template-columns: 1fr; 
    gap: 12px;
  }
  
  .card {
    padding: 16px;
  }
  
  .card h3 {
    font-size: 16px;
  }
  
  .card p {
    font-size: 14px;
  }
  
  /* Секции */
  .section {
    padding: 32px 0;
  }
  
  .section h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  /* Таймеры */
  .timer-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
  }
  
  .timer-value { 
    font-size: 24px; 
  }
  
  .timer-unit {
    font-size: 12px;
  }
  
  /* Roadmap */
  .step-header { 
    flex-wrap: wrap; 
    padding: 12px;
  }
  
  .step-title-row { 
    flex-wrap: wrap; 
    gap: 8px;
  }
  
  .step-quarter { 
    margin-top: 4px; 
    font-size: 12px;
  }
  
  .step-checklist li { 
    font-size: 13px; 
    padding: 8px 0;
  }
  
  .step-item {
    padding: 12px 16px 12px 48px;
  }
  
  /* Конвертер */
  .chart-wrapper { 
    padding: 12px; 
    border-radius: 12px;
  }
  
  .chart-wrapper iframe { 
    height: 350px; 
    border-radius: 8px;
  }
  
  .converter-grid { 
    grid-template-columns: 1fr; 
    gap: 16px; 
  }
  
  .converter-card { 
    padding: 16px; 
  }
  
  .price-display { 
    flex-direction: column; 
    gap: 12px; 
  }
  
  .price-value { 
    font-size: 20px; 
  }
  
  .mini-converter { 
    padding: 12px; 
    max-width: 100%; 
  }
  
  .mini-converter-price { 
    font-size: 11px; 
  }
  
  .mini-converter-input-wrapper { 
    flex-direction: column; 
    gap: 8px; 
  }
  
  .mini-converter-currency-select { 
    width: 100%; 
  }
  
  .mini-converter-currency-select select { 
    width: 100%; 
  }
  
  /* Аудио плеер */
  .audio-player { 
    flex-direction: column; 
    padding: 12px; 
    max-width: 100%; 
    gap: 12px;
  }
  
  .audio-cover { 
    width: 100%; 
    height: 200px; 
    max-width: 200px; 
    margin: 0 auto;
  }
  
  .audio-controls { 
    width: 100%; 
  }
  
  .audio-info { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 6px; 
  }
  
  .audio-title { 
    font-size: 14px; 
  }
  
  .audio-time { 
    font-size: 11px; 
  }
  
  .audio-play-btn { 
    width: 40px; 
    height: 40px; 
  }
  
  .audio-prev-btn,
  .audio-next-btn { 
    width: 32px; 
    height: 32px; 
  }
  
  .track-btn { 
    font-size: 11px; 
    padding: 5px 10px; 
  }
  
  /* Кнопки покупки */
  .buy-buttons-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .buy-buttons-group .btn {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 15px;
  }
  
  .secondary-buttons-row {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  
  .secondary-buttons-row .btn {
    width: 100%;
    min-width: 0;
  }
  
  .buy-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 160px;
    width: 100%;
  }
  
  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .brand {
    font-size: 20px;
    padding: 10px 16px;
    display: inline-block;
  }
  
  .socials {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .socials a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  
  .disclaimer {
    text-align: center;
    padding: 12px 16px 12px 40px;
    font-size: 11px;
    width: 100%;
  }
  
  .disclaimer::before {
    left: 12px;
  }
  
  /* Container padding */
  .container {
    padding: 0 16px;
  }
}

/* Новогодние стили */
.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -20px;
  color: #ffffff;
  font-size: 1.2em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  animation: snowfall linear infinite;
  opacity: 0.8;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; font-size: 1em; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; font-size: 1.3em; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 11s; animation-delay: 2s; font-size: 0.9em; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 13s; animation-delay: 0.5s; font-size: 1.1em; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 10s; animation-delay: 1.5s; font-size: 1.4em; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 12s; animation-delay: 2.5s; font-size: 0.8em; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 11s; animation-delay: 0.8s; font-size: 1.2em; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 13s; animation-delay: 1.8s; font-size: 1em; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 10s; animation-delay: 0.3s; font-size: 1.3em; }
.snowflake:nth-child(10) { left: 15%; animation-duration: 12s; animation-delay: 1.2s; font-size: 0.9em; }
.snowflake:nth-child(11) { left: 25%; animation-duration: 11s; animation-delay: 2.2s; font-size: 1.1em; }
.snowflake:nth-child(12) { left: 35%; animation-duration: 13s; animation-delay: 0.7s; font-size: 1.4em; }
.snowflake:nth-child(13) { left: 45%; animation-duration: 10s; animation-delay: 1.7s; font-size: 0.8em; }
.snowflake:nth-child(14) { left: 55%; animation-duration: 12s; animation-delay: 0.2s; font-size: 1.2em; }
.snowflake:nth-child(15) { left: 65%; animation-duration: 11s; animation-delay: 1.2s; font-size: 1em; }
.snowflake:nth-child(16) { left: 75%; animation-duration: 13s; animation-delay: 2.2s; font-size: 1.3em; }
.snowflake:nth-child(17) { left: 85%; animation-duration: 10s; animation-delay: 0.6s; font-size: 0.9em; }
.snowflake:nth-child(18) { left: 95%; animation-duration: 12s; animation-delay: 1.6s; font-size: 1.1em; }
.snowflake:nth-child(19) { left: 5%; animation-duration: 11s; animation-delay: 0.4s; font-size: 1.4em; }
.snowflake:nth-child(20) { left: 12%; animation-duration: 13s; animation-delay: 1.4s; font-size: 0.8em; }
.snowflake:nth-child(21) { left: 22%; animation-duration: 10s; animation-delay: 2.4s; font-size: 1.2em; }
.snowflake:nth-child(22) { left: 32%; animation-duration: 12s; animation-delay: 0.1s; font-size: 1em; }
.snowflake:nth-child(23) { left: 42%; animation-duration: 11s; animation-delay: 1.1s; font-size: 1.3em; }
.snowflake:nth-child(24) { left: 52%; animation-duration: 13s; animation-delay: 2.1s; font-size: 0.9em; }
.snowflake:nth-child(25) { left: 62%; animation-duration: 10s; animation-delay: 0.5s; font-size: 1.1em; }
.snowflake:nth-child(26) { left: 72%; animation-duration: 12s; animation-delay: 1.5s; font-size: 1.4em; }
.snowflake:nth-child(27) { left: 82%; animation-duration: 11s; animation-delay: 2.5s; font-size: 0.8em; }
.snowflake:nth-child(28) { left: 92%; animation-duration: 13s; animation-delay: 0.9s; font-size: 1.2em; }
.snowflake:nth-child(29) { left: 8%; animation-duration: 10s; animation-delay: 1.9s; font-size: 1em; }
.snowflake:nth-child(30) { left: 18%; animation-duration: 12s; animation-delay: 0.3s; font-size: 1.3em; }
.snowflake:nth-child(31) { left: 28%; animation-duration: 11s; animation-delay: 1.3s; font-size: 0.9em; }
.snowflake:nth-child(32) { left: 38%; animation-duration: 13s; animation-delay: 2.3s; font-size: 1.1em; }
.snowflake:nth-child(33) { left: 48%; animation-duration: 10s; animation-delay: 0.7s; font-size: 1.4em; }
.snowflake:nth-child(34) { left: 58%; animation-duration: 12s; animation-delay: 1.7s; font-size: 0.8em; }
.snowflake:nth-child(35) { left: 68%; animation-duration: 11s; animation-delay: 2.7s; font-size: 1.2em; }
.snowflake:nth-child(36) { left: 78%; animation-duration: 13s; animation-delay: 0.1s; font-size: 1em; }
.snowflake:nth-child(37) { left: 88%; animation-duration: 10s; animation-delay: 1.1s; font-size: 1.3em; }
.snowflake:nth-child(38) { left: 98%; animation-duration: 12s; animation-delay: 2.1s; font-size: 0.9em; }
.snowflake:nth-child(39) { left: 3%; animation-duration: 11s; animation-delay: 0.5s; font-size: 1.1em; }
.snowflake:nth-child(40) { left: 7%; animation-duration: 13s; animation-delay: 1.5s; font-size: 1.4em; }
.snowflake:nth-child(41) { left: 13%; animation-duration: 10s; animation-delay: 2.5s; font-size: 0.8em; }
.snowflake:nth-child(42) { left: 17%; animation-duration: 12s; animation-delay: 0.2s; font-size: 1.2em; }
.snowflake:nth-child(43) { left: 23%; animation-duration: 11s; animation-delay: 1.2s; font-size: 1em; }
.snowflake:nth-child(44) { left: 27%; animation-duration: 13s; animation-delay: 2.2s; font-size: 1.3em; }
.snowflake:nth-child(45) { left: 33%; animation-duration: 10s; animation-delay: 0.6s; font-size: 0.9em; }
.snowflake:nth-child(46) { left: 37%; animation-duration: 12s; animation-delay: 1.6s; font-size: 1.1em; }
.snowflake:nth-child(47) { left: 43%; animation-duration: 11s; animation-delay: 2.6s; font-size: 1.4em; }
.snowflake:nth-child(48) { left: 47%; animation-duration: 13s; animation-delay: 0.4s; font-size: 0.8em; }
.snowflake:nth-child(49) { left: 53%; animation-duration: 10s; animation-delay: 1.4s; font-size: 1.2em; }
.snowflake:nth-child(50) { left: 57%; animation-duration: 12s; animation-delay: 2.4s; font-size: 1em; }

@keyframes snowfall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(50vh) translateX(20px) rotate(180deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(100vh) translateX(-20px) rotate(360deg);
    opacity: 0;
  }
}

/* Мерцающие новогодние огоньки */
.twinkling-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, var(--xmas-gold), transparent),
    radial-gradient(2px 2px at 60% 70%, var(--xmas-red), transparent),
    radial-gradient(1px 1px at 50% 50%, var(--xmas-green), transparent),
    radial-gradient(1px 1px at 80% 10%, var(--xmas-gold), transparent),
    radial-gradient(2px 2px at 90% 60%, var(--xmas-red), transparent),
    radial-gradient(1px 1px at 33% 80%, var(--xmas-green), transparent),
    radial-gradient(1px 1px at 10% 50%, var(--xmas-gold), transparent),
    radial-gradient(2px 2px at 40% 20%, var(--xmas-red), transparent),
    radial-gradient(1px 1px at 70% 40%, var(--xmas-green), transparent),
    radial-gradient(2px 2px at 15% 90%, var(--xmas-gold), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: twinkle 3s ease-in-out infinite alternate;
  opacity: 0.4;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.6; }
}

/* Новогодние акценты на кнопках */
.btn-primary {
  background: linear-gradient(135deg, var(--xmas-red), var(--red-gingham-dark));
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4), 0 2px 5px rgba(220, 38, 38, 0.3), 0 0 20px rgba(251, 191, 36, 0.3);
  position: relative;
  overflow: hidden;
}


.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5), 0 4px 10px rgba(220, 38, 38, 0.4), 0 0 30px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--xmas-green), var(--xmas-dark-green));
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4), 0 0 15px rgba(22, 163, 74, 0.2);
}

.btn-secondary:hover {
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.5), 0 0 25px rgba(22, 163, 74, 0.3);
  filter: brightness(1.1);
}

/* Новогодние акценты на карточках */
.card {
  border: 1px solid rgba(22, 163, 74, 0.2);
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, var(--xmas-gold) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
  opacity: 0.6;
}

@keyframes glow {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.2); }
}

.card:hover {
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,.12), 0 5px 15px rgba(22, 163, 74, 0.2);
}

.card h3 {
  color: var(--xmas-green);
}

/* Новогодние акценты на заголовках */
.section h2 {
  border-bottom: 2px solid rgba(22, 163, 74, 0.2);
  position: relative;
}

.section h2::before {
  content: '🎄';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  animation: swing 3s ease-in-out infinite;
}

@keyframes swing {
  0%, 100% { transform: translateY(-50%) rotate(-5deg); }
  50% { transform: translateY(-50%) rotate(5deg); }
}

.section h2::after {
  background: linear-gradient(90deg, var(--xmas-green), var(--xmas-red), transparent);
}

/* Новогодние акценты на логотипе */
.logo::before {
  content: '🎁';
  margin-right: 4px;
  font-size: 0.9em;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Новогодние акценты на фото-фрейме */
.photo-frame {
  border: 8px solid var(--white);
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.2), inset 0 0 0 2px rgba(0,0,0,.6), 0 0 30px rgba(251, 191, 36, 0.3);
}

.photo-frame:hover {
  box-shadow: 0 25px 50px rgba(22, 163, 74, 0.3), inset 0 0 0 2px rgba(0,0,0,.6), 0 0 40px rgba(251, 191, 36, 0.5);
}

/* Новогодние акценты на прогресс-барах */
.progress-fill {
  background: linear-gradient(90deg, var(--xmas-green), var(--xmas-red), var(--xmas-gold), var(--xmas-green));
  background-size: 200% 100%;
  animation: shimmer 2s infinite, xmasGradient 3s ease infinite;
}

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

/* Новогодние акценты на футере */
.site-footer {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.05), rgba(220, 38, 38, 0.05));
  border-top: 2px solid rgba(22, 163, 74, 0.2);
  position: relative;
}

.site-footer::before {
  content: '❄';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* Новогодние акценты на аудиоплеере */
.audio-player {
  border: 1px solid rgba(22, 163, 74, 0.2);
  box-shadow: var(--shadow), 0 0 15px rgba(22, 163, 74, 0.1);
}

.audio-player:hover {
  border-color: var(--xmas-green);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2), 0 0 20px rgba(251, 191, 36, 0.2);
}

.audio-play-btn {
  background: linear-gradient(135deg, var(--xmas-red), var(--red-gingham-dark));
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4), 0 0 15px rgba(251, 191, 36, 0.3);
}

.audio-play-btn:hover {
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5), 0 0 20px rgba(251, 191, 36, 0.4);
}

/* Новогодние акценты на конвертере */
.mini-converter {
  border: 1px solid rgba(22, 163, 74, 0.2);
  box-shadow: var(--shadow), 0 0 10px rgba(22, 163, 74, 0.1);
}

.mini-converter-header {
  border-bottom: 1px solid rgba(22, 163, 74, 0.2);
}

.mini-converter-price {
  color: var(--xmas-red);
}

.mini-converter-result {
  color: var(--xmas-green);
}

/* Новогодние акценты на таймерах */
.lock-timer {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.timer-value {
  color: var(--xmas-red);
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

/* Новогодние акценты на шагах roadmap */
.step-item::before {
  background: linear-gradient(135deg, var(--xmas-red), var(--red-gingham-dark));
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
}

.step-item.expanded {
  border-color: rgba(22, 163, 74, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,.08), 0 0 0 1px rgba(22, 163, 74, 0.2), 0 0 20px rgba(22, 163, 74, 0.15);
}

.step-quarter {
  background: rgba(22, 163, 74, 0.15);
  color: var(--xmas-green);
}

/* Адаптивность для новогодних элементов */
@media (max-width: 640px) {
  .section h2::before {
    display: none;
  }
  
  .snowflake {
    font-size: 0.8em;
  }
}

/* Стили для страницы статистики */
.stats-hero {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.05), transparent);
  position: relative;
  z-index: 1;
}

.stats-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stats-header h1 {
  font-size: 48px;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--xmas-green), var(--xmas-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
}

.contract-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  margin-top: 20px;
}

.contract-info code {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.contract-info .copy {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: none;
  background: var(--xmas-red);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contract-info .copy:hover {
  background: var(--red-gingham-dark);
  transform: translateY(-1px);
}

.stats-section {
  padding-top: 32px;
}

.stats-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--white);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--xmas-green), var(--xmas-red), var(--xmas-gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.12), 0 5px 15px rgba(22, 163, 74, 0.2);
  border-color: rgba(22, 163, 74, 0.4);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--xmas-red);
  line-height: 1.2;
}

.stat-subvalue {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.stat-change {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.stat-change.positive {
  color: var(--xmas-green);
}

.stat-change.negative {
  color: var(--xmas-red);
}

.stat-change::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.stat-change.positive::before {
  border-bottom: 6px solid var(--xmas-green);
}

.stat-change.negative::before {
  border-top: 6px solid var(--xmas-red);
}

.stats-chart-section {
  margin-bottom: 48px;
}

.stats-chart-section h2 {
  margin-bottom: 24px;
}

.stats-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.stats-details-card {
  background: var(--white);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.stats-details-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--xmas-green);
  font-weight: 700;
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.detail-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.buy-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buy-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--xmas-red), var(--red-gingham-dark));
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.buy-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.buy-link-btn svg {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.buy-link-btn:hover svg {
  opacity: 1;
}

.stats-liquidity-card {
  background: var(--white);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.stats-liquidity-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--xmas-green);
  font-weight: 700;
}

.liquidity-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.liquidity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.liquidity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.liquidity-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.liquidity-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

.main-nav a.active {
  color: var(--xmas-green);
  position: relative;
}

.main-nav a.active::after {
  width: 100%;
  background: var(--xmas-green);
}

/* Адаптивность для страницы статистики */
@media (max-width: 640px) {
  .stats-header h1 {
    font-size: 36px;
  }
  
  .stats-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .stats-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-details-card,
  .stats-liquidity-card {
    padding: 20px;
  }
  
  .contract-info {
    flex-direction: column;
    align-items: stretch;
  }
  
  .contract-info code {
    width: 100%;
    text-align: center;
    word-break: break-all;
  }
  
  /* Адаптивность для таблицы этапов */
  .stages-table {
    font-size: 12px;
  }
  
  .lock-stages-table {
    margin-top: 16px;
    padding-top: 16px;
  }
  
  .lock-stages-table h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .stages-table {
    font-size: 11px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .stages-table thead {
    display: none;
  }
  
  .stages-table tbody {
    display: block;
  }
  
  .stages-table tr {
    display: block;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(22, 163, 74, 0.15);
  }
  
  .stages-table td {
    display: block;
    padding: 4px 0;
    text-align: left;
    border: none;
  }
  
  .stages-table td::before {
    content: attr(data-label) ': ';
    font-weight: 600;
    color: var(--xmas-green);
    margin-right: 8px;
  }
  
  .stages-table td:first-child::before {
    content: 'Этап: ';
  }
  
  .stages-table td:nth-child(2)::before {
    content: 'Тип: ';
  }
  
  .stages-table td:nth-child(3)::before {
    content: 'Дата: ';
  }
  
  .stages-table td:nth-child(4)::before {
    content: 'Количество: ';
  }
  
  .stages-table td:nth-child(5)::before {
    content: 'Процент: ';
  }
  
  .stages-table td:nth-child(6)::before {
    content: 'Статус: ';
  }
}

/* Стили для секции лока на странице статистики */
.stats-locks-section {
  margin-bottom: 48px;
}

.stats-locks-section h2 {
  margin-bottom: 24px;
}

#stats-locks-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#stats-locks-container .lock-card {
  margin-top: 0;
}

/* Кнопка сворачивания/разворачивания лока */
.lock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.lock-toggle-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.lock-toggle-btn.expanded .lock-toggle-icon {
  transform: rotate(180deg);
}

.lock-toggle-icon {
  transition: transform 0.3s ease;
}

.lock-content {
  margin-top: 16px;
}

.lock-owner {
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
}

.lock-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Таблица этапов разблокировки */
.lock-stages-table {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid rgba(0,0,0,.08);
}

.lock-stages-table h4 {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--xmas-green);
  font-weight: 700;
}

.stages-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.stages-table thead {
  background: rgba(22, 163, 74, 0.1);
}

.stages-table th {
  padding: 12px 8px;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(22, 163, 74, 0.2);
}

.stages-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: var(--ink);
}

.stages-table tbody tr:hover {
  background: rgba(22, 163, 74, 0.05);
}

.stages-table tbody tr.completed {
  background: rgba(22, 163, 74, 0.03);
}

.stages-table tbody tr.completed td {
  color: var(--xmas-green);
  font-weight: 600;
}

.stages-table tbody tr.pending td {
  color: var(--muted);
}

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

/* Стили для страницы Telegram бота */
.bot-hero {
  padding: 80px 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.bot-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.bot-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.bot-icon {
  font-size: 120px;
  animation: bounce 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.bot-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.3), transparent 70%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.bot-content h1 {
  font-size: 48px;
  margin: 0 0 20px;
  background: linear-gradient(135deg, var(--xmas-green), var(--xmas-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bot-description {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 40px;
}

.bot-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.bot-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.bot-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.12), 0 5px 15px rgba(22, 163, 74, 0.2);
  border-color: rgba(22, 163, 74, 0.4);
}

.feature-icon {
  font-size: 36px;
}

.feature-text {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}

.bot-cta {
  margin-bottom: 32px;
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  justify-content: center;
}

.btn-large svg {
  flex-shrink: 0;
}

.bot-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

.bot-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bot-link {
  color: var(--xmas-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  position: relative;
}

.bot-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--xmas-green);
  transition: width 0.3s ease;
}

.bot-link:hover {
  color: var(--xmas-red);
}

.bot-link:hover::after {
  width: 100%;
  background: var(--xmas-red);
}

/* Адаптивность для страницы бота */
@media (max-width: 768px) {
  .bot-hero {
    padding: 60px 0;
  }
  
  .bot-content h1 {
    font-size: 40px;
  }
  
  .bot-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .bot-hero {
    padding: 32px 0;
    min-height: auto;
  }
  
  .bot-icon {
    font-size: 64px;
  }
  
  .bot-icon-glow {
    width: 120px;
    height: 120px;
  }
  
  .bot-content {
    padding: 0 16px;
  }
  
  .bot-content h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .bot-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  
  .bot-features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .bot-feature {
    padding: 16px;
    text-align: left;
  }
  
  .feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .feature-text h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .feature-text p {
    font-size: 13px;
  }
  
  .bot-cta-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .bot-telegram-btn,
  .btn-large {
    width: 100%;
    min-width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }
  
  .bot-links {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .bot-link {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(22, 163, 74, 0.15);
  }
}


