/* CSS Variables & Global Resets */
:root {
  --bg-color: #0d1117;
  --card-bg: rgba(22, 27, 34, 0.75);
  --border-color: rgba(255, 255, 255, 0.1);
  --primary-accent: #58a6ff;
  --secondary-accent: #bc8cff;
  --text-main: #c9d1d9;
  --text-heading: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Glowing Animated Background Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  z-index: 0;
  animation: float 10s infinite alternate ease-in-out;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-accent);
  top: 10%;
  left: 15%;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: var(--secondary-accent);
  bottom: 10%;
  right: 15%;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-30px) scale(1.1);
  }
}

/* Glassmorphism Profile Container */
.container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 600px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

/* Avatar Styling */
.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem auto;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-accent);
  padding: 4px;
}

.status-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  background-color: #238636;
  border: 3px solid var(--bg-color);
  border-radius: 50%;
}

/* Headings & Text */
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
  height: 30px; /* Prevents layout shift during typing */
  font-weight: 600;
}

/* Interactive Bio Cards Grid */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

.bio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 12px;
  transition:
    background 0.3s,
    transform 0.2s;
}

.bio-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.bio-card i {
  font-size: 2rem;
  color: var(--secondary-accent);
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
}

.bio-card p {
  font-size: 0.85rem;
  color: var(--text-main);
}

.img-icon {
  width: auto;
  height: 2rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  object-fit: contain;
}

/* Primary GitHub CTA Button */
.github-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #238636, #2ea043);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(35, 134, 54, 0.4);
  transition: all 0.3s ease;
}

.github-btn:hover {
  background: linear-gradient(135deg, #2ea043, #3fb950);
  box-shadow: 0 6px 20px rgba(46, 160, 67, 0.6);
  transform: translateY(-2px);
}

.github-btn i {
  font-size: 1.25rem;
}
