:root {
  --pink: #ff6b9d;
  --pink-light: #ffb3cc;
  --pink-pale: #fff0f5;
  --teal: #00d4aa;
  --teal-light: #b2f0e0;
  --navy: #1a0a3e;
  --navy-light: #2d1b69;
  --bg: #fdf6f9;
  --bg-warm: #fff5f8;
  --text: #1a0a3e;
  --text-muted: #6b5b7b;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Share Tech Mono', monospace;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Background ── */

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, var(--bg) 0%, var(--pink-pale) 50%, var(--bg-warm) 100%);
}

/* Art Deco decorative lines */
.grid-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--pink-light), transparent);
  opacity: 0.3;
}

/* ── Sun (warm pastel circle) ── */

.sun {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.15), transparent 70%);
  z-index: -1;
}

/* ── Scanlines (very subtle texture) ── */

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(26, 10, 62, 0.008) 2px,
    rgba(26, 10, 62, 0.008) 4px
  );
}

/* ── Container ── */

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── Profile ── */

.profile {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-photo {
  margin-bottom: 1.5rem;
}

.profile-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pink);
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.25);
}

.neon-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  letter-spacing: 2px;
}

.tagline {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Art Deco Divider ── */

.profile::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  margin: 1.5rem auto 0;
  border-radius: 1px;
}

/* ── Social Icons ── */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.social-icons a {
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--pink);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  vertical-align: middle;
}

/* ── Top Action Cards ── */

.top-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.3rem 0.8rem;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.action-card svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.action-card.primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.action-card.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.action-card.secondary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.action-card.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
}

.action-card.tertiary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 10, 62, 0.2);
}

.action-card.tertiary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 10, 62, 0.3);
}

/* ── Link Buttons ── */

.links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 3rem;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--navy-light);
  border-radius: 50px;
  color: var(--navy);
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(26, 10, 62, 0.2);
}

.link-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Projects Section ── */

.projects {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.1rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-title::before,
.section-title::after {
  content: '—';
  margin: 0 0.5rem;
  color: var(--pink);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 10, 62, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.project-card:hover {
  border-color: var(--pink);
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
  transform: translateY(-2px);
}

.project-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.project-card a {
  color: var(--pink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.3s;
}

.project-card a:hover {
  color: var(--teal);
}

/* ── Footer ── */

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Palm Silhouette ── */

.palms {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.palms svg {
  height: 180px;
  fill: var(--navy);
}

/* ── Fade-in Animation ── */

.fade-in {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (min-width: 480px) {
  .neon-text {
    font-size: 2.2rem;
  }

  .profile-photo img {
    width: 160px;
    height: 160px;
  }

  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 380px) {
  .neon-text {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .container {
    padding: 2rem 1rem;
  }

  .link-btn {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }
}

/* ── Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
