/* BIODATA V2.0 */

:root {
  --bg: #f6fbff;
  --text: #11233f;
  --muted: #5f6f86;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --card: rgba(255,255,255,0.82);
  --border: rgba(148,163,184,0.25);
  --shadow: 0 18px 45px rgba(15,23,42,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(148,163,184,0.18), transparent 25%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92vw); margin: 0 auto; }

.bg-grid {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.25;
  background-image:
    linear-gradient(rgba(148,163,184,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}
.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(40px); opacity: 0.55;
  pointer-events: none; animation: drift 14s ease-in-out infinite alternate;
}
.orb-1 { width: 260px; height: 260px; background: rgba(59,130,246,0.22); top: -70px; left: -50px; }
.orb-2 { width: 220px; height: 220px; background: rgba(148,163,184,0.22); right: -70px; top: 180px; animation-duration: 18s; }
.orb-3 { width: 300px; height: 300px; background: rgba(96,165,250,0.18); bottom: -110px; left: 40%; animation-duration: 20s; }
@keyframes drift { from { transform: translateY(0) translateX(0); } to { transform: translateY(22px) translateX(14px); } }

.topbar {
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px);
  background: rgba(246,251,255,0.72); border-bottom: 1px solid var(--border);
}
.topbar-inner {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-badge {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white;
  background: linear-gradient(135deg, var(--primary), #94a3b8); box-shadow: var(--shadow);
}
.nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.nav a { position: relative; transition: color .25s ease; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0%; height: 2px; background: var(--primary);
  transition: width .25s ease;
}
.nav a:hover { color: var(--primary-dark); }
.nav a:hover::after { width: 100%; }
.menu-btn { display: none; background: transparent; color: var(--text); font-size: 26px; }

.section { padding: 96px 0; }
.section.alt { background: rgba(255,255,255,0.6); border-top: 1px solid rgba(148,163,184,0.16); border-bottom: 1px solid rgba(148,163,184,0.16); }
.hero { min-height: calc(100vh - 72px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 34px; align-items: center; }

.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; color: var(--primary-dark);
}
.hero-text h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.06; margin-bottom: 16px; }
.hero-text h1 span { color: var(--primary); }
.hero-desc { max-width: 620px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px;
  border-radius: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,0.75); border: 1px solid var(--border); }

.profile-card, .about-text-card, .info-list, .feature-card, .youtube-card, .contact-card, .timeline-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.profile-card { padding: 28px; text-align: center; }
.profile-avatar {
  width: 120px; height: 120px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; color: white;
  font-size: 48px; font-weight: 800; background: linear-gradient(135deg, #60a5fa, #94a3b8);
  box-shadow: 0 18px 35px rgba(59,130,246,0.25); animation: float 4s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px) rotate(5deg); } }
.profile-role { color: var(--muted); margin-top: 4px; }
.quick-info { margin-top: 22px; display: grid; gap: 14px; text-align: left; }
.quick-info div {
  padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.56); border: 1px solid rgba(148,163,184,0.18);
}
.quick-info span, .info-item span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.quick-info strong, .info-item strong { font-size: 14px; line-height: 1.55; }

.section-heading { text-align: center; margin-bottom: 34px; }
.section-heading p { color: var(--primary-dark); font-weight: 700; letter-spacing: 3px; font-size: 12px; }
.section-heading h2 { margin-top: 6px; font-size: clamp(1.7rem, 4vw, 2.6rem); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.about-text-card, .info-list, .feature-card, .contact-card, .youtube-card { padding: 24px; }
.about-text-card h3, .feature-card h3, .contact-card h3, .youtube-card h3 { font-size: 20px; margin-bottom: 12px; }
.about-text-card p, .feature-card p, .contact-card p, .youtube-card p { color: var(--muted); line-height: 1.7; }
.about-text-card p + p { margin-top: 12px; }

.info-list { display: grid; gap: 12px; }
.info-item {
  padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.5); border: 1px solid rgba(148,163,184,0.16);
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { text-align: center; transition: transform .25s ease; }
.feature-card:hover, .contact-card:hover { transform: translateY(-6px); }

.feature-icon, .contact-icon {
  width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 18px; font-size: 24px;
  background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(148,163,184,0.18));
}

.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--primary), #94a3b8);
}
.timeline-item { position: relative; }
.timeline-dot {
  position: absolute; left: -1px; top: 22px; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #94a3b8); box-shadow: 0 0 0 6px rgba(59,130,246,0.12);
}
.timeline-card { padding: 20px 22px 18px; margin-left: 24px; }
.timeline-badge {
  display: inline-block; margin-bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(59,130,246,0.12); color: var(--primary-dark);
  font-size: 12px; font-weight: 700;
}
.timeline-card h3 { font-size: 20px; margin-bottom: 4px; }
.timeline-card p { color: var(--primary-dark); font-weight: 600; }
.timeline-card small { display: block; margin-top: 6px; color: var(--muted); }

.youtube-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { text-align: center; transition: transform .25s ease; }
.contact-card a { color: var(--primary-dark); font-weight: 600; }

.footer { padding: 24px 0 36px; color: var(--muted); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; font-size: 14px;
}

.reveal {
  opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

@keyframes gentlePulse { 50% { transform: scale(1.03); } }
.profile-card { animation: gentlePulse 6s ease-in-out infinite; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .cards, .contact-grid { grid-template-columns: 1fr; }
  .youtube-card { flex-direction: column; align-items: flex-start; }
  .topbar-inner { position: relative; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav {
    position: absolute; top: 72px; right: 0; left: 0; display: none; flex-direction: column; gap: 0;
    padding: 14px; background: rgba(246,251,255,0.96); border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(15,23,42,0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 12px; }
  .nav a:hover { background: rgba(59,130,246,0.08); }
  .section { padding: 78px 0; }
}

@media (max-width: 520px) {
  .menu-card, .panel, .game-over-card { padding: 22px 18px; border-radius: 20px; }
  .hero-desc { font-size: 15px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
