:root {
  --pink-main: #ffb7c5;
  --pink-deep: #d86a83;
  --pink-soft: #ffe4e9;
  --green-matcha: #a8d5ba;
  --green-dark: #4a7c59;
  --green-soft: #e8f5e9;
  --bg-dark: #120e14;
  --glass-bg: rgba(28, 20, 30, 0.75);
  --glass-border: rgba(255, 183, 197, 0.4);
  --text-light: #fcebf0;
  --text-muted: #b8a0ab;
  --shadow-pink: 0 0 25px rgba(255, 183, 197, 0.25);
  --shadow-green: 0 0 25px rgba(168, 213, 186, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
}

#bg3dCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 183, 197, 0.35) 0%, rgba(168, 213, 186, 0.15) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.08s ease-out;
}

.header-bar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 2rem;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-pink);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--pink-main);
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--green-matcha);
  text-shadow: 0 0 8px var(--green-matcha);
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 950px;
  width: 100%;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--shadow-pink);
  max-width: 800px;
  width: 100%;
}

.profile-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.8rem auto;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--pink-main);
  box-shadow: 0 0 20px rgba(255, 183, 197, 0.5);
  transition: transform 0.3s ease;
}

.profile-container:hover .profile-img {
  transform: scale(1.05);
  border-color: var(--green-matcha);
}

.upload-badge-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--pink-deep);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.2s;
}

.upload-badge-btn:hover {
  background: var(--green-dark);
}

.hero-card {
  text-align: center;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 183, 197, 0.15);
  color: var(--pink-main);
  border: 1px solid var(--pink-main);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 3rem;
  color: var(--pink-main);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(255, 183, 197, 0.4);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 183, 197, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--pink-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background: var(--pink-deep);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(216, 106, 131, 0.6);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-pink {
  background: var(--pink-deep);
  color: white;
  box-shadow: 0 0 20px rgba(216, 106, 131, 0.4);
}

.btn-pink:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(216, 106, 131, 0.6);
}

.btn-green {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 0 20px rgba(74, 124, 89, 0.4);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(74, 124, 89, 0.6);
}

.full-width {
  width: 100%;
}

.sub-tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.pink-text { color: var(--pink-main); }
.green-text { color: var(--green-matcha); }

.subtitle-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.vibe-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.vibe-pills span {
  background: rgba(168, 213, 186, 0.15);
  color: var(--green-matcha);
  border: 1px solid var(--green-matcha);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.gallery-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-pink);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--green-matcha);
  box-shadow: var(--shadow-green);
}

.img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.change-photo-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: var(--pink-main);
  border: 1px solid var(--pink-main);
  padding: 0.3rem 0.8rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.change-photo-btn:hover {
  background: var(--pink-deep);
  color: white;
}

.photo-info {
  padding: 1.2rem;
}

.photo-info h3 {
  font-size: 1.1rem;
  color: var(--pink-main);
  margin-bottom: 0.3rem;
}

.photo-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-card {
  text-align: center;
}

.emoji-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.contact-card h2 {
  color: var(--pink-main);
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.social-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-card {
  position: relative;
  background: rgba(255, 183, 197, 0.08);
  border: 1px solid var(--glass-border);
  padding: 1.2rem 1rem;
  border-radius: 18px;
  color: var(--pink-main);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.social-card:hover {
  background: var(--pink-deep);
  color: white;
  transform: translateY(-4px);
}

.delete-social-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.delete-social-btn:hover {
  opacity: 1;
  background: red;
}

.add-social-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--pink-main);
  border-radius: 20px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
}

.add-social-box h3 {
  font-size: 1rem;
  color: var(--pink-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(18, 14, 20, 0.8);
  color: var(--text-light);
  font-size: 0.88rem;
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--green-matcha);
  box-shadow: 0 0 10px rgba(168, 213, 186, 0.3);
}

footer {
  text-align: center;
  padding: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 183, 197, 0.15);
  position: relative;
  z-index: 2;
}
