/* ============================================================
   Flibbardeejibbard — synthwave / retrowave
   Neon lights. Synth music. VHS tapes. Arcades.
   ============================================================ */

:root {
  --void: #0d0221;          /* near-black purple background */
  --midnight: #1a0b3b;      /* card / section background */
  --neon-pink: #ff2975;
  --neon-cyan: #00f0ff;
  --neon-purple: #b14aff;
  --sunset-yellow: #ffd23f;
  --text: #e8e3f5;
  --text-dim: #a99fc9;
  --radius: 12px;
  --font-neon: "Monoton", cursive;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--text);
  background: var(--void);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- CRT scanline overlay ---------- */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, .12) 3px,
    rgba(0, 0, 0, .12) 4px
  );
  opacity: .5;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 2, 33, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 41, 117, .35);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand-mark { width: 34px; height: 34px; flex: none; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 2px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, text-shadow .15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 41, 117, .55);
}

.btn-primary:hover { box-shadow: 0 0 30px rgba(255, 41, 117, .85); }

.btn-ghost {
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: inset 0 0 12px rgba(0, 240, 255, .15), 0 0 12px rgba(0, 240, 255, .25);
}

.btn-ghost:hover { box-shadow: inset 0 0 16px rgba(0, 240, 255, .3), 0 0 22px rgba(0, 240, 255, .5); }

.btn-subscribe {
  background: #ff0033;
  color: #fff !important;
  padding: 9px 18px;
  box-shadow: 0 0 14px rgba(255, 0, 51, .6);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 20px 130px;
  text-align: center;
  min-height: 78vh;
  display: grid;
  place-items: center;
}

.hero-sky {
  position: absolute;
  inset: 0 0 32% 0;
  background: linear-gradient(to bottom, var(--void) 0%, #2b0a4e 45%, #6b1d6e 75%, #c0265c 100%);
}

.hero-sun {
  position: absolute;
  left: 50%;
  bottom: -90px;
  transform: translateX(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(to bottom, var(--sunset-yellow) 10%, #ff8c42 45%, var(--neon-pink) 90%);
  box-shadow: 0 0 80px rgba(255, 100, 80, .55);
  -webkit-mask: linear-gradient(#000 0 0) top/100% 55% no-repeat,
    repeating-linear-gradient(to bottom, #000 0 14px, transparent 14px 22px) bottom/100% 45% no-repeat;
  mask: linear-gradient(#000 0 0) top/100% 55% no-repeat,
    repeating-linear-gradient(to bottom, #000 0 14px, transparent 14px 22px) bottom/100% 45% no-repeat;
}

.hero-grid {
  position: absolute;
  inset: 68% 0 0 0;
  background:
    linear-gradient(to top, rgba(255, 41, 117, .35), transparent 70%),
    repeating-linear-gradient(to right, rgba(0, 240, 255, .35) 0 2px, transparent 2px 80px),
    repeating-linear-gradient(to bottom, rgba(0, 240, 255, .35) 0 2px, transparent 2px 34px),
    var(--void);
  transform: perspective(280px) rotateX(48deg) scale(1.6);
  transform-origin: top center;
}

.hero-inner { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; }

.hero-rec {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin: 0 0 18px;
}

.rec-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff0033;
  box-shadow: 0 0 8px #ff0033;
  animation: blink 1.4s steps(1) infinite;
}

@keyframes blink { 50% { opacity: .15; } }

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-neon);
  font-weight: 400;
  /* sized so all 17 characters stay on one line at any viewport width */
  font-size: clamp(1.3rem, 4.6vw, 3.9rem);
  white-space: nowrap;
  line-height: 1.12;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, .8),
    0 0 18px var(--neon-pink),
    0 0 42px var(--neon-pink),
    0 0 80px var(--neon-purple);
  animation: neon-flicker 6s linear infinite;
}

@keyframes neon-flicker {
  0%, 6.5%, 7.5%, 49%, 50.5%, 100% { opacity: 1; }
  7%, 49.6%, 50% { opacity: .55; }
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  letter-spacing: .5px;
  margin: 0 auto 34px;
  max-width: 640px;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(13, 2, 33, .9);
}

.hero-tagline strong { color: var(--neon-cyan); text-shadow: 0 0 12px rgba(0, 240, 255, .6); }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .hero-title, .rec-dot { animation: none !important; }
}

/* ---------- sections ---------- */
section { padding: 80px 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 1px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.title-tag {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, .5);
  margin-bottom: 6px;
}

.section-sub { margin: 0 0 30px; color: var(--text-dim); }

/* ---------- video frames ---------- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(177, 74, 255, .45);
  box-shadow: 0 0 24px rgba(177, 74, 255, .3);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-frame {
  border-color: rgba(255, 41, 117, .55);
  box-shadow: 0 0 28px rgba(255, 41, 117, .35);
}

.video-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--midnight);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(0, 240, 255, .35);
}

.video-card .video-frame {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.video-card h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  padding: 14px 16px 16px;
}

.video-links {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- setup note ---------- */
.setup-note {
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: rgba(255, 210, 63, .08);
  border: 2px dashed rgba(255, 210, 63, .5);
}

.setup-note h3 { margin: 0 0 8px; font-family: var(--font-display); }
.setup-note code {
  background: rgba(255, 255, 255, .12);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .92em;
}

/* ---------- about ---------- */
.about {
  background:
    linear-gradient(to bottom, var(--void), var(--midnight) 30%, var(--midnight) 70%, var(--void));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-callout {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 1px;
  padding: 16px 20px;
  border-left: 3px solid var(--neon-pink);
  background: rgba(255, 41, 117, .08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-callout strong { color: var(--neon-pink); text-shadow: 0 0 12px rgba(255, 41, 117, .5); }

.about-signoff { color: var(--text-dim); }

.about-card .btn { margin-top: 12px; }

.about-side { position: sticky; top: 90px; }

.about-avatar {
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid rgba(0, 240, 255, .4);
  border-bottom: 0;
  box-shadow: 0 0 28px rgba(0, 240, 255, .25);
}

.vhs-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: repeating-linear-gradient(135deg, #1c1c1c 0 12px, #232323 12px 24px);
  border: 1px solid rgba(0, 240, 255, .4);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.vhs-line {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: 3px;
  color: var(--sunset-yellow);
}

.vhs-small { font-size: .6rem; color: var(--text-dim); }

/* ---------- contact ---------- */
.contact { text-align: center; }

/* ---------- footer ---------- */
.site-footer {
  padding: 36px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 41, 117, .35);
  background: #08010f;
}

.site-footer p { margin: 4px 0; }
.footer-small { color: var(--text-dim); font-size: .9rem; letter-spacing: 1px; }

/* ---------- mobile ---------- */
@media (max-width: 800px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 18px 20px 22px;
    background: rgba(13, 2, 33, .97);
    border-bottom: 1px solid rgba(255, 41, 117, .35);
  }

  .nav-links.open { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; max-width: 380px; }

  .hero { min-height: auto; padding: 80px 20px 110px; }
  .hero-sun { width: 240px; height: 240px; bottom: -60px; }
}
