:root {
  color-scheme: dark;
  --bg: #03001e;
  --panel: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #8b5cf6;
  --accent-two: #ec4899;
  --accent-three: #06b6d4;
  --border: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.18), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15), transparent 45%),
    linear-gradient(135deg, #020205 0%, #08071a 50%, #110c2e 100%);
  overflow: auto;
}

.background-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.glow-one {
  width: 260px;
  height: 260px;
  background: var(--accent);
  top: -40px;
  left: -60px;
}

.glow-two {
  width: 320px;
  height: 320px;
  background: var(--accent-two);
  right: -80px;
  top: 120px;
}

.glow-three {
  width: 220px;
  height: 220px;
  background: var(--accent-three);
  bottom: -40px;
  left: 35%;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
}

.hero-content {
  position: relative;
  flex: 1.4;
  padding: 50px 40px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 20, 36, 0.45), rgba(15, 20, 36, 0.25)),
    linear-gradient(120deg, rgba(255, 107, 107, 0.18), transparent 50%, rgba(45, 212, 191, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 50px rgba(8, 11, 31, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.visual-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ec4899 0%, #8b5cf6 40%, #06b6d4 100%);
  top: -60px;
  right: -30px;
  opacity: 0.45;
  transform: rotate(12deg);
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.25);
  filter: blur(24px);
}

.visual-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(255,255,255,0.42);
  border-radius: 50%;
  right: -110px;
  bottom: -120px;
  box-shadow: inset 0 0 30px rgba(255,255,255,0.08);
}

h1 {
  margin: 0 0 42px;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.25;
  max-width: 100%;
  z-index: 1;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 107, 0.4);
  text-align: center;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1 {
    background: linear-gradient(135deg, #ffffff 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(139, 92, 246, 0.35));
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    line-height: 1.25;
  }
}

.lead {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--muted);
  z-index: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.95;
  text-align: center;
  padding: 8px 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.profile-card {
  position: relative;
  flex: 1.1;
  padding: 50px 40px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(120deg, rgba(45, 212, 191, 0.08), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 50px rgba(5, 7, 13, 0.35);
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 24px 60px rgba(5, 7, 13, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.06)),
    linear-gradient(120deg, rgba(45, 212, 191, 0.12), transparent 60%);
}

.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.github-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent-three), rgba(45, 212, 191, 0.3));
  color: #fff;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover .github-icon-wrapper {
  transform: scale(1.08) rotate(-6deg);
}

.profile-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-text h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.profile-text p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.4;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  justify-content: center;
}

.profile-btn:hover {
  background: var(--text);
  color: #06070d;
  border-color: var(--text);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.profile-btn:hover .arrow-icon {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  body {
    overflow-y: auto;
  }

  .hero {
    flex-direction: column;
    padding: 24px 16px;
    gap: 20px;
  }

  .hero-content {
    min-height: auto;
    padding: 32px 20px;
  }

  .visual-orb {
    width: 180px;
    height: 180px;
  }

  .visual-ring {
    width: 260px;
    height: 260px;
  }

  .profile-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    gap: 16px;
    text-align: left;
  }

  .profile-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
  }

  .github-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .github-icon {
    width: 22px;
    height: 22px;
  }

  .profile-text h2 {
    font-size: 1.2rem;
  }

  .profile-text p {
    font-size: 0.85rem;
  }

  .profile-btn {
    width: auto;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}
