:root {
  --pink-bg: #fce4ec;
  --pink-mid: #f8bbd0;
  --pink-accent: #f48fb1;
  --pink-bright: #ec407a;
  --pink-glow: rgba(244, 143, 177, 0.5);
  --term-bg: rgba(22, 6, 14, 0.88);
  --term-border: rgba(244, 143, 177, 0.45);
  --term-text: #ffb3d9;
  --term-dim: rgba(255, 179, 217, 0.55);
  --term-green: #28c840;
  --glass-bg: rgba(255, 240, 248, 0.4);
  --glass-border: rgba(255, 255, 255, 0.75);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

h1, h2 { font-weight: normal; font-size: inherit; line-height: inherit; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Share Tech Mono', monospace;
  background:
    radial-gradient(ellipse at 10% 0%, #f8bbd0 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, #fce4ec 0%, transparent 55%),
    linear-gradient(160deg, #fff0f5 0%, #fce4ec 40%, #fff5f8 70%, #fde8f0 100%);
  min-height: 100vh;
  color: #1a0010;
  overflow-x: hidden;
}

/* ── Floating aero orbs ── */
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}

.orb-a {
  width: 500px; height: 500px;
  background: radial-gradient(circle at 40% 40%, #f48fb1, #f8bbd0, transparent 70%);
  top: -160px; left: -160px;
  animation: drift 10s ease-in-out infinite;
}

.orb-b {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 60% 60%, #fce4ec, #ec407a44, transparent 70%);
  top: 35%; right: -120px;
  animation: drift 14s ease-in-out infinite reverse;
}

.orb-c {
  width: 280px; height: 280px;
  background: radial-gradient(circle at 50% 50%, #f06292aa, transparent 70%);
  bottom: 5%; left: 25%;
  animation: drift 9s ease-in-out infinite 3s;
}

@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}

/* ── Navbar ── */
nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 4px 20px rgba(244, 143, 177, 0.18),
    0 1px 0 rgba(255,255,255,0.9) inset;
}

nav a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: #7b2050;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 40px;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

nav a:hover {
  background: rgba(244, 143, 177, 0.28);
  color: #3d0020;
  box-shadow: 0 0 10px rgba(244, 143, 177, 0.4);
}

/* ── Page layout ── */
main {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 92px 20px 80px;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-window {
  width: 100%;
  max-width: 640px;
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(244, 143, 177, 0.25),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 0 rgba(255,255,255,0.12) inset;
  position: relative;
}

.hero-window::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(244,143,177,0.9) 50%, transparent 95%);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: rgba(244, 143, 177, 0.07);
  border-bottom: 1px solid rgba(244, 143, 177, 0.18);
}

.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #ff5f57; box-shadow: 0 0 5px #ff5f5780; }
.dot-y { background: #ffbd2e; box-shadow: 0 0 5px #ffbd2e80; }
.dot-g { background: #28c840; box-shadow: 0 0 5px #28c84080; }

.win-title {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  color: var(--term-dim);
  letter-spacing: 0.12em;
}

.hero-body {
  padding: 36px 44px 36px;
}

.hero-name {
  font-family: 'VT323', monospace;
  font-size: 5.2rem;
  color: var(--term-text);
  text-shadow:
    0 0 16px rgba(244, 143, 177, 0.9),
    0 0 40px rgba(244, 143, 177, 0.4);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.hero-role {
  font-size: 0.78rem;
  color: rgba(255, 179, 217, 0.6);
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  white-space: nowrap;
}

.term-lines { margin-bottom: 6px; }

.tline {
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--term-dim);
}

.tline .p { color: #f06292; }
.tline .v { color: #ffb3d9; }
.tline .s { color: var(--term-green); }

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--pink-accent);
  margin-left: 2px;
  vertical-align: -3px;
  animation: blink 1.05s step-end infinite;
  box-shadow: 0 0 8px rgba(244, 143, 177, 0.8);
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Social / CTA buttons ── */
.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  justify-content: center;
}

.btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.76rem;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  letter-spacing: 0.06em;
  transition: transform 0.18s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-flat {
  color: #5a0030;
  background: rgba(255, 228, 236, 0.72);
  border: 1px solid rgba(255, 200, 220, 0.7);
  box-shadow: 0 3px 10px rgba(244, 143, 177, 0.15);
}

.btn-flat:hover {
  transform: translateY(-2px);
  background: rgba(255, 210, 228, 0.9);
  box-shadow: 0 6px 16px rgba(244, 143, 177, 0.28);
}

/* ── Section wrapper ── */
.section { margin-bottom: 28px; }

.term-win {
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 8px 30px rgba(244, 143, 177, 0.12),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
}

.term-win::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(244,143,177,0.6) 50%, transparent 90%);
}

.term-hdr {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(244, 143, 177, 0.06);
  border-bottom: 1px solid rgba(244, 143, 177, 0.15);
}

.term-hdr-title {
  flex: 1;
  text-align: center;
  font-size: 0.67rem;
  color: rgba(255, 179, 217, 0.45);
  letter-spacing: 0.13em;
}

.term-bd { padding: 24px 28px; }

/* ── Section heading ── */
.sec-h {
  font-family: 'VT323', monospace;
  font-size: 1.9rem;
  color: var(--pink-accent);
  text-shadow: 0 0 10px rgba(244, 143, 177, 0.55);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.sec-h::before { content: '> '; color: #f06292; }

/* ── Entry block ── */
.entry {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(244, 143, 177, 0.1);
}

.entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.entry-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 3px;
}

.entry-name { font-size: 0.88rem; color: #ffb3d9; letter-spacing: 0.04em; }
.entry-date { font-size: 0.72rem; color: rgba(255, 179, 217, 0.45); letter-spacing: 0.05em; }
.entry-sub  { font-size: 0.78rem; color: var(--pink-accent); margin-bottom: 5px; }

.entry-desc {
  font-size: 0.77rem;
  color: rgba(255, 179, 217, 0.65);
  line-height: 1.65;
  padding-left: 14px;
  border-left: 2px solid rgba(244, 143, 177, 0.25);
}

/* ── Project cards ── */
.project-card {
  background: rgba(244, 143, 177, 0.07);
  border: 1px solid rgba(244, 143, 177, 0.22);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.project-card:last-child { margin-bottom: 0; }

.project-card:hover {
  background: rgba(244, 143, 177, 0.14);
  transform: translateX(5px);
  box-shadow: 0 0 18px rgba(244, 143, 177, 0.18);
}

.proj-title {
  font-size: 0.9rem;
  color: #ffb3d9;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.proj-title a {
  color: var(--pink-accent);
  text-decoration: none;
  transition: text-shadow 0.2s;
}

.proj-title a:hover { text-shadow: 0 0 10px rgba(244,143,177,0.9); }

.badge {
  font-size: 0.62rem;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.badge-active {
  background: rgba(40, 200, 64, 0.15);
  border: 1px solid rgba(40, 200, 64, 0.4);
  color: #28c840;
}

.badge-wip {
  background: rgba(255, 189, 46, 0.15);
  border: 1px solid rgba(255, 189, 46, 0.35);
  color: #ffbd2e;
}

.proj-desc {
  font-size: 0.77rem;
  color: rgba(255, 179, 217, 0.6);
  line-height: 1.55;
}

/* ── Skills ── */
.skills-group { margin-bottom: 18px; }
.skills-group:last-child { margin-bottom: 0; }

.skills-label {
  font-size: 0.73rem;
  color: var(--pink-accent);
  letter-spacing: 0.1em;
  margin-bottom: 9px;
}

.skills-label::before { content: '// '; color: rgba(244, 143, 177, 0.38); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.skill-tag {
  background: rgba(244, 143, 177, 0.12);
  border: 1px solid rgba(244, 143, 177, 0.28);
  border-radius: 6px;
  padding: 5px 13px;
  font-size: 0.73rem;
  color: var(--pink-accent);
  transition: background 0.2s, box-shadow 0.2s;
}

.skill-tag:hover {
  background: rgba(244, 143, 177, 0.22);
  box-shadow: 0 0 8px rgba(244, 143, 177, 0.28);
}

.skill-tag span {
  font-size: 0.62rem;
  color: rgba(244, 143, 177, 0.45);
  margin-left: 4px;
}

/* ── Courses ── */
.course-group { margin-bottom: 14px; }
.course-group:last-child { margin-bottom: 0; }

.course-label {
  font-size: 0.72rem;
  color: var(--pink-accent);
  letter-spacing: 0.09em;
  margin-bottom: 7px;
}

.course-label::before { content: '// '; color: rgba(244, 143, 177, 0.35); }

.course-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.course-tag {
  background: rgba(244, 143, 177, 0.08);
  border: 1px solid rgba(244, 143, 177, 0.18);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.7rem;
  color: rgba(255, 179, 217, 0.65);
}

/* ── Awards ── */
.award {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 11px;
  font-size: 0.78rem;
  color: rgba(255, 179, 217, 0.7);
  line-height: 1.5;
}

.award:last-child { margin-bottom: 0; }

.award-icon {
  color: var(--pink-accent);
  text-shadow: 0 0 6px rgba(244, 143, 177, 0.7);
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 1px;
}

/* ── Two-col grid ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 620px) {
  .two-col { grid-template-columns: 1fr; }
  nav { display: none; }
  .hero-body { padding: 24px; }
  .hero-name { font-size: 3.5rem; }
}

/* ── Divider ── */
.term-divider {
  border: none;
  border-top: 1px solid rgba(244, 143, 177, 0.15);
  margin: 16px 0;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 40px 20px 30px;
  position: relative;
  z-index: 1;
}

.footer-line {
  font-size: 0.68rem;
  color: rgba(160, 60, 100, 0.45);
  letter-spacing: 0.1em;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #fce4ec; }
::-webkit-scrollbar-thumb { background: #f48fb1; border-radius: 3px; }

/* ── High school toggle ── */
.hs-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0 0;
}

.hs-toggle-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 179, 217, 0.55);
  background: none;
  border: 1px solid rgba(244, 143, 177, 0.2);
  border-radius: 50px;
  padding: 10px 28px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hs-toggle-btn:hover {
  color: var(--pink-accent);
  border-color: rgba(244, 143, 177, 0.45);
  box-shadow: 0 0 12px rgba(244, 143, 177, 0.15);
}

.hs-toggle-btn.open {
  color: var(--pink-accent);
  border-color: rgba(244, 143, 177, 0.4);
}

.hs-toggle-sub {
  font-size: 0.65rem;
  color: rgba(255, 179, 217, 0.35);
  letter-spacing: 0.08em;
}

.hs-section {
  margin-top: 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(244, 143, 177, 0.12);
}

.hs-section .entry-desc {
  color: rgba(255, 179, 217, 0.9);
}

.hs-section .entry-name {
  color: #ffd6ec;
}

.hs-section .entry-date {
  color: rgba(255, 179, 217, 0.7);
}

.hs-section .entry-sub {
  color: #f8a8c8;
}

.hs-section .proj-desc {
  color: rgba(255, 179, 217, 0.88);
}

.hs-section .award {
  color: rgba(255, 179, 217, 0.9);
}

.hs-section .course-tag {
  color: rgba(255, 179, 217, 0.88);
}

/* ── Glassmorphism panel (for edu) ── */
.glass-panel {
  background: rgba(255, 240, 248, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 12px;
  backdrop-filter: blur(6px);
}
