:root {
  color-scheme: dark;
  --bg: #0e1116;
  --bg-elev: rgba(20, 24, 32, 0.65);
  --text: #f2f5f9;
  --muted: #a7b0bf;
  --accent: #3b82f6;
  --card-border: rgba(255, 255, 255, 0.12);
  --pill-bg: rgba(59, 130, 246, 0.15);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-elev: rgba(255, 255, 255, 0.8);
  --text: #0e1116;
  --muted: #5a6372;
  --accent: #2563eb;
  --card-border: rgba(37, 99, 235, 0.15);
  --pill-bg: rgba(37, 99, 235, 0.12);
  --shadow: 0 18px 40px rgba(37, 99, 235, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'SF Pro Display', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

img {
  max-width: 100%;
  display: block;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  backdrop-filter: blur(18px);
  background: rgba(12, 14, 20, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme='light'] .navbar {
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.nav-brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  background: var(--pill-bg);
}

.theme-toggle {
  border: 1px solid var(--card-border);
  background: var(--bg-elev);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

main {
  flex: 1;
  padding: 48px 6vw 80px;
}

.center-stage {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}

.profile-card {
  width: min(520px, 92vw);
  padding: 36px 32px;
  border-radius: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.profile-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 2px solid var(--accent);
}

.profile-card h1 {
  margin: 0 0 6px;
  font-size: 2rem;
}

.profile-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid transparent;
  color: var(--text);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.pill:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.section-grid {
  width: min(860px, 92vw);
  display: grid;
  gap: 24px;
}

.section-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  background: rgba(18, 22, 30, 0.4);
  backdrop-filter: blur(16px);
}

html[data-theme='light'] .section-card {
  background: rgba(255, 255, 255, 0.7);
}

.section-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.section-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.page-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 32px;
}

.showcase-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.showcase-item {
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.showcase-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.showcase-item .meta {
  padding: 14px 16px 18px;
}

.showcase-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.showcase-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.7);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: min(90vw, 900px);
  max-height: 80vh;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--bg);
}

.lightbox-content img {
  width: 100%;
  height: auto;
}

.form-card {
  max-width: 680px;
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 16px;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  font-size: 1rem;
}

html[data-theme='light'] input,
html[data-theme='light'] select,
html[data-theme='light'] textarea {
  background: rgba(255, 255, 255, 0.7);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button.primary {
  padding: 12px 18px;
  border-radius: 14px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.status {
  font-size: 0.95rem;
  color: var(--muted);
}

.footer {
  padding: 28px 6vw 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .profile-card {
    padding: 28px 24px;
  }
}


.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

.muted{ color: var(--muted); }
