:root {
  --bg: #050508;
  --bg-soft: #0b0b12;
  --text: #f2f1eb;
  --muted: #a3a2ad;
  --line: rgba(22, 247, 255, 0.25);
  --soft: #10101a;
  --brand: #16f7ff;
  --brand-dark: #16f7ff;
  --accent: #16f7ff;
  --accent-2: #ff2bd6;
  --dark: #f2f1eb;
  --white: #050508;
  --shadow: 0 22px 70px rgba(22, 247, 255, 0.09);
  --radius: 0;
  --yellow: #f4ff35;
}

html { background: var(--bg); }

body {
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(22, 247, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 247, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% -15%, rgba(255, 43, 214, 0.22), transparent 43%),
    radial-gradient(circle at 8% 45%, rgba(22, 247, 255, 0.10), transparent 28%);
  background-size: 42px 42px, 42px 42px, 100% 100%, 100% 100%;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "SYSTEM://LEONARDO_AMOYR // CHANNEL ONLINE";
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan, #16f7ff);
  border-bottom: 1px solid rgba(22, 247, 255, 0.24);
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(12px);
  font: 700 9px/1 monospace;
  letter-spacing: 2px;
}

body::after {
  content: "";
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.11) 4px);
}

.wrap { width: min(100% - 32px, 820px); }

.profile {
  position: relative;
  gap: 18px;
  padding: 82px 0 58px;
}

.profile::before {
  content: "001 / DIGITAL CREATOR";
  color: var(--accent);
  font: 700 9px/1 monospace;
  letter-spacing: 2px;
}

.brand-logo {
  width: min(250px, 62vw);
  filter: grayscale(1) invert(1) brightness(2) drop-shadow(5px 3px 0 rgba(255,43,214,.55));
}

.photo-coin {
  width: 146px;
  height: 146px;
  border-radius: 0;
  padding: 7px;
  border: 1px solid var(--accent);
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
  box-shadow: 0 0 35px rgba(22, 247, 255, 0.18), -10px 10px 0 rgba(255,43,214,.08);
}

.photo {
  width: 132px;
  height: 132px;
  border: 0;
  border-radius: 0;
  filter: saturate(.76) contrast(1.12);
  box-shadow: none;
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
}

.photo-coin:hover .photo,
.photo-coin:focus-within .photo { box-shadow: none; }

.bio {
  max-width: 580px;
  color: var(--muted);
  font: 500 17px/1.6 Arial, sans-serif;
}

.bio::before { content: "> "; color: var(--yellow); font-family: monospace; }

.actions {
  gap: 10px;
  width: min(100%, 620px);
  margin-top: 22px;
}

.link-button,
.link-button.course,
.video-card {
  position: relative;
  min-height: 76px;
  padding: 14px 17px;
  overflow: hidden;
  color: var(--text);
  border: 1px solid rgba(233,232,226,.17);
  border-radius: 0;
  background: rgba(11,11,18,.88);
  box-shadow: none;
  clip-path: polygon(0 0, 97% 0, 100% 24%, 100% 100%, 3% 100%, 0 76%);
}

.link-button::before,
.video-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.link-button:hover,
.link-button:focus-visible,
.link-button.course:hover,
.link-button.course:focus-visible,
.video-card:hover,
.video-card:focus-visible {
  transform: translate(5px, -3px);
  color: var(--text);
  border-color: var(--accent);
  background: rgba(22,247,255,.07);
  box-shadow: -7px 7px 0 rgba(255,43,214,.15), 0 0 35px rgba(22,247,255,.09);
}

.link-button.featured {
  color: #050508;
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 0 30px rgba(244,255,53,.12);
}

.link-button.featured::before { background: var(--accent-2); }

.link-button.course { border-color: rgba(255,43,214,.4); }
.link-button.course::before { background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }

.icon,
.course .icon,
.featured .icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  border: 1px solid rgba(22,247,255,.28);
  border-radius: 0;
  background: rgba(22,247,255,.06);
}

.course .icon { color: var(--accent-2); border-color: rgba(255,43,214,.34); background: rgba(255,43,214,.06); }
.featured .icon { color: #050508; border-color: rgba(5,5,8,.3); background: rgba(5,5,8,.09); }

.label {
  color: inherit;
  font: 800 16px/1.2 Arial, sans-serif;
  letter-spacing: -.01em;
}

.hint,
.course .hint,
.featured .hint { color: color-mix(in srgb, currentColor 64%, transparent); font: 500 12px/1.35 monospace; }
.featured .hint { color: rgba(5,5,8,.64); }
.arrow { color: var(--accent); font: 900 19px/1 monospace; }
.featured .arrow { color: #050508; }

.latest-video { width: min(100%, 620px); margin-top: 34px; }
.video-eyebrow { color: var(--accent); font: 800 10px/1 monospace; letter-spacing: 2px; }
.video-eyebrow::before { content: "● "; color: var(--yellow); text-shadow: 0 0 8px var(--yellow); }
.video-card { grid-template-columns: 148px minmax(0,1fr); min-height: 112px; }
.video-thumb { min-height: 88px; border-radius: 0; border: 1px solid rgba(255,43,214,.28); }
.play-badge span { color: #050508; border-radius: 0; background: var(--yellow); box-shadow: 3px 3px 0 var(--accent-2); }
.video-title { color: var(--text); font: 800 17px/1.24 Arial, sans-serif; letter-spacing: -.02em; }
.video-meta { color: var(--muted); font: 500 11px/1.4 monospace; }

.home-footer {
  width: min(100% - 32px, 620px);
  margin-bottom: 40px;
  padding-top: 25px;
  color: var(--muted);
  border-top: 1px solid rgba(22,247,255,.25);
  font: 600 10px/1.7 monospace;
  letter-spacing: .5px;
}
.home-footer::before { content: "SYSTEM STATUS: ONLINE // "; color: var(--accent); }
.home-footer a { color: var(--yellow); }

@media (max-width: 560px) {
  body::before { justify-content: flex-start; padding-left: 16px; letter-spacing: 1px; }
  .profile { padding-top: 70px; }
  .brand-logo { width: min(220px, 66vw); }
  .link-button { grid-template-columns: 40px minmax(0,1fr) auto; gap: 11px; padding-inline: 13px; }
  .icon,.course .icon,.featured .icon { width: 40px; height: 40px; }
  .label { font-size: 14px; }
  .video-card { grid-template-columns: 108px minmax(0,1fr); }
  .video-title { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
