:root {
  color-scheme: dark;
  --ink: #f8f8f8;
  --green: #20ce78;
  --matte: #08090a;
}
* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: hidden; }
body { margin: 0; min-height: 100svh; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #050506; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #050506; }
.sky-image { position: absolute; inset: 0; background: #050506 url('assets/stars.svg') center center / cover no-repeat; }
.cloud-bank { position: absolute; pointer-events: none; background: url('assets/drifting-cloud.webp') center center / contain no-repeat; filter: grayscale(1) brightness(.72) contrast(.87) blur(5px); will-change: transform; }
.cloud-one { left: -42vw; top: 10%; width: 105vw; height: 48vh; opacity: .65; mask-image: linear-gradient(90deg,#000 40%,transparent 99%); animation: drift-left 43s ease-in-out -9s infinite alternate; }
.cloud-two { right: -40vw; top: 37%; width: 104vw; height: 50vh; opacity: .63; mask-image: linear-gradient(270deg,#000 35%,transparent 98%); animation: drift-right 50s ease-in-out -16s infinite alternate; }
.cloud-three { left: -22vw; bottom: -17vh; width: 107vw; height: 50vh; opacity: .6; filter: grayscale(1) brightness(.63) contrast(.88) blur(8px); mask-image: linear-gradient(0deg,#000 15%,transparent 100%); animation: drift-low 56s ease-in-out -14s infinite alternate; }
.cloud-four { right: -27vw; top: -19vh; width: 105vw; height: 50vh; opacity: .44; filter: grayscale(1) brightness(.63) blur(8px); mask-image: linear-gradient(180deg,#000 10%,transparent 100%); animation: drift-right 65s ease-in-out -37s infinite alternate; }
.cloud-five { left: -30vw; top: 47%; width: 91vw; height: 40vh; opacity: .43; filter: grayscale(1) brightness(.67) blur(9px); mask-image: linear-gradient(90deg,#000 25%,transparent 94%); animation: drift-left 60s ease-in-out -32s infinite alternate; }
.cloud-six { right: -33vw; bottom: -4vh; width: 106vw; height: 44vh; opacity: .52; filter: grayscale(1) brightness(.63) blur(6px); mask-image: linear-gradient(270deg,#000 25%,transparent 100%); animation: drift-right 57s ease-in-out -28s infinite alternate-reverse; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 35%,transparent 12%,rgba(0,0,0,.12) 48%,rgba(0,0,0,.5) 100%); }
.intro { position: fixed; inset: 0; z-index: 10; background: #080808; display: grid; place-items: center; pointer-events: none; animation: intro-out .8s cubic-bezier(.55,0,.2,1) 2.1s forwards; }
.intro-mark { font-size: clamp(3.2rem,12vw,8rem); font-weight: 850; letter-spacing: -.085em; line-height: .9; text-align: center; animation: intro-spin 2.05s cubic-bezier(.2,.7,.2,1) both; transform-style: preserve-3d; }
.intro-mark span { display: block; font-size: .65rem; letter-spacing: .48em; margin-top: 1.5rem; font-weight: 600; color: var(--green); }
.page { width: min(100% - 36px,510px); margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: clamp(23px,4vh,42px) 0 30px; gap: 18px; animation: reveal 1s ease-out 1.85s both; position: relative; z-index: 1; }
.profile { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; text-shadow: 0 2px 14px #000,0 1px 4px #000b; }
.avatar-shell { position: relative; width: 76px; height: 76px; border-radius: 50%; padding: 0; border: 0; box-shadow: 0 8px 20px #0008; background: transparent; overflow: hidden; }
.avatar { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transform-origin: center; }
.profile h1 { font-size: 1.68rem; letter-spacing: -.055em; line-height: 1; margin: 4px 0 0; font-weight: 850; }
.profile p { margin: 0; font-size: .86rem; font-weight: 550; color: #fff; letter-spacing: .005em; }
.slash { display: inline-block; margin: 0 .45rem; color: #aaa; }
.card-stage { width: 100%; perspective: 1050px; position: relative; z-index: 3; margin-top: 28px; }
.trading-card { position: relative; border: 1px solid #333; border-radius: 28px; overflow: hidden; background: var(--matte); box-shadow: 0 25px 55px #0009; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--lift,0px)); transition: transform .23s cubic-bezier(.2,.75,.25,1), box-shadow .25s; transform-style: preserve-3d; }
.trading-card:hover { box-shadow: 0 32px 66px #000a; }
.card-visual { position: relative; height: 260px; overflow: hidden; isolation: isolate; background: #060707; }
.chart { position: absolute; width: 100%; height: 100%; inset: 0; opacity: .64; }
.slogan { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.slogan h2 { font-size: clamp(2.5rem,8.5vw,3.65rem); line-height: .94; font-weight: 900; letter-spacing: -.078em; text-align: center; margin: 0; color: #fff; text-shadow: 0 2px 8px #000,0 0 18px #000,0 0 32px #000; }
.slogan em { font-style: normal; font-weight: 900; color: var(--green); }
.card-bottom { padding: 20px 20px 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #2d2d2d; background: #0a0a0a; }
.card-bottom h3 { font-size: clamp(1.05rem,4.3vw,1.35rem); line-height: 1.2; margin: 0; font-weight: 750; letter-spacing: -.035em; }
.card-bottom p { margin: 5px 0 0; font-size: .83rem; color: #a5a5a5; }
.join { flex-shrink: 0; background: #f8f8f8; color: #0a0a0a; border-radius: 100px; padding: 12px 21px; font-size: 1rem; font-weight: 750; display: flex; align-items: center; gap: 9px; transition: background .18s, transform .18s; }
.join:hover { background: #d7f8e5; transform: translateY(-2px); }
.instagram { display: flex; align-items: center; gap: 10px; background: #090909; border: 1px solid #303030; border-radius: 100px; padding: 14px 25px; box-shadow: 0 10px 27px #0005; font-weight: 650; transition: transform .2s,background .2s; }
.instagram:hover { transform: translateY(-3px); background: #171717; }
.footer { display: flex; justify-content: space-between; gap: 12px; width: 100%; border-radius: 23px; background: #090909ef; border: 1px solid #333; padding: 18px 22px; font-size: .87rem; color: #b3b3b3; box-shadow: 0 8px 24px #0004; }
.footer span:last-child { text-align: right; }
@keyframes intro-spin { 0% { transform: perspective(450px) rotateY(-1080deg) scale(.45); opacity: 0; } 20% { opacity: 1; } 86%,100% { transform: perspective(450px) rotateY(0deg) scale(1); opacity: 1; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drift-left { from { transform: translate3d(-12%,2%,0) scale(1.02); } to { transform: translate3d(23%,-5%,0) scale(1.14); } }
@keyframes drift-right { from { transform: translate3d(21%,-2%,0) scaleX(-1) scale(1.03); } to { transform: translate3d(-16%,5%,0) scaleX(-1) scale(1.11); } }
@keyframes drift-low { from { transform: translate3d(-9%,3%,0) scale(1.05); } to { transform: translate3d(25%,-7%,0) scale(1.21); } }
@media (max-width:650px) { .page { gap: 15px; padding: 24px 0 24px; width: min(100% - 28px,510px); } .avatar-shell { width: 66px; height: 66px; } .profile h1 { font-size: 1.5rem; } .profile p { font-size: .8rem; } .card-stage { margin-top: 20px; } .card-visual { height: 228px; } .card-bottom { padding: 16px 16px 16px 19px; } .card-bottom p { font-size: .75rem; } .join { padding: 11px 16px; } .footer { padding: 16px 15px; font-size: .74rem; } .sky-image { background-position: 50% center; } .cloud-one,.cloud-two,.cloud-four,.cloud-five,.cloud-six { width: 155vw; } .cloud-one,.cloud-five { left: -83vw; } .cloud-two,.cloud-four,.cloud-six { right: -83vw; } .cloud-three { width: 146vw; left: -30vw; } }
@media (max-width:360px) { .card-bottom { padding: 15px 12px; } .card-bottom h3 { font-size: 1rem; } .join { padding: 10px 13px; } .footer { gap: 8px; font-size: .67rem; } .profile p { font-size: .88rem; } .slogan h2 { font-size: 2.3rem; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; } .intro { display: none; } .cloud-bank { animation: none!important; } .trading-card { transform: none!important; } .page { opacity: 1; transform: none; } }
