:root{
  --accent:#ff2d55;
  --muted:#9aa4b2;
  --text:#fff;
}

body{
  margin:0;
  min-height:100vh;
  font-family:Inter,Arial,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background:linear-gradient(180deg,#061021 0%, #081227 100%);
  color:var(--text);

  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  box-sizing: border-box;
  flex-wrap: wrap;  /* ключевой момент */
}




/* ================= VIDEO LEFT ================= */

.video-col{
  width:220px;
  flex-shrink:0;
  display:flex;
  justify-content:flex-start;
}

.side-video{
  width:220px;
  height:380px;
  background:#111;
  border-radius:20px;
  position:relative;
  overflow:hidden;
  box-shadow:0 0 20px rgba(0,255,60,0.35);
}

.side-video .inner{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#bbb;
  font-size:14px;
}

.tiktok-icons img{
  width:28px;
}

.like-flash{
  animation:flash .25s ease-out;
}

@keyframes flash{
  0%{transform:scale(1); color:#ff2d55;}
  50%{transform:scale(1.4); color:#4dff3b;}
  100%{transform:scale(1);}
}

/* ================= RIGHT — QUESTIONNAIRE ================= */

.wrap{
  max-width:480px;
  width:100%;
  display:flex;
  flex-direction:column;
}

.card{
  background:rgba(53, 246, 4, 0.03);
  border-radius:14px;
  padding:18px;
  box-shadow:0 6px 20px rgba(0,0,0,.5);
  margin-bottom:30px;
}

.logo{
  text-align:center;
  font-size:22px;
  font-weight:700;
  margin-bottom:6px;
}

.progress{
  height:8px;
  background:rgba(255,255,255,0.08);
  border-radius:20px;
  overflow:hidden;
  margin-bottom:10px;
}

.progress>i{
  display:block;
  height:100%;
  background:linear-gradient(90deg,var(--accent),#22ff55);
  width:0%;
}

.small{
  font-size:13px;
  color:var(--muted);
}

.question{
  font-size:18px;
  margin-bottom:14px;
}

.options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.opt{
  padding:12px;
  background:rgba(255,255,255,.04);
  border-radius:10px;
  text-align:center;
  cursor:pointer;
  border:2px solid transparent;
}

.opt.active{
  border-color:#4dff3b !important;
  box-shadow:0 0 18px rgba(77, 255, 59, 0.55);
  background:rgba(77, 255, 59, 0.08);
}

.btn{
  display:block;
  background:var(--accent);
  padding:12px;
  text-align:center;
  border-radius:10px;
  color:#fff;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s, transform .15s;
}

.btn:hover{
  background:#ff3b6a;
  transform:translateY(-2px);
}

.footer{
  color:var(--muted);
  font-size:12px;
  text-align:center;
  margin-top:10px;
}

/* AGE GATE */
.age-gate{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:50;
}

.age-box{
  background:#071122;
  padding:22px;
  border-radius:12px;
  text-align:center;
  width:90%;
  max-width:380px;
}

.hidden{
  display:none !important;
}

@media(max-width:600px){
  body{
    flex-direction:column;
    align-items:center;
    padding:20px;
  }
  .video-col{
    justify-content:center;
    width:100%;
  }
}

/* TikTok video element */
.tt-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  position:absolute;
  inset:0;
  z-index:1;
}

.side-video .tiktok-icons{
  position:absolute;
  right:12px;
  bottom:24px;
  z-index:5;
}

@media(max-width:600px){
  .side-video{
    width:100%;
    max-width:320px;
    height:420px;
  }
  .tt-video{
    border-radius:20px;
  }
}

/* SEO TEXT BLOCK */
.seo-text {
  max-width: 400px;
  padding: 10px;
  line-height: 1.50;
  background: linear-gradient(60deg, #ee0404, #8d024e, #10f008);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-text h1{
  font-size:32px;
  margin:0 0 12px 0;
  font-weight:800;
}

.seo-text h2{
  font-size:18px;
  margin:0 0 10px 0;
  color:#9aa4b2;
  font-weight:600;
}

.seo-text p{
  font-size:14px;
  color:#c2c7d1;
}

@media(max-width:900px){
  body{
    flex-direction:column;
    align-items:center;
  }
  .seo-text{
    max-width:90%;
    text-align:center;
  }
}

.bottom-links {
  grid-column: 1 / 4;   /* занимает все 3 колонки */
  grid-row: 4;          /* переносим в строку 4 (низ страницы) */
  margin-top: 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}


.info-row {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0 auto;

  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 0 10px;
}

.info-box {
  flex: 1;
  height: 110px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 0 25px rgba(0, 255, 60, 0.12);
}

/* Mobile */
@media (max-width: 600px) {
  .info-row {
    flex-direction: column;
    max-width: 320px;
  }

  .info-box {
    height: 90px;
  }
}

.info-row {
  grid-column: 1 / 4;
  grid-row: 3;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;

  margin-top: 60px;
}

.info-box {
  background: rgba(255,255,255,0.06);
  border: 4px solid rgba(0, 255, 60, 0.45);   /* зелёный неон */
  border-radius: 12px;

  padding: 4px;
  color: #fff;
  font-size: 10px;
  line-height: 1.45;

  backdrop-filter: blur(6px);

  /* неоновое свечение */
  box-shadow:
    0 0 8px rgba(0, 255, 60, 0.5),
    0 0 16px rgba(0, 255, 60, 0.35),
    0 0 32px rgba(0, 255, 60, 0.25);

  transition: 0.25s ease;
}

.info-box:hover {
  box-shadow:
    0 0 12px rgba(0, 255, 60, 0.8),
    0 0 22px rgba(0, 255, 60, 0.6),
    0 0 42px rgba(0, 255, 60, 0.5),
    0 0 60px rgba(0, 255, 60, 0.35);
  transform: translateY(-3px);
}

@media(max-width: 900px){
  body {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 20px !important;
  }

  .bottom-links,
  .info-row {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
@media(max-width:900px){
  .info-row {
    display: flex !important;
    flex-direction: column !important;
    max-width: 340px;
    margin: 0 auto;
  }
}
@media(max-width:900px){
  .seo-text { max-width: 100% !important; }
}
/* --- MOBILE FIXES --- */
@media (max-width: 768px) {

  /* Универсально запрещаем выход текста за границы */
  h1, h2, h3, p, div, a, .info-box {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal !important;
  }

  /* Контейнер с текстами (SEO блок) */
  .seo-text {
    padding: 15px;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Инфоблоки внизу */
  .info-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .info-box {
    width: 100% !important;
    padding: 14px;
    box-sizing: border-box;
  }

  /* Видео и правая колонка — чтобы не ломались */
  .video-col,
  .wrap {
    width: 100% !important;
  }

  /* Если где-то фикс ширины — ломает всё */
  [style*="width:"] {
    max-width: 100% !important;
  }

  /* Чтобы большие заголовки не ломали верстку */
  h1 {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  h2 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

}

.bottom-links {
  display: block;
  width: 100%;
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  opacity: .75;
  margin-top: 40px;
}

.footer-spacer {
  height: 40px;
}









