:root {
  --black: #0b0b0b;
  --white: #f5f2e9;
  --red: #ff2d2d;
  --neon: #c8ff2e;
  --pink: #ff5ca9;
  --gray: #1a1a1a;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Mono", monospace;
  background: radial-gradient(circle at top, #1b1b1b 0%, #060606 70%);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
  padding: 0 24px 60px;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-family: "Space Mono", monospace;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-text p {
  max-width: 540px;
  margin: 0 auto 12px;
}

.hero-tagline {
  font-family: "Space Mono", monospace;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-subtext {
  font-size: 0.95rem;
  color: #c8c1b3;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  background: var(--neon);
  color: var(--black);
  font-weight: 700;
  padding: 6px 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  transform: skew(-6deg);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

button {
  font-family: "Space Mono", monospace;
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta {
  background: var(--red);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--pink);
}

.ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

button:hover {
  transform: translate(-2px, -2px);
}

.meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.hero-photo {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  border: 3px solid var(--white);
  box-shadow: 12px 12px 0 var(--red);
  transform: rotate(-2deg);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-tag {
  position: absolute;
  bottom: -14px;
  right: 12px;
  background: var(--pink);
  color: var(--black);
  padding: 6px 12px;
  font-family: "Permanent Marker", cursive;
  transform: rotate(4deg);
}

.panel {
  background: var(--gray);
  padding: 40px;
  margin: 20px 0 40px;
  border: 2px solid var(--white);
  box-shadow: 8px 8px 0 var(--shadow);
  position: relative;
  z-index: 1;
}

.panel-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.article {
  display: grid;
  gap: 16px;
  border: 2px solid var(--white);
  padding: 28px;
  background: #101010;
  max-width: 720px;
}

.article h3 {
  font-family: "Space Mono", monospace;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.02em;
}

.article p {
  color: #d2cbbb;
}

.article-tags {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
}

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

.split-block {
  border: 2px solid var(--white);
  padding: 24px;
  background: #151515;
}

.split-block h2 {
  font-family: "Bebas Neue", sans-serif;
  margin-bottom: 12px;
  font-size: 2rem;
}

.list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  border-left: 3px solid var(--red);
  padding-left: 12px;
}

.signals {
  display: grid;
  gap: 16px;
}

.signal-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--neon);
}

.manifesto {
  margin: 50px 0 30px;
  text-align: center;
}

.manifesto h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.manifesto-strip {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  font-family: "Permanent Marker", cursive;
  color: var(--red);
}

footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #bdb6a9;
}

@media (max-width: 720px) {
  body {
    padding: 0 16px 40px;
  }

  .panel {
    padding: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.panel-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.panel-subtitle {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.insight-list {
  display: grid;
  gap: 10px;
}

.insight-item {
  display: grid;
  gap: 4px;
  text-align: left;
  border: 2px solid var(--white);
  padding: 12px 14px;
  background: #101010;
  color: var(--white);
}

.insight-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.insight-tags {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon);
}

.article-body {
  display: grid;
  gap: 12px;
}

.is-hidden {
  display: none;
}

.article-cover {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
  margin: 18px 0;
}

@media (max-width: 720px) {
  .article-cover {
    max-height: 220px;
  }
}

/* ===== Cusdis Dark Theme Override ===== */

#cusdis_thread {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #222;
  color: #e6e6e6;
}

#cusdis_thread textarea,
#cusdis_thread input {
  background-color: #111;
  color: #fff;
  border: 1px solid #333;
}

#cusdis_thread .comment-content {
  color: #e6e6e6;
}

#cusdis_thread .comment-author {
  color: #ffffff;
}

#cusdis_thread .comment-time {
  color: #aaaaaa;
}

#cusdis_thread button {
  background: #ffffff;
  color: #000;
}

/* ===== Cusdis Dark Mode Fix ===== */

#cusdis_thread iframe {
  filter: invert(1) hue-rotate(180deg);
}

#cusdis_thread {
  background: transparent;
}

/* Optional — smoother look */
#cusdis_thread iframe {
  border-radius: 12px;
}

/* ===== Cusdis Dark Mode Fix (Stronger) ===== */

#cusdis_thread {
  background: transparent;
  color: #e6e6e6;
  color-scheme: dark;
}

#cusdis_thread iframe {
  background: #111;
  filter: invert(1) hue-rotate(180deg) contrast(1.05) brightness(1.05);
  border-radius: 12px;
}

#cusdis_thread textarea,
#cusdis_thread input {
  border: 1px solid #ffffff;
}

#cusdis_thread button {
  border: 1px solid #ffffff;
}

/* ===== Premium Article Polish ===== */

#featured-article {
  border: 1px solid #1f1f1f;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 28px;
  border-radius: 18px;
}

#featured-article .article-body {
  max-width: 680px;
  line-height: 1.75;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

#featured-article .article-body p + p {
  margin-top: 18px;
}

#featured-article #featured-excerpt {
  border-bottom: 1px solid #1f1f1f;
  padding-bottom: 16px;
  margin-bottom: 18px;
}

#featured-article #featured-cta {
  margin-top: 18px;
}

#featured-article {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  #featured-article {
    grid-template-columns: minmax(0, 1fr);
  }
}

.comments-wrap {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.comments-wrap.is-hidden {
  display: none;
}

.comments-wrap.comments-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.comments-head h4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.comments-head p {
  color: #bdbdbd;
  margin-bottom: 16px;
}

#cusdis_thread {
  color: #e6e6e6;
}

.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
