/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #0c0714;
  --text-main: #f3f1f5;
  --text-muted: #a69bb6;
  --accent-pink: #d946ef;
  --accent-purple: #8b5cf6;
  --glass-bg: rgba(25, 17, 36, 0.65);
  --glass-border: rgba(217, 70, 239, 0.15);
  --glass-border-hover: rgba(217, 70, 239, 0.4);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-x: hidden;
  position: relative;
}

/* Background glowing circles */
.glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.45;
}

.glow-1 {
  background-color: var(--accent-pink);
  top: -100px;
  left: -100px;
}

.glow-2 {
  background-color: var(--accent-purple);
  bottom: -100px;
  right: -100px;
}

/* Container */
.container {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile Header */
.profile-header {
  text-align: center;
  margin-bottom: 35px;
}

.avatar-container {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 15px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-pink);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.4);
}

.online-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  background-color: #22c55e;
  border: 3px solid var(--bg-color);
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-green 2s infinite;
}

.profile-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  background: linear-gradient(to right, #ffffff, #f4b5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-bio {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}

/* Section Divider */
.section-divider {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-pink);
  margin: 30px 0 15px;
  position: relative;
  opacity: 0.9;
}

/* Links List */
.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Link Card */
.link-card {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 30px rgba(217, 70, 239, 0.2);
  background: rgba(43, 26, 61, 0.75);
}

.link-card:active {
  transform: scale(0.98);
}

/* Card Internals */
.link-icon {
  font-size: 1.8rem;
  margin-right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.link-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.3;
}

.link-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.25);
}

.link-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: 10px;
  background-color: rgba(34, 197, 94, 0.08);
}

.chat-bot .link-badge {
  color: var(--accent-pink);
  border-color: rgba(217, 70, 239, 0.3);
  background-color: rgba(217, 70, 239, 0.08);
}

/* Animations & Highlights */
.highlight {
  border-color: rgba(217, 70, 239, 0.4);
  background: rgba(217, 70, 239, 0.05);
}

.pulse {
  animation: border-pulse 2.5s infinite;
}

/* Keyframes */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes border-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.3);
    border-color: rgba(217, 70, 239, 0.2);
  }
  50% {
    box-shadow: 0 0 15px 4px rgba(217, 70, 239, 0.15);
    border-color: rgba(217, 70, 239, 0.7);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.3);
    border-color: rgba(217, 70, 239, 0.2);
  }
}

/* Page Footer */
.page-footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.75rem;
  color: #635873;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  body {
    padding: 25px 15px;
  }
  .link-card {
    padding: 14px 16px;
  }
  .link-icon {
    font-size: 1.6rem;
    margin-right: 12px;
  }
  .link-title {
    font-size: 0.95rem;
  }
  .link-subtitle {
    font-size: 0.75rem;
  }
  .link-price {
    font-size: 0.9rem;
    padding: 4px 10px;
  }
}
