/* ============================================
   TOKENS — Dark Gradient Pop Theme
   ============================================ */
:root {
  --bg-navy: #060913;   /* Very dark navy */
  --bg-slate: #131726;  /* Dark slate/grey for alternating */
  --surface: #1e2336;   /* Card surface */
  --text: #f8fafc;
  --text-2: #94a3b8;
  --grad-main: linear-gradient(135deg, #00d4ff, #7c3aed);
  --grad-accent: linear-gradient(135deg, #00d4ff, #00ff88);
  --grad-warm: linear-gradient(135deg, #ff6b35, #ffba08);
  --cyan: #00d4ff;
  --green: #00ff88;
  --orange: #ff6b35;
  --purple: #7c3aed;
  --border: rgba(255,255,255,0.06);
  --glow: 0 4px 30px rgba(0, 212, 255, 0.2);
  --shadow: 0 8px 30px rgba(0,0,0,0.4);
  --radius: 16px;
  --font: 'Inter', -apple-system, sans-serif;
  --font-head: 'Sora', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: var(--font);
  background: var(--bg-navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================
   HERO — side by side, cinematic
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(124,58,237,0.1) 0%, transparent 60%),
    var(--bg-navy);
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Photo */
.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  perspective: 1200px; /* For 3D tilt */
}

.photo-frame {
  position: relative;
  width: 280px;
  height: 360px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

/* Gradient border via pseudo-element */
.photo-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius) + 3px);
  background: var(--grad-main);
  z-index: -1;
  transform: translateZ(-1px);
}

.photo-frame:hover { 
  transform: scale(1.03) rotateY(4deg) rotateX(2deg) rotateZ(-2deg); 
  box-shadow: -10px 15px 40px rgba(0,212,255,0.15);
}

.photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity 0.5s ease;
}

.photo-default { opacity: 1; z-index: 2 }
.photo-hover { opacity: 0; z-index: 1 }
.photo-frame:hover .photo-default { opacity: 0 }
.photo-frame:hover .photo-hover { opacity: 1 }

.hover-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

/* Hero text */
.hero-content { display: flex; flex-direction: column; gap: 10px }

.hero-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--text);
}

.hero-location {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-row {
  display: flex;
  gap: 24px;
  margin-bottom: 4px;
}

.stat { display: flex; flex-direction: column; gap: 2px }

.stat-val {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-2);
  font-weight: 600;
}

.hero-ethnicity {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 12px;
}

/* Gradient button */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
  width: fit-content;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
}

.btn-gradient:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 36px rgba(0,212,255,0.4);
  color: var(--bg-navy);
}

.btn-gradient:hover::before { opacity: 1 }

.btn-gradient { position: relative; z-index: 1 }
.btn-gradient span { position: relative; z-index: 2 }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Alternating colors */
.bg-navy { background: var(--bg-navy); }
.bg-slate { background: var(--bg-slate); }

.section-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}

/* ============================================
   ABOUT — tag cloud
   ============================================ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
  cursor: default;
}

.tag:hover {
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
  transform: translateY(-3px);
  background: rgba(0,212,255,0.05);
}

/* ============================================
   CREDITS
   ============================================ */
.placeholder-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================
   SKILLS GRID
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.skill-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

/* Gradient top bar */
.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-main);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* Colorful tinted cards! */
.skill-card:nth-child(1) { background: rgba(0,212,255,0.05); }
.skill-card:nth-child(2) { background: rgba(0,255,136,0.05); }
.skill-card:nth-child(3) { background: rgba(255,107,53,0.05); }
.skill-card:nth-child(4) { background: rgba(124,58,237,0.05); }

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
}

.skill-card:hover::before { opacity: 1 }

.skill-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 20px;
}

.skill-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-card li {
  font-size: 0.95rem;
  color: var(--text-2);
  font-weight: 500;
  position: relative;
  padding-left: 14px;
}

.skill-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grad-main);
}

/* Color variations */
.skill-card:nth-child(2) h3 { color: #00ff88 }
.skill-card:nth-child(2) li::before, .skill-card:nth-child(2)::before { background: var(--grad-accent) }
.skill-card:nth-child(3) h3 { color: #ffba08 }
.skill-card:nth-child(3) li::before, .skill-card:nth-child(3)::before { background: var(--grad-warm) }
.skill-card:nth-child(4) h3 { color: #a78bfa }
.skill-card:nth-child(4) li::before, .skill-card:nth-child(4)::before { background: linear-gradient(135deg, #a78bfa, #ec4899) }

/* ============================================
   COMMUNITY
   ============================================ */
.community-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: rgba(16,185,129,0.05);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--radius);
  max-width: 500px;
  transition: all 0.3s var(--ease);
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.3);
}

.community-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(16,185,129,0.15);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.community-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}

.community-card p {
  font-size: 0.95rem;
  color: var(--text-2);
}

.community-card strong { color: var(--text) }

/* ============================================
   FUN FACTS
   ============================================ */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.fact-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}

.fact-card:hover {
  border-color: var(--cyan);
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0,212,255,0.1);
  background: rgba(0,212,255,0.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 80px 24px 40px;
  background: var(--bg-navy);
  border-top: 1px solid var(--border);
}

.footer h2 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer p {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 32px;
  font-weight: 500;
}

.footer small {
  display: block;
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--text-2);
  opacity: 0.4;
}

.footer small.disclaimer {
  display: block; 
  margin-top: 0.5rem; 
  opacity: 0.6; 
  font-size: 0.75rem; 
  max-width: 400px; 
  margin-left: auto; 
  margin-right: auto; 
  line-height: 1.3;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--surface);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  transition: all 0.4s var(--ease);
  pointer-events: none;
  font-weight: 600;
  font-size: 0.9rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0) }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 48px 20px; min-height: initial }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; justify-items: center; text-align: center }
  .photo-frame { width: 240px; height: 310px }
  .hero-content { align-items: center }
  .stat-row { justify-content: center }
  .hero-content h1 { font-size: 3.5rem }
  .section-title { margin-left: auto; margin-right: auto; justify-content: center }
  .tag-cloud { justify-content: center }
  .skills-grid { grid-template-columns: 1fr 1fr }
}

@media (max-width: 480px) {
  .photo-frame { width: 220px; height: 280px }
  .hero-content h1 { font-size: 2.8rem }
  .stat-row { flex-wrap: wrap; gap: 16px }
  .skills-grid { grid-template-columns: 1fr }
  .facts-grid { grid-template-columns: 1fr }
}
