* { box-sizing: border-box; }
:root { color-scheme: dark; --glass: rgba(18, 16, 25, .66); --line: rgba(222, 204, 255, .34); }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: #fff; background: #09080d;
  font-family: "DM Sans", Arial, sans-serif; overflow-x: hidden;
}
.backdrop {
  position: fixed; inset: 0; z-index: -2;
  background: url("assets/avatar.webp") center 24% / cover no-repeat;
  filter: blur(18px) brightness(.29) saturate(.72); transform: scale(1.12);
}
.shade {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 18%, rgba(25,18,35,.15), rgba(0,0,0,.76) 72%),
              linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.72));
}
.page { width: min(100% - 32px, 560px); margin: 0 auto; padding: 54px 0 112px; }
.profile { text-align: center; }
.avatar-ring {
  width: 154px; height: 154px; padding: 4px; margin: 0 auto 22px;
  border-radius: 50%; background: linear-gradient(140deg, #fff, #bda4db 42%, #51445f);
  box-shadow: 0 0 35px rgba(196,166,235,.25);
}
.avatar { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; border-radius: 50%; border: 3px solid #15121a; }
.eyebrow { margin: 0 0 8px; color: #d6c5ec; font-size: 10px; letter-spacing: .32em; font-weight: 700; }
h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 8vw, 39px); letter-spacing: .035em; text-shadow: 0 3px 18px #000; }
.intro { max-width: 390px; margin: 12px auto 15px; color: #eee9f4; font-size: 15px; line-height: 1.65; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; background: rgba(255,255,255,.07); color: #e4ddec; font-size: 11px; letter-spacing: .08em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #b8f3c8; box-shadow: 0 0 10px #8be9aa; }
.links-section { margin-top: 48px; text-align: center; }
h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 25px; letter-spacing: .035em; }
.section-note { margin: 8px 0 22px; color: #c9c2d0; font-size: 13px; }
.links { display: grid; gap: 15px; }
.link-card {
  min-height: 68px; display: flex; align-items: center; gap: 15px; padding: 0 19px;
  color: #fff; text-decoration: none; font-size: 16px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(20,17,27,.76) 45%, rgba(255,255,255,.09));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.25), 0 8px 25px rgba(0,0,0,.25), 0 0 13px rgba(192,164,226,.13);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.link-card:active { transform: scale(.985); }
.link-card:hover { transform: translateY(-2px); border-color: rgba(235,219,255,.75); box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 20px rgba(192,164,226,.22); }
.link-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); font-size: 20px; font-weight: 700; }
.link-icon.messenger { font-size: 16px; }
.link-icon.tiktok { font-size: 24px; }
.link-icon.zalo { font-size: 15px; }
.link-arrow { margin-left: auto; color: #d8c8ed; font-size: 20px; font-weight: 400; }
footer { margin-top: 48px; text-align: center; color: #e7dfed; }
.footer-line { height: 1px; background: rgba(255,255,255,.62); margin-bottom: 22px; }
footer p { margin: 5px 0; font-size: 12px; letter-spacing: .12em; }
.footer-sub { color: #aaa1b4; letter-spacing: .04em; }
.music-control {
  position: fixed; right: 16px; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 9px;
  padding: 7px 11px 7px 7px; border: 1px solid rgba(235,220,255,.35); border-radius: 99px;
  background: rgba(20,17,27,.78); box-shadow: 0 5px 24px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.15);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.music-button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: #17121e; background: linear-gradient(135deg,#fff,#c7addf); font-size: 22px; cursor: pointer; }
.music-button.playing span { display: inline-block; animation: pulse 1.1s ease-in-out infinite; }
.volume-wrap { display: flex; align-items: center; gap: 7px; }
.volume-symbol { color: #e9dff4; font-size: 17px; }
input[type="range"] { width: 78px; accent-color: #d4b9f0; cursor: pointer; }
.music-hint { position: fixed; right: 18px; bottom: 72px; z-index: 4; padding: 7px 11px; border-radius: 9px; background: rgba(0,0,0,.62); color: #eee; font-size: 11px; opacity: .85; transition: opacity .4s; }
.music-hint.hidden { opacity: 0; pointer-events: none; }
@keyframes pulse { 50% { transform: scale(1.18); } }
@media (min-width: 700px) { .page { padding-top: 70px; } .links-section { margin-top: 55px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
