/* Базовые стили и фон страницы */
@font-face {
  font-family: "Helmswald";
  src: url("fronts/Helmswald.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #e03530;
  --text: #ffffff;
  --white: #fff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Helmswald", Georgia, "Times New Roman", serif;
  background: #e33c36; /* красный фон (RGB 227,60,54) */
  animation: fadeIn 600ms ease both;
}

/* лёгкая виньетка и текстура поверх фона */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, rgba(0,0,0,0) 2px 6px);
  mix-blend-mode: multiply;
  animation: pan 18s linear infinite;
  z-index: 0;
}
.particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

@keyframes pan { to { background-position: 0 0, 400px 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* убран полупрозрачный слой-вуаль */

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  z-index: 2;
}

.logo { display: flex; align-items: center; gap: 8px; }
.logo-img { width: 32px; height: 32px; border-radius: 6px; }
.logo-img { width: 44px; height: 44px; border-radius: 8px; }

.controls { display: flex; gap: 12px; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-pill::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -100%;
  width: 60%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-20deg);
  transition: transform .45s ease;
}
.btn-pill:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-1px) scale(1.03); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.btn-pill:hover::after { transform: translateX(260%) skewX(-20deg); }
.btn-pill:active { transform: translateY(0) scale(0.98); box-shadow: 0 3px 10px rgba(0,0,0,0.2); }
.btn-pill:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10vh 20px 14vh; /* баннер чуть выше центра */
  position: relative;
  z-index: 2;
}

.banner { display: grid; justify-items: center; }

.title { display: none; }

.banner-image {
  width: min(100%, 980px);
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
  justify-self: center;
  transition: transform .4s ease, box-shadow .3s ease;
  animation: float 8s ease-in-out infinite;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.lead-text {
  margin: 24px auto 12px;
  text-align: center;
  font-size: 26px;
}

.copy-line {
  margin: 8px auto 0;
  padding: 14px 18px;
  width: fit-content;
  border: 2px dashed rgba(255,255,255,0.7);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  user-select: all;
  transition: background .2s ease, border-color .2s ease;
}
.copy-line:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.copy-line.copied { background: rgba(255,255,255,0.24); border-color: #fff; box-shadow: inset 0 0 0 6px rgba(255,255,255,0.08); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 3;
}
.toast.visible { opacity: 1; }

/* удалены подвал и тонкие линии */

/* Адаптивность */
@media (max-width: 600px) {
  .main { padding: 8vh 14px 12vh; }
}


