::selection {
  background: rgba(45, 255, 134, 0.35);
  color: var(--text);
}

:root {
  --bg: #050709;
  --bg-2: #0b1117;
  --bg-3: #0f1f1a;
  --accent: #2dff86;
  --accent-2: #38f9d7;
  --accent-3: #9bffd1;
  --accent-4: #79ffad;
  --text: #eef7fb;
  --muted: #9fb0bd;
  --surface: rgba(8, 16, 14, 0.78);
  --surface-2: rgba(12, 26, 22, 0.65);
  --card: rgba(8, 20, 15, 0.72);
  --card-border: rgba(45, 255, 134, 0.22);
  --outline: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.38);
  --shadow-strong: rgba(0, 0, 0, 0.55);
  --glow: rgba(45, 255, 134, 0.45);
  --glow-strong: rgba(45, 255, 134, 0.65);
  --radius-xl: 26px;
  --matrix-r: 45;
  --matrix-g: 255;
  --matrix-b: 134;
  --depth-1: 14px;
  --depth-2: 28px;
  --depth-3: 46px;
}
* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 12% 12%, rgba(45, 255, 134, 0.22), transparent 60%),
    radial-gradient(900px 520px at 80% 18%, rgba(56, 249, 215, 0.16), transparent 60%),
    radial-gradient(800px 500px at 50% 88%, rgba(16, 120, 80, 0.2), transparent 70%),
    linear-gradient(160deg, #050709 0%, #0b1117 55%, #050709 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body[data-category="presentation"] {
  --accent: #2dff86;
  --accent-2: #38f9d7;
  --accent-3: #9bffd1;
  --matrix-r: 45;
  --matrix-g: 255;
  --matrix-b: 134;
}

body[data-category="website"] {
  --accent: #3ee9ff;
  --accent-2: #66ffb3;
  --accent-3: #b7fff0;
  --matrix-r: 62;
  --matrix-g: 233;
  --matrix-b: 255;
}

body[data-category="photo"] {
  --accent: #ff62c7;
  --accent-2: #ff9adf;
  --accent-3: #ffd1ef;
  --matrix-r: 255;
  --matrix-g: 98;
  --matrix-b: 199;
}

body[data-category="video"] {
  --accent: #8d7bff;
  --accent-2: #54d6ff;
  --accent-3: #c8c1ff;
  --matrix-r: 141;
  --matrix-g: 123;
  --matrix-b: 255;
}

body[data-category="learning"] {
  --accent: #34d399;
  --accent-2: #9be7c4;
  --accent-3: #c6f5df;
  --matrix-r: 52;
  --matrix-g: 211;
  --matrix-b: 153;
}

body[data-category="watermark"] {
  --accent: #2dff86;
  --accent-2: #1da96e;
  --accent-3: #9bffd1;
  --matrix-r: 45;
  --matrix-g: 255;
  --matrix-b: 134;
}

body[data-category="code"] {
  --accent: #60a5fa;
  --accent-2: #38f9d7;
  --accent-3: #c6dcff;
  --matrix-r: 96;
  --matrix-g: 165;
  --matrix-b: 250;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 180px 180px, 140px 140px, 220px 220px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -3;
  animation: shimmer 20s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    conic-gradient(from 120deg, rgba(45, 255, 134, 0.2), rgba(56, 249, 215, 0.08), transparent 65%),
    radial-gradient(circle at 30% 40%, rgba(45, 255, 134, 0.12), transparent 60%);
  opacity: 0.35;
  filter: blur(28px);
  animation: spin 28s linear infinite;
  pointer-events: none;
  z-index: -2;
}

.bg {
  position: fixed;
  inset: 0;
  background:
              radial-gradient(800px 500px at 85% 20%, rgba(45, 255, 134, 0.3), transparent 60%),
              radial-gradient(600px 400px at 12% 70%, rgba(56, 249, 215, 0.26), transparent 60%),
              radial-gradient(700px 420px at 50% 90%, rgba(20, 120, 80, 0.25), transparent 60%),
              linear-gradient(120deg, rgba(45, 255, 134, 0.08), transparent 55%),
              linear-gradient(rgba(45, 255, 134, 0.07) 1px, transparent 1px),
              linear-gradient(90deg, rgba(45, 255, 134, 0.07) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, 120px 120px, 120px 120px;
  background-position: center, center, center, center, 0 0, 0 0;
  pointer-events: none;
  z-index: -2;
  animation: drift 18s ease-in-out infinite alternate, gridMove 36s linear infinite;
}

.bg::before,
.bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(420px 420px at 30% 30%, rgba(45, 255, 134, 0.22), transparent 60%),
    radial-gradient(360px 360px at 70% 60%, rgba(56, 249, 215, 0.18), transparent 60%),
    radial-gradient(520px 520px at 80% 80%, rgba(9, 180, 120, 0.18), transparent 60%);
  filter: blur(12px);
  animation: float 24s ease-in-out infinite;
}

.bg::after {
  animation-delay: -10s;
  opacity: 0.8;
}

.hero {
  padding: 72px 6vw 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
  max-width: 1240px;
  margin: 28px auto 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  background: linear-gradient(140deg, rgba(10, 24, 18, 0.92), rgba(6, 12, 10, 0.75));
  box-shadow: 0 35px 80px var(--shadow-strong), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  perspective: 1400px;
}

@media (min-width: 900px) {
  .hero {
    padding-right: min(40vw, 520px);
    box-shadow:
      0 35px 80px var(--shadow-strong),
      inset 0 0 0 1px rgba(255, 255, 255, 0.02),
      0 0 0 1px rgba(45, 255, 134, 0.08);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: -60% 10% 40% -10%;
  background:
    radial-gradient(320px 240px at 20% 20%, rgba(45, 255, 134, 0.35), transparent 70%),
    radial-gradient(340px 240px at 60% 40%, rgba(56, 249, 215, 0.2), transparent 70%);
  opacity: 0.95;
  pointer-events: none;
  z-index: -1;
  transform: translateZ(-24px) scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(45, 255, 134, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
  z-index: -1;
  transform: translateZ(-12px);
}

.hero-sub {
  padding-bottom: 32px;
}

.hero-visual {
  position: absolute;
  right: 2vw;
  top: 10px;
  width: min(480px, 60vw);
  pointer-events: none;
  opacity: 0.75;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  will-change: transform;
  transform-style: preserve-3d;
  --hero-z: 40px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(45, 255, 134, 0.2);
  mix-blend-mode: screen;
  transform: translateZ(var(--depth-2));
}

.brand {
  font-size: 20px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 18px rgba(45, 255, 134, 0.5);
  font-family: "IBM Plex Mono", monospace;
}

h1 {
  font-family: "Unbounded", "Sora", sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  margin: 18px 0 12px;
  line-height: 1.1;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

@supports (-webkit-background-clip: text) {
  html:not(.is-phone) body[data-category="home"] .hero h1 {
    background: linear-gradient(118deg, #f5fbff 0%, #d4ffe8 38%, var(--accent-3) 62%, var(--accent) 100%);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
  }
}

.lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 720px;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
  perspective: 900px;
}

.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f14;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 36px var(--shadow-strong), 0 0 22px var(--glow);
  background-size: 200% 200%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.6s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.cta.ghost {
  background: rgba(8, 20, 15, 0.55);
  border: 1px solid rgba(45, 255, 134, 0.3);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 0.2s ease, transform 0.6s ease;
}

.cta:hover {
  transform: translateY(-2px) rotateX(6deg);
  background-position: 100% 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(45, 255, 134, 0.35);
}

.cta:hover::after {
  opacity: 1;
  transform: translateX(40%);
}

.meta {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.meta span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-2);
}

main {
  padding: 0 6vw 64px;
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.section {
  margin: 36px 0 64px;
  padding: 26px 26px 30px;
  scroll-margin-top: 80px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(10, 22, 18, 0.78), rgba(7, 12, 10, 0.4));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
}


.section-title {
  font-family: "Unbounded", "Sora", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.7;
}

@supports (-webkit-background-clip: text) {
  .section-title {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    color: transparent;
  }
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: stretch;
  perspective: 1600px;
}

.grid[data-spread="true"] {
  justify-content: space-evenly;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(12, 28, 20, 0.88), rgba(8, 18, 14, 0.6));
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.7s ease, border 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  will-change: transform;
  width: min(100%, 260px);
  max-width: 260px;
  flex: 0 1 260px;
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rot-x: 0deg;
  --reveal-rot-y: 0deg;
  --hover-lift: 0px;
  --hover-scale: 1;
  --hover-rot-x: 0deg;
  --hover-rot-y: 0deg;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform:
    translateY(calc(var(--reveal-y) + var(--hover-lift)))
    rotateX(calc(var(--reveal-rot-x) + var(--hover-rot-x) + var(--tilt-x)))
    rotateY(calc(var(--reveal-rot-y) + var(--hover-rot-y) + var(--tilt-y)))
    scale(var(--reveal-scale))
    scale(var(--hover-scale));
}

.card[href^="http"] {
  border-color: color-mix(in srgb, var(--brand, var(--accent)) 44%, rgba(255, 255, 255, 0.1));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.2), transparent 55%),
    radial-gradient(circle at 80% 15%, rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.16), transparent 50%),
    radial-gradient(circle at 30% 85%, rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.14), transparent 50%),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px);
  background-size: auto, auto, auto, 22px 22px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: 0.15;
  transform: translateZ(-28px) scale(1.08);
  transition: opacity 0.4s ease, transform 0.4s ease;
  mix-blend-mode: screen;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, var(--brand, #2dff86), transparent 70%) top left / 42px 2px,
    linear-gradient(180deg, var(--brand, #2dff86), transparent 70%) top left / 2px 42px,
    linear-gradient(270deg, var(--brand, #2dff86), transparent 70%) top right / 42px 2px,
    linear-gradient(180deg, var(--brand, #2dff86), transparent 70%) top right / 2px 42px,
    linear-gradient(90deg, var(--brand, #2dff86), transparent 70%) bottom left / 42px 2px,
    linear-gradient(0deg, var(--brand, #2dff86), transparent 70%) bottom left / 2px 42px,
    linear-gradient(270deg, var(--brand, #2dff86), transparent 70%) bottom right / 42px 2px,
    linear-gradient(0deg, var(--brand, #2dff86), transparent 70%) bottom right / 2px 42px,
    linear-gradient(120deg, transparent 15%, rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.25), transparent 70%),
    radial-gradient(circle at 70% 30%, rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.18), transparent 55%);
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateZ(12px);
  transition: opacity 0.35s ease;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(12, 28, 20, 0.88), rgba(8, 18, 14, 0.6));
  border: 1px solid var(--card-border);
  color: var(--text);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.card:hover {
  --hover-lift: -12px;
  --hover-scale: 1.04;
  --hover-rot-x: 4deg;
  --hover-rot-y: -3deg;
  border-color: var(--brand, rgba(45, 255, 134, 0.45));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 25px var(--brand, rgba(45, 255, 134, 0.3));
  transition-duration: 0.3s;
}

.card.show::before {
  opacity: 0.35;
  transform: translateZ(-24px) scale(1.04);
}

.card:hover::after {
  opacity: 0.9;
}

.card-icon,
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 255, 134, 0.22), rgba(56, 249, 215, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28), 0 0 18px rgba(45, 255, 134, 0.25);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon.has-logo {
  background: rgba(255, 255, 255, 0.04);
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand, #2dff86) 65%, transparent), rgba(0, 0, 0, 0.1));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25), 0 0 18px rgba(45, 255, 134, 0.2);
}

.card-logo {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.card > * {
  transform: translateZ(var(--depth-1));
  transform-style: preserve-3d;
}

.card .card-icon {
  transform: translateZ(var(--depth-3));
}

.card .card-title {
  transform: translateZ(var(--depth-2));
}

.card .card-tag {
  transform: translateZ(calc(var(--depth-1) + 6px));
}

.logo {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #0b0f14;
}

.icon-slides {
  background-image:
    linear-gradient(145deg, rgba(45, 212, 191, 0.65), rgba(56, 189, 248, 0.35)),
    url("asset_textures_categories_presentation.jpg");
  background-size: cover;
  background-position: center;
}

.icon-site {
  background-image:
    linear-gradient(145deg, rgba(245, 158, 11, 0.65), rgba(249, 115, 22, 0.35)),
    url("asset_textures_categories_website.jpg");
  background-size: cover;
  background-position: center;
}

.icon-photo {
  background-image:
    linear-gradient(145deg, rgba(244, 114, 182, 0.65), rgba(236, 72, 153, 0.35)),
    url("asset_textures_categories_photo.jpg");
  background-size: cover;
  background-position: center;
}

.icon-video {
  background-image:
    linear-gradient(145deg, rgba(168, 85, 247, 0.65), rgba(99, 102, 241, 0.35)),
    url("asset_textures_categories_video.jpg");
  background-size: cover;
  background-position: center;
}

.icon-docs {
  background-image:
    linear-gradient(145deg, rgba(96, 165, 250, 0.65), rgba(34, 211, 238, 0.35)),
    url("asset_textures_categories_code.jpg");
  background-size: cover;
  background-position: center;
}

.icon-learn {
  background-image:
    linear-gradient(145deg, rgba(52, 211, 153, 0.65), rgba(16, 185, 129, 0.35)),
    url("asset_textures_categories_learning.jpg");
  background-size: cover;
  background-position: center;
}

.icon-ai {
  background: linear-gradient(135deg, #2dff86, #06d6a0);
}

.icon-tools {
  background: linear-gradient(135deg, #34d399, #a7f3d0);
}

.icon-shield {
  background-image:
    linear-gradient(145deg, rgba(45, 255, 134, 0.65), rgba(29, 169, 110, 0.35)),
    url("asset_textures_categories_watermark.jpg");
  background-size: cover;
  background-position: center;
}

.step-icon {
  position: relative;
  background: linear-gradient(135deg, rgba(61, 180, 255, 0.3), rgba(70, 245, 162, 0.3));
}

.icon-1::after,
.icon-2::after,
.icon-3::after,
.icon-4::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text);
}

.icon-1::after {
  content: "1";
}

.icon-2::after {
  content: "2";
}

.icon-3::after {
  content: "3";
}

.icon-4::after {
  content: "4";
}

.reveal {
  opacity: 0;
  --reveal-y: 24px;
  --reveal-scale: 0.98;
  --reveal-rot-x: 0deg;
  --reveal-rot-y: 0deg;
  transition:
    opacity 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.hide {
  opacity: 0;
  --reveal-y: 24px;
  --reveal-scale: 0.98;
  --reveal-rot-x: 0deg;
  --reveal-rot-y: 0deg;
  transition-delay: 0ms;
}

.reveal.show {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rot-x: 5deg;
  --reveal-rot-y: -1.5deg;
}

.feed-stream-card {
  --reveal-rot-x: 0deg;
  --reveal-rot-y: 0deg;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform-style: flat;
}

.feed-stream-card.reveal.show {
  --reveal-rot-x: 0deg;
  --reveal-rot-y: 0deg;
}

.grid {
  perspective: 1600px;
}

.card.reveal.show::after {
  opacity: 0.65;
  transition-delay: 120ms;
}

.card.reveal.hide::after {
  opacity: 0;
  transition-delay: 0ms;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--brand, var(--text));
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
}

.card-tag {
  font-size: 12px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--brand, var(--accent-3));
  opacity: 0.85;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.steps {
  padding-left: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.note {
  background: linear-gradient(150deg, rgba(12, 30, 22, 0.78), rgba(6, 12, 10, 0.45));
  border: 1px solid rgba(45, 255, 134, 0.25);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.ai-group {
  margin-bottom: 26px;
}

.subhead {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 14px;
}

.subhead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}

.note-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.note-item {
  color: var(--muted);
  margin-bottom: 10px;
}

.note-item:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 24px 6vw 40px;
  border-top: 1px solid rgba(45, 255, 134, 0.25);
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  background: rgba(7, 14, 10, 0.6);
  backdrop-filter: blur(14px);
}

.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: screen;
}

.panel-3d {
  transform-style: preserve-3d;
  will-change: transform;
  transform: translateZ(0) rotateX(var(--panel-tilt-x, 0deg)) rotateY(var(--panel-tilt-y, 0deg));
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.panel-3d:hover {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35), 0 0 26px rgba(45, 255, 134, 0.18);
}

.footer-hint {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.footer-credits {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  opacity: 0.7;
}

.footer-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(45, 255, 134, 0.22);
  border-radius: 16px;
  background: rgba(8, 20, 15, 0.55);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.footer-author img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(45, 255, 134, 0.4);
  box-shadow: 0 6px 18px rgba(45, 255, 134, 0.25);
}

.author-text {
  display: grid;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  color: var(--text);
}

.author-meta {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero {
    padding-top: 52px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    position: static;
    width: 100%;
    margin-top: 18px;
    opacity: 0.55;
  }

  .section {
    padding: 20px;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    justify-items: center;
  }

  .card {
    width: 100%;
    max-width: 260px;
  }

  .particles-canvas {
    opacity: 0.32;
  }

  .sound-toggle {
    font-size: 11px;
    padding: 7px 12px;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 44px 5vw 36px;
  }

  .section {
    margin: 28px 0 50px;
  }

  .grid {
    gap: 12px;
  }

  .card {
    padding: 16px;
  }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 10;
  background:
    radial-gradient(600px 420px at 50% 40%, rgba(45, 255, 134, 0.12), transparent 60%),
    linear-gradient(160deg, #050607 0%, #0b1117 60%, #050607 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.intro-halo,
.intro-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.intro-halo {
  width: min(70vmin, 520px);
  height: min(70vmin, 520px);
  background: radial-gradient(circle,
    rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.35) 0%,
    rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.05) 55%,
    transparent 70%);
  filter: blur(2px);
  animation: haloPulse 6s ease-in-out infinite;
}

.intro-orbit {
  width: min(88vmin, 680px);
  height: min(88vmin, 680px);
  border: 1px solid rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.2);
  box-shadow: 0 0 40px rgb(var(--matrix-r) var(--matrix-g) var(--matrix-b) / 0.18);
  animation: orbitSpin 12s linear infinite;
}

.intro::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, transparent 45%, rgba(45, 255, 134, 0.18) 50%, transparent 55%);
  animation: scan 3s ease-in-out infinite;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(45, 255, 134, 0.08) 0 1px, transparent 1px 80px),
              repeating-linear-gradient(rgba(45, 255, 134, 0.06) 0 1px, transparent 1px 80px);
  opacity: 0.2;
  pointer-events: none;
}

.matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.75;
  mix-blend-mode: screen;
  filter: blur(0.2px);
  z-index: 0;
}

.intro-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  z-index: 2;
}

.intro-logo {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: "Unbounded", "Sora", sans-serif;
  text-shadow: 0 0 18px rgba(45, 255, 134, 0.65), 0 0 40px rgba(45, 255, 134, 0.25);
  opacity: 0;
  animation: logo-build 2.2s ease forwards, logo-pulse 3s ease-in-out infinite 2.2s;
}

.intro-line {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(12px, 1.6vw, 16px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-3);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-sub {
  font-size: clamp(13px, 1.8vw, 18px);
  color: rgba(234, 242, 246, 0.85);
  letter-spacing: 0.2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-line.show,
.intro-sub.show {
  opacity: 1;
  transform: translateY(0);
}

.intro-hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

@keyframes logo-build {
  0% { opacity: 0; transform: scale(0.92); letter-spacing: 20px; }
  60% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); letter-spacing: 6px; }
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-20px, 20px, 0); }
}

@keyframes shimmer {
  0% { transform: translate3d(0, 0, 0); opacity: 0.25; }
  50% { transform: translate3d(10px, -12px, 0); opacity: 0.45; }
  100% { transform: translate3d(-8px, 8px, 0); opacity: 0.25; }
}

@keyframes float {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -20px, 0) scale(1.05); }
  100% { transform: translate3d(-10px, 20px, 0) scale(1); }
}

@keyframes gridMove {
  0% { background-position: center, center, center, center, 0 0, 0 0; }
  100% { background-position: center, center, center, center, 120px 120px, -120px -120px; }
}

@keyframes logo-pulse {
  0% { text-shadow: 0 0 18px rgba(45, 255, 134, 0.65); }
  50% { text-shadow: 0 0 28px rgba(45, 255, 134, 0.9); }
  100% { text-shadow: 0 0 18px rgba(45, 255, 134, 0.65); }
}

@keyframes scan {
  0% { transform: translateX(-20%) rotate(2deg); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateX(20%) rotate(2deg); opacity: 0; }
}

@keyframes haloPulse {
  0% { transform: scale(0.92); opacity: 0.45; }
  50% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(0.92); opacity: 0.45; }
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes matrixSweep {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; opacity: 0.2; }
  100% { background-position: 120px 0, -80px 60px, 60px 90px, 140px 160px; opacity: 0.45; }
}

@keyframes cardDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  50% {
    background-position: 6px -8px, -10px 6px, 8px 10px, 12px 14px;
  }
  100% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
}

@keyframes heroFloat {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .intro {
    display: none;
  }

  .hero-visual {
    animation: none;
  }
}
.no-scroll {
  overflow: hidden;
}

.main-controls {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
}

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(10, 24, 18, 0.94), rgba(6, 14, 10, 0.72));
  border: 1px solid rgba(45, 255, 134, 0.28);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.auth-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.google-signin-btn {
  display: flex;
  align-items: center;
}

.google-signin-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 20, 16, 0.6);
  color: var(--muted);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
}

.auth-user {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 14, 11, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-user.is-active {
  display: flex;
}

.auth-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.auth-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-email {
  font-size: 11px;
  color: var(--muted);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-logout {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 18, 14, 0.6);
  color: var(--text);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.auth-logout:hover {
  border-color: rgba(45, 255, 134, 0.35);
}

.search-empty {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  background: rgba(8, 18, 14, 0.55);
  border: 1px dashed rgba(45, 255, 134, 0.22);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 2px 0;
}

.filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 14, 11, 0.65);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: rgba(45, 255, 134, 0.35);
}

.filter-chip.is-active {
  color: #06120c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 20px rgba(45, 255, 134, 0.2);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(8, 20, 15, 0.75), rgba(5, 10, 8, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.section-nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.section-nav-link:hover {
  color: var(--text);
  background: rgba(45, 255, 134, 0.08);
}

.section-nav-link.is-active {
  color: var(--text);
  background: rgba(45, 255, 134, 0.14);
  border-color: rgba(45, 255, 134, 0.35);
  box-shadow: 0 0 18px rgba(45, 255, 134, 0.12);
}

.copy-url-btn {
  border: 1px solid rgba(45, 255, 134, 0.35);
  background: rgba(8, 16, 12, 0.88);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.copy-url-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 255, 134, 0.55);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 14px rgba(45, 255, 134, 0.15);
}

.ai-group.ai-group--empty {
  display: none !important;
}

main > section.section.is-collapsed-empty {
  display: none !important;
}

.marquee-section {
  position: relative;
}

.marquee-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 720px;
}

.marquee-lead code {
  color: var(--accent-2);
  font-size: 0.92em;
}

.marquee-viewport {
  overflow: hidden;
  max-width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 72s linear infinite;
}

.marquee-track--static {
  animation: none;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.marquee-segment {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
  align-items: center;
}

.marquee-item {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--m, var(--accent)) 50%, rgba(255, 255, 255, 0.12));
  background: linear-gradient(145deg, rgba(10, 24, 18, 0.92), rgba(6, 14, 10, 0.65));
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.38),
    0 0 22px color-mix(in srgb, var(--m, var(--accent)) 14%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.marquee-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--m, var(--accent)) 65%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.42),
    0 0 28px color-mix(in srgb, var(--m, var(--accent)) 22%, transparent);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
  }
}

html.is-phone .marquee-track:not(.marquee-track--static) {
  animation-duration: 96s;
}

.sound-toggle {
  border: 1px solid rgba(45, 255, 134, 0.35);
  background: rgba(8, 16, 12, 0.85);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.sound-toggle.is-on {
  border-color: rgba(45, 255, 134, 0.6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(45, 255, 134, 0.2);
}

.sound-toggle:hover {
  transform: translateY(-1px);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(234, 242, 246, 0.55);
}

.search-count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.to-top,
.to-bottom {
  position: fixed;
  right: 22px;
  bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 255, 134, 0.35);
  background: rgba(8, 16, 12, 0.85);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35), 0 0 16px rgba(45, 255, 134, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 40;
}

.to-bottom {
  bottom: 74px;
}

.to-top.show,
.to-bottom.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-4px);
}

.to-top:hover,
.to-bottom:hover {
  transform: translateY(-6px);
}
.section::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(220deg, rgba(45, 255, 134, 0.12), transparent 70%);
  opacity: 0.7;
  transform: translateZ(-18px);
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 120% at 50% 110%, rgba(0, 0, 0, 0.25), transparent 65%);
  opacity: 0.6;
  transform: translateZ(-32px);
  pointer-events: none;
}

/* Телефон: облегчённый рендер, ПК не затрагивается */
html.is-phone {
  -webkit-tap-highlight-color: rgba(45, 255, 134, 0.12);
}

html.is-phone body {
  background:
    radial-gradient(720px 400px at 15% 10%, rgba(45, 255, 134, 0.14), transparent 58%),
    linear-gradient(165deg, #050709 0%, #0a1210 50%, #050709 100%);
}

html.is-phone body::before,
html.is-phone body::after {
  animation: none !important;
  opacity: 0.12;
}

html.is-phone .bg {
  animation: none !important;
  filter: saturate(0.95);
}

html.is-phone .bg::before,
html.is-phone .bg::after {
  animation: none !important;
}

html.is-phone .hero {
  backdrop-filter: none;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  border-color: rgba(45, 255, 134, 0.12);
}

html.is-phone .section {
  backdrop-filter: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

html.is-phone .card {
  backdrop-filter: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

html.is-phone .toolbar {
  backdrop-filter: none;
}

html.is-phone .auth-wrap {
  margin-left: 0;
  width: 100%;
}

html.is-phone .main-controls {
  top: 6px;
  gap: 10px;
}

html.is-phone .section-nav {
  padding: 8px 10px;
  gap: 6px;
}

html.is-phone .section-nav-link {
  font-size: 12px;
  padding: 5px 10px;
}

html.is-phone .filter-chip {
  padding: 6px 12px;
  font-size: 11px;
}

html.is-phone .copy-url-btn {
  padding: 7px 12px;
  font-size: 11px;
}

html.is-phone .feed-mode-toggle {
  right: 12px;
  bottom: 78px;
  padding: 8px 12px;
  font-size: 11px;
}

html.is-phone .feed-status {
  padding: 10px 12px;
  gap: 10px;
  font-size: 11px;
}

html.is-phone .gear {
  width: 20px;
  height: 20px;
}

html.is-phone .gear--md {
  width: 16px;
  height: 16px;
}

html.is-phone .gear--sm {
  width: 12px;
  height: 12px;
}

html.is-phone .particles-canvas {
  display: none !important;
}

html.is-phone .intro--lite .matrix-canvas,
html.is-phone .intro--lite .intro-halo,
html.is-phone .intro--lite .intro-orbit {
  display: none !important;
}

html.is-phone .intro--lite::before,
html.is-phone .intro--lite::after {
  animation: none !important;
  opacity: 0.1;
}

html.is-phone .intro--lite .intro-logo {
  animation: logo-build 1s ease forwards;
}

html.is-phone h1,
html.is-phone .section-title,
html.is-phone .intro-logo {
  font-family: "Sora", system-ui, sans-serif;
}

html.is-phone .brand,
html.is-phone .intro-line,
html.is-phone .meta span,
html.is-phone .footer-hint,
html.is-phone .footer-credits,
html.is-phone .search-count {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}

html.is-phone .hero-visual img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.feed-mode-toggle {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 45;
  border: 1px solid rgba(45, 255, 134, 0.45);
  background: linear-gradient(145deg, rgba(12, 28, 22, 0.96), rgba(6, 14, 10, 0.88));
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 30px rgba(45, 255, 134, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.toolbar .feed-mode-toggle {
  position: static;
  right: auto;
  bottom: auto;
  box-shadow: none;
  padding: 8px 12px;
  margin-left: 8px;
}

.feed-mode-toggle.is-on {
  border-color: rgba(45, 255, 134, 0.75);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 30px rgba(45, 255, 134, 0.28);
}

.feed-mode-toggle:hover {
  transform: translateY(-2px);
}

.feed-stream-section {
  margin-top: 8px;
}

.feed-stream-hint {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 720px;
}

.feed-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 0;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(45, 255, 134, 0.18);
  background: linear-gradient(140deg, rgba(10, 24, 18, 0.78), rgba(6, 14, 10, 0.55));
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

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

.gear {
  --gear-color: color-mix(in srgb, var(--accent) 75%, rgba(255, 255, 255, 0.2));
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 38%, var(--gear-color) 39% 41%, transparent 42%),
    repeating-conic-gradient(from 0deg, var(--gear-color) 0 12deg, transparent 12deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35% 100%);
  mask: radial-gradient(circle, transparent 0 34%, #000 35% 100%);
  animation: gear-spin 4.4s linear infinite;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.gear--md {
  width: 22px;
  height: 22px;
  animation-duration: 3.6s;
  animation-direction: reverse;
}

.gear--sm {
  width: 16px;
  height: 16px;
  animation-duration: 2.8s;
}

.feed-status-text {
  font-family: "IBM Plex Mono", monospace;
}

@keyframes gear-spin {
  to {
    transform: rotate(360deg);
  }
}

.feed-stream-card.matrix-spawn .card-title,
.feed-stream-card.matrix-spawn .card-desc,
.feed-stream-card.matrix-spawn .card-tag,
.feed-stream-card.matrix-spawn .card-icon {
  opacity: 0;
  transform: translateY(4px) scale(0.98);
}

.matrix-burst {
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  padding: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.15;
  color: rgba(45, 255, 134, 0.85);
  background:
    radial-gradient(120% 160% at 50% 100%, rgba(0, 0, 0, 0.7), rgba(5, 7, 9, 0.35)),
    linear-gradient(180deg, rgba(45, 255, 134, 0.12), transparent 70%);
  text-shadow: 0 0 12px rgba(45, 255, 134, 0.35);
  opacity: 0;
  pointer-events: none;
  white-space: pre-wrap;
  animation: matrix-burst 0.75s ease forwards;
}

@keyframes matrix-burst {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

a:focus-visible,
button:focus-visible,
.cta:focus-visible,
.filter-chip:focus-visible,
.copy-url-btn:focus-visible,
.section-nav-link:focus-visible,
.marquee-item:focus-visible,
.feed-mode-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
