/* OMG! — энергичный, дружелюбный, мягкие формы */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #050508;
  --bg-alt: #0c0c10;
  --panel: #ffffff;
  --panel-soft: #f8f8fc;
  --accent: #ffc800;
  --accent-bright: #ffd633;
  --accent-soft: #ffe066;
  --accent-dark: #1a1a1a;
  --text-main: #1a1a1a;
  --text-muted: #5c5c68;
  --success: #22c55e;

  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;

  --shadow-soft: 0 24px 48px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 56px rgba(255, 200, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', 'Inter', system-ui, -apple-system, sans-serif;
  background: 
    radial-gradient(ellipse 80% 80% at 15% 20%, rgba(255, 200, 0, 0.18) 0, transparent 45%),
    radial-gradient(ellipse 60% 60% at 90% 80%, rgba(255, 230, 102, 0.12) 0, transparent 45%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(255, 200, 0, 0.04) 0, transparent 60%),
    radial-gradient(ellipse 120% 100% at 50% 100%, #0e0e14 0, #050508 65%);
  color: #f0f0f5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 200, 0, 0.08) 0, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: omg-orb-float 18s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  bottom: -30%;
  left: -15%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 230, 102, 0.06) 0, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: omg-orb-float 22s ease-in-out infinite reverse;
  animation-delay: -5s;
}

@keyframes omg-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  33% { transform: translate(5%, -8%) scale(1.1); opacity: 1; }
  66% { transform: translate(-4%, 5%) scale(0.95); opacity: 0.9; }
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Aurora-подобное свечение на фоне */
.page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 200, 0, 0.03) 25%,
    rgba(255, 230, 102, 0.04) 50%,
    rgba(255, 200, 0, 0.02) 75%,
    transparent 100%
  );
  animation: omg-aurora 12s ease-in-out infinite alternate;
}

@keyframes omg-aurora {
  0% { opacity: 0.5; transform: translateY(-2%); }
  100% { opacity: 1; transform: translateY(2%); }
}

/* Мягкий блик, скользящий по экрану */
.page::after {
  content: "";
  position: fixed;
  top: -100%;
  left: -50%;
  width: 80%;
  height: 40%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 230, 102, 0.06) 40%,
    transparent 70%
  );
  animation: omg-shimmer 15s linear infinite;
}

@keyframes omg-shimmer {
  0% { transform: translate(0, 0) rotate(-5deg); }
  100% { transform: translate(80%, 150vh) rotate(-5deg); }
}

/* Мобильная оптимизация: статичный фон, без анимаций */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none !important;
  }
  .page::before,
  .page::after {
    animation: none !important;
  }
  .omg-hero-orb {
    animation: none !important;
  }
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — OMG: мягкий, с жёлтым акцентом */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.98) 0,
    rgba(5, 5, 8, 0.92) 70%,
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 0, 0.5), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.95;
}

.logo-square {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffd633 0, #ffc800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 200, 0, 0.35);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo:hover .logo-square {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 200, 0, 0.45);
}

.logo-square span {
  font-weight: 900;
  color: #000000;
  font-size: 1.25rem;
  transform: translateY(-1px);
}

/* 3D logo — мягкий фон, едва заметная текстура */
.omg-bg-logo-subtle {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.omg-bg-model-subtle {
  width: 140%;
  max-width: none;
  height: min(95vh, 750px);
  margin-left: -20%;
  opacity: 0.18;
  --poster-color: transparent;
  filter: sepia(0.5) saturate(1.8) hue-rotate(15deg);
  transition: opacity 0.4s ease;
}

.omg-bg-logo-subtle:hover .omg-bg-model-subtle {
  opacity: 0.25;
}

.logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1rem;
  text-transform: uppercase;
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-primary {
  background: linear-gradient(145deg, #ffd633 0, #ffc800 100%);
  color: var(--accent-dark);
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(255, 200, 0, 0.3);
}

.nav-primary:hover {
  background: linear-gradient(145deg, #ffe066 0, #ffd633 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 200, 0, 0.4);
}

/* Hero — OMG: плавающие декоративные орбы */
.hero {
  padding: 100px 0 56px;
  position: relative;
}

.omg-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.omg-hero-orb-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 200, 0, 0.08) 0, transparent 70%);
  animation: omg-float 8s ease-in-out infinite;
}

.omg-hero-orb-2 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: -40px;
  background: radial-gradient(circle, rgba(255, 230, 102, 0.1) 0, transparent 70%);
  animation: omg-float 6s ease-in-out infinite reverse;
  animation-delay: 2s;
}

@keyframes omg-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -15px); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  pointer-events: none;
}

.hero-inner .btn,
.hero-inner a,
.hero-inner button,
.hero-inner aside,
.hero-inner .endpoint-btn,
.hero-inner .endpoint-action-btn,
.hero-inner .tor-copy-block {
  pointer-events: auto;
}

.eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "✦ ";
  color: var(--accent);
  margin-right: 4px;
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 20px;
  text-shadow: 0 0 40px rgba(255, 200, 0, 0.15);
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.hero-badge {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 200, 0, 0.35);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 200, 0, 0.1);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(145deg, #ffd633 0, #ffc800 100%);
  color: var(--accent-dark);
  box-shadow: 0 4px 20px rgba(255, 200, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(145deg, #ffe066 0, #ffd633 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 200, 0, 0.45);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Hero card */
.hero-card {
  background: linear-gradient(165deg, #ffffff 0, #fffef8 100%);
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 24px 22px 20px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 200, 0, 0.08);
  border: 1px solid rgba(255, 200, 0, 0.15);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.endpoint-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.endpoint {
  background: var(--panel-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.endpoint:hover {
  background: #f0f0f5;
  border-color: rgba(255, 200, 0, 0.2);
}

.endpoint-clickable {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.endpoint-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.endpoint-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.endpoint-url {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.endpoint-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-muted);
}

.endpoint-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.endpoint-btn:hover {
  background: var(--accent);
  color: var(--accent-dark);
  border-color: transparent;
}

.endpoint-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.endpoint-action-enter {
  background: linear-gradient(145deg, #ffd633 0, #ffc800 100%);
  color: var(--accent-dark);
  box-shadow: 0 2px 12px rgba(255, 200, 0, 0.3);
}

.endpoint-action-enter:hover {
  background: linear-gradient(145deg, #ffe066 0, #ffd633 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 200, 0, 0.4);
}

.endpoint-action-copy {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.endpoint-action-copy:hover {
  background: var(--accent);
  color: var(--accent-dark);
  border-color: transparent;
}

.endpoint-action-copy.copied {
  background: rgba(34, 197, 94, 0.9);
  color: #fff;
  border-color: transparent;
}

.endpoint-url-tor {
  font-size: 0.85rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tor-copy-block {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(255, 200, 0, 0.08);
  border: 1px dashed rgba(255, 200, 0, 0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tor-copy-block:hover {
  background: rgba(255, 200, 0, 0.15);
  border-color: rgba(255, 200, 0, 0.5);
}

.tor-copy-block.copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
}

.tor-copy-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.tor-copy-url {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--text-main);
  word-break: break-all;
  background: none;
  padding: 0;
}

.endpoint-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sections */
.section {
  padding: 56px 0 48px;
}

.section-header {
  margin-bottom: 28px;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.section-lead {
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards */
.card {
  background: linear-gradient(165deg, #ffffff 0, #fefefe 100%);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 24px 22px 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover {
  border-color: rgba(255, 200, 0, 0.3);
  box-shadow: 0 24px 48px rgba(255, 200, 0, 0.12);
  transform: translateY(-4px) scale(1.01);
}

.card a {
  transition: color 0.2s ease;
}

.card a:hover {
  color: #b8860b;
}

.card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card-title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

.card-title a {
  color: inherit;
}

.card-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.card-footer {
  margin-top: 8px;
}

/* Skip-link — доступность */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

/* Stats section */
.stats-section {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 16px;
}
.stat-number {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* Card icon */
.card-icon {
  margin-bottom: 12px;
}
.card-icon img {
  width: 36px;
  height: 36px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

/* Section more */
.section-more {
  text-align: center;
  margin-top: 36px;
}

/* VPN notice — под шапкой */
.vpn-notice {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 20px;
  background: rgba(255, 75, 106, 0.95);
  color: #000;
  font-size: 0.88rem;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.vpn-notice a { color: #000; font-weight: 600; text-decoration: underline; }
.vpn-notice-hidden { transform: translateY(-100%); pointer-events: none; }
.page-with-vpn-notice .hero { padding-top: 130px; }

/* Links section — link-box, intro, related */
.section-title-centered { text-align: center; position: relative; padding-top: 24px; }
.section-title-centered::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,204,0,0.6), transparent);
}
.links-content-wrapper { max-width: 900px; margin: 0 auto; }
.intro-text-box {
  margin-bottom: 28px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.intro-text-box p { margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.intro-text-box p:last-child { margin-bottom: 0; }
.link-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  transition: transform 0.2s ease;
}
.link-box:hover { transform: translateY(-2px); }


.link-box-copy {
  cursor: pointer;
  position: relative;
}

.link-box-copy-feedback {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #22c55e;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.link-box-copy.copied .link-box-copy-feedback {
  opacity: 1;
}

.link-box-copy.copied {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.06));
  border-color: rgba(34, 197, 94, 0.4);
}
.link-box h3 { margin: 0 0 12px; font-size: 1.15rem; }
.link-icon { margin-right: 8px; }
.link-primary { color: #ffcc00; font-weight: 600; }
.link-primary:hover { color: #ffdd44; }
.link-inline { color: var(--accent-soft); }
.link-inline:hover { color: var(--accent-strong); }
.link-highlight { color: #ffcc00 !important; }
.onion-code {
  background: rgba(0,0,0,0.3);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
}
.link-box-primary {
  background: linear-gradient(180deg, rgba(255,204,0,0.1), rgba(255,204,0,0.04));
  border-color: rgba(255,204,0,0.3);
}
.link-box-action { margin-top: 16px; text-align: center; }
.related-materials-box {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.related-materials-box h3 { margin: 0 0 20px; text-align: center; font-size: 1.25rem; }
.related-materials-list { display: grid; gap: 12px; margin-bottom: 20px; }
.related-materials-list p { margin: 0; }
.related-materials-list a { color: var(--accent-soft); text-decoration: none; transition: color 0.2s; }
.related-materials-list a:hover { color: #ffcc00; }

/* CTA section */
.cta-section {
  background: linear-gradient(180deg, rgba(255,200,0,0.08) 0, transparent 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--accent);
}
.cta-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Footer — OMG: мягкий акцент */
.site-footer {
  margin-top: auto;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-inner {
  position: relative;
}

.site-footer .footer-inner::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 0, 0.4), transparent);
}

.omg-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 200, 0, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-soft);
  margin-bottom: 12px;
}

.omg-footer-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: omg-pulse 2s ease-in-out infinite;
}

@keyframes omg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

/* ========== ARTICLE PAGES ========== */
.page-main .hero {
  padding: 88px 0 48px;
  position: relative;
}

.page-main .hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,200,0,0.4), transparent);
  border-radius: 2px;
}

.page-main .hero .container {
  max-width: 720px;
}

.page-main .hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
}

.page-main .hero .hero-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.breadcrumb {
  padding: 20px 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-soft);
}

.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

.page-main .section .card {
  padding: 28px 26px 24px;
  position: relative;
  overflow: hidden;
}

.page-main .section .card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255,200,0,0.4), rgba(255,200,0,0.1));
  border-radius: 2px 0 0 2px;
}

.page-main .section .card .card-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  margin-bottom: 4px;
}

.page-main .section .card .card-title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.page-main .section .card .card-text {
  font-size: 0.96rem;
  line-height: 1.7;
}

.page-main .section .card .card-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Кнопки в карточках — всегда видны на светлом фоне */
.page-main .section .card .card-footer .btn-outline {
  color: #b8860b;
  border-color: rgba(184, 134, 11, 0.5);
  background: rgba(255, 200, 0, 0.08);
}

.page-main .section .card .card-footer .btn-outline:hover {
  color: #8b6914;
  border-color: rgba(184, 134, 11, 0.7);
  background: rgba(255, 200, 0, 0.18);
}

.article-cta {
  margin-top: 56px;
  padding: 36px 40px;
  background: linear-gradient(165deg, #ffffff 0, #f8f8fc 100%);
  color: var(--text-main);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,200,0,0.2);
  text-align: center;
}

.article-cta-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0 0 12px;
}

.article-cta-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-cta .btn {
  color: var(--accent-dark);
  border-color: var(--accent);
}

.article-cta .btn:hover {
  background: var(--accent);
  color: var(--accent-dark);
}

.related-articles {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.related-articles-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.related-articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-articles-list a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.2s ease;
}

.related-articles-list a:hover {
  background: rgba(255,200,0,0.15);
  color: #fff;
  border-color: rgba(255,200,0,0.3);
}

.articles-list {
  max-width: 820px;
  margin: 0 auto;
}

.article-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 30px;
  margin-bottom: 16px;
  background: linear-gradient(165deg, #ffffff 0, #fafafa 100%);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.article-item:hover {
  border-color: rgba(255,200,0,0.3);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(255,200,0,0.1);
}

.article-item-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,200,0,0.08);
  border-radius: var(--radius-md);
}

.article-item-body {
  flex: 1;
  min-width: 0;
}

.article-item-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px;
}

.article-item-title a {
  color: var(--text-main);
  transition: color 0.2s ease;
}

.article-item-title a:hover {
  color: #b8860b;
}

.article-item-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.article-item-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8860b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.article-item-link:hover {
  color: #8b6914;
}

.article-item-link::after {
  content: "→";
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.article-back:hover {
  background: rgba(255,200,0,0.15);
  color: #fff;
  border-color: rgba(255,200,0,0.3);
  transform: translateX(-2px);
}

/* ========== OMG VSE-STATI — группировка по разделам ========== */
.hero-vse-stati {
  padding: 72px 0 48px;
}

.hero-vse-stati .hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent-soft);
}

.vse-stati-section {
  padding: 32px 0 64px;
}

.vse-stati-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.vse-stati-block {
  background: linear-gradient(165deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.02) 100%);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  border: 1px solid rgba(255, 200, 0, 0.15);
  transition: all 0.3s ease;
}

.vse-stati-block:hover {
  border-color: rgba(255, 200, 0, 0.35);
  box-shadow: 0 12px 40px rgba(255, 200, 0, 0.08);
}

.vse-stati-block-wide {
  grid-column: span 2;
}

.vse-stati-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 200, 0, 0.2);
}

.vse-stati-block-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.vse-stati-block-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-soft);
  margin: 0;
  letter-spacing: 0.02em;
}

.vse-stati-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vse-stati-links li {
  margin-bottom: 10px;
}

.vse-stati-links li:last-child {
  margin-bottom: 0;
}

.vse-stati-links a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}

.vse-stati-links a:hover {
  background: rgba(255, 200, 0, 0.15);
  color: #fff;
  padding-left: 20px;
}

.vse-stati-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vse-stati-links-inline li {
  margin-bottom: 0;
}

.vse-stati-links-inline a {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vse-stati-links-inline a:hover {
  background: rgba(255, 200, 0, 0.2);
  border-color: rgba(255, 200, 0, 0.3);
}

.vse-stati-cta {
  text-align: center;
  margin-top: 48px;
}

.vse-stati-cta .btn-primary {
  background: linear-gradient(145deg, #ffd633 0, #ffc800 100%);
  color: var(--accent-dark);
}

.vse-stati-cta .btn-primary:hover {
  background: linear-gradient(145deg, #ffe066 0, #ffd633 100%);
}

@media (max-width: 700px) {
  .vse-stati-grid {
    grid-template-columns: 1fr;
  }

  .vse-stati-block-wide {
    grid-column: span 1;
  }

  .vse-stati-links-inline {
    flex-direction: column;
  }
}

.page-main .section .container {
  max-width: 1160px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 88px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    display: none;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 2.6rem);
  }

  .article-item {
    flex-direction: column;
    gap: 16px;
    padding: 22px 20px;
  }

  .article-item-num {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .ssylka-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* ========== OMG SSYLKA — bento grid, featured + 2 карточки ========== */
.page-ssylka .hero-ssylka {
  padding: 80px 0 48px;
}

.section-ssylka {
  padding-top: 24px;
}

.ssylka-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.ssylka-card-featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ssylka-card {
  background: linear-gradient(165deg, #ffffff 0, #fefefe 100%);
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  border: 1px solid rgba(255,200,0,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ssylka-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(255,200,0,0.15);
}

.ssylka-card-featured {
  background: linear-gradient(145deg, #fffef5 0, #fff9e6 100%);
  border-color: rgba(255,200,0,0.35);
  box-shadow: 0 16px 48px rgba(255,200,0,0.12);
}

.ssylka-card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,200,0,0.15) 0, transparent 70%);
  pointer-events: none;
}

.ssylka-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #b8860b;
  margin-bottom: 12px;
}

.ssylka-card-url-tor,
.card-title-tor {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssylka-card-url {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 14px;
  word-break: break-all;
}

.ssylka-card-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 24px;
  flex: 1;
}

.btn-ssylka-featured {
  align-self: flex-start;
  padding: 16px 32px;
  font-size: 0.95rem;
}

.btn-ssylka-card {
  color: #b8860b;
  border-color: rgba(184,134,11,0.5);
  background: rgba(255,200,0,0.08);
}

.btn-ssylka-card:hover {
  background: rgba(255,200,0,0.18);
  border-color: rgba(184,134,11,0.7);
}

.ssylka-hint {
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.ssylka-hint code {
  background: rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
}

/* ========== OMG VSE-STATI — карточная сетка с тегами ========== */
.page-vse-stati .hero-compact {
  padding: 72px 0 40px;
}

.page-vse-stati .hero-subtitle {
  margin-bottom: 0;
}

.vse-stati-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.vse-stati-card {
  display: block;
  background: linear-gradient(165deg, #ffffff 0, #fefefe 100%);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  border: 1px solid rgba(255,200,0,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.vse-stati-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255,200,0,0.2);
  border-color: rgba(255,200,0,0.4);
}

.vse-stati-card-featured {
  grid-column: span 2;
  background: linear-gradient(145deg, #fffef5 0, #fff9e6 100%);
  border-color: rgba(255,200,0,0.3);
  padding: 32px 36px;
}

.vse-stati-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #b8860b;
  margin-bottom: 10px;
}

.vse-stati-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
  line-height: 1.35;
}

.vse-stati-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.vse-stati-back {
  margin-top: 56px;
  text-align: center;
}

.vse-stati-back .article-back {
  color: rgba(255,255,255,0.9);
}

.vse-stati-back .article-back:hover {
  color: var(--accent-soft);
}

@media (max-width: 700px) {
  .vse-stati-card-featured {
    grid-column: span 1;
  }
}
