:root{
  --bg: #000;
  --text: #eaeaea;
  --muted: #9aa0a6;
  --red: #ef4444;
  --white10: rgba(255,255,255,.10);
  --white05: rgba(255,255,255,.05);
}

*{ box-sizing:border-box; }
html, body { height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
button{ font:inherit; }

.app{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
}

/* Header */
.header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 24px;
  background: rgba(0,0,0,.50);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--white10);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__icon{
  padding:8px;
  border-radius:10px;
  background: rgba(255,255,255,.10);
  display:grid;
  place-items:center;
  color:#fff;
}
.brand__title{
  margin:0;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.04em;
  line-height:1;
}

.brand__accent{
  color: #FFB81C;
}

.brand__sub{
  display:block;
  margin-top:4px;
  font-size:10px;
  color: #6b7280;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Nav */
.nav{
  display:none;
  gap:32px;
  font-size:12px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.18em;
}
.nav__link{
  color:#e5e7eb;
  transition: color .2s ease;
}

.nav__link:hover{ color: #FFB81C; }

/* Actions */
.actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.icon{ color: currentColor; }
.icon-btn{
  border:0;
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:8px;
  border-radius:999px;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.icon-btn--ghost{
  background: transparent;
  color: #9ca3af;
}
.icon-btn--ghost:hover{ background: rgba(255,255,255,.10); }
.icon-btn--primary{
  background:#dc2626;
  color:#fff;
}
.icon-btn--primary:hover{ background:#ef4444; }
.icon-btn--mobile{ color:#fff; }

/* Main layout */
.main{
  padding-top:64px; /* header space */
  flex:1;
  display:flex;
  flex-direction:column;
  height:100vh;
}

/* Panels */
.panel{
  position:relative;
  width:100%;
  height:500px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  background:#000;
}
.panel--divider{
  border-bottom:1px solid var(--white05);
}

.panel__bg{
  position:absolute;
  inset:0;
  z-index:0;
}
/* Give all panel bg images a default transform so zoom animates smoothly */
.panel__bg-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1);
  transition: transform .7s ease, filter 1s ease, opacity .7s ease;
}

/* Zoom on hover for ALL panels */
.panel:hover .panel__bg-img--encore{ transform: scale(1.10); }
.panel:hover .panel__bg-img--sentinel{ transform: scale(1.10); }
.panel:hover .panel__bg-img--shadow{ transform: scale(1.10); }

/* Keep your existing Sentinel + Shadow filter/opacity behavior */
.panel:hover .panel__bg-img--sentinel{ filter: grayscale(0); opacity:.35; }
.panel__bg-img--sentinel{ filter: grayscale(1); opacity:.30; }

.panel:hover .panel__bg-img--shadow{ filter: saturate(1); opacity:.25; }
.panel__bg-img--shadow{ filter: saturate(0); opacity:.20; }/* Give all panel bg images a default transform so zoom animates smoothly */
.panel__bg-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1);
  transition: transform .7s ease, filter 1s ease, opacity .7s ease;
}

/* Zoom on hover for ALL panels */
.panel:hover .panel__bg-img--encore{ transform: scale(1.10); }
.panel:hover .panel__bg-img--sentinel{ transform: scale(1.10); }
.panel:hover .panel__bg-img--shadow{ transform: scale(1.10); }

/* Keep your existing Sentinel + Shadow filter/opacity behavior */
.panel:hover .panel__bg-img--sentinel{ filter: grayscale(0); opacity:.35; }
.panel__bg-img--sentinel{ filter: grayscale(1); opacity:.30; }

.panel:hover .panel__bg-img--shadow{ filter: saturate(1); opacity:.25; }
.panel__bg-img--shadow{ filter: saturate(0); opacity:.20; }

.panel__content{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:520px;
}

/* reveal animation replacement for motion */
.js-reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* Font per panel */
#encore-breach { font-family: "Orbitron", sans-serif; }
#sentinel-corp { font-family: "Space Grotesk", sans-serif; }
#shadow-protocol { font-family: "JetBrains Mono", monospace; }

/* Hover effects (group-hover equivalents) */
.panel:hover .panel__bg-img--encore{ transform: scale(1.10); }
.panel:hover .panel__bg-img--sentinel{ filter: grayscale(0); opacity:.35; }
.panel__bg-img--sentinel{ filter: grayscale(1); opacity:.30; }
.panel:hover .panel__bg-img--shadow{ filter: saturate(1); opacity:.25; }
.panel__bg-img--shadow{ filter: saturate(0); opacity:.20; }

/* Overlays */
.panel__overlay{
  position:absolute;
  inset:0;
}
.panel__overlay--encore{
  background: linear-gradient(to top, rgba(131,24,67,.80), rgba(0,0,0,0), rgba(88,28,135,.60));
  mix-blend-mode: multiply;
}
.panel__overlay--sentinel{
  background: linear-gradient(to bottom, rgba(10,25,47,.90), rgba(10,25,47,.40), rgba(10,25,47,.90));
}
.panel__overlay--shadow{
  background: linear-gradient(to top, #000, rgba(0,0,0,0), rgba(0,255,65,.10));
}

/* Pills */
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 10px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.20em;
  border-radius:999px;
  margin-bottom:16px;
  user-select:none;
}
.pill__dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: currentColor;
}
.pill__dot--square{ border-radius:2px; width:8px; height:8px; }

.pill--encore{
  background: rgba(236,72,153,.20);
  border:1px solid rgba(236,72,153,.50);
  color: rgba(236,72,153,1);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing:.22em;
}
.pill--sentinel{
  background: rgba(100,255,218,.10);
  border:1px solid rgba(100,255,218,.30);
  color: rgba(100,255,218,1);
  border-radius:6px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing:.24em;
}
.pill--shadow{
  background: rgba(0,255,65,.05);
  border:1px solid rgba(0,255,65,.40);
  color: rgba(0,255,65,1);
  border-radius:6px;
  letter-spacing:-0.02em;
  text-transform:lowercase;
}

.pill__dot--red{
  width:auto;
  height:auto;
  background:none;
  color:#ef4444;
  animation: pulse 1.5s infinite;
}

/* ping dot */
.pill__dot--ping{
  position:relative;
  background:#ec4899;
}
.pill__dot--ping::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:999px;
  border:1px solid rgba(236,72,153,.9);
  animation: ping 1.2s infinite;
  opacity:.7;
}

@keyframes ping{
  0%{ transform:scale(0.6); opacity:.85; }
  100%{ transform:scale(1.6); opacity:0; }
}
@keyframes pulse{
  0%,100%{ opacity:.6; }
  50%{ opacity:1; }
}

/* Titles / text */
.title{
  margin:0 0 12px;
  line-height: 1;
}
.title--encore{
  font-size: clamp(44px, 6vw, 72px);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.04em;
  font-style:italic;
  color:#fff;
  line-height: 1.05;
  padding-top: 6px;
}
.title__grad{
  background: linear-gradient(90deg, #ec4899, #22d3ee, #a855f7);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter: drop-shadow(0 0 15px rgba(236,72,153,.5));
}

.title--sentinel{
  font-size: clamp(44px, 5.5vw, 64px);
  font-weight:700;
  letter-spacing:-0.02em;
  color:#f1f5f9;
  line-height:1;
}
.title__mint{ color:#64ffda; }

.title--shadow{
  font-size: clamp(44px, 5.5vw, 64px);
  font-weight:700;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:#fff;
}
.title__green{ color:#00ff41; }

.desc{
  margin: 0 0 28px;
  padding: 12px 16px;
  line-height:1.6;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}
.desc--encore{
  color: #fff !important;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  text-shadow: 0 1px 10px rgba(0,0,0,.65), 0 0 10px rgba(236,72,153,.25);
}
.desc--sentinel{
  color:#f8fafc !important;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  text-shadow: 0 1px 10px rgba(0,0,0,.6), 0 0 8px rgba(100,255,218,.18);
}
.desc--shadow{
  color:#f3f4f6 !important;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(13px, 1.6vw, 16px);
  text-shadow: 0 1px 10px rgba(0,0,0,.7), 0 0 8px rgba(0,255,65,.22);
}

.emph--cyan{ color:#67e8f9; font-weight:700; }
.emph--white{ color:#fff; font-weight:500; }

/* Buttons */
.stack{ display:flex; flex-direction:column; gap:16px; align-items:stretch; }
.stack--loose{ gap:24px; }
.btn{
  display:inline-block;
  text-align:center;
  padding:16px 18px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.22em;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn--encore{
  background:#db2777;
  color:#fff;
  border-right:4px solid #22d3ee;
  border-bottom:4px solid #22d3ee;
  box-shadow: 0 0 20px rgba(236,72,153,.40);
  border-radius:0;
}
.btn--encore:hover{
  background:#ec4899;
  transform: scale(1.05);
}
.btn--sentinel{
  background:transparent;
  color:#64ffda;
  border:2px solid #64ffda;
  border-radius:12px;
}
.btn--sentinel:hover{
  background: rgba(100,255,218,.10);
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(100,255,218,.20);
}
.btn--shadow{
  background:transparent;
  color:#00ff41;
  border:2px solid #00ff41;
}
.btn--shadow:hover{
  background:#00ff41;
  color:#000;
  transform: scale(1.05);
}

/* Icon rows */
.icon-row{
  display:flex;
  justify-content:center;
  gap:24px;
  color: rgba(236,72,153,.60);
  font-family: Inter, system-ui, sans-serif;
}
.hint-icon{ font-size:18px; opacity:.9; }

.grid-icons{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  color:#64748b;
  font-size:18px;
}
.grid-icon{ text-align:center; }

.status-icons{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 0 16px;
  color:#374151;
  font-size:16px;
}

/* Decorative */
.decor{
  position:absolute;
  z-index:1;
  pointer-events:none;
  user-select:none;
}
.decor--encore-top{
  top:40px; left:40px;
  font-size:120px;
  color: rgba(236,72,153,.30);
  animation: pulse 2s infinite;
}
.decor--encore-bottom{
  bottom:60px; right:40px;
  font-size:180px;
  color: rgba(34,211,238,.20);
  transform: rotate(12deg);
}

/* Scanning overlay */
.scan-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  opacity:.20;
  background:
    linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%),
    linear-gradient(90deg, rgba(255,0,0,0.06), rgba(0,255,0,0.02), rgba(0,0,255,0.06));
  background-size: 100% 2px, 3px 100%;
}

/* Sentinel grid overlay */
.grid-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  opacity:.10;
  background-image: radial-gradient(#64ffda 1px, transparent 1px);
  background-size:40px 40px;
}

/* Animated data lines */
.data-lines{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  overflow:hidden;
}
.data-line{
  position:absolute;
  top:0;
  width:1px;
  height:100%;
  background: linear-gradient(to bottom, transparent, rgba(100,255,218,.20), transparent);
}
.data-line--a{ left:25%; animation: shimmer 3s infinite; }
.data-line--b{ right:25%; animation: shimmer 5s infinite; }

@keyframes shimmer{
  0%{ opacity:.2; transform: translateY(-10%); }
  50%{ opacity:.8; }
  100%{ opacity:.2; transform: translateY(10%); }
}

/* Matrix */
.matrix{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.05;
  overflow:hidden;
  padding:24px;
}
.matrix__text{
  margin:0;
  color:#00ff41;
  font-size:10px;
  line-height:1;
  white-space:pre;
  animation: pulse 2s infinite;
}

/* Shadow bottom bar */
.bottom-bar{
  position:absolute;
  left:0; right:0; bottom:16px;
  padding:0 32px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  z-index:3;
  color:#4b5563;
  font-size:10px;
  font-family:"JetBrains Mono", monospace;
}

/* Footer (mobile only) */
.footer{
  display:block;
  padding:24px;
  text-align:center;
  font-size:10px;
  color:#4b5563;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-family:"JetBrains Mono", monospace;
}
@media (min-width: 768px){
  .nav{ display:flex; }
  .icon-btn--mobile{ display:none; }
  .main{ flex-direction:row; }
  .panel{ height: calc(100vh - 64px); }
  .panel--divider{
    border-bottom:0;
    border-right:1px solid var(--white05);
  }
  .footer{ display:none; }
}

/* Ambient glow */
.glow{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
}
.glow__a{
  position:absolute;
  top:-10%;
  left:-10%;
  width:40%;
  height:40%;
  background: rgba(236,72,153,.10);
  filter: blur(120px);
}
.glow__b{
  position:absolute;
  bottom:-10%;
  right:-10%;
  width:40%;
  height:40%;
  background: rgba(34,197,94,.10);
  filter: blur(120px);
}
.title__mint {
  color: #02f5c5; 
}
.emph--mint {
  color: #02f5c5;
  font-weight: bold;
}
.title__green {
  color: #03ff40;
}
.emph--green {
  color: #03ff40;
  font-weight: bold;
}