:root{
  /* Palette inspired by neon / arcade vibes (original artwork & patterns) */
  --bg: #070a12;
  --bg2: #0b1020;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(0,0,0,0.22);
  --text: #eaf0ff;
  --muted: rgba(234,240,255,0.74);
  --border: rgba(255,255,255,0.14);

  --cyan: #7cfdff;
  --violet: #a78bfa;
  --green: #34d399;
  --yellow: #fbbf24;

  --shadow: 0 18px 60px rgba(0,0,0,0.45);
  --shadow2: 0 8px 24px rgba(0,0,0,0.38);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(124,253,255,0.18), transparent 60%),
    radial-gradient(900px 600px at 85% 0%, rgba(167,139,250,0.18), transparent 60%),
    radial-gradient(750px 540px at 70% 100%, rgba(52,211,153,0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 70%);
  overflow-x: hidden;
}

a{ color: inherit; }

/* subtle moving grid */
.bg-grid{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: translateZ(0);
  animation: gridMove 18s linear infinite;
  mask-image: radial-gradient(circle at 50% 25%, black 0%, black 55%, transparent 78%);
}
@keyframes gridMove{
  from{ background-position: 0 0, 0 0; }
  to{ background-position: 200px 120px, 120px 200px; }
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 18px 56px;
}

/* NAV */
.nav{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,0.62);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.2px;
}
.brand small{
  display: block;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1px;
}

.pixel{
  width: 18px; height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(124,253,255,0.95), rgba(167,139,250,0.90));
  box-shadow: 0 0 22px rgba(124,253,255,0.25);
}

.links{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nav a{
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}
.nav a[aria-current="page"]{
  color: var(--text);
  background: linear-gradient(135deg, rgba(124,253,255,0.18), rgba(167,139,250,0.18));
  border-color: rgba(124,253,255,0.28);
}

/* HERO */
.hero{
  padding: 26px 0 18px;
  position: relative;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 12px;
}
.badge .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(124,253,255,0.40);
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  text-shadow: 0 8px 40px rgba(0,0,0,0.45);
}
.subtitle{
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 16px;
}

.hero-card{
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.18));
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  overflow: hidden;
  position: relative;
}
.hero-card::before{
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(124,253,255,0.22), rgba(167,139,250,0.22), rgba(52,211,153,0.18));
  opacity: 0.35;
  filter: blur(18px);
  pointer-events: none;
}
.hero-card > *{ position: relative; }

.actions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow2);
}
.btn:hover{ background: rgba(255,255,255,0.08); }
.btn.primary{
  border-color: rgba(124,253,255,0.38);
  background: linear-gradient(135deg, rgba(124,253,255,0.18), rgba(167,139,250,0.18));
}
.chip{
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--muted);
  background: rgba(0,0,0,0.18);
}

.hero-art{
  display: grid;
  place-items: center;
}
.hero-art img{
  width: min(360px, 100%);
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

/* CONTENT */
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.card{
  grid-column: span 4;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow2);
  position: relative;
  overflow: hidden;
}
.card::after{
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(300px 160px at 10% 10%, rgba(124,253,255,0.18), transparent 60%),
              radial-gradient(300px 160px at 90% 10%, rgba(167,139,250,0.18), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}
.card > *{ position: relative; }

.card h2{
  margin: 0 0 8px;
  font-size: 18px;
}
.card p{
  margin: 0;
  color: var(--muted);
}
.meta{
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kpi{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
}
.kpi strong{ font-size: 18px; }
.kpi span{ font-size: 12px; color: var(--muted); }

.section{
  margin-top: 16px;
}

.panel{
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
  box-shadow: var(--shadow2);
}
.panel h2{ margin: 0 0 10px; font-size: 18px; }
.panel p{ margin: 0; color: var(--muted); }

.two-col{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  margin-top: 12px;
}
.list{
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
}
.list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px dashed rgba(255,255,255,0.14);
  color: var(--muted);
}
.list li:first-child{ border-top: none; }
.bullet{
  width: 10px; height: 10px;
  border-radius: 4px;
  margin-top: 4px;
  background: linear-gradient(135deg, rgba(52,211,153,0.95), rgba(124,253,255,0.75));
  box-shadow: 0 0 18px rgba(52,211,153,0.18);
}

.timeline{
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}
.timeline li{
  position: relative;
  padding: 12px 12px 12px 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  margin-bottom: 10px;
  color: var(--muted);
}
.timeline li strong{
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}
.timeline li::before{
  content: "";
  position: absolute;
  left: 14px; top: 16px;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(124,253,255,0.95), rgba(167,139,250,0.95));
  box-shadow: 0 0 18px rgba(124,253,255,0.22);
}

.table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
}
.table th, .table td{
  padding: 12px 12px;
  text-align: left;
  font-size: 14px;
}
.table th{
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.table td{
  color: var(--muted);
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.table tr:last-child td{ border-bottom: none; }

.media{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}
.media img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  box-shadow: var(--shadow2);
}

.footer{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.small-links a{
  color: var(--muted);
  text-decoration: none;
  margin-left: 10px;
}
.small-links a:hover{ color: var(--text); }

@media (max-width: 900px){
  .card{ grid-column: span 12; }
  .two-col{ grid-template-columns: 1fr; }
  .nav-inner{ flex-direction: column; align-items: flex-start; }
  .hero-card{ grid-template-columns: 1fr; }
}
