:root {
  --bg-color-1: #ffd6d6;
  --bg-color-2: #ffe9d6;
  --bg-color-3: #f5f0ec;
  --text-main: #4a3c3c;
  --text-light: #7a6a6a;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
  --accent: #d88c8c;
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(135deg, var(--bg-color-1), var(--bg-color-2));
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.glass-container {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 3rem 2rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-image-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #fff, var(--accent));
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 20px rgba(216, 140, 140, 0.3);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #332828;
}

h2 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bio {
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.bio p {
  margin-bottom: 1rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

.illustration-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.illustration {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.illustration-container:hover .illustration {
  transform: scale(1.05);
}

.links-section {
  width: 100%;
}

.links-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.links-section h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0 auto;
  border-radius: 2px;
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.link-card i {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(216, 140, 140, 0.15);
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
}

.link-card:hover i {
  transform: scale(1.2);
}

.link-card:hover::before {
  left: 100%;
}

@media (max-width: 480px) {
  .glass-container {
    padding: 2rem 1.5rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .bio {
    font-size: 0.95rem;
  }
}
