/* ======================================================================
   POROSH — hand-coded, no framework.
   Type: Anton (display) / Space Grotesk (body+UI) / IBM Plex Mono (labels)
   Palette: obsidian #030303, charcoal #0A0A0C, crimson #FF003C,
            muted crimson-slate #4A0817
   ====================================================================== */

:root {
  --obsidian: #030303;
  --charcoal: #0A0A0C;
  --crimson: #FF003C;
  --slate: #4A0817;
  --ink-60: rgba(255,255,255,0.6);
  --ink-40: rgba(255,255,255,0.4);
  --ink-15: rgba(255,255,255,0.15);
  --ease-out: cubic-bezier(.16,.8,.28,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--obsidian); scroll-behavior: auto; }
body {
  background: var(--obsidian);
  color: #F5F5F5;
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--crimson); color: #fff; }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: var(--slate); border-radius: 4px; }

/* ---------- shared type utilities ---------- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 18px;
}

/* ---------- ambient backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.backdrop__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
}
.backdrop__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  border-radius: 999px;
  filter: blur(160px);
  opacity: 0.16;
}
.backdrop__glow--a { top: -14vw; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, var(--crimson), transparent 70%); }
.backdrop__glow--b { bottom: -10vw; right: -10vw; background: radial-gradient(circle, var(--slate), transparent 70%); opacity: 0.3; }

/* ======================================================================
   PRELOADER
   ====================================================================== */
.preloader { position: fixed; inset: 0; z-index: 10000; background: transparent; }
.preloader__panel {
  position: absolute; top: 0; width: 50%; height: 100%; background: #000;
}
.preloader__panel--left { left: 0; }
.preloader__panel--right { right: 0; }

.preloader__stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.laser-rain {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.laser-streak {
  position: absolute;
  top: -140px;
  border-radius: 3px;
  background: linear-gradient(to bottom, transparent, #FF6B8A 15%, var(--crimson) 50%, transparent);
  box-shadow: 0 0 10px 1px rgba(255,0,60,0.75);
  opacity: 0;
  animation: laserFall var(--dur, 0.9s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
@keyframes laserFall {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(145vh); opacity: 0; }
}

.preloader__wordmark { position: relative; z-index: 3; opacity: 0; transform: scale(0.85); padding-bottom: 34px; }
.preloader__word {
  font-family: 'Butcherman', cursive;
  font-weight: 400;
  font-size: clamp(3.2rem, 13vw, 8.5rem);
  letter-spacing: 2px;
  line-height: 1;
  color: #B4051E;
  background: linear-gradient(180deg, #FF1744 0%, #C40021 45%, #6E000F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255,0,60,0.55)) drop-shadow(0 8px 10px rgba(0,0,0,0.65));
}

/* small blood-drip accents that grow in beneath the wordmark */
.blood-drip {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 0;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, var(--crimson), var(--slate));
  box-shadow: 0 0 8px rgba(255,0,60,0.6);
  transform-origin: top center;
}
.blood-drip--1 { left: 22%; width: 4px; }
.blood-drip--2 { left: 41%; width: 6px; }
.blood-drip--3 { left: 63%; width: 4px; }
.blood-drip--4 { left: 80%; width: 5px; }

/* ======================================================================
   HEADER
   ====================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 56px);
  mix-blend-mode: difference;
}
.brand-mark { font-family: 'Anton', sans-serif; font-size: 22px; letter-spacing: 1px; color: #fff; }
.brand-mark__dot { color: var(--crimson); }
.header-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid var(--crimson);
  padding-bottom: 2px;
  transition: opacity .25s var(--ease-out);
}
.header-cta:hover { opacity: 0.6; }

/* ======================================================================
   SECTION 1 — HERO / PROFILE
   ====================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 20px 100px;
  z-index: 1;
}
.hero__inner { max-width: 640px; display: flex; flex-direction: column; align-items: center; }

.avatar { position: relative; width: 128px; height: 128px; margin-bottom: 34px; }
.avatar__ring {
  position: absolute; inset: -8px;
  border-radius: 999px;
  background: conic-gradient(from 0deg, var(--crimson), transparent 30%, var(--crimson) 60%, transparent 90%, var(--crimson));
  animation: ringSpin 7s linear infinite;
  filter: drop-shadow(0 0 14px rgba(255,0,60,0.55));
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.avatar__frame {
  position: absolute; inset: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--charcoal);
  border: 2px solid var(--obsidian);
  display: flex; align-items: center; justify-content: center;
}
.avatar__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.avatar__fallback {
  font-family: 'Anton', sans-serif;
  font-size: 46px;
  color: var(--crimson);
  text-shadow: 0 0 20px rgba(255,0,60,0.6);
}

.hero__headline {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.hero__bio {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  color: var(--ink-60);
  max-width: 480px;
  margin-bottom: 30px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,0,60,0.4);
  background: linear-gradient(135deg, rgba(74,8,23,0.5), rgba(10,10,12,0.5));
  box-shadow: 0 0 30px rgba(255,0,60,0.12), inset 0 0 20px rgba(255,0,60,0.05);
  margin-bottom: 40px;
}
.badge__icon { color: var(--crimson); flex-shrink: 0; }
.badge__text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: #fff;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-solid, .btn-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.btn-solid {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 0 26px rgba(255,0,60,0.35);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255,0,60,0.6); }
.btn-line {
  border: 1px solid var(--ink-15);
  color: var(--ink-60);
}
.btn-line:hover { border-color: var(--crimson); color: #fff; transform: translateY(-2px); }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); }
.scroll-cue__track { display: block; width: 1px; height: 40px; background: var(--ink-15); position: relative; overflow: hidden; }
.scroll-cue__dot { position: absolute; top: -20%; left: 0; width: 100%; height: 30%; background: var(--crimson); box-shadow: 0 0 8px var(--crimson); animation: cueDrop 2s ease-in-out infinite; }
@keyframes cueDrop { 0% { top: -30%; } 100% { top: 100%; } }

/* ======================================================================
   SECTION 2 — SPOTLIGHT / FEATURED VIDEO
   ====================================================================== */
.spotlight { position: relative; z-index: 1; padding: 110px 20px 130px; max-width: 900px; margin: 0 auto; }
.spotlight__head { text-align: center; margin-bottom: 52px; }
.spotlight__title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
.spotlight__desc { color: var(--ink-60); line-height: 1.75; max-width: 560px; margin: 0 auto; font-size: 0.98rem; }
.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: inline; } }

.video-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(74,8,23,0.6);
  background: var(--charcoal);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.video-card:hover { border-color: rgba(255,0,60,0.55); box-shadow: 0 30px 80px -30px rgba(255,0,60,0.35); }

.video-card__frame { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-card__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform .6s ease; }
.video-card__thumb[src]:not([src=""]) { opacity: 1; }
.video-card:hover .video-card__thumb { transform: scale(1.04); }
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-card__scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  opacity: 0.7;
  animation: scanSweep 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanSweep { 0% { top: 0; } 50% { top: 100%; } 100% { top: 0; } }

.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,0,60,0.92);
  box-shadow: 0 0 0 0 rgba(255,0,60,0.5), 0 0 40px rgba(255,0,60,0.7);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
  z-index: 2;
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.08); }
.video-card__play svg { transform: translateX(2px); }

.video-card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.video-card__title { font-weight: 600; font-size: 0.95rem; line-height: 1.4; }
.video-card__link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--crimson);
  white-space: nowrap;
  transition: opacity .25s ease;
}
.video-card__link:hover { opacity: 0.65; }

/* ======================================================================
   SECTION 3 — SOCIAL FOOTER
   ====================================================================== */
.social-footer { position: relative; z-index: 1; padding: 100px 20px 50px; text-align: center; }
.social-footer__title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  margin-bottom: 56px;
}

.social-grid {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 26px);
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

.social-icon {
  position: relative;
  width: 104px; height: 104px;
  border-radius: 20px;
  border: 1px solid var(--ink-15);
  background: rgba(255,255,255,0.015);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  overflow: hidden;
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out), background .35s ease;
}
.social-icon__glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, var(--icon-glow, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
}
.social-icon__mono, .social-icon__brand {
  position: relative; z-index: 1;
  color: var(--ink-40);
  transition: opacity .3s ease, transform .35s var(--ease-out);
}
.social-icon__brand { position: absolute; opacity: 0; transform: scale(0.8); }
.social-icon__label {
  position: relative; z-index: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-40);
  transition: color .3s ease;
}

.social-icon[data-social="instagram"] { --icon-glow: rgba(214,41,118,0.35); }
.social-icon[data-social="youtube"] { --icon-glow: rgba(255,0,0,0.3); }
.social-icon[data-social="x"] { --icon-glow: rgba(255,255,255,0.18); }
.social-icon[data-social="discord"] { --icon-glow: rgba(88,101,242,0.35); }

.social-icon:hover,
.social-icon.is-touched {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.03);
}
.social-icon:hover .social-icon__glow,
.social-icon.is-touched .social-icon__glow { opacity: 1; }
.social-icon:hover .social-icon__mono,
.social-icon.is-touched .social-icon__mono { opacity: 0; }
.social-icon:hover .social-icon__brand,
.social-icon.is-touched .social-icon__brand { opacity: 1; transform: scale(1); }
.social-icon:hover .social-icon__label,
.social-icon.is-touched .social-icon__label { color: #fff; }

.social-footer__bottom {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--ink-40);
}
.dot-sep { color: rgba(255,255,255,0.2); }

/* ======================================================================
   SCROLL REVEALS (GSAP toggles opacity/transform via inline style;
   these are just the resting/hidden states)
   ====================================================================== */
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .reduced-motion .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .avatar__ring { animation: none; }
  .scroll-cue__dot { animation: none; }
  .video-card__scan { animation: none; }
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 640px) {
  .site-header { padding: 20px 18px; }
  .hero { padding-top: 120px; }
  .social-icon { width: 88px; height: 88px; border-radius: 16px; }
  .video-card__meta { flex-direction: column; align-items: flex-start; }
}
