:root {
  --bg: #000000;
  --panel: rgba(5, 5, 5, 0.92);
  --border: rgba(177, 255, 76, 0.22);
  --text: #f5f7f1;
  --muted: rgba(245, 247, 241, 0.72);
  --lime-1: #c7ff62;
  --lime-2: #97e639;
  --lime-3: #5ea91b;
  --glow: rgba(142, 224, 53, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #000000;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: transparent;
  color: var(--text);
  font-family: "M PLUS Rounded 1c", "Trebuchet MS", sans-serif;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('recode/123.jpg') no-repeat center/cover;
  filter: blur(6px) brightness(0.3);
  z-index: -1;
  pointer-events: none;
}

a, button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.top-controls {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: calc(100vw - 2rem);
}

.minka-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.18),
    0 0 20px rgba(151, 230, 57, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
  filter: brightness(1.1) saturate(1.2) hue-rotate(-10deg);
}

.minka-icon:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.28),
    0 0 30px rgba(151, 230, 57, 0.16);
}

.view-counter {
  height: auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.view-counter svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #97e639;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.view-counter__value {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.view-counter__value.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.telegram-link {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.88);
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.18),
    0 0 30px rgba(151, 230, 57, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.telegram-link svg {
  width: 24px;
  height: 24px;
  fill: #97e639;
}

.telegram-link:hover,
.telegram-link:focus-visible {
  transform: translateY(-2px) scale(1.03);
  background: rgba(12, 12, 12, 0.94);
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.28),
    0 0 40px rgba(151, 230, 57, 0.16);
}

.shop-link {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.88);
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.18),
    0 0 30px rgba(151, 230, 57, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.shop-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #97e639;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-link:hover,
.shop-link:focus-visible {
  transform: translateY(-2px) scale(1.03);
  background: rgba(12, 12, 12, 0.94);
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.28),
    0 0 40px rgba(151, 230, 57, 0.16);
}

.comments-link {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.88);
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.18),
    0 0 30px rgba(151, 230, 57, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.comments-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #97e639;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comments-link:hover,
.comments-link:focus-visible {
  transform: translateY(-2px) scale(1.03);
  background: rgba(12, 12, 12, 0.94);
  box-shadow:
    0 0 0 1px rgba(151, 230, 57, 0.28),
    0 0 40px rgba(151, 230, 57, 0.16);
}

.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: var(--size);
  height: var(--size);
  background-image: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(1.2) saturate(1.3) hue-rotate(-15deg);
  opacity: 0.4;
  animation:
    screenRun var(--duration) linear infinite alternate,
    blink var(--blink-duration) ease-in-out infinite,
    rotateParticle calc(var(--duration) * 2) linear infinite;
  animation-delay: var(--delay);
  will-change: transform;
}

@keyframes rotateParticle {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(calc(var(--shift-x) * 0.25), calc(var(--shift-y) * 0.25), 0) rotate(90deg); }
  50% { transform: translate3d(calc(var(--shift-x) * 0.5), calc(var(--shift-y) * 0.5), 0) rotate(180deg); }
  75% { transform: translate3d(calc(var(--shift-x) * 0.75), calc(var(--shift-y) * 0.75), 0) rotate(270deg); }
  100% { transform: translate3d(var(--shift-x), var(--shift-y), 0) rotate(360deg); }
}

.page {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 2rem) 0 5rem;
}

.hero,
.video-player,
.comments-section {
  position: relative;
}

.hero {
  min-height: min(100svh, 600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  position: relative;
  margin: 0 0 1.25rem;
  font-size: clamp(2.9rem, 7vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(90deg, var(--lime-1), var(--lime-2), var(--lime-3), var(--lime-1));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 9s ease-in-out infinite alternate;
}

.hero__info {
  width: min(100%, 420px);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: none;
  border-radius: var(--radius-xl);
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(177, 255, 76, 0.05),
    0 0 48px rgba(116, 191, 31, 0.08),
    var(--shadow);
  overflow: visible;
  position: relative;
  isolation: isolate;
}

.hero__info > * {
  position: relative;
  z-index: 1;
}

.hero__info p {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.hero__info p + p {
  margin-top: 0.6rem;
}

.hero__accent {
  display: block;
  padding-bottom: 0.16em;
  color: transparent;
  background: linear-gradient(90deg, var(--lime-1), var(--lime-2), var(--lime-3), var(--lime-1));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite alternate;
}

.video-player {
  padding: 1rem 0 2rem;
}

.nuvelix-promo {
  display: flex;
  justify-content: center;
  padding: 3rem 0 0.5rem;
}

.nuvelix-promo__content {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.nuvelix-button {
  display: inline-block;
  padding: 0.85rem 2.35rem;
  background:
    linear-gradient(135deg, rgba(255, 224, 234, 0.2), rgba(255, 127, 166, 0.12)),
    rgba(8, 8, 8, 0.44);
  border: 1px solid rgba(255, 183, 197, 0.48);
  border-radius: 999px;
  color: #ffe0ea;
  font-weight: 600;
  font-size: 1.35rem;
  font-family: "Pacifico", "M PLUS Rounded 1c", cursive;
  letter-spacing: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  text-shadow: 0 0 14px rgba(255, 127, 166, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 224, 234, 0.08) inset,
    0 0 24px rgba(255, 183, 197, 0.14);
}

.nuvelix-button--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  min-width: min(100%, 245px);
  min-height: 68px;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
}

.nuvelix-button:hover {
  background:
    linear-gradient(135deg, rgba(255, 224, 234, 0.32), rgba(255, 127, 166, 0.2)),
    rgba(12, 12, 12, 0.62);
  border-color: #ffe0ea;
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 224, 234, 0.16) inset,
    0 10px 34px rgba(255, 127, 166, 0.24);
}

.tuebin-button,
.oregairu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  background: transparent !important;
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.35rem;
  font-family: "Outfit", "M PLUS Rounded 1c", sans-serif;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1;
  border: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.tuebin-button--hero {
  margin-top: 1.35rem;
  min-width: min(100%, 245px);
  min-height: 68px;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
}

.tuebin-button::before,
.oregairu-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 5px;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rainbow-border-anim 6s linear infinite;
  pointer-events: none;
  z-index: -1;
}

.tuebin-button::after,
.oregairu-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 5px;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -2;
  filter: blur(8px);
  opacity: 0.65;
  animation: rainbow-border-anim 6s linear infinite;
  transition: opacity 0.3s ease, filter 0.3s ease;
  pointer-events: none;
}

.tuebin-button:hover,
.oregairu-link:hover {
  transform: translateY(-4px) scale(1.03);
  color: #ffffff !important;
}

.tuebin-button:hover::after,
.oregairu-link:hover::after {
  opacity: 0.95;
  filter: blur(12px);
}

.hero__content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  gap: 2rem;
  margin: 0 auto;
}

.hero__side-left,
.hero__side-right {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero__content-wrapper {
    flex-direction: column;
    gap: 3rem;
  }
  .hero__side-left,
  .hero__side-right {
    flex: none;
    width: 100%;
  }
}

@keyframes rainbow-border-anim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.oregairu-promo {
  margin-top: 1.5rem;
  display: inline-block;
  width: 100%;
}

.falling-cic {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  pointer-events: none;
  width: 32px;
  height: 32px;
  background: url('/recode/cic.png') no-repeat center/contain;
  animation: cicFalling var(--duration) linear forwards;
  opacity: 0.8;
  will-change: transform, opacity;
}

@keyframes cicFalling {
  0% {
    transform: translate(var(--start-x), -50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translate(var(--end-x), min(100svh, 660px)) rotate(var(--rotation));
    opacity: 0;
  }
}

.video-player__frame-shell::before {
  content: "";
  position: absolute;
  inset: -3% 8%;
  background: radial-gradient(circle at center, rgba(151, 230, 57, 0.16) 0%, rgba(151, 230, 57, 0.05) 44%, transparent 74%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.video-player__frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 26px;
  background: #050505;
}

.bottom-gif {
  display: flex;
  justify-content: center;
  padding: 3rem 0 0.5rem;
}

.bottom-gif__content {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  overflow: hidden;
  padding: 1rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.mobile-lite .noise-overlay,
html.mobile-lite .particles,
html.mobile-lite .video-player__frame-shell::before {
  display: none !important;
}

html.mobile-lite .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

html.mobile-lite .hero__title,
html.mobile-lite .hero__accent {
  animation: none;
  background-size: 100% 100%;
}

html.mobile-lite .hero__info,
html.mobile-lite .video-player__frame-shell,
html.mobile-lite .comments-container {
  box-shadow:
    0 0 0 1px rgba(177, 255, 76, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes screenRun {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  35% {
    transform: translate3d(calc(var(--shift-x) * 0.48), calc(var(--shift-y) * -0.24), 0) scale(1.05);
  }
  68% {
    transform: translate3d(calc(var(--shift-x) * -0.36), calc(var(--shift-y) * 0.62), 0) scale(0.96);
  }
  100% {
    transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(1.08);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.56;
  }
}

@media (max-width: 980px) {
  .page {
    width: min(100% - 1.2rem, 1400px);
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }
}

@media (max-width: 680px) {
  .page {
    width: calc(100% - 1rem);
    padding-bottom: 3rem;
  }

  .hero {
    gap: 0.6rem;
    align-items: center;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 0.8rem;
  }

  .hero__info {
    width: 100%;
    border-radius: 20px;
    padding: 1rem;
  }

  .hero__info p {
    font-size: clamp(1.1rem, 5vw, 1.8rem);
  }

  .video-player {
    padding: 0.7rem 0 1.8rem;
  }

  .video-player__frame-shell {
    border-radius: 24px;
    padding: 0.45rem;
  }

  .video-player__frame {
    border-radius: 18px;
  }

  .bottom-gif {
    padding-top: 2.2rem;
  }

  .bottom-gif__content {
    gap: 0.7rem;
  }
}

/* ── scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--lime-3), var(--lime-1));
  z-index: 100;
  pointer-events: none;
  transition: width 60ms linear;
  box-shadow: 0 0 8px rgba(151, 230, 57, 0.5);
}

/* ── back to top button ── */
.back-to-top {
  position: fixed;
  bottom: 1.6rem;
  right: 1.4rem;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(151, 230, 57, 0.22);
  background: rgba(8, 8, 8, 0.88);
  color: #97e639;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 260ms ease, transform 260ms ease, box-shadow 200ms ease, background 200ms ease;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(151, 230, 57, 0.1), 0 0 20px rgba(151, 230, 57, 0.06);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(14, 14, 14, 0.96);
  box-shadow: 0 0 0 1px rgba(151, 230, 57, 0.3), 0 0 28px rgba(151, 230, 57, 0.14);
  transform: translateY(-2px) scale(1.05);
}

/* ── cursor trail (desktop only) ── */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #97e639;
  box-shadow: 0 0 10px rgba(151, 230, 57, 0.5);
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  margin-left: -3.5px;
  margin-top: -3.5px;
}



/* ── animated border hero__info ── */
@keyframes border-run {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.hero__info::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    #97e639 20%,
    #c7ff62 40%,
    transparent 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-run 3s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* ── noise/grain overlay ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain-shift 0.18s steps(1) infinite;
}
@keyframes grain-shift {
  0%   { background-position: 0 0; }
  10%  { background-position: -5% -10%; }
  20%  { background-position: -15% 5%; }
  30%  { background-position: 7% -25%; }
  40%  { background-position: -5% 25%; }
  50%  { background-position: -15% 10%; }
  60%  { background-position: 15% 0%; }
  70%  { background-position: 0% 15%; }
  80%  { background-position: 3% 35%; }
  90%  { background-position: -10% 10%; }
  100% { background-position: 0 0; }
}

/* ── parallax hero image ── */
.hero__image {
  will-change: transform;
}

/* ── skeleton loading ── */
@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.img-skeleton {
  position: relative;
  overflow: hidden;
}
.img-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(30,30,30,0.9) 25%,
    rgba(60,70,40,0.7) 50%,
    rgba(30,30,30,0.9) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  z-index: 2;
  transition: opacity 400ms ease;
}
.img-skeleton.loaded::before {
  opacity: 0;
  pointer-events: none;
}

/* ── pixel C.C. walker ── */
.cc-walker {
  position: fixed;
  bottom: 80px;
  left: -80px;
  z-index: 40;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transform: scaleX(1);
  transition: transform 0.1s;
}
.cc-walker canvas {
  display: block;
  width: 48px;
  height: 112px;
  image-rendering: pixelated;
}

/* ── animated border on hero__info (border replaced by pseudo-element) ── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .cursor-trail {
    display: none;
  }

  .noise-overlay {
    display: none;
  }

  .cc-walker {
    display: none;
  }
}

/* ── comments section ── */
.comments-section {
  padding: 2rem 0;
  width: min(100%, 800px);
  margin: 0 auto;
}

.comments-container {
  background: transparent;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(151, 230, 57, 0.1);
}

.comments-title {
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--lime-2);
  letter-spacing: -0.02em;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.comment-input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 200ms ease;
}

.comment-input:focus {
  outline: none;
  border-color: rgba(151, 230, 57, 0.2);
}

.comment-submit {
  align-self: flex-start;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(151, 230, 57, 0.3);
  border-radius: 4px;
  background: transparent;
  color: var(--lime-2);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 200ms ease;
}

.comment-submit:hover {
  background: rgba(151, 230, 57, 0.05);
  border-color: var(--lime-2);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comment-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.comment-avatar {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(151, 230, 57, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--lime-2);
}

.comment-username {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.5;
}

.comment-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  opacity: 0.9;
}

@media (max-width: 680px) {
  .comments-section {
    padding: 2rem 0 1.5rem;
  }

  .comments-container {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .comments-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .comment-input {
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .comment-submit {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .comment-item {
    padding: 1rem;
  }

  .comment-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .comment-username {
    font-size: 0.95rem;
  }

  .comment-date {
    font-size: 0.8rem;
  }

  .comment-text {
    font-size: 0.95rem;
  }
}
