/* ================================================
   ШРИФТЫ
   ================================================ */

@font-face {
  font-family: 'Golos Text';
  src: url('fonts/GolosTextVF-Regular.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ================================================
   ПЕРЕМЕННЫЕ
   ================================================ */

:root {
  --bg: #090d16;
  --card: #131c2e;
  --card-blur: rgba(19, 28, 46, 0.75);
  --accent: #fbbf24;
  --accent-glow: rgba(251, 191, 36, 0.25);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-blue: #38bdf8;
  --accent-blue-glow: rgba(56, 189, 248, 0.3);
  --text: #ffffff;
  --text-dim: #94a3b8;
  --border-main: #22314d;

  /* Типографическая шкала */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   19px;
  --text-xl:   24px;
  --text-2xl:  30px;
  --text-3xl:  38px;

  /* Межбуквенные интервалы */
  --tracking-tight:  -0.03em;
  --tracking-normal:  0em;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.12em;
  --tracking-widest:  0.22em;

  /* Высота строк */
  --leading-none:   1;
  --leading-tight:  1.15;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;
}

/* ================================================
   СБРОС И БАЗА
   ================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Golos Text', system-ui, sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'ss01' 1;
  background:
    radial-gradient(circle at 15% 20%, rgba(251,191,36,0.12), transparent 25%),
    radial-gradient(circle at 85% 15%, rgba(59,130,246,0.12), transparent 30%),
    linear-gradient(180deg, #03050a 0%, #090d16 50%, #050811 100%);
  background-attachment: fixed;
}

/* ================================================
   ФОНОВЫЕ ЭФФЕКТЫ (отключены на мобильных)
   ================================================ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(251,191,36,0.15), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.12), transparent 28%),
    radial-gradient(circle at 50% 70%, rgba(16,185,129,0.10), transparent 35%);
  filter: blur(25px);
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 90%);
  z-index: -1;
}

html::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: -1;
}

/* ================================================
   ТИПОГРАФИКА — ЗАГОЛОВКИ
   ================================================ */

h1 {
  font-family: 'Golos Text', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  text-align: center;
  margin: 0 0 8px 0;
  word-spacing: normal;
  word-break: break-word;
}

h2 {
  font-family: 'Golos Text', sans-serif;
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  word-break: break-word;
}
h2 .svg-icon { width: 20px; height: 20px; flex-shrink: 0; stroke: #ffffff; opacity: 0.5; }

h3 {
  font-family: 'Golos Text', sans-serif;
  font-size: var(--text-md);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 12px 0;
}

/* ================================================
   ТИПОГРАФИКА — ТЕКСТ
   ================================================ */

p {
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  letter-spacing: 0.01em;
  color: var(--text-dim);
  margin: 0 0 15px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

b, strong {
  color: #ffffff;
  font-weight: 700;
}

ol, ul {
  padding-left: 20px;
  margin: 0 0 15px 0;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-dim);
}
li { 
  margin-bottom: 10px;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ================================================
   SVG ИКОНКИ
   ================================================ */

.svg-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ================================================
   ГЕРОЙ-ХЕДЕР
   ================================================ */

.hero-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,193,7,.18) 0%, transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,.18) 0%, transparent 35%),
    linear-gradient(180deg, #081120 0%, #0b1730 100%);
  padding: 65px 20px 45px;
  text-align: center;
  border-bottom: 1px solid var(--border-main);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.floating-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.15; z-index: 0; }
.orb-1 { width: 200px; height: 200px; background: var(--accent); top: -50px; left: -50px; }
.orb-2 { width: 150px; height: 150px; background: #3b82f6; bottom: -30px; right: -30px; }

.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

/* Лейбл над заголовком */
.hero-brand {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: #94a3b8;
  opacity: 0.9;
  margin-bottom: 20px;
  position: relative;
  word-break: break-word;
}
.hero-brand::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, #94a3b8, transparent);
  opacity: 0.4;
}

/* Главный заголовок */
.hero-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  color: #fff;
  margin: 0 0 24px 0;
  word-spacing: normal;
  word-break: break-word;
}
.hero-title span { color: var(--accent); }

/* Статистика */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #cbd5e1;
  flex-wrap: wrap;
  word-break: break-word;
}
.hero-stats .stat-item { display: flex; align-items: center; gap: 6px; }
.hero-stats .stat-divider { width: 3px; height: 3px; background: #94a3b8; border-radius: 50%; opacity: 0.4; flex-shrink: 0; }
.hero-stats svg { width: 14px; height: 14px; stroke: #ffffff; opacity: 0.4; flex-shrink: 0; }
#stats-update-date span { color: #94a3b8; }

/* CTA кнопка - оптимизирована для touch */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffd54a 0%, #f4b400 100%);
  box-shadow: 0 10px 30px rgba(255,193,7,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
  color: #000;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulseGlow 2.5s infinite;
  min-height: 48px;
  min-width: 48px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(255,193,7,0.5), inset 0 1px 0 rgba(255,255,255,0.35);
  color: #000;
  animation: none;
}
.hero-cta:active {
  transform: translateY(0px);
}
.hero-cta svg { width: 16px; height: 16px; transition: transform 0.2s; flex-shrink: 0; }
.hero-cta:hover svg { transform: translateY(2px); }

@keyframes pulseGlow {
  0%   { box-shadow: 0 10px 30px rgba(255,193,7,0.35), inset 0 1px 0 rgba(255,255,255,0.35); }
  50%  { box-shadow: 0 10px 45px rgba(255,193,7,0.55), inset 0 1px 0 rgba(255,255,255,0.35); }
  100% { box-shadow: 0 10px 30px rgba(255,193,7,0.35), inset 0 1px 0 rgba(255,255,255,0.35); }
}

/* ================================================
   КОНТЕЙНЕР
   ================================================ */

.container { 
  max-width: 600px; 
  margin: 0 auto; 
  padding: 20px; 
  box-sizing: border-box; 
}

/* ================================================
   СЕКЦИИ
   ================================================ */

.section {
  background: var(--card-blur);
  padding: 25px;
  border-radius: 24px;
  border: 1px solid var(--border-main);
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.section-faq { background: rgba(10, 14, 23, 0.8); border-color: #1e293b; }
.section-energy { border-left: 4px solid var(--accent-green); background: rgba(16, 185, 129, 0.05); }
.section-energy h2 { color: var(--accent-green); letter-spacing: -0.02em; }
.section-warning { background: rgba(239, 68, 68, 0.05); border-left: 4px solid #ef4444; border-radius: 12px; }
.section-warning h2 { color: #ef4444; }

/* ================================================
   НАГРАДЫ
   ================================================ */

.rewards-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 12px; 
}
.reward-item {
  background: #0b111e;
  border: 1px solid var(--border-main);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  word-break: break-word;
}
.reward-item:hover { 
  transform: translateY(-2px); 
  border-color: var(--accent); 
  box-shadow: 0 6px 20px var(--accent-glow); 
}
.reward-item:active {
  transform: translateY(0px);
}
.reward-icon { 
  margin-bottom: 8px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  height: 36px; 
  font-size: 28px; 
  line-height: 1; 
  flex-shrink: 0;
}
.reward-title {
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  word-break: break-word;
  hyphens: auto;
}

/* ================================================
   ПРОМОКОДЫ
   ================================================ */

.promo-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #0b111e;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 10px;
  border: 1px solid var(--border-main);
  border-left: 3px solid var(--accent);
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 56px;
}
.promo-card:hover { 
  transform: translateY(-2px); 
  border-color: var(--accent); 
  box-shadow: 0 6px 20px var(--accent-glow); 
}
.promo-card:active {
  transform: translateY(0px);
}
.promo-info { 
  display: flex; 
  flex-direction: column; 
  flex: 1; 
  min-width: 0;
  justify-content: center;
}
.code-header { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  flex-wrap: wrap; 
  margin-bottom: 4px;
}

/* Код — моноширный, крупный, чёткий, оптимизирован для переноса */
.code-text {
  font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.06em;
  line-height: 1.2;
  word-break: break-all;
  word-spacing: -0.5em;
  flex-shrink: 1;
  min-width: 0;
}

/* Бейдж "Новое" */
.new-badge {
  background: rgba(5, 150, 105, 0.15);
  color: #6ee7b7;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  padding: 3px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  border: 1px solid rgba(5, 150, 105, 0.4);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.2);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Описание награды */
.reward-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  margin-top: 5px;
  word-break: break-word;
}

/* Кнопка копирования - оптимизирована для touch */
.copy-btn {
  background: var(--accent);
  color: #000;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
  min-height: 40px;
  min-width: 40px;
  border: none;
  white-space: nowrap;
  justify-content: center;
}
.copy-btn:hover { opacity: 0.85; }
.copy-btn:active { opacity: 0.7; }
.copy-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Скелетон */
.promo-card.skeleton {
  height: 78px;
  pointer-events: none;
  background: linear-gradient(90deg, #111827 25%, #1f2937 50%, #111827 75%);
  background-size: 200% 100%;
  animation: loading 1.2s infinite;
  border: 1px solid #22314d;
  border-left: 3px solid #22314d;
}
.promo-card.skeleton .promo-info, .promo-card.skeleton .copy-btn { display: none; }

@keyframes loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ================================================
   МИНИ-КАРТОЧКИ СОВЕТОВ
   ================================================ */

.mini-tips-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 12px; 
  margin-top: 15px; 
}
.mini-tip-card {
  background: #0b111e;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-main);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  word-break: break-word;
  overflow-wrap: break-word;
}
.mini-tip-card:hover { 
  transform: translateY(-2px); 
  border-color: var(--accent); 
  box-shadow: 0 6px 20px var(--accent-glow); 
}
.mini-tip-card:active {
  transform: translateY(0px);
}
.mini-tip-card strong {
  color: #ffffff;
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ================================================
   БЛОК АВТОРА
   ================================================ */

.author-wrapper {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(56,189,248,0.06) 15%, rgba(56,189,248,0.18) 50%, rgba(56,189,248,0.06) 85%, transparent 100%) 1;
  position: relative;
}
.author-wrapper::after {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: rgba(56,189,248,0.4);
  border-radius: 50%;
}
.author-block {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(10, 15, 26, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.author-block::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(251,191,36,0.12), transparent 40%), radial-gradient(circle at bottom right, rgba(59,130,246,0.08), transparent 40%);
  pointer-events: none; z-index: 0;
}
.author-block:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 14px 28px rgba(0,0,0,0.3); 
  border-color: rgba(251,191,36,0.2); 
}
.author-block:active {
  transform: translateY(0px);
}

.author-left { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 8px; 
  flex-shrink: 0; 
}

.author-photo-wrapper {
  width: 80px; height: 80px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(251,191,36,0.6);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transform: rotate(-1deg);
  transition: transform 0.2s ease;
  background: #1e293b;
}
.author-photo-wrapper:hover { transform: rotate(0deg) scale(1.03); }
.author-photo { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Фото без обёртки (старый вариант) */
.author-photo:not(.author-photo-wrapper .author-photo) {
  position: relative; z-index: 1;
  width: 80px; height: 80px;
  border-radius: 20px; object-fit: cover;
  border: 2px solid rgba(251,191,36,0.6);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transform: rotate(-1deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.author-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #94a3b8;
  white-space: nowrap;
}
.author-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 10px rgba(16,185,129,0.6); flex-shrink: 0; }

.author-info { flex: 1; position: relative; z-index: 1; min-width: 0; }

/* Имя автора */
.author-name {
  font-size: var(--text-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  word-break: break-word;
}

/* Описание автора */
.author-info p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  letter-spacing: 0.01em;
  color: var(--text-dim);
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Кнопка Facebook */
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1877f2;
  color: #fff;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 36px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.fb-link:hover { background: #0e5bcf; transform: translateY(-1px); color: #fff; }
.fb-link:active { transform: translateY(0px); }
.fb-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mobile-fb-btn { display: none; margin-top: 4px; }

/* ================================================
   МОДАЛЬНЫЕ ОКНА
   ================================================ */

.video-modal { 
  position: fixed; 
  inset: 0; 
  background: rgba(0,0,0,0.9); 
  display: none; 
  align-items: center; 
  justify-content: center; 
  z-index: 999999; 
  padding: 10px;
}
.video-modal.show { display: flex; }
.video-modal-content { 
  position: relative; 
  width: 100%; 
  max-width: 420px; 
  height: 90vh; 
  border-radius: 20px; 
  overflow: hidden; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.6); 
}
.video-modal-content iframe { width: 100%; height: 100%; border: 0; }
.screenshot-modal-content { 
  position: relative; 
  max-width: 90vw; 
  max-height: 90vh; 
  border-radius: 20px; 
  overflow: hidden; 
}
.screenshot-modal-content img { 
  width: 100%; 
  height: auto; 
  max-height: 90vh; 
  object-fit: contain; 
  display: block; 
}
.video-close {
  position: absolute; 
  top: 10px; 
  right: 10px; 
  z-index: 10;
  background: rgba(251,191,36,0.85); 
  border: 1px solid rgba(255,255,255,0.3);
  color: #000; 
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  font-size: 18px; 
  font-weight: bold; 
  cursor: pointer;
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.video-close:hover { 
  background: rgba(251,191,36,1); 
  transform: scale(1.05); 
}

/* ================================================
   ОБЪЕДИНЁННЫЙ БЛОК
   ================================================ */

.unified-block {
  background: var(--card-blur);
  border-radius: 24px;
  border: 1px solid var(--border-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
  overflow: hidden;
}
.unified-block .section { 
  background: transparent; 
  border: none; 
  border-radius: 0; 
  box-shadow: none; 
  backdrop-filter: none; 
  margin-bottom: 0; 
}
.unified-block .video-showcase, .unified-block .screenshot-showcase { 
  background: transparent; 
  border: none; 
  border-radius: 0; 
  box-shadow: none; 
  margin-bottom: 0; 
  padding: 0 25px 25px; 
}

.section-divider { display: none; }
@media (min-width: 769px) {
  .section-divider { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 40px; 
    position: relative; 
  }
  .section-divider::before { 
    content: ''; 
    display: block; 
    width: 280px; 
    height: 1px; 
    background: linear-gradient(90deg, transparent 0%, rgba(56,189,248,0.06) 15%, rgba(56,189,248,0.18) 50%, rgba(56,189,248,0.06) 85%, transparent 100%); 
  }
  .section-divider::after { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 4px; 
    height: 4px; 
    background: rgba(56,189,248,0.4); 
    border-radius: 50%; 
  }
  .section-divider.no-dot::after { display: none; }
}

/* ================================================
   ВИДЕО
   ================================================ */

.video-showcase {
  background: linear-gradient(180deg, rgba(19,28,46,.95), rgba(11,17,30,.98));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: 22px;
  text-align: center;
  margin-bottom: 24px;
}
.video-cover {
  position: relative; 
  width: 100%; 
  max-width: 260px; 
  aspect-ratio: 9/16;
  margin: 0 auto; 
  overflow: hidden; 
  border-radius: 28px;
  border: 1px solid rgba(251,191,36,.22); 
  box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
  background: #000;
}
.video-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-cover::after { 
  content: ''; 
  position: absolute; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  height: 40%; 
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent); 
  pointer-events: none; 
}

.play-button {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 64px; 
  height: 64px;
  background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(56,189,248,0.35));
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  z-index: 2; 
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(56,189,248,0.35);
  min-width: 48px;
  min-height: 48px;
}
.play-button svg { 
  width: 28px; 
  height: 28px; 
  fill: none; 
  stroke: #ffffff; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  margin-left: 3px; 
  flex-shrink: 0;
}
.play-button:hover { 
  transform: translate(-50%, -50%) scale(1.05); 
  background: linear-gradient(135deg, rgba(56,189,248,0.45), rgba(56,189,248,0.6)); 
  border-color: rgba(56,189,248,0.6); 
}
.play-button:active {
  transform: translate(-50%, -50%) scale(0.95);
}

/* Бейджи видео/скриншота */
.video-badge, .screenshot-badge {
  display: inline-flex; 
  align-items: center; 
  gap: 6px;
  padding: 6px 14px; 
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(56,189,248,0.2));
  border: 1px solid rgba(56,189,248,.35);
  color: #38bdf8;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.video-info {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(56,189,248,0.06) 15%, rgba(56,189,248,0.18) 50%, rgba(56,189,248,0.06) 85%, transparent 100%) 1;
  margin-top: 20px; 
  padding: 20px 18px 18px; 
  position: relative;
}
.video-info::after { 
  content: ''; 
  position: absolute; 
  top: -3px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 5px; 
  height: 5px; 
  background: rgba(56,189,248,0.4); 
  border-radius: 50%; 
}

.screenshot-info {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(56,189,248,0.06) 15%, rgba(56,189,248,0.18) 50%, rgba(56,189,248,0.06) 85%, transparent 100%) 1;
  margin-top: 20px; 
  padding: 20px 18px 18px; 
  position: relative;
}
.screenshot-info::after { 
  content: ''; 
  position: absolute; 
  top: -3px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 5px; 
  height: 5px; 
  background: rgba(56,189,248,0.4); 
  border-radius: 50%; 
}

.video-title {
  font-size: var(--text-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--leading-snug);
  color: #fff;
  margin-bottom: 8px;
  word-break: break-word;
}
.video-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-dim);
  word-break: break-word;
  overflow-wrap: break-word;
}
.video-meta {
  margin-top: 14px;
  color: #cbd5e1;
  font-size: var(--text-sm);
  line-height: 2;
  font-weight: 500;
  word-break: break-word;
}

.check-icon { 
  display: inline-flex; 
  align-items: center; 
  margin-right: 6px; 
  vertical-align: middle; 
  flex-shrink: 0;
}
.check-icon svg { 
  display: block; 
  stroke: #ffffff; 
  opacity: 0.4; 
  flex-shrink: 0;
}

/* ================================================
   СКРИНШОТ
   ================================================ */

.screenshot-showcase {
  background: linear-gradient(180deg, rgba(19,28,46,.95), rgba(11,17,30,.98));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: 22px;
  text-align: center;
  margin-bottom: 24px;
}
.screenshot-cover {
  position: relative; 
  width: 100%; 
  max-width: 260px; 
  aspect-ratio: 9/16;
  margin: 0 auto; 
  overflow: hidden; 
  border-radius: 28px;
  border: 1px solid rgba(251,191,36,.22); 
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  background: #000; 
  cursor: zoom-in; 
  transition: transform 0.2s ease;
}
.screenshot-cover:hover { transform: scale(1.02); }
.screenshot-cover:active { transform: scale(0.98); }
.screenshot-cover img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-cover::after { 
  content: ''; 
  position: absolute; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  height: 40%; 
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent); 
  pointer-events: none; 
}

.screenshot-magnifier {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  z-index: 2; 
  width: 64px; 
  height: 64px; 
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56,189,248,0.55), rgba(56,189,248,0.75));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56,189,248,0.8);
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  cursor: pointer;
  box-shadow: 0 0 30px rgba(56,189,248,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  min-width: 48px;
  min-height: 48px;
}
.screenshot-magnifier svg { 
  width: 28px; 
  height: 28px; 
  stroke: #ffffff; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  flex-shrink: 0;
}
.screenshot-cover:hover .screenshot-magnifier { 
  transform: translate(-50%, -50%) scale(1.05); 
}
.screenshot-cover:active .screenshot-magnifier {
  transform: translate(-50%, -50%) scale(0.95);
}

/* ================================================
   ФУТЕР
   ================================================ */

.custom-site-footer {
  position: relative; 
  overflow: hidden;
  background: linear-gradient(180deg, #050811 0%, #070d18 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 50px 20px 35px; 
  text-align: center; 
  margin-top: 60px;
}
.custom-site-footer::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(circle at top center, rgba(251,191,36,0.08), transparent 45%); 
  pointer-events: none; 
}

.footer-logo {
  position: relative; 
  z-index: 1;
  font-size: var(--text-md);
  font-weight: 900;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
  word-break: break-word;
}
.footer-logo span { color: var(--accent); }

.footer-copyright {
  position: relative; 
  z-index: 1;
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.3);
}

/* ================================================
   ТОСТ
   ================================================ */

#toast {
  position: fixed; 
  top: 25px; 
  left: 50%; 
  transform: translateX(-50%);
  background: var(--accent); 
  color: #000;
  padding: 12px 24px; 
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.05em;
  z-index: 999999; 
  opacity: 0; 
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease; 
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(251,191,36,0.3);
  display: flex; 
  align-items: center; 
  gap: 8px;
}
#toast svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ================================================
   МЕДИАЗАПРОСЫ — ПЛАНШЕТ И ВЫШЕ
   ================================================ */

@media (max-width: 768px) {
  html::before, body::before, body::after { display: none !important; }
  html, body { background-attachment: scroll !important; }
  .section { backdrop-filter: none; }
  
  .hero-header { 
    padding: 50px 16px 36px; 
  }
  
  .hero-title { 
    font-size: 28px;
    margin-bottom: 16px;
  }
  
  .hero-brand {
    font-size: 10px;
    margin-bottom: 12px;
  }
  
  .hero-stats { 
    flex-direction: column; 
    gap: 6px; 
    font-size: 12px;
  }
  .hero-stats .stat-divider { display: none; }
  
  .video-cover, .screenshot-cover { 
    max-width: none; 
    width: 100%; 
  }
  
  .video-info, .screenshot-info { 
    width: 100%; 
    box-sizing: border-box; 
    padding-left: 0; 
    padding-right: 0; 
  }
  
  .video-showcase, .screenshot-showcase { 
    padding: 18px; 
  }
  
  .unified-block .video-showcase, .unified-block .screenshot-showcase { 
    padding: 0 18px 18px; 
  }
  
  .video-badge, .screenshot-badge { 
    display: flex; 
    justify-content: center; 
    width: fit-content; 
    margin-left: auto; 
    margin-right: auto; 
  }
  
  .video-info { text-align: left; }
  .screenshot-info { text-align: left; }
  
  .container { 
    padding: 16px; 
  }
  
  .section {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 16px;
  }
}

/* ================================================
   МЕДИАЗАПРОСЫ — МОБИЛЬНЫЙ (до 550px)
   ================================================ */

@media (max-width: 550px) {
  h1 {
    font-size: 24px;
    margin-bottom: 6px;
  }
  
  h2 {
    font-size: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
    gap: 8px;
  }
  
  h2 .svg-icon { 
    width: 16px; 
    height: 16px; 
    margin-top: 2px;
  }
  
  h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  
  ol, ul {
    font-size: 14px;
    padding-left: 18px;
  }
  
  li {
    margin-bottom: 8px;
  }
  
  .code-text { 
    font-size: 14px !important; 
    letter-spacing: 0.04em; 
  }
  
  .rewards-grid {
    gap: 10px;
  }
  
  .reward-item {
    padding: 12px 8px;
    min-height: 100px;
    border-radius: 12px;
  }
  
  .reward-icon {
    font-size: 24px;
    height: 28px;
    margin-bottom: 6px;
  }
  
  .reward-title {
    font-size: 9px;
  }
  
  .promo-card {
    padding: 12px;
    margin-bottom: 8px;
    min-height: 52px;
    gap: 10px;
    border-radius: 12px;
  }
  
  .copy-btn {
    padding: 8px 10px;
    font-size: 9px;
    min-height: 36px;
    min-width: 36px;
  }
  
  .new-badge {
    font-size: 8px;
    padding: 2px 6px;
  }
  
  .reward-text {
    font-size: 12px;
  }
  
  .mini-tips-grid { 
    grid-template-columns: 1fr; 
    gap: 10px;
    margin-top: 12px;
  }
  
  .mini-tip-card {
    padding: 12px 14px;
    font-size: 12px;
    min-height: 70px;
    line-height: 1.5;
  }
  
  .mini-tip-card strong {
    font-size: 13px;
    margin-bottom: 4px;
  }
  
  .author-block { 
    display: grid; 
    grid-template-columns: auto 1fr; 
    gap: 12px; 
    padding: 14px; 
  }
  
  .author-left { 
    width: auto; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
  }
  
  .author-photo-wrapper, .author-photo { 
    width: 64px !important; 
    height: 64px !important; 
    border-radius: 14px;
  }
  
  .author-status {
    font-size: 9px;
  }
  
  .author-name {
    font-size: 14px;
    margin-bottom: 6px;
    gap: 8px;
  }
  
  .author-info p {
    font-size: 12px;
    line-height: 1.5;
  }
  
  .mobile-fb-btn { 
    display: inline-flex;
    font-size: 10px;
  }
  
  .author-name .desktop-fb-btn { 
    display: none; 
  }
  
  .hero-cta {
    padding: 12px 24px;
    font-size: 11px;
  }
  
  .video-title {
    font-size: 14px;
  }
  
  .video-text {
    font-size: 12px;
  }
  
  .video-meta {
    font-size: 11px;
    margin-top: 8px;
  }
  
  .fb-link {
    padding: 5px 10px;
    font-size: 9px;
    min-height: 32px;
  }
  
  .hero-header {
    padding: 40px 12px 28px;
  }
  
  .container {
    padding: 12px;
  }
  
  .section {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  
  .video-showcase, .screenshot-showcase {
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  
  .play-button {
    width: 56px;
    height: 56px;
  }
  
  .play-button svg {
    width: 24px;
    height: 24px;
  }
  
  .screenshot-magnifier {
    width: 56px;
    height: 56px;
  }
  
  .screenshot-magnifier svg {
    width: 24px;
    height: 24px;
  }
}

/* ================================================
   МЕДИАЗАПРОСЫ — ОЧЕНЬ МАЛЕНЬКИЙ МОБИЛЬНЫЙ (до 375px)
   ================================================ */

@media (max-width: 375px) {
  h1 {
    font-size: 20px;
  }
  
  h2 {
    font-size: 13px;
  }
  
  p {
    font-size: 13px;
  }
  
  .code-text {
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  
  .hero-cta {
    width: auto;
    padding: 10px 20px;
  }
  
  .hero-stats {
    font-size: 10px;
  }
  
  .author-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .author-left {
    width: 100%;
  }
  
  .rewards-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .mini-tips-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 10px;
  }
  
  .section {
    padding: 12px;
  }
}

/* ================================================
   МЕДИАЗАПРОСЫ — ДЕСКТОП (769px и выше)
   ================================================ */

@media (min-width: 769px) {
  .video-showcase, .screenshot-showcase { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    text-align: left; 
    padding: 28px; 
  }
  
  .unified-block .video-showcase, .unified-block .screenshot-showcase { 
    padding: 0 25px 25px; 
  }
  
  .video-cover, .screenshot-cover { 
    width: 190px; 
    flex-shrink: 0; 
    margin: 0; 
    border-radius: 24px; 
    max-width: none; 
  }
  
  .video-info, .screenshot-info { 
    flex: 1; 
    border: none; 
    border-image: none; 
    margin: 0; 
    padding: 18px 0 0 0; 
  }
  
  .video-info::after, .screenshot-info::after { 
    display: none; 
  }
  
  .video-badge, .screenshot-badge { 
    margin-left: 0; 
    margin-right: 0; 
  }
}
