:root {
  --bg: #0f172a;
  --panel: #020617;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ===== NAVBAR (TONA / TRANSLUCENT) ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
}

/* ===== LOGO (BETUL) ===== */
.logo {
  height: 48px;        /* MOBILE */
  width: auto;
  display: block;

  /* RESET BUG LAMA */
  position: static;
  transform: none;
}

/* DESKTOP */
@media (min-width: 768px) {
  .logo {
    height: 56px;
  }
}

.brand span {
  font-size: 1.3rem;
  font-weight: 500;
  color: #e5e7eb;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(180deg, #020617, #020617);
  padding: 90px 20px;
  text-align: center;
}

.tag {
  font-family: monospace;
  color: var(--accent);
}

.hero h1 {
  font-size: 2.4rem;
  margin: 10px 0 0;
}

.hero h1 span {
  color: var(--accent);
}

.subtitle {
  color: var(--muted);
  margin-top: 10px;
}

/* ===== CONTENT ===== */
main {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
}

h2 {
  color: var(--accent);
}

.skills {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.skills li {
  background: var(--panel);
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}

.email {
  color: var(--accent);
  text-decoration: none;
}

.email:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid #020617;
}

/* ===== ABOUT TEXT ===== */
.about-text {
  margin-top: 10px;
  line-height: 1.7;

  /* animasi */
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp 0.8s ease-out forwards;
}

.about-strong {
  display: inline-block;
  font-weight: 600;        /* lebih kuat */
  font-size: 1.05rem;
}

.about-light {
  display: inline-block;
  margin-top: 4px;
  font-weight: 400;        /* lebih ringan */
  color: var(--muted);
}

/* ANIMATION */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
