@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&display=swap');

:root {
  --bg-color: #000;
  --text-primary: #fff;
  --text-secondary: #a1a1aa; /* zinc-400 */
  --border-color: rgba(255, 255, 255, 0.1);
  --hover-border: rgba(255, 255, 255, 0.2);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-hover-bg: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  position: relative;
  display: flex;
  min-height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  overflow: hidden;
}

.content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  max-width: 32rem; /* max-w-lg */
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-pic {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
}

.avatar-gradient-text {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .avatar-gradient-text {
    font-size: 3.75rem;
  }
}

.bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.625;
  max-width: 24rem;
}

.social-links {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--hover-border);
  background: var(--card-hover-bg);
  color: var(--text-primary);
}

.social-link svg {
  height: 1rem;
  width: 1rem;
  fill: currentColor;
}

/* Projects Styles */
.projects-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.glass-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Liquid glass effect */
.liquid-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 16px; /* Apple likes smooth corners */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.liquid-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-icon-wrapper {
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.card-title-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card-title-group h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f4f4f5; /* zinc-100 */
}

.card-title-group span {
  font-size: 0.6875rem; /* 11px */
  color: var(--text-secondary);
}

.card-arrow {
  margin-left: auto;
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  color: #52525b; /* zinc-600 */
  transition: all 0.3s ease;
}

.glass-card:hover .card-arrow {
  color: #d4d4d8; /* zinc-300 */
  transform: translate(0.125rem, -0.125rem);
}

.card-description {
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--text-secondary);
  text-align: left;
}

/* Marquee Styles */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
  gap: 0.75rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 0.375rem));
  }
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  text-transform: lowercase;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.glass-pill:hover {
  color: var(--text-primary);
  border-color: var(--hover-border);
  background: var(--card-bg);
}

.icon-box {
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.icon-box img {
  height: 0.85rem;
  width: 0.85rem;
}

/* Footer Styles */
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.6875rem;
  color: var(--text-secondary);
}
