* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000000; /* Saf siyah */
  color: #c8c8ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* MOR KARANLIK FİLTRE (ARKAPLANIN ÖNÜNDEKİ O KARA) */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, 
    rgba(30, 10, 60, 0.4) 0%, 
    rgba(10, 0, 30, 0.6) 50%, 
    rgba(0, 0, 0, 0.9) 100%
  );
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(1px);
}

.container {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2; /* Kart, mor filtrenin üstünde */
}

.profile-card {
  background: rgba(8, 8, 15, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(70, 50, 200, 0.12);
  border: 1.5px solid rgba(70, 60, 180, 0.25);
  transition: all 0.4s ease;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(80, 60, 220, 0.18);
}

.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  background: linear-gradient(45deg, #6a5aff, #8a7aff) border-box;
  padding: 3px;
  box-shadow: 
    0 0 28px rgba(100, 80, 255, 0.35),
    inset 0 0 18px rgba(0, 0, 0, 0.6);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
}

h1 {
  font-size: 1.85rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #7a6eff, #b0a0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.bio {
  font-size: 0.94rem;
  opacity: 0.82;
  margin-bottom: 30px;
  line-height: 1.65;
  color: #a8a8d8;
  font-weight: 400;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  transition: all 0.35s ease;
  background: rgba(18, 18, 38, 0.65);
  border: 1px solid rgba(75, 75, 190, 0.3);
  color: #e8e8ff;
  backdrop-filter: blur(6px);
}

.social-btn i {
  font-size: 1.45rem;
}

.social-btn:hover {
  transform: translateY(-4px);
  background: rgba(35, 35, 75, 0.45);
  border-color: rgba(110, 100, 255, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.instagram { color: #E4405F; }
.twitter   { color: #1DA1F2; }
.github    { color: #d8d8d8; }
.linkedin  { color: #0A66C2; }
.youtube   { color: #FF0000; }

.instagram:hover { background: rgba(228, 64, 95, 0.09); }
.twitter:hover   { background: rgba(29, 161, 242, 0.09); }
.github:hover    { background: rgba(255, 255, 255, 0.05); }
.linkedin:hover  { background: rgba(10, 102, 194, 0.09); }
.youtube:hover   { background: rgba(255, 0, 0, 0.09); }

.edit-btn {
  background: linear-gradient(135deg, #6a5aff, #8a7aff);
  color: white;
  border: none;
  padding: 13px 32px;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(100, 80, 255, 0.38);
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.edit-btn:hover {
  background: linear-gradient(135deg, #5a4aff, #7a6aff);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 26px rgba(100, 80, 255, 0.48);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #080810;
  padding: 36px;
  border-radius: 24px;
  width: 90%;
  max-width: 420px;
  border: 1.5px solid rgba(75, 65, 200, 0.3);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 1001;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 15px;
  margin: 13px 0;
  border-radius: 14px;
  border: 1px solid rgba(85, 85, 210, 0.35);
  background: rgba(22, 22, 48, 0.55);
  color: #e8e8ff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #7a6eff;
  background: rgba(32, 32, 65, 0.65);
  box-shadow: 0 0 0 3px rgba(120, 100, 255, 0.32);
}

.modal-content button {
  background: linear-gradient(135deg, #7a6eff, #9a8aff);
  color: white;
  border: none;
  padding: 13px 26px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 18px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px rgba(120, 100, 255, 0.35);
}

.modal-content button:hover {
  background: linear-gradient(135deg, #6a5aff, #8a7aff);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(120, 100, 255, 0.45);
}

.close {
  float: right;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.close:hover { 
  color: #bbb; 
}
