:root {
  --bg: #080808;
  --fg: #f0f0f0;
  --brand: #c00936;
  --muted: #9297a3;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
}

@font-face {
  font-family: "Open Sans";
  src: url("font/OpenSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("font/OpenSans-Bold.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("font/OpenSans-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Open Sans", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  text-decoration: none;
  color: inherit;
}

main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  min-height: 100dvh;
  padding: 3.5rem 1.5rem;
}

/* ── Profile ── */

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.profile-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid rgba(192, 9, 54, 0.6);
  box-shadow:
    0 0 0 4px rgba(192, 9, 54, 0.12),
    0 0 24px rgba(192, 9, 54, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.6);
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.profile-info h1 {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background-clip: text;
}

.profile-divider {
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  margin: 0.1rem 0;
}

.profile-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ── Link cards ── */

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 200ms,
    border-color 200ms;
}

.link-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(192, 9, 54, 0.35);
}

.link-label {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.link-chevron {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 200ms;
}

.link-card:hover .link-chevron {
  opacity: 1;
}

/* ── Footer ── */

.footer {
  margin-top: auto;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.copyright {
  font-size: 0.625rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  font-size: 0.6875rem;
  color: var(--muted);
  list-style: none;
}

.footer-nav a:hover {
  color: var(--brand);
  transition: color 200ms;
}

/* ── Wiggle animation ── */

@keyframes wiggle {
  0%,
  80% {
    transform: rotate(0deg);
  }
  85% {
    transform: rotate(3deg);
  }
  95% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.wiggle {
  animation: wiggle 2.5s infinite;
}

.wiggle:hover {
  animation: none;
}
