@import url('https://fonts.bunny.net/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --accent: 264 92% 62%;
  --accent-2: 222 100% 61%;
  --radius-xl: 1.25rem;
  --card-bg: 255 25% 98%;
  --text-gradient-from: hsl(264 92% 56%);
  --text-gradient-to: hsl(222 100% 56%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  html:not([data-bs-theme="light"]) {
    color-scheme: dark;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  min-height: 100dvh;
}

.bg-accent-gradient {
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 80% -10%, hsl(var(--accent) / 0.25), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, hsl(var(--accent-2) / 0.22), transparent 55%);
  filter: blur(1px);
}

@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  .bg-accent-gradient {
    opacity: 0.85;
    filter: blur(0.6px) brightness(0.95);
  }
}

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}

.text-gradient {
  background: linear-gradient(90deg, var(--text-gradient-from), var(--text-gradient-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

[data-bs-theme="dark"] .btn-icon {
  background-color: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.08);
}

.link-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  background: hsl(var(--card-bg));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  transition:
    transform 0.08s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.link-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    hsl(var(--accent) / 0.22),
    hsl(var(--accent-2) / 0.22)
  );
}

.link-card .label {
  font-weight: 600;
}

.link-card .badge {
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-2)));
  border: none;
}

.link-card:hover {
  transform: translateY(-1px);
  border-color: hsl(var(--accent) / 0.35);
}

[data-bs-theme="dark"] {
  --card-bg: 222 18% 10%;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .profile-img {
  border-color: rgba(255, 255, 255, 0.25);
}

[data-bs-theme="dark"] .link-card {
  color: #e8e8e8;
  background: hsl(var(--card-bg));
  border-color: rgba(255, 255, 255, 0.08);
}

.chevron {
  opacity: 0.5;
}

.link-card:hover .chevron {
  opacity: 0.9;
}

@media (max-width: 420px) {
  .profile-img {
    width: 108px;
    height: 108px;
  }
}

:root[data-bs-theme="dark"] body {
  background-color: #0f1216;
}

:root[data-bs-theme="dark"] .bg-accent-gradient {
  filter: blur(2px) brightness(0.9);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  opacity: 0.85;
  font-size: 0.85rem;
}

.footer a {
  text-decoration: none;
  transition: color 0.15s;
}

.footer a:hover {
  color: hsl(var(--accent));
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="light"] .footer-copy {
  color: rgba(0, 0, 0, 0.55);
}