/* Base styles - iOS Linktree aesthetic */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #000000;
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-bg-hover: rgba(255, 255, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --accent: #0a84ff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  background: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
}

/* Full-width header background - stays visible on scroll */
.header-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: url('../img/bg.jpg') center/cover no-repeat;
  z-index: -1;
}

.header-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg-color));
}

/* Content container */
.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 20px;
  padding-top: 35vh; /* Push content below header area */
}

/* Profile section */
.profile-section {
  text-align: center;
  margin-bottom: 40px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
}

.name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Links section */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.link-btn {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--card-bg);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-btn:hover {
  background: var(--card-bg-hover);
  transform: scale(1.02);
}

.link-btn i:first-child {
  font-size: 22px;
  width: 32px;
  color: var(--text-primary);
}

.link-btn span {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
  padding-left: 12px;
}

.link-btn i:last-child {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--card-bg);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  background: var(--card-bg-hover);
  transform: scale(1.1);
}

/* Footer */
footer {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  opacity: 0.6;
}

/* iOS-style button press effect */
@media (hover: none) and (pointer: coarse) {
  .link-btn:active {
    transform: scale(0.98);
  }
  
  .social-icons a:active {
    transform: scale(0.95);
  }
}

/* Mobile optimizations */
@media (max-width: 480px) {
  .content {
    padding-top: 30vh;
  }
  
  .profile-photo {
    width: 100px;
    height: 100px;
  }
  
  .name {
    font-size: 24px;
  }
  
  .link-btn {
    padding: 14px 16px;
  }
  
  .link-btn span {
    font-size: 16px;
  }
}