/* === Reset & Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #a855f7 100%);
  min-height: 100vh;
  color: #333;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(88, 28, 135, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* === Hero/Profile === */
.hero {
  padding: 2rem 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px 8px 100px 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.2);
  max-width: 550px;
  width: 100%;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #581c87, #a855f7);
  border-radius: 24px 8px 0 0;
}

.avatar {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, #581c87, #a855f7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 15px 35px rgba(88,28,135,0.25);
  transition: transform 0.3s;
}
.avatar:hover { transform: scale(1.05); }
.avatar i { font-size: 3.5rem; color: #fff; }

.name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #581c87;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  transition: color 0.3s, transform 0.3s;
  text-align: center;
}
.name:hover { color: #a855f7; transform: scale(1.02); }

.title {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}

.email {
  font-size: 1rem;
  color: #581c87;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(88,28,135,0.07);
  border-radius: 12px;
  border: 2px solid rgba(88,28,135,0.12);
  transition: all 0.3s;
  margin-top: 1rem;
  box-shadow: 0 4px 18px rgba(88,28,135,0.12);
}
.email:hover {
  background: rgba(88,28,135,0.13);
  border-color: rgba(88,28,135,0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88,28,135,0.18);
}
.email i { font-size: 1.1rem; color: #581c87; }

/* === Social Links === */
.container {
  padding: 0 1rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.social-card {
  background: #fff;
  border-radius: 20px 8px 24px 12px;
  box-shadow: 0 8px 32px rgba(88,28,135,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  min-width: 140px; max-width: 160px;
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s;
}
.social-card:hover {
  box-shadow: 0 15px 35px rgba(88,28,135,0.18);
  border-color: rgba(168,85,247,0.25);
  transform: translateY(-8px) scale(1.04);
}
.social-card .icon { margin-bottom: 0.75rem; display: flex; align-items: center; justify-content: center; }
.social-card .icon i {
  font-size: 2.25rem;
  color: var(--brand-color);
  transition: color 0.3s, transform 0.3s;
}
.social-card:hover .icon i {
  color: var(--brand-color-dark);
  transform: scale(1.1);
}
.social-card .label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
  letter-spacing: -0.01em;
  transition: color 0.3s;
  text-align: center;
}
.social-card:hover .label { color: var(--brand-color-dark); }

.github {
  --brand-color: #374151;
  --brand-color-dark: #111827;
}
.medium {
  --brand-color: #059669;
  --brand-color-dark: #047857;
}
.linkedin {
  --brand-color: #0ea5e9;
  --brand-color-dark: #0284c7;
}
.instagram {
  --brand-color: #ec4899;
  --brand-color-dark: #db2777;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin-top: auto;
  font-weight: 500;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

/* === Animasyonlar === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero { padding: 1rem 0.5rem; }
  .profile { padding: 2rem 1.5rem; margin: 0 0.5rem 2rem; }
  .name { font-size: 2rem; }
  .avatar { width: 100px; height: 100px; }
  .avatar i { font-size: 2.5rem; }
  .container { padding: 1rem 0.5rem 1rem; }
  .social-links { gap: 0.75rem; margin-top: 0.5rem; }
  .social-card { min-width: 80px; max-width: 100px; padding: 1rem 0.75rem; }
}
@media (max-width: 480px) {
  .hero { padding: 0.75rem 0.25rem; }
  .profile { padding: 1.5rem 1rem; margin-bottom: 1.5rem; }
  .name { font-size: 1.8rem; margin-bottom: 0.25rem; }
  .title { font-size: 1rem; margin-bottom: 0.75rem; }
  .email { font-size: 0.9rem; padding: 0.625rem 1.25rem; margin-top: 0.75rem; }
  .avatar { width: 80px; height: 80px; margin-bottom: 1rem; }
  .avatar i { font-size: 2rem; }
  .container { padding: 0.75rem 0.25rem 1rem; }
  .social-links { margin-top: 0.5rem; }
  .social-card { min-width: 70px; max-width: 80px; padding: 0.75rem 0.5rem; }
  .social-card .icon i { font-size: 2rem; }
  .social-card .label { font-size: 0.75rem; }
}