/* ---------- Base ---------- */
:root{
  --bg1:#070A12;
  --bg2:#0B1230;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.10);
  --stroke: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.90);
  --muted: rgba(255,255,255,0.70);
  --faint: rgba(255,255,255,0.55);
  --accent:#6EE7FF;     /* teal-ish */
  --accent2:#A78BFA;    /* purple-ish */
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial;
  background: radial-gradient(1200px 700px at 15% 10%, rgba(110,231,255,0.15), transparent 60%),
              radial-gradient(900px 600px at 85% 15%, rgba(167,139,250,0.14), transparent 55%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--text);
  line-height: 1.6;
  overflow-x:hidden;
}

/* Optional animated shimmer background */
.bg{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px 500px at 30% 20%, rgba(110,231,255,0.10), transparent 60%),
    radial-gradient(900px 600px at 70% 30%, rgba(167,139,250,0.10), transparent 60%);
  filter: blur(0px);
  animation: floaty 9s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes floaty{
  from{ transform: translateY(-8px); }
  to{ transform: translateY(8px); }
}

/* ---------- Layout ---------- */
.hero, .page{ position: relative; z-index: 1; }

.hero{
  padding: 56px 18px 10px;
}
.hero-inner{
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 26px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.page{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 18px 70px;
}

/* ---------- Typography ---------- */
h1{
  margin: 0 0 6px 0;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(90deg, #FFFFFF, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h2{
  margin: 0 0 10px 0;
  font-weight: 650;
  color: var(--muted);
}

.hero p{
  margin: 12px 0 0;
  color: var(--faint);
  max-width: 70ch;
}

hr{
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  margin: 18px 0 0;
}

/* ---------- Buttons ---------- */
.quick-links{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(0,0,0,0.88);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.40);
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover{ transform: translateY(-2px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0px); }

.btn.ghost{
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: none;
}

/* ---------- Cards / Sections ---------- */
.card{
  margin-top: 18px;
  padding: 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-3px);
  background: var(--card2);
  border-color: rgba(255,255,255,0.18);
}

.header{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 0 0 6px 0;
  font-size: 20px;
}

.sub{
  margin: 0 0 10px 0;
  color: var(--muted);
}

/* ---------- Images / Icons ---------- */
.image{
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

/* ---------- Lists / Links ---------- */
ul{
  margin: 10px 0 0 0;
  padding-left: 18px;
}

li{
  margin: 10px 0;
}

a{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.28);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

a:hover{
  color: #ffffff;
  border-bottom-color: rgba(110,231,255,0.75);
  background: rgba(110,231,255,0.08);
}

/* Make <code> look like tech badges */
code{
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.icon{
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex-shrink: 0;
}
/* ---------- Sidebar layout ---------- */
.layout{
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 70px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* your existing .page is now inside the grid */
.layout .page{
  max-width: none;
  margin: 0;
  padding: 0;
}

/* make sidebar sticky on desktop (optional, but cool) */
.sidebar{
  position: sticky;
  top: 18px;
}

.about .mini{
  margin: 6px 0 14px;
  color: var(--muted);
}

.about-block{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.about h3{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Clean bullet list */
.clean{
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.clean li{
  margin: 8px 0;
  color: var(--text);
}
.clean li::before{
  content: "•";
  color: rgba(255,255,255,0.35);
  margin-right: 8px;
}

/* Skill chips */
.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  line-height: 1;
}

/* Mobile: stack sidebar above content */
@media (max-width: 900px){
  .layout{
    grid-template-columns: 1fr;
  }
  .sidebar{
    position: static;
  }
}


/* ---------- Responsive ---------- */
@media (max-width: 600px){
  .hero-inner{ padding: 22px 18px; }
  .header{ font-size: 18px; }
  ul{ padding-left: 16px; }
}
