:root {
  --bg: #0b0d10;
  --bg-inner: #1a1d23;
  --bg-card: #15181d;
  --bg-card-hover: #1c2027;
  --text: #f2f3f5;
  --text-muted: #9aa1ab;
  --accent: #f2b705;
  --border: #262a31;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--bg-inner) 0%, var(--bg) 60%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 24px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent), #b8860b);
  margin-bottom: 16px;
}

.profile h1 {
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.profile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 320px;
}

.links {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.live-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.6);
  animation: live-breathe 1.6s ease-in-out infinite;
}

@keyframes live-breathe {
  0%, 100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  50% { transform: scale(1.15); box-shadow: 0 0 8px 4px rgba(239, 68, 68, 0.35); }
}

.link-card:hover,
.link-card:focus-visible {
  background: var(--bg-card-hover);
  border-color: #3a3f48;
  transform: translateY(-1px);
}

.link-card.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #14161a;
  font-weight: 700;
}

.link-card.primary:hover,
.link-card.primary:focus-visible {
  background: #ffc61a;
  border-color: #ffc61a;
}

.link-card .icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-card .icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.link-card .label {
  flex: 1 1 auto;
  font-size: 15.5px;
  font-weight: 600;
}

.link-card .sub {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.link-card.primary .sub {
  color: #4a3d05;
}

footer {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  font-size: 12.5px;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal-page {
  width: 100%;
  max-width: 640px;
  text-align: left;
  align-self: center;
}

.legal-page h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.legal-page h2 {
  font-size: 17px;
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal-page p, .legal-page li {
  color: var(--text);
  opacity: 0.85;
  line-height: 1.6;
  font-size: 14.5px;
}

.legal-page .placeholder {
  color: var(--accent);
}

.legal-page a.back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-page a.back:hover {
  color: var(--text);
}
