/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0c0a08;
  --bg2:        #131008;
  --bg3:        #1a1510;
  --card:       #1f1a12;
  --border:     #2e2418;
  --gold:       #c8943a;
  --gold-light: #e0b96a;
  --gold-dim:   #8a6328;
  --cream:      #f0e6d0;
  --muted:      #7a6e5e;
  --muted2:     #4a4035;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius:     12px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(12, 10, 8, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(12,10,8,0.97);
  padding: 16px 24px 24px;
  list-style: none;
  gap: 0;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold-light); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,148,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 16px;
}
.hero-name span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, #f5d88a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0c0a08;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200,148,58,0.35);
}
.btn-outline {
  border: 1.5px solid var(--gold-dim);
  color: var(--gold-light);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200,148,58,0.08);
  transform: translateY(-2px);
}

/* Photo */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-photo-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50% 40% 50% 40%;
  border: 1.5px solid;
  border-color: var(--gold-dim) transparent var(--gold-dim) transparent;
  animation: ringRotate 8s linear infinite;
}
@keyframes ringRotate {
  to { transform: rotate(360deg); }
}
.hero-photo {
  width: 340px;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 40% 60% 60% 40% / 50% 50% 60% 50%;
  position: relative;
  z-index: 1;
  filter: brightness(0.92) contrast(1.05);
  box-shadow:
    0 0 0 1px var(--border),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(200,148,58,0.1);
}
.hero-photo-glow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 80px;
  background: radial-gradient(ellipse, rgba(200,148,58,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ── SECTIONS (shared) ───────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}
.section:nth-child(even) { background: var(--bg2); }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 56px;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.about-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.about-icon { font-size: 2rem; margin-bottom: 16px; }
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.about-card p { color: var(--muted); font-size: 0.95rem; }

/* ── EDUCATION ────────────────────────────────────────────── */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 40px;
}
.edu-list::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dim), transparent);
}
.edu-item {
  position: relative;
  padding-bottom: 48px;
}
.edu-item:last-child { padding-bottom: 0; }
.edu-dot {
  position: absolute;
  left: -36px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg2);
  box-shadow: 0 0 12px rgba(200,148,58,0.5);
}
.edu-year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.edu-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 6px;
}
.edu-content p { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.edu-link {
  font-size: 0.8rem;
  color: var(--gold-dim);
  font-weight: 500;
  transition: color var(--transition);
}
.edu-link:hover { color: var(--gold-light); }

/* ── JOURNEY TIMELINE ─────────────────────────────────────── */
.journey { background: var(--bg); }
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: 50%; top: 24px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(200,148,58,0.6);
  z-index: 1;
}
.tl-right { justify-content: flex-end; }
.tl-left  { justify-content: flex-start; }
.tl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 46%;
  transition: var(--transition);
}
.tl-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.tl-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,148,58,0.12);
  border: 1px solid rgba(200,148,58,0.25);
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 12px;
}
.tl-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.tl-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 12px; }
.tl-link {
  font-size: 0.8rem;
  color: var(--gold-dim);
  font-weight: 500;
  transition: color var(--transition);
}
.tl-link:hover { color: var(--gold-light); }

/* ── SKILLS ───────────────────────────────────────────────── */
.skills { background: var(--bg2); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.skill-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.skill-item:hover { border-color: var(--gold-dim); }
.skill-icon { font-size: 1.5rem; margin-bottom: 10px; }
.skill-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}
.skill-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.4,0,.2,1);
}
.skill-fill.animated { transform: scaleX(1); }

/* ── CONTENT / PLATFORMS ─────────────────────────────────── */
.content { background: var(--bg); }
.content-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
  margin-top: -32px;
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.platform-card svg { width: 32px; height: 32px; }
.platform-card span { font-size: 0.9rem; font-weight: 600; color: var(--cream); }
.platform-card small { font-size: 0.72rem; color: var(--muted); word-break: break-all; }
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.platform-card.yt:hover  { border-color: #ff0000; background: rgba(255,0,0,0.06); }
.platform-card.yt svg   { color: #ff4444; }
.platform-card.ig:hover  { border-color: #e1306c; background: rgba(225,48,108,0.06); }
.platform-card.ig svg   { color: #e1306c; }
.platform-card.tt:hover  { border-color: #69c9d0; background: rgba(105,201,208,0.06); }
.platform-card.tt svg   { color: #69c9d0; }
.platform-card.sc:hover  { border-color: #fffc00; background: rgba(255,252,0,0.06); }
.platform-card.sc svg   { color: #fffc00; }
.platform-card.fb:hover  { border-color: #1877f2; background: rgba(24,119,242,0.06); }
.platform-card.fb svg   { color: #1877f2; }
.platform-card.li:hover  { border-color: #0a66c2; background: rgba(10,102,194,0.06); }
.platform-card.li svg   { color: #0a66c2; }
.platform-card.xc:hover  { border-color: #e7e7e7; background: rgba(231,231,231,0.06); }
.platform-card.xc svg   { color: #e7e7e7; }
.platform-card.rd:hover  { border-color: #ff4500; background: rgba(255,69,0,0.06); }
.platform-card.rd svg   { color: #ff4500; }

/* ── PROJECTS ─────────────────────────────────────────────── */
.projects { background: var(--bg2); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}
.proj-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}
.proj-icon { font-size: 2rem; }
.proj-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
}
.proj-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.proj-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 8px;
  transition: color var(--transition);
}
.proj-card:hover .proj-link { color: var(--gold-light); }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact { background: var(--bg); }
.contact-inner { text-align: center; }
.contact-inner .section-title { margin-bottom: 16px; }
.contact-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 48px;
}
.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0c0a08;
  transition: var(--transition);
}
.contact-btn svg { width: 18px; height: 18px; }
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200,148,58,0.35);
}
.contact-btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold-dim);
  color: var(--gold-light);
}
.contact-btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200,148,58,0.08);
  box-shadow: 0 8px 24px rgba(200,148,58,0.15);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.footer-tag {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-socials a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 4px;
  transition: var(--transition);
}
.footer-socials a:hover {
  color: var(--gold-light);
  border-color: var(--gold-dim);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--muted2);
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin: 0 auto 40px; }
  .hero-btns { justify-content: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo { width: 240px; height: 300px; }
  .hero-glow { right: -100px; }

  .timeline::before { left: 20px; }
  .tl-item::before { left: 14px; }
  .tl-item { justify-content: flex-end !important; }
  .tl-card { width: calc(100% - 48px); }

  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 72px 0; }
  .hero { padding: 88px 24px 60px; }
}
