
:root{
  --bg1:#0a1020;
  --bg2:#061a2a;
  --ink:#0b1020;
  --text:#eef6ff;
  --muted: rgba(255,255,255,.78);

  --aqua1:#7ff0ff;
  --aqua2:#4fd6ff;
  --aqua3:#2aa7ff;
  --pink:#ff6bd6;
  --lime:#8bff7a;
  --sun:#ffe27a;

  --glass: rgba(255,255,255,.10);
  --glass2: rgba(255,255,255,.16);
  --stroke: rgba(255,255,255,.22);
  --stroke2: rgba(0,0,0,.35);
  --shadow: rgba(0,0,0,.45);

  --r: 18px;
  --r2: 22px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  font-family: Tahoma, Verdana, Arial, sans-serif;
  line-height:1.35;
  overflow-x:hidden;
}

/* ---------- Background (Frutiger Aero vibes) ---------- */
body.y2k{
  background:
    radial-gradient(1000px 500px at 15% 10%, rgba(127,240,255,.35), transparent 60%),
    radial-gradient(800px 480px at 85% 20%, rgba(255,107,214,.18), transparent 55%),
    radial-gradient(900px 600px at 50% 90%, rgba(139,255,122,.14), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  position:relative;
}

/* soft bubbles */
body.y2k::before{
  content:"";
  position:fixed;
  inset:-30px;
  pointer-events:none;
  background:
    radial-gradient(28px 28px at 12% 22%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(34px 34px at 22% 70%, rgba(127,240,255,.18), transparent 62%),
    radial-gradient(22px 22px at 70% 28%, rgba(255,107,214,.16), transparent 60%),
    radial-gradient(40px 40px at 86% 64%, rgba(255,255,255,.16), transparent 64%),
    radial-gradient(24px 24px at 48% 52%, rgba(139,255,122,.14), transparent 62%);
  filter: blur(0.2px);
  opacity:.9;
}

/* subtle noise */
body.y2k::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.20'/%3E%3C/svg%3E");
  opacity:.12;
  mix-blend-mode: overlay;
}

/* ---------- Links ---------- */
a{ color: var(--aqua1); text-decoration:none; }
a:hover{ text-decoration:underline; }
.small{ font-size: 12.5px; color: var(--muted); }

/* ---------- Topbar ---------- */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.topbar-left{
  display:flex; align-items:center; gap:10px;
}
.brand{
  letter-spacing:.6px;
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
}

.orb{
  width:10px; height:10px; border-radius:999px;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.2) 40%, rgba(0,0,0,.15) 70%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 0 12px rgba(127,240,255,.25);
}
.orb.o2{ box-shadow: 0 0 12px rgba(255,107,214,.22); }
.orb.o3{ box-shadow: 0 0 12px rgba(139,255,122,.20); }

.topbar-right{ display:flex; gap:8px; flex-wrap:wrap; }

.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color: rgba(255,255,255,.9);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  text-decoration:none;
}
.pill:hover{
  filter: brightness(1.08);
  text-decoration:none;
}
.pill.active{
  border-color: rgba(127,240,255,.55);
  box-shadow: 0 0 0 2px rgba(127,240,255,.18), 0 8px 22px rgba(0,0,0,.24);
}

/* ---------- Hero ---------- */
.hero{
  padding: 26px 14px 12px;
}
.hero-inner{
  width:min(1100px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items:stretch;
}

.logo-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  padding: 12px;
  position:relative;
  overflow:hidden;
}
.logo-wrap::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(220px 160px at 25% 20%, rgba(127,240,255,.22), transparent 60%),
    radial-gradient(220px 160px at 85% 70%, rgba(255,107,214,.16), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,0));
  transform: rotate(-6deg);
}
.logo{
  max-width:100%;
  height:auto;
  image-rendering: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
  position:relative;
}

.hero-card{
  border-radius: var(--r2);
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  overflow:hidden;
  position:relative;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(420px 220px at 20% 10%, rgba(127,240,255,.20), transparent 62%),
    radial-gradient(420px 260px at 80% 70%, rgba(139,255,122,.12), transparent 65%),
    radial-gradient(420px 260px at 60% 30%, rgba(255,107,214,.10), transparent 60%);
  pointer-events:none;
}

.hero-title{
  margin:0;
  font-size: 28px;
  letter-spacing:.6px;
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
  position:relative;
}
.hero-subtitle{
  margin:6px 0 10px;
  color: var(--muted);
  position:relative;
}

/* ticker / marquee */
.ticker{
  position:relative;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(255,255,255,.06));
  overflow:hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.ticker-track{
  display:flex;
  gap:24px;
  padding:8px 10px;
  white-space:nowrap;
  animation: slide 18s linear infinite;
  font-size:12px;
  color: rgba(255,255,255,.86);
  text-shadow: 0 1px 0 rgba(0,0,0,.55);
}
@keyframes slide{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
  position:relative;
}
.badge{
  font-size:11px;
  padding:5px 8px;
  border-radius:999px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* ---------- Layout ---------- */
.layout{
  width:min(1100px, 100%);
  margin: 10px auto 24px;
  padding: 0 14px;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

.side{ display:flex; flex-direction:column; gap:14px; }
.maincol{ display:flex; flex-direction:column; gap:14px; }

/* ---------- Window UI ---------- */
.window{
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  overflow:hidden;
  position:relative;
}

/* glossy highlight */
.window::before{
  content:"";
  position:absolute;
  left:-20%;
  top:-40%;
  width:70%;
  height:120%;
  background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%);
  transform: rotate(-12deg);
  pointer-events:none;
  opacity:.55;
}

.titlebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.08));
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.titlebar .ico{
  width:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}
.titlebar .title{
  font-weight:700;
  letter-spacing:.8px;
  text-transform: lowercase;
  text-shadow: 0 1px 0 rgba(0,0,0,.55);
  flex:1;
  padding-left:6px;
}
.titlebar .dots{
  opacity:.8;
  font-size:12px;
  letter-spacing:2px;
}

.pane{
  padding: 12px;
  position:relative;
}

/* sizes */
.window.mini .pane{ padding: 12px; }
.window.big .pane{ padding: 14px; }

/* ---------- Sidebar bits ---------- */
.mini-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius: 14px;
  font-size:12px;
  color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, rgba(127,240,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}
.chip:hover{
  text-decoration:none;
  filter: brightness(1.08);
  border-color: rgba(127,240,255,.35);
}

.list{
  margin:0;
  padding-left: 16px;
  color: rgba(255,255,255,.86);
}
.list li{ margin:6px 0; }

.link{
  display:block;
  padding:8px 10px;
  border-radius: 14px;
  margin:6px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
}
.link:hover{
  text-decoration:none;
  border-color: rgba(255,107,214,.35);
  filter: brightness(1.08);
}

.divider{
  height:1px;
  background: rgba(255,255,255,.18);
  margin: 10px 0;
}

/* 88x31-ish faux buttons */
.buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.btn88{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 88px;
  height: 31px;
  border-radius: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing:.6px;
  color: rgba(255,255,255,.92);
  background:
    radial-gradient(70px 40px at 25% 20%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(127,240,255,.20), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

/* ---------- Blog feed area ---------- */
#blog{
  min-height: 220px;
}

.blog-frame{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

/* If your parser outputs .post / article, these styles help */
.blog-frame article,
.blog-frame .post,
.blog-frame .entry{
  border-radius: var(--r);
  background:
    radial-gradient(240px 140px at 15% 10%, rgba(127,240,255,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  padding: 12px 12px 10px;
  position:relative;
  overflow:hidden;
}

/* glossy stripe in posts */
.blog-frame article::before,
.blog-frame .post::before,
.blog-frame .entry::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-25%;
  width:55%;
  height:140%;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  transform: rotate(-10deg);
  opacity:.55;
  pointer-events:none;
}

/* post headings if present */
.blog-frame h1, .blog-frame h2, .blog-frame h3{
  margin: 0 0 8px;
  text-shadow: 0 2px 0 rgba(0,0,0,.38);
}
.blog-frame p{ color: rgba(255,255,255,.88); }

/* timestamps / meta classes (common) */
.blog-frame .date,
.blog-frame .meta,
.blog-frame time{
  font-size: 12px;
  color: rgba(255,255,255,.68);
}

/* images inside posts */
.blog-frame img{
  max-width:100%;
  height:auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

/* blockquotes */
.blog-frame blockquote{
  margin:10px 0;
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(255,255,255,.04));
  color: rgba(255,255,255,.86);
}

/* code blocks */
.blog-frame pre,
.blog-frame code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.blog-frame pre{
  overflow:auto;
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- Archive grid ---------- */
.archive-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:8px;
}

/* ---------- Footer ---------- */
.footer{
  padding: 18px 14px 30px;
}
.footer-inner{
  width:min(1100px, 100%);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color: rgba(255,255,255,.76);
}
.sep{ opacity:.65; }
.footlink{
  color: rgba(127,240,255,.92);
  padding:6px 10px;
  border-radius:999px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.footlink:hover{ text-decoration:none; filter: brightness(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .layout{ grid-template-columns: 1fr; }
  .topbar-right{ justify-content:flex-end; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  .ticker-track{ animation: none; }
}

