@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;600;700&family=Inter:wght@400;600;700;800&display=swap');

:root {
  --background: #070707;
  --line: rgba(255, 255, 255, 0.09);
  --muted: #929292;
  --text: #f5f2ef;
  --red: #ff3434;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Inter, Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-shell {
  --mouse-x: 50vw;
  --mouse-y: 40vh;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 17%, rgba(138, 0, 0, 0.18), transparent 32%), linear-gradient(180deg, #111 0%, #070707 76%);
  isolation: isolate;
}

.web-lines {
  position: fixed;
  inset: -12%;
  z-index: -3;
  background-image:
    repeating-radial-gradient(circle at 50% 8%, transparent 0 74px, rgba(255, 55, 55, 0.075) 75px 76px, transparent 77px 148px),
    repeating-conic-gradient(from 0deg at 50% 8%, rgba(255, 65, 65, 0.11) 0deg 0.35deg, transparent 0.35deg 20deg);
  mask-image: radial-gradient(ellipse at 50% 18%, black 0%, rgba(0, 0, 0, 0.72) 57%, transparent 86%);
  transform: perspective(900px) rotateX(4deg) scale(1.06);
  transform-origin: 50% 10%;
}

.cursor-light {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle 190px at var(--mouse-x) var(--mouse-y), rgba(255, 35, 35, 0.16), transparent 72%);
  transition: background 40ms linear;
}

.red-glow {
  position: absolute;
  z-index: -1;
  top: -290px;
  left: 50%;
  width: min(840px, 96vw);
  height: 560px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 35, 35, 0.5) 0%, rgba(139, 0, 0, 0.19) 38%, transparent 72%);
  filter: blur(22px);
}

.profile-card { position: relative; width: min(520px, calc(100% - 28px)); margin: 24px auto 28px; overflow: hidden; padding: 16px 16px 20px; border: 1px solid rgba(255, 70, 70, 0.2); border-radius: 26px; background: linear-gradient(180deg, rgba(22, 22, 22, 0.94), rgba(13, 13, 13, 0.9)); box-shadow: 0 42px 120px rgba(0, 0, 0, 0.58), 0 0 80px rgba(175, 0, 0, 0.08); backdrop-filter: blur(19px); text-align: center; isolation: isolate; }
.card-controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.language-switch { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 0 13px; background: rgba(255,255,255,.045); color: #666; font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 750; }
.language-switch button { border: 0; padding: 0; background: transparent; color: #666; cursor: pointer; }
.language-switch button.active { color: var(--red); text-shadow: 0 0 12px rgba(255,52,52,.45); }
.share-control { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.045); color: #ddd; cursor: pointer; transition: 180ms ease; }
.share-control:hover, .share-control:focus-visible { border-color: rgba(255,70,70,.55); color: var(--red); transform: translateY(-2px); outline: none; }
.portrait { position: relative; width: 86px; height: 86px; margin: 6px auto 20px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; background: linear-gradient(145deg, #451010, #111 65%); box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.035), 0 18px 50px rgba(0, 0, 0, 0.4); color: white; font-size: 25px; font-weight: 820; letter-spacing: -0.06em; }
.portrait i { position: absolute; right: 2px; bottom: 6px; width: 15px; height: 15px; border: 3px solid #111; border-radius: 50%; background: var(--red); box-shadow: 0 0 11px rgba(255, 52, 52, 0.9); }
.eyebrow { margin: 0 0 9px; color: #ff5656; font-family: 'Geist Mono', monospace; font-size: 10px; font-weight: 720; letter-spacing: .16em; }
h1 { margin: 0; display: flex; align-items: baseline; justify-content: center; font-size: clamp(31px, 5vw, 43px); line-height: 1; letter-spacing: -.045em; font-weight: 790; white-space: nowrap; }
.typed-name { position: relative; display: inline-flex; align-items: baseline; gap: .05em; overflow: visible; clip-path: inset(0 100% 0 0); animation: type-name 1.9s steps(15, end) .25s forwards; }
h1 .first-name { margin-right: .22em; color: var(--text); font-family: inherit; font-size: .56em; font-style: normal; font-weight: 720; letter-spacing: -.02em; }
h1 .last-name { color: var(--red); font-family: Georgia, 'Times New Roman', serif; font-size: 1em; font-style: italic; font-weight: 700; text-shadow: 0 0 34px rgba(255, 38, 38, .25); }
.code-brace, .semicolon { color: #aaa; font-family: 'Geist Mono', monospace; font-size: .8em; font-weight: 500; }
.semicolon { margin-left: .04em; color: var(--red); }
@keyframes type-name { to { clip-path: inset(0 0 0 0); } }
.slogan { max-width: 450px; margin: 15px auto 0; color: #c7c3c3; font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 650; line-height: 1.55; letter-spacing: .01em; }
.slogan::before, .slogan::after { color: var(--red); font-family: Georgia, serif; font-size: 18px; text-shadow: 0 0 14px rgba(255,52,52,.45); }
.slogan::before { content: '“'; margin-right: 3px; }
.slogan::after { content: '”'; margin-left: 3px; }
.credentials { margin: 17px auto 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.credentials span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 999px; padding: 6px 9px; background: rgba(255,255,255,.035); color: #bbb; font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: .04em; }
.credentials svg { color: var(--red); }
.security-title { width: max-content; margin: 0 auto 22px; border-bottom: 1px solid rgba(255, 52, 52, .35); padding: 0 4px 6px; color: #d8d8d8; font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 650; letter-spacing: .06em; }

.link-tree { display: flex; flex-direction: column; gap: 9px; }
.action-card { position: relative; width: 100%; min-height: 65px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; padding: 10px 13px 10px 10px; background: rgba(255, 255, 255, 0.038); text-align: left; cursor: pointer; isolation: isolate; transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.action-card::before { content: ''; position: absolute; inset: -65% -10% -65% 38%; z-index: -1; pointer-events: none; background-image: repeating-radial-gradient(circle at 78% 50%, transparent 0 13px, rgba(255,69,69,.28) 14px 15px, transparent 16px 29px), repeating-conic-gradient(from 8deg at 78% 50%, rgba(255,78,78,.3) 0deg .8deg, transparent .8deg 30deg); mask-image: radial-gradient(circle at 78% 50%, black 0%, rgba(0,0,0,.9) 52%, transparent 78%); opacity: 0; transform: scale(.82) rotate(-7deg); transition: opacity 260ms ease, transform 420ms cubic-bezier(.2,.8,.2,1); }
.action-card:hover, .action-card:focus-visible { transform: translateX(3px); border-color: rgba(255, 76, 76, .58); background: rgba(255, 255, 255, .065); box-shadow: inset 0 0 26px rgba(255,35,35,.08), 0 0 24px rgba(255,31,31,.11); outline: none; }
.action-card:hover::before, .action-card:focus-visible::before { opacity: 1; transform: scale(1) rotate(0deg); }
.action-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: #272727; color: #d7d7d7; }
.action-card.red .action-icon { background: var(--red); color: white; box-shadow: 0 0 22px rgba(255, 52, 52, .25); }
.action-card.green .action-icon { background: #123a28; color: #4de094; }
.action-card.phone .action-icon { background: #102f3b; color: #62d9ff; box-shadow: 0 0 18px rgba(65,196,255,.12); }
.action-card.email .action-icon { background: #431b2c; color: #ff76a8; box-shadow: 0 0 18px rgba(255,80,145,.12); }
.action-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.action-copy strong { font-size: 12px; text-transform: uppercase; letter-spacing: .065em; }
.action-copy small { overflow: hidden; color: #888; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.app-footer { margin: 19px auto 0; padding-top: 18px; display: flex; align-items: center; justify-content: center; gap: 11px; border-top: 1px solid rgba(255,255,255,.08); }
.app-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.045); color: #ddd; cursor: pointer; transition: 180ms ease; }
.app-icon i { font-size: 22px; }
.app-icon.whatsapp { color: #50e79a; }
.app-icon[href^='mailto:'] { color: #ff76a8; }
.app-icon[href^='tel:'] { color: #62d9ff; }
.app-icon:hover, .app-icon:focus-visible { transform: translateY(-3px); border-color: rgba(255,70,70,.48); background: rgba(255,52,52,.08); color: white; outline: none; }

@media (max-width: 560px) {
  .profile-card { width: calc(100% - 20px); margin-top: 10px; padding: 13px 11px 18px; border-radius: 22px; }
  .profile-card::before { content: ''; position: absolute; inset: -8%; z-index: 0; pointer-events: none; background-image: repeating-radial-gradient(circle at 50% 0%, transparent 0 48px, rgba(255, 58, 58, .09) 49px 50px, transparent 51px 96px), repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 70, 70, .13) 0deg .5deg, transparent .5deg 24deg); mask-image: radial-gradient(ellipse at 50% 18%, black 0%, rgba(0,0,0,.66) 58%, transparent 92%); opacity: .78; }
  .profile-card > * { position: relative; z-index: 1; }
  .action-card { padding-right: 12px; }
  h1 { font-size: clamp(30px, 10.5vw, 39px); }
  h1 .first-name { font-size: .54em; }
}

.spiny-weaver { display: none; }

@media (min-width: 561px) {
  .profile-card { animation: card-from-web 1s cubic-bezier(.16,.84,.22,1) both; transform-origin: 50% 12%; }
  @keyframes card-from-web { 0% { opacity: 0; transform: translateY(30px) scale(.88); filter: blur(9px); box-shadow: 0 0 0 rgba(255,30,30,0); } 58% { opacity: 1; filter: blur(0); box-shadow: 0 0 115px rgba(255,30,30,.17); } 100% { transform: translateY(0) scale(1); box-shadow: 0 42px 120px rgba(0,0,0,.58), 0 0 80px rgba(175,0,0,.08); } }
}

@media (max-width: 560px) {
  .spiny-weaver { position: absolute !important; top: 72px; left: 0; z-index: 4 !important; display: block; width: 48px; height: 38px; pointer-events: none; filter: drop-shadow(0 4px 5px rgba(0,0,0,.65)); animation: spider-walk-in 4.6s cubic-bezier(.22,.7,.24,1) .35s both; }
  .spider-body { position: absolute; left: 13px; top: 8px; width: 23px; height: 22px; clip-path: polygon(50% 0, 64% 20%, 91% 9%, 84% 37%, 100% 52%, 78% 61%, 83% 93%, 57% 77%, 42% 100%, 32% 74%, 4% 87%, 18% 58%, 0 43%, 24% 34%, 17% 7%, 40% 21%); background: radial-gradient(circle at 48% 43%, #ffe36c 0 12%, #e94a39 13% 36%, #17110d 38% 53%, #f1b52a 55% 100%); border: 1px solid rgba(255,236,139,.68); box-shadow: 0 0 10px rgba(255,96,54,.42); }
  .spiny-weaver i { position: absolute; left: 23px; top: 18px; width: 22px; height: 1.5px; border-radius: 99px; background: linear-gradient(90deg, #2a1d16, #c38a4c); transform-origin: left center; }
  .spiny-weaver i:nth-of-type(1) { transform: rotate(-158deg); } .spiny-weaver i:nth-of-type(2) { transform: rotate(-132deg); } .spiny-weaver i:nth-of-type(3) { transform: rotate(-205deg); } .spiny-weaver i:nth-of-type(4) { transform: rotate(-230deg); }
  .spiny-weaver i:nth-of-type(5) { transform: rotate(-22deg); } .spiny-weaver i:nth-of-type(6) { transform: rotate(-48deg); } .spiny-weaver i:nth-of-type(7) { transform: rotate(25deg); } .spiny-weaver i:nth-of-type(8) { transform: rotate(50deg); }
  @keyframes spider-walk-in { 0% { opacity: 0; transform: translate(-62px, 36px) rotate(-16deg); } 12% { opacity: 1; } 34% { transform: translate(78px, 7px) rotate(9deg); } 58% { transform: translate(156px, 31px) rotate(-7deg); } 78% { transform: translate(225px, 2px) rotate(8deg); } 100% { opacity: 1; transform: translate(calc(100vw - 92px), 18px) rotate(-4deg); } }
}

@media (hover: none) { .cursor-light { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } .typed-name { clip-path: none; animation: none !important; } .profile-card { animation: none !important; } .spiny-weaver { display: none !important; } }
