:root { color-scheme: dark; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; background: #140d17; color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffd3e8; outline-offset: 4px; }
.backdrop { position: fixed; inset: 0; overflow: hidden; z-index: -1; background: radial-gradient(circle at 50% 5%, #66435a 0, #251626 43%, #110b14 100%); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; filter: saturate(.88); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,9,18,.48) 0%, rgba(17,9,18,.68) 45%, rgba(17,9,18,.84) 100%); }
.page { width: min(100% - 36px, 540px); min-height: 100vh; margin: 0 auto; padding: 42px 0 25px; display: flex; flex-direction: column; align-items: stretch; }
.profile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.avatar { width: 110px; height: 110px; border: 3px solid rgba(255,255,255,.95); border-radius: 50%; padding: 4px; box-shadow: 0 14px 44px rgba(0,0,0,.32); background: rgba(255,255,255,.1); display: grid; place-items: center; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar span { font-size: 2.6rem; color: #ffd2e8; }
.eyebrow { margin: 24px 0 8px; color: #f8d1e6; font-size: .75rem; font-weight: 800; letter-spacing: .2em; }
.eyebrow span { padding: 0 .45em; }
h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 3.3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.055em; text-shadow: 0 3px 24px rgba(0,0,0,.18); overflow-wrap: anywhere; }
.handle { margin: 8px 0 0; color: #f3dce8; font-size: 1rem; font-weight: 550; }
.bio { max-width: 420px; margin: 18px 0 0; color: #fff3fa; font-size: 1.06rem; line-height: 1.55; text-wrap: pretty; }
.links { display: grid; gap: 18px; margin-top: 36px; }
.link-card { position: relative; display: block; min-height: 188px; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; overflow: hidden; isolation: isolate; background: linear-gradient(125deg, #6d3f60 0%, #37203e 50%, #1a1221 100%); text-decoration: none; color: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.25), 0 0 0 4px rgba(255,255,255,.06); transition: transform .2s ease, box-shadow .2s ease; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 24px 55px rgba(0,0,0,.3), 0 0 0 4px rgba(255,255,255,.08); }
.link-card:active { transform: translateY(0); }
.link-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; transition: transform .35s ease; }
.link-card:hover img { transform: scale(1.035); }
.card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,7,14,.08) 0%, rgba(12,7,14,.18) 38%, rgba(12,7,14,.78) 100%); }
.card-content { position: absolute; left: 22px; right: 68px; bottom: 20px; display: grid; gap: 4px; }
.card-content strong { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
.card-content small { font-size: .95rem; color: #f6eaf0; line-height: 1.35; overflow-wrap: anywhere; }
.card-corner { position: absolute; right: 21px; bottom: 20px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; }
.empty { padding: 32px 20px; border: 1px solid rgba(255,255,255,.35); border-radius: 22px; text-align: center; color: #f8dce8; background: rgba(255,255,255,.07); font-size: 1rem; }
footer { margin-top: auto; padding: 38px 0 0; text-align: center; color: #d3bfcc; font-size: .78rem; letter-spacing: .04em; }
.modal[hidden] { display: none; }
.gate-screen { background: radial-gradient(circle at 50% 5%, #66435a 0, #251626 43%, #110b14 100%); }
.modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(9,5,12,.8); backdrop-filter: blur(8px); }
.modal-panel { width: min(100%, 420px); padding: 34px; background: #241829; border: 1px solid #ad839e; border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.45); text-align: center; }
.modal-mark { display: inline-grid; place-items: center; width: 57px; height: 57px; border: 1px solid #dfb3cf; border-radius: 50%; color: #ffd2e7; font-weight: 800; }
.modal h1, .modal h2 { margin: 16px 0 8px; font-size: 1.7rem; line-height: 1.2; letter-spacing: -.02em; }
.modal p { color: #ead7e4; font-size: 1rem; line-height: 1.5; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; }
.modal-actions > * { flex: 1; display: grid; place-items: center; min-width: 0; min-height: 46px; padding: 8px; border: 1px solid #bb9aaf; border-radius: 12px; background: transparent; color: #fff; font: inherit; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; }
.modal-actions .accept { color: #271521; background: #ffd2e7; border-color: #ffd2e7; }
@media (max-width: 600px) { .page { width: min(100% - 28px, 540px); padding-top: 30px; } .avatar { width: 96px; height: 96px; } .links { margin-top: 30px; gap: 14px; } .link-card { min-height: 168px; border-radius: 19px; } .card-content { left: 18px; bottom: 18px; } .card-corner { right: 17px; bottom: 17px; } .bio { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .link-card, .link-card img { transition: none; } }
