/* ===== Статистика и подвал ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #ffffff12;
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #18181c;
  box-shadow: inset 0 0 0 1px #ffffff12;
}
.stat__ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgb(var(--accent-rgb) / 0.140);
  box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.300);
  color: var(--accent-hi);
}
.stat__ico svg { width: 22px; height: 22px; }
.stat__val { display: block; font: 900 18px/1.200 var(--font-title); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 2px; font: 600 12px/1.200 var(--font-text); color: var(--text-2); }
.stat--live .stat__ico svg { animation: live-pulse 1.800s ease-in-out infinite; }
@keyframes live-pulse {
  50% { opacity: 0.450; }
}

.ft { margin-top: 40px; }
.ft__brand { display: grid; justify-items: center; }
.ft__brand .logo { height: 56px; }
.ft__art {
  width: min(100%, 520px);
  aspect-ratio: 3 / 2;
  margin-top: 6px;
  object-fit: cover;
  -webkit-mask: radial-gradient(60% 60% at 50% 50%, #000 55%, transparent 100%);
  mask: radial-gradient(60% 60% at 50% 50%, #000 55%, transparent 100%);
  pointer-events: none;
  user-select: none;
}
.ft__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 16px;
  margin-top: 18px;
}
@media (min-width: 900px) {
  .ft__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ft__col h3 { margin: 0 0 12px; font: 800 14px/1.200 var(--font-title); color: #fff; }
.ft__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ft__col a { font: 500 14px/1.300 var(--font-text); color: var(--text-2); transition: color 0.200s; }
.ft__col a:hover { color: var(--accent-hi); }
.ft__col a:focus-visible, .ft__legal a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ft__social { display: flex; gap: 10px; }
.ft__social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #18181c;
  box-shadow: inset 0 0 0 1px #ffffff12;
  color: #e6e6ea;
  transition: color 0.200s, box-shadow 0.200s, transform 0.200s;
}
.ft__social svg { width: 22px; height: 22px; }
.ft__social a:hover { color: var(--accent-hi); box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.600); transform: translateY(-2px); }
.ft__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ffffff12;
}
.ft__legal a { font: 500 13px/1.300 var(--font-text); color: var(--text-2); transition: color 0.200s; }
.ft__legal a:hover { color: #fff; }
.ft__copy { margin: 18px 0 0; font: 500 12px/1.500 var(--font-text); color: var(--text-3); }
/* ===== Подвал: новогодний вариант — гирлянда, картинка, подарок-сюрприз ===== */
.ft__ny { position: relative; width: min(100%, 560px); margin-top: 8px; }
.ft__ny .ft__art { width: 100%; margin: 0; display: block; }
.ft__lights { position: absolute; left: 4%; right: 4%; top: -4px; z-index: 2; height: 34px; display: flex; justify-content: space-between; pointer-events: none; }
.ft__lights::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; border-bottom: 2px solid #2a4a2a; border-radius: 0 0 50% 50%; }
.ft__lights i { position: relative; width: 9px; height: 14px; margin-top: 10px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 10px 2px var(--c); animation: ft-blink 1.300s ease-in-out infinite alternate; animation-delay: var(--d); }
.ft__lights i:nth-child(odd) { margin-top: 16px; } .ft__lights i:nth-child(4n) { margin-top: 19px; }
.ft__lights i::before { content: ""; position: absolute; left: 2px; right: 2px; top: -4px; height: 4px; border-radius: 2px; background: #6b7a6b; }
@keyframes ft-blink { from { opacity: 0.350; box-shadow: 0 0 2px var(--c); } to { opacity: 1; } }
.ft__gift { position: absolute; right: 10%; bottom: 10%; z-index: 3; width: 54px; height: 54px; border: 0; padding: 0; cursor: pointer; background: none; font-size: 0; animation: ft-wobble 2.400s ease-in-out infinite; }
.ft__gift::before { content: "🎁"; font-size: 44px; line-height: 54px; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.600)) drop-shadow(0 0 12px rgb(255 92 207 / 0.700)); }
@keyframes ft-wobble { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg) scale(1.080); } 85% { transform: rotate(10deg) scale(1.080); } }
.ft__gift.is-pop { animation: ft-pop 0.450s ease-out; }
@keyframes ft-pop { 40% { transform: scale(1.350) rotate(-8deg); } }
.ft__bit { position: absolute; left: 50%; top: 50%; font-size: 18px; pointer-events: none; animation: ft-burst 1.100s ease-out forwards; }
@keyframes ft-burst { from { transform: translate(-50%, -50%) scale(0.400); opacity: 1; } to { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1); opacity: 0; } }
.ft__wish { position: absolute; right: 0; bottom: 110%; padding: 8px 12px; border-radius: 12px; white-space: nowrap; font: 900 13px/1 var(--font-title); color: #fff;
  background: linear-gradient(90deg, #ff4d8d, #a64dff); box-shadow: 0 8px 20px -8px #ff4d8d; animation: ft-wish 1.800s ease-out forwards; pointer-events: none; }
@keyframes ft-wish { 0% { opacity: 0; transform: translateY(10px); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.ft__nytext { margin: 4px 0 0; text-align: center; font: 700 14px/1.400 var(--font-title); color: #c9cde6; }
.ft__nytext b { color: #ffd84a; }
@media (prefers-reduced-motion: reduce) { .ft__lights i, .ft__gift { animation: none; } }
.ft__ny .ft__art { aspect-ratio: 16 / 9; -webkit-mask: radial-gradient(62% 62% at 50% 50%, #000 60%, transparent 100%); mask: radial-gradient(62% 62% at 50% 50%, #000 60%, transparent 100%); }
/* подвал v2 (как у Midas): логотип в шапке Санты + широкая уютная сцена с мягкими краями */
.ft__logo { display: block; width: min(190px, 52%); margin-bottom: 2px; filter: drop-shadow(0 6px 14px rgb(0 0 0 / 0.500)); }
.ft__logo img { display: block; width: 100%; height: auto; }
.ft__ny { width: min(100%, 640px); margin-top: 4px; }
.ft__ny .ft__art { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%) intersect, linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%); }
.ft__gift { right: 26%; bottom: 14%; }
.ft__nytext { font-size: 13px; color: #aeb5d6; }
.ft__ny .ft__art { border-radius: 0; } .ft__ny { width: min(100%, 680px); }
/* соцсети как у Midas: тёмные полупрозрачные плитки 48×48, внутри цветной логотип 24px */
.ft__social { gap: 8px; }
.ft__social a { width: 48px; height: 48px; border-radius: 16px; background: rgb(255 255 255 / 0.040); box-shadow: none; transition: background 0.200s, transform 0.200s; }
.ft__social a:hover { background: rgb(255 255 255 / 0.090); box-shadow: none; transform: translateY(-2px); }
.ft__social svg { width: 24px; height: 24px; }
.ft__social a[aria-label="Telegram"] { color: #2aabee; }
.ft__social a[aria-label="TikTok"] { color: #fff; }
.ft__social a[aria-label="TikTok"] svg { filter: drop-shadow(-1.200px -1px 0 #25f4ee) drop-shadow(1.200px 1px 0 #fe2c55); }

/* ===== Компьютер: подвал как у Midas — слева логотип и картинка, справа колонки ссылок 2×2, внизу копирайт и правила в одну строку ===== */
@media (min-width: 1024px) {
  .ft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "brand cols" "copy legal"; column-gap: 48px; align-items: center; margin-top: 34px; }
  .ft__brand { grid-area: brand; justify-items: start; }
  .ft__logo { width: 230px; margin: 0 0 4px; }
  .ft__ny { width: 100%; max-width: 660px; margin: 0; }
  .ft__cols { grid-area: cols; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; margin: 0; padding-left: 8px; }
  .ft__col h3 { margin-bottom: 14px; font-size: 16px; }
  .ft__col ul { gap: 12px; }
  .ft__col a { font-size: 15px; }
  .ft__copy, .ft__legal { margin: 26px 0 0; padding: 22px 0 6px; border-top: 1px solid #ffffff12; }
  .ft__copy { grid-area: copy; align-self: stretch; font: 600 13px/1.400 var(--font-text); color: var(--text-2); text-transform: uppercase; letter-spacing: 0.030em; }
  .ft__legal { grid-area: legal; justify-content: flex-end; gap: 10px 28px; }
}