:root{
  --bg:#07080c;
  --panel:#0c0f18;
  --panel2:#0a0c12;
  --txt:#d7e0ff;
  --muted:#8f9bb7;
  --neon:#7c4dff;
  --neon2:#00e5ff;
  --bad:#ff2d55;
  --ok:#2dff8f;
  --warn:#ffcc00;
  --line:rgba(255,255,255,.08);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
:root{
  --neoH: 120px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background: radial-gradient(1200px 800px at 20% 10%, rgba(124,77,255,.18), transparent 55%),
                     radial-gradient(900px 700px at 80% 30%, rgba(0,229,255,.10), transparent 55%),
                     var(--bg);
  color:var(--txt);
  font-family:var(--sans);
  overflow-x:hidden;
}

.noise{
  pointer-events:none;
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.22;
}
.scanlines{
  pointer-events:none;
  position:fixed; inset:0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.04), rgba(255,255,255,.04) 1px, transparent 2px, transparent 5px);
  opacity:.10;
}

.topbar{
  position:sticky; top:0; z-index:20;
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 18px;
  background: linear-gradient(to bottom, rgba(7,8,12,.92), rgba(7,8,12,.65));
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand{display:flex; gap:10px; align-items:center; font-family:var(--mono);}
.dot{width:10px; height:10px; border-radius:50%; background:var(--neon2); box-shadow:0 0 18px rgba(0,229,255,.6);}
.muted{color:var(--muted)}
.mono{font-family:var(--mono)}
.pill{
  padding:6px 10px; border:1px solid var(--line); border-radius:999px;
  font-family:var(--mono); font-size:12px;
  background: rgba(255,255,255,.03);
}
.wrap{max-width:980px; margin:26px auto; padding:0 18px}

.glitch-grid{
  display:grid;
  gap:16px;
  grid-template-columns: 1fr;
}
@media (min-width: 992px){
  .glitch-grid{
    grid-template-columns: 1fr 1fr; /* 2x2 na lg */
  }
}

.hero-top{
  display:flex;
  gap:16px;
  align-items:flex-start;
}

.hero-avatar-wrap{
  min-width: 250px;
  max-width: 250px;
  min-height: 250px;
  max-height: 250px;
  overflow:hidden;
  border-radius: 50%;

  display: flex;                    /* 🔑 centrowanie */
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(0,229,255,.20);
  background: rgba(0,0,0,.25);
  flex: 0 0 auto;
  position: relative;
  margin-bottom: 1rem;
}

.hero-avatar{
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
  object-position: center;
  display: block;
  /* transform: translateY(-18px); przykadrowanie “półkiem” */
  opacity: .95;
  display:block;
}

.hero-copy h1{
  margin: 0 0 8px 0;
}

.hero-copy .muted{
  margin: 0 0 10px 0;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top: 8px;
  justify-content:flex-start;
}

.hero-badges a img{
  height: 18px;
  opacity: .92;
  transition: opacity .15s ease;
}

.hero-badges a:hover img{
  opacity: 1;
}

@media (max-width: 640px){
  .hero-top{
    flex-direction: column;
  }
}


.card{
  background: linear-gradient(180deg, rgba(12,15,24,.75), rgba(10,12,18,.88));
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  position:relative;
  margin-bottom: 1rem;
}
.hero h1{margin:0 0 8px 0; font-weight:700}
.grid{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.chip{
  padding:8px 12px; border:1px solid var(--line); border-radius:999px;
  font-family:var(--mono); font-size:12px;
  background: rgba(255,255,255,.03);
}



.btn{
  border:1px solid rgba(124,77,255,.45);
  background: rgba(124,77,255,.12);
  color:var(--txt);
  padding:10px 12px;
  border-radius:12px;
  font-family:var(--mono);
  cursor:pointer;
}
.btn:hover{background: rgba(124,77,255,.20)}
.btn.ghost{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.btn.small{padding:8px 10px; border-radius:10px; font-size:12px}

.hidden{display:none !important}

.tag{
  font-family:var(--mono); font-size:12px;
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--line);
}
.tag.bad{border-color: rgba(255,45,85,.45); color: #ff9db0; background: rgba(255,45,85,.09);}

.glitch{overflow:hidden}
.glitch::before{
  content:"";
  position:absolute; inset:-2px;
  background: linear-gradient(90deg, rgba(124,77,255,.0), rgba(124,77,255,.18), rgba(0,229,255,.0));
  transform: skewX(-8deg);
  opacity:.25;
  animation: sweep 3.6s infinite;
}
@keyframes sweep{
  0%{transform:translateX(-120%) skewX(-8deg)}
  60%{transform:translateX(120%) skewX(-8deg)}
  100%{transform:translateX(120%) skewX(-8deg)}
}
.glitch-head{display:flex; justify-content:space-between; align-items:center}
.glitch-box{
  margin:14px 0;
  border:1px dashed rgba(255,45,85,.45);
  background: rgba(255,45,85,.06);
  border-radius:14px;
  padding:14px;
}
.glitch-text{font-family:var(--mono); line-height:1.35}
.actions{display:flex; gap:10px; align-items:center}

.mini{
  margin-top:14px;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.input{
  width:220px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  color:var(--txt);
  font-family:var(--mono);
}
.pulsebar{
  margin:10px 0; height:10px;
  border:1px solid var(--line);
  border-radius:999px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
}
.pulse{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  transition: width .18s ease;
}

.foot{
  margin:16px 0 0 0;
  padding:12px 2px;
  display:flex; gap:10px; flex-wrap:wrap;
  font-family:var(--mono);
  border-bottom:1px solid transparent;
}

.modal{
  position:fixed; inset:0; z-index:50;
  background: rgba(0,0,0,.65);
  display:flex; align-items:center; justify-content:center;
  padding:18px;
}
.modal-content{
  width:min(980px, 96vw);
  height:min(720px, 92vh);
  background: linear-gradient(180deg, rgba(12,15,24,.92), rgba(7,8,12,.96));
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.modal-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid var(--line);
}

.modal-content-con {
  width:min(980px, 96vw);
  height:min(720px, 92vh);
  background: linear-gradient(180deg, rgba(12,15,24,.92), rgba(7,8,12,.96));
  border:1px solid var(--line);
  border-radius:18px;
  padding:25px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.modal-head-con{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0px;
  border-bottom:1px solid var(--line);
}

#contentModal .modal-content-con{
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px){
  #contentModal .modal-content-con{
    max-height: 100vh;
    border-radius: 0;
  }
}

.tabs{display:flex; gap:8px; padding:10px 14px; border-bottom:1px solid var(--line);}
.tab{
  padding:8px 10px; border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--txt);
  font-family:var(--mono);
  cursor:pointer;
}
.tab.active{border-color: rgba(0,229,255,.35); background: rgba(0,229,255,.08)}
.tabpane{flex:1; overflow:auto; padding:14px}
.card.inner{box-shadow:none}

.topbar.neo{
  gap:14px;
}
.neo-talk{
  flex:1;
  display:flex;
  justify-content:center;
}
.neo-screen{
  width:100%;
  max-height:120px;
  height: 120px;
  overflow:hidden;
  padding:10px;
  border-radius:14px;
  border:2px solid rgba(0,229,255,.22);
  background: rgba(0,0,0,.22);
  box-shadow: 0 0 30px rgba(0,229,255,.08);
  font-family: var(--mono);
  font-size:12px;
  line-height:1.25;
  color: rgba(0,229,255,.90);
  position:relative;
}
.neo-line{
  opacity: 1;
  transition: opacity 800ms linear;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.neo-line.fade{
  opacity: 0;
}
.neo-caret{
  display:inline-block;
  width:8px;
  margin-left:2px;
  border-bottom: 2px solid rgba(0,229,255,.9);
  transform: translateY(-1px);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 640px){
  .neo-talk{display:none;} /* na ultra-small chowamy monolog, żeby nie zjadał topbara */
}


/* ultra-small screens: compact brand */
@media (max-width: 378px){

  .brand{
    display:flex;
    align-items:center;
    gap:6px;
  }

  /* chowamy oryginalny tekst */
  .brand > span:nth-child(2),
  .brand > span.muted{
    position:relative;
    font-size:0;
  }

  /* HERETYK.NODE -> HX.@ */
  .brand > span:nth-child(2)::before{
    content:"HX.@";
    font-size:12px;
    font-weight:600;
    letter-spacing:.5px;
  }

  /* v2026 -> .26 */
  .brand > span.muted::before{
    content:".26";
    font-size:11px;
    opacity:.65;
  }
}

@media (max-width: 300px){
  .brand > span:nth-child(2)::before{
    text-shadow:
      0 0 6px rgba(0,255,255,.4),
      0 0 12px rgba(0,255,255,.2);
  }
}

.content-nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin: 10px 0 12px;
  justify-content:flex-start; /* zawsze do lewej */
}

.content-panel{
  margin: 14px;
  text-align:left; /* fix “centrowania” */
}

.content-h{
  font-weight:700;
  letter-spacing:.08em;
  margin: 6px 0 8px;
}

.content-p{
  opacity:.85;
  line-height:1.35;
  margin: 0 0 10px;
}

.content-img{
  width:100%;
  border-radius: 12px;
  opacity:.95;
  display:block;
  margin: 8px 0 12px;
}

.content-ul{
  margin: 6px 0 10px 18px;
  opacity:.9;
}

.content-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

.content-links .chip{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}

.content-links .chip {
  appearance:none;
  -webkit-appearance:none;
  background: rgba(255,255,255,.03);
  color: rgba(0,229,255,.85);      /* cyan vibe */
  font-family:var(--mono);
  font-size:12px;
  cursor:pointer;
}

.content-links .chip :hover{
  border-color: rgba(0,229,255,.35);
  background: rgba(0,229,255,.06);
}

.content-links .chip :active{
  transform: translateY(1px);
}

.content-links .chip :focus{
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,229,255,.18);
}


.content-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}

@media (max-width: 520px){
  .content-grid{ grid-template-columns: 1fr; }
}

.content-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:10px;
  background: rgba(0,0,0,.25);
}

.content-card-img{
  height:72px;
  border-radius:10px;
  background-size:cover;
  background-position:center;
  margin-bottom:8px;
  opacity:.9;
}

.content-card-title{
  font-weight:700;
  margin-bottom:4px;
}

.content-card-hint{
  opacity:.75;
  font-size: 12px;
  line-height:1.25;
}

.content-nav{ margin-top: 12px; }
.content-panel{ margin-bottom: 16px; }


/* buttons styled as chips */
button.chip{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: rgba(0,229,255,.85);      /* cyan vibe */
  padding:8px 12px;
  border-radius:999px;
  font-family:var(--mono);
  font-size:12px;
  cursor:pointer;
}

button.chip:hover{
  border-color: rgba(0,229,255,.35);
  background: rgba(0,229,255,.06);
}

button.chip:active{
  transform: translateY(1px);
}

button.chip:focus{
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,229,255,.18);
}


/* --- NEO WALL (4 screens) --- */
.neo-wall{
  margin-top: 10px;
  display:grid;
  gap:12px;

  grid-template-columns: 1fr auto 1fr 1fr;

  

  align-items:stretch;
}



/* MOBILE: only clip, full width, height from aspect ratio */
@media (max-width: 576px){
  .neo-wall{
    grid-template-columns: 1fr;
  }

  .neo-screen--story,
  .neo-screen--sys,
  .neo-screen--net{
    display:none;
  }

  /* IMPORTANT: override desktop neoH sizing */
  .neo-screen.neo-screen--clip{
    width: 100%;
    height: auto;          /* release 120px */
    max-height: none;
    aspect-ratio: 9 / 16;  /* height follows width */
  }

  .neo-screen.neo-screen--clip .neo-clip-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}



/* CLIP = vertical reel screen */
.neo-screen--clip{
  height: var(--neoH);
  aspect-ratio: 9 / 16;   /* pion */
  width: auto;            /* szerokość z ratio */
  padding: 0;
  overflow: hidden;
  position: relative;

  border-color: rgba(255,255,255,.12);
  box-shadow: 0 0 28px rgba(0,0,0,.40);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.22));
}


.neo-clip-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  object-position: center;
}



/* delikatna szybka / overlay pod vibe */
.neo-clip-glass{
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(420px 220px at 30% 10%, rgba(0,229,255,.08), transparent 60%),
    radial-gradient(420px 220px at 80% 0%, rgba(124,77,255,.10), transparent 60%);
  opacity: .9;
}


/* bazowy ekran jak monitor */
.neo-screen{
  width:100%;
  height: var(--neoH);
  overflow:hidden;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.18));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.45), 0 0 30px rgba(0,0,0,.35);
  font-family: var(--mono);
  font-size:12px;
  line-height:1.25;
  position:relative;
}

/* scanlines + glass */
.neo-screen::after{
  content:"";
  pointer-events:none;
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.05),
      rgba(255,255,255,.05) 1px,
      transparent 2px,
      transparent 5px
    );
  opacity:.10;
  mix-blend-mode: overlay;
}

/* delikatny „flicker” */
@keyframes neoFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: .96; }
}
.neo-screen{
  animation: neoFlicker 3.6s infinite;
}

/* STORY = cyjan/matrix */
.neo-screen--story{
  border-color: rgba(0,229,255,.22);
  box-shadow: 0 0 30px rgba(0,229,255,.08);
  color: rgba(0,229,255,.90);
  background: linear-gradient(180deg, rgba(0,229,255,.08), rgba(0,0,0,.20));
}

/* SYSLOG = zielony, bardziej „systemowy” */
.neo-screen--sys{
  border-color: rgba(45,255,143,.22);
  box-shadow: 0 0 26px rgba(45,255,143,.06);
  color: rgba(45,255,143,.78);
  font-size: 6px;
  line-height: 1.15;
  background: linear-gradient(180deg, rgba(45,255,143,.06), rgba(0,0,0,.22));
}

/* NETLOG = fiolet/niebieski, bardziej „sieciowy” */
.neo-screen--net{
  border-color: rgba(124,77,255,.26);
  box-shadow: 0 0 26px rgba(124,77,255,.07);
  color: rgba(215,224,255,.82);
  font-size: 6px;
  line-height: 1.15;
  background: linear-gradient(180deg, rgba(124,77,255,.08), rgba(0,0,0,.22));
}


/* linie */
.neo-line{
  opacity: 1;
  transition: opacity 800ms linear;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.neo-line.fade{ opacity: 0; }

/* caret */
.neo-caret{
  display:inline-block;
  width:8px;
  margin-left:2px;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }



/* ---------------- LORE MODULE ---------------- */
.lore-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding: 10px 4px 14px 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.lore-panel{
  display:grid;
  grid-template-columns: 1fr; /* SM: jak było */
  gap:14px;
}

@media (min-width: 992px){
  .lore-panel{
    grid-template-columns: 1fr 1fr; /* LG: 2 kolumny */
  }
}


/* card */
.lore-item{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  border-radius: 16px;
  padding: 14px;
  position:relative;
  overflow:hidden;

  /* reveal base */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.lore-item.reveal{
  opacity: 1;
  transform: translateY(0);
}

.lore-item::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(800px 200px at 20% 10%, rgba(0,229,255,.10), transparent 55%),
              radial-gradient(800px 200px at 80% 0%, rgba(124,77,255,.10), transparent 55%);
  pointer-events:none;
  opacity:.9;
}

/* header row */
.lore-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  position:relative;
}

.lore-title{
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .2px;
}

.lore-date{
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(160,170,190,.75);
  white-space: nowrap;
}

/* big icon (bootstrap icons) */
.lore-ico{
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  flex: 0 0 auto;
}
.lore-ico i{
  font-size: 12px;
}

/* big action button (icon + label under) */
.lore-action{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;

  min-width: 120px;
  padding: 12px 14px;
  border-radius: 14px;

  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);

  text-decoration:none;
  font-family: var(--mono);
  color: var(--txt);
}

.lore-action:hover{
  background: rgba(255,255,255,.06);
}

.lore-action i{
  font-size: 28px; /* DUŻA ikona */
  line-height: 1;
}

.lore-action span{
  font-size: 11px;
  letter-spacing: .6px;
  opacity: .92;
}

/* variants */
.lore-action.download{
  border-color: rgba(45,255,143,.22);
  background: rgba(45,255,143,.08);
  color: rgba(45,255,143,.92);
}

.lore-action.links{
  border-color: rgba(0,229,255,.22);
  background: rgba(0,229,255,.08);
  color: rgba(0,229,255,.92);
}

/* icon color themes */
.lore-ico.post{
  border-color: rgba(0,229,255,.22);
  background: rgba(0,229,255,.08);
  color: rgba(0,229,255,.92);
}
.lore-ico.youtube{
  border-color: rgba(255,45,85,.22);
  background: rgba(255,45,85,.08);
  color: rgba(255,45,85,.92);
}
.lore-ico.download{
  border-color: rgba(45,255,143,.22);
  background: rgba(45,255,143,.08);
  color: rgba(45,255,143,.92);
}

.lore-body{
  position:relative;
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.lore-photo{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.lore-photo img{
  display:block;
  width:100%;
  height:auto;
}

.lore-highlights{
  margin:0;
  padding-left: 18px;
  color: rgba(215,224,255,.92);
}
.lore-highlights li{
  margin: 6px 0;
  color: rgba(215,224,255,.88);
  font-size: 12px;
}

/* youtube player */
.lore-player{
  width:100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}

.lore-player iframe{
  width:100%;
  height:100%;
  border:0;
}

/* download row */
.lore-dl{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 10px 12px;
}
.lore-dl-desc{
  color: rgba(215,224,255,.85);
  font-size: 12px;
}

/* --- LORE: fix audio/download row on small screens --- */
.lore-dl > div{
  min-width: 0;     /* allow text to shrink instead of pushing button out */
  flex: 1 1 auto;
}

/* audio/video inside lore-player */
.lore-player video{
  width: 100%;
  height: 100%;
  display: block;
  /* object-fit: cover;        */
  object-fit: contain;
  object-position: center;
}

/* MOBILE: stack action rows so nothing gets clipped by overflow */
@media (max-width: 640px){
  .lore-dl{
    flex-direction: column;
    align-items: stretch;
  }

  .lore-action{
    min-width: unset;       /* remove 120px constraint */
    width: 100%;
    flex-direction: row;    /* icon + label in one line for mobile */
    gap: 10px;
    justify-content: center;
    padding: 10px 12px;
  }

  .lore-action i{
    font-size: 22px;
  }

  .lore-action span{
    font-size: 12px;
    letter-spacing: .4px;
  }
}


/* --- Glitch info cards (between puzzle cards) --- */
.glitch-info .tag{
  border-color: rgba(0,229,255,.28);
  color: rgba(0,229,255,.88);
  background: rgba(0,229,255,.06);
}

.glitch-split{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:14px;
  align-items:start;
}

@media (max-width: 640px){
  .glitch-split{
    grid-template-columns: 1fr;
  }
}

.glitch-media{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.glitch-media img{
  display:block;
  width:100%;
  height:auto;
  opacity:.92;
}

.glitch-copy .muted{
  margin-top:0;
}

.glitch-list{
  margin: 10px 0 0 18px;
  padding: 0;
  line-height: 1.45;
  opacity: .92;
}

.glitch-list li{
  margin: 6px 0;
}

.foot{
  margin: 18px 0 0 0;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12,15,24,55), rgba(10,12,18,75));
  box-shadow: 0 18px 60px rgba(0,0,0,45);
  font-family: var(--mono);
}

.foot-row{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  align-items:start;
}

@media (max-width: 820px){
  .foot-row{
    grid-template-columns: 1fr;
  }
}

.foot-col{min-width:0;}

.foot-brand{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:600;
  letter-spacing:.4px;
}

.foot-dot{
  width:10px; height:10px;
  border-radius:50%;
  background: var(--neon2);
  box-shadow: 0 0 18px rgba(0,229,255,.6);
  flex: 0 0 auto;
}

.foot-desc{
  margin-top: 8px;
  line-height: 1.35;
  opacity: .9;
}

.foot-title{
  font-size: 12px;
  letter-spacing: .6px;
  margin-bottom: 10px;
  opacity: .8;
}

.foot-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.foot-link{
  display:inline-flex;
  align-items:center;
  gap:8px;

  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(215,224,255,.92);

  padding: 8px 10px;
  border-radius: 999px;
  cursor:pointer;

  font-family: var(--mono);
  font-size: 12px;
}

.foot-link i{
  color: rgba(0,229,255,.85);
}

.foot-link:hover{
  border-color: rgba(0,229,255,.30);
  background: rgba(0,229,255,.06);
}

.foot-meta{
  text-align:left;
}

.foot-kv{
  display:grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items:center;

  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius: 14px;
  padding: 10px 12px;
}

.foot-copy{
  margin-top: 10px;
  opacity: .8;
}

/* --- CLIP OVERRIDES (must be AFTER .neo-screen base rule) --- */
.neo-screen.neo-screen--clip{
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
}

/* video always covers vertical frame */
.neo-screen.neo-screen--clip .neo-clip-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* keep hero-menu clickable above wall */
.hero-menu{
  position: relative;
  z-index: 5;
}

