* { box-sizing: border-box; }
.link-page { --lp-bg: #0f1115; --lp-surface: #161a21; --lp-raised: #1d222b; --lp-border: #262c37; --lp-text: #e7e9ec; --lp-muted: #99a1ad; --lp-accent: #c10000; --lp-accent-bright: #f2483c; min-height: 100vh; margin: 0; color: var(--lp-text); background-color: var(--lp-bg); background-image: radial-gradient(circle at 11% 5%, rgba(255,255,255,.82) 0 1px, transparent 1.7px), radial-gradient(circle at 82% 8%, rgba(242,72,60,.72) 0 1px, transparent 1.8px), radial-gradient(circle at 91% 21%, rgba(245,191,72,.78) 0 1px, transparent 1.8px), radial-gradient(circle at 8% 31%, rgba(255,255,255,.64) 0 .8px, transparent 1.6px), radial-gradient(circle at 87% 43%, rgba(242,72,60,.58) 0 .8px, transparent 1.7px), radial-gradient(circle at 14% 61%, rgba(245,191,72,.66) 0 1px, transparent 1.8px), radial-gradient(circle at 93% 76%, rgba(255,255,255,.66) 0 .8px, transparent 1.6px), radial-gradient(circle at 34% 91%, rgba(242,72,60,.52) 0 .8px, transparent 1.7px), linear-gradient(155deg, #181923 0%, #1b171d 52%, #111318 100%); background-attachment: fixed; background-size: 100% 100%; background-repeat: no-repeat; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.link-page__main { width: min(100% - 32px, 620px); margin: 0 auto; padding: 48px 0 28px; }
.profile { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 32px; }
.profile__avatar { width: 88px; height: 88px; object-fit: contain; border-radius: 50%; background: #fff; padding: 8px; }
.profile h1 { margin: 18px 0 6px; color: var(--lp-text); font-size: 22px; line-height: 1.25; font-weight: 750; }
.profile p { margin: 0; color: var(--lp-muted); font-size: 15px; line-height: 1.5; }
.link-list { display: grid; gap: 12px; }
.link-section-title { display: flex; align-items: center; gap: 9px; margin: 24px 0 0; padding: 0 0 10px; color: var(--lp-text); border-bottom: 1px solid var(--lp-border); font-size: 16px; line-height: 1.35; font-weight: 700; }
.link-section-title svg { flex: 0 0 20px; color: var(--lp-accent-bright); fill: currentColor; }
.link-card { display: flex; align-items: center; min-height: 68px; gap: 14px; padding: 11px 15px; color: inherit; text-decoration: none; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 8px; transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
.link-card:hover, .link-card:focus-visible { transform: translateY(-2px); background: var(--lp-raised); border-color: var(--lp-accent-bright); outline: none; }
.link-card__mark { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; color: var(--lp-accent-bright); background: var(--lp-raised); border: 1px solid var(--lp-border); border-radius: 50%; font-weight: 750; }
.link-card__mark svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; overflow: hidden; fill: currentColor; }
.link-card__mark--facebook { color: #1877f2; }
.link-card__mark--linkedin { color: #0a66c2; }
.link-card__mark--instagram { color: #e4405f; }
.link-card__mark--youtube { color: #ff3d32; }
.link-card__mark--whatsapp { color: #25d366; }
.link-card__mark--telegram { color: #2aabee; }
.link-card__mark--pinterest { color: #e60023; }
.link-card__mark--twitch { color: #a970ff; }
.link-card__mark--tiktok { color: #25f4ee; }
.link-card__copy { display: grid; min-width: 0; gap: 3px; flex: 1; }
.link-card__copy strong { color: var(--lp-text); font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.link-card__copy > span { color: var(--lp-muted); font-size: 13px; line-height: 1.35; }
.link-card__arrow { flex: 0 0 auto; color: var(--lp-muted); font-size: 20px; }
.link-card--featured { min-height: 96px; padding: 10px; border-color: #393038; }
.link-card--featured:hover { border-color: var(--lp-accent-bright); }
.link-card__thumb { width: 112px; height: 63px; object-fit: cover; border-radius: 5px; background: var(--lp-raised); }
.link-card--social { min-height: 58px; }
.share-row { display: flex; justify-content: center; padding: 22px 0 0; }
.share-button { border: 1px solid var(--lp-border); background: transparent; color: var(--lp-text); border-radius: 999px; padding: 9px 17px; font: inherit; cursor: pointer; }
.share-button:hover, .share-button:focus-visible { background: var(--lp-raised); border-color: var(--lp-accent-bright); outline: 2px solid var(--lp-accent-bright); outline-offset: 2px; }
.link-admin { max-width: 1100px; margin: 0 auto; padding: 24px; }
.link-admin__form { display: grid; gap: 24px; }
.link-admin__section { padding: 18px 0; border-top: 1px solid var(--color-border, #262c37); }
.link-admin__section h2 { margin: 0 0 16px; font-size: 19px; }
.link-admin__item { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0 0 16px; padding: 16px; border: 1px solid var(--color-border, #262c37); border-radius: var(--radius, 8px); background: var(--color-surface, #161a21); }
.link-admin__item legend { padding: 0 6px; font-weight: 650; }
.link-admin__item label, .link-admin__section > label:not(.link-admin__toggle) { display: grid; gap: 6px; font-size: 14px; }
.link-admin__section > label:not(.link-admin__toggle) { margin-bottom: 14px; }
.link-admin :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea) { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); color: var(--color-text); font: inherit; transition: border-color var(--duration-fast) var(--ease-out-expo), box-shadow var(--duration-fast) var(--ease-out-expo), background-color var(--duration-fast) var(--ease-out-expo); }
.link-admin :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea)::placeholder { color: var(--color-text-muted); opacity: 1; }
.link-admin :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea):focus-visible { border-color: var(--color-accent); outline: 2px solid color-mix(in srgb, var(--color-accent) 24%, transparent); outline-offset: 2px; box-shadow: var(--shadow-glow); }
.link-admin :is(input, select, textarea):disabled { opacity: .6; cursor: not-allowed; }
.link-admin input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--color-accent); cursor: pointer; }
.link-admin__toggle { display: flex !important; grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px !important; }
@media (max-width: 520px) { .link-page__main { width: min(100% - 24px, 620px); padding-top: 32px; } .link-card { gap: 10px; padding-inline: 12px; } .link-card__thumb { width: 88px; height: 56px; } .link-admin { padding: 16px; } .link-admin__item { grid-template-columns: 1fr; padding: 12px; } }
.link-page { position: relative; isolation: isolate; background-image: linear-gradient(155deg, #181923 0%, #1b171d 52%, #111318 100%); }
.link-page::before, .link-page::after { content: ""; position: fixed; inset: -8px; z-index: 0; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.link-page::before { background-image: radial-gradient(circle at 11% 5%, rgba(255,255,255,.82) 0 1px, transparent 1.7px), radial-gradient(circle at 91% 21%, rgba(245,191,72,.78) 0 1px, transparent 1.8px), radial-gradient(circle at 87% 43%, rgba(242,72,60,.58) 0 .8px, transparent 1.7px), radial-gradient(circle at 93% 76%, rgba(255,255,255,.66) 0 .8px, transparent 1.6px); opacity: .64; }
.link-page::after { background-image: radial-gradient(circle at 82% 8%, rgba(242,72,60,.72) 0 1px, transparent 1.8px), radial-gradient(circle at 8% 31%, rgba(255,255,255,.64) 0 .8px, transparent 1.6px), radial-gradient(circle at 14% 61%, rgba(245,191,72,.66) 0 1px, transparent 1.8px), radial-gradient(circle at 34% 91%, rgba(242,72,60,.52) 0 .8px, transparent 1.7px); opacity: .52; }
@media (prefers-reduced-motion: no-preference) {
  .link-page::before { animation: link-stars-drift-a 26s ease-in-out infinite alternate; }
  .link-page::after { animation: link-stars-drift-b 34s ease-in-out infinite alternate; }
}
@keyframes link-stars-drift-a { from { transform: translate3d(-2px, 3px, 0); opacity: .38; } to { transform: translate3d(2px, -4px, 0); opacity: .9; } }
@keyframes link-stars-drift-b { from { transform: translate3d(2px, -3px, 0); opacity: .35; } to { transform: translate3d(-2px, 4px, 0); opacity: .78; } }
.link-page__main { position: relative; z-index: 1; }
.profile__logo { display: block; width: min(187px, 72vw); height: auto; object-fit: contain; filter: drop-shadow(0 4px 18px color-mix(in srgb, var(--lp-accent-bright) 28%, transparent)); }
/* Individual twinkles read as motion more clearly than a single moving star layer. */
.link-page::before, .link-page::after { content: none; animation: none; }
.link-page__starfield { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.link-page__star { position: absolute; top: var(--star-y); left: var(--star-x); width: 2px; height: 2px; border-radius: 50%; color: #fff; background: currentColor; opacity: .78; box-shadow: 0 0 5px currentColor, 0 0 12px color-mix(in srgb, currentColor 70%, transparent); animation: link-star-twinkle var(--star-duration, 4.8s) ease-in-out var(--star-delay, 0s) infinite; }
.link-page__star--gold, .link-page__star--red { width: 3px; height: 3px; }
.link-page__star--gold { color: #f5bf48; }
.link-page__star--red { color: #f2483c; }
@keyframes link-star-twinkle { 0%, 100% { opacity: .28; transform: translate3d(0, 0, 0) scale(.55); } 50% { opacity: 1; transform: translate3d(var(--star-dx, 6px), var(--star-dy, -8px), 0) scale(1.65); } }
@media (prefers-reduced-motion: reduce) { .link-page__star { animation: none; opacity: .82; transform: none; } }
.link-page__star:nth-child(1) { --star-x: 47%; --star-y: 3%; --star-duration: 4.1s; --star-delay: -1.5s; --star-dx: 4px; --star-dy: 10px; }
.link-page__star:nth-child(2) { --star-x: 82%; --star-y: 8%; --star-duration: 5.3s; --star-delay: -2.4s; --star-dx: -6px; --star-dy: 12px; }
.link-page__star:nth-child(3) { --star-x: 91%; --star-y: 21%; --star-duration: 4.7s; --star-delay: -.7s; --star-dx: 8px; --star-dy: -9px; }
.link-page__star:nth-child(4) { --star-x: 8%; --star-y: 31%; --star-duration: 3.9s; --star-delay: -2.8s; --star-dx: 7px; --star-dy: 7px; }
.link-page__star:nth-child(5) { --star-x: 87%; --star-y: 43%; --star-duration: 6s; --star-delay: -3.6s; --star-dx: -9px; --star-dy: 7px; }
.link-page__star:nth-child(6) { --star-x: 14%; --star-y: 61%; --star-duration: 4.4s; --star-delay: -1.1s; --star-dx: 8px; --star-dy: -9px; }
.link-page__star:nth-child(7) { --star-x: 93%; --star-y: 76%; --star-duration: 5.7s; --star-delay: -2.1s; --star-dx: -8px; --star-dy: -8px; }
.link-page__star:nth-child(8) { --star-x: 34%; --star-y: 91%; --star-duration: 4.9s; --star-delay: -1.8s; --star-dx: 10px; --star-dy: -7px; }
.link-page__star:nth-child(9) { --star-x: 22%; --star-y: 17%; --star-duration: 4.3s; --star-delay: -2.9s; --star-dx: -6px; --star-dy: 8px; }
.link-page__star:nth-child(10) { --star-x: 74%; --star-y: 34%; --star-duration: 5.1s; --star-delay: -.9s; --star-dx: 9px; --star-dy: 7px; }
.link-page__star:nth-child(11) { --star-x: 56%; --star-y: 67%; --star-duration: 6.3s; --star-delay: -4s; --star-dx: -8px; --star-dy: -10px; }
.link-page__star:nth-child(12) { --star-x: 68%; --star-y: 88%; --star-duration: 4.6s; --star-delay: -3.1s; --star-dx: 6px; --star-dy: -8px; }
.link-page__star--dynamic { top: var(--star-y); left: var(--star-x); width: var(--star-size, 2px); height: var(--star-size, 2px); opacity: 0; animation: link-star-drift var(--star-duration, 9s) linear var(--star-delay, 0s) infinite; will-change: transform, opacity; }
@keyframes link-star-drift {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.4); }
  20% { opacity: .92; transform: translate3d(var(--star-mid-x), var(--star-mid-y), 0) scale(1.25); }
  68% { opacity: .58; transform: translate3d(var(--star-dx), var(--star-dy), 0) scale(.85); }
  100% { opacity: 0; transform: translate3d(var(--star-dx), var(--star-dy), 0) scale(.35); }
}
@media (prefers-reduced-motion: reduce) { .link-page__star--dynamic { animation: none; opacity: .65; transform: none; will-change: auto; } }
