* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 125%, rgba(255, 122, 24, 0.20), transparent 28%),
        radial-gradient(circle at 18% 14%, rgba(255, 0, 130, 0.20), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(79, 133, 255, 0.18), transparent 24%),
        radial-gradient(circle at 52% 0%, rgba(172, 74, 255, 0.14), transparent 24%),
        linear-gradient(180deg, #06040d 0%, #0c0817 35%, #070510 70%, #030208 100%);
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        radial-gradient(circle at 12% 22%, rgba(255, 0, 144, 0.20), transparent 0 12%),
        radial-gradient(circle at 84% 18%, rgba(91, 139, 255, 0.20), transparent 0 12%),
        radial-gradient(circle at 50% 14%, rgba(255, 122, 24, 0.14), transparent 0 12%),
        linear-gradient(114deg, rgba(255, 0, 132, 0.08), transparent 26%),
        linear-gradient(244deg, rgba(72, 128, 255, 0.10), transparent 30%),
        linear-gradient(to bottom, rgba(255,255,255,0.025), transparent 18%);
    filter: blur(30px) saturate(145%);
    opacity: 0.98;
    animation: roomGlow 14s ease-in-out infinite alternate;
}

body::after {
    background:
        repeating-linear-gradient(90deg, transparent 0 92px, rgba(255,255,255,0.016) 92px 93px),
        radial-gradient(circle at 12% 84%, rgba(255,255,255,0.028) 0 2px, transparent 3px),
        radial-gradient(circle at 22% 72%, rgba(255,255,255,0.022) 0 2px, transparent 3px),
        radial-gradient(circle at 44% 90%, rgba(255,255,255,0.03) 0 2px, transparent 3px),
        radial-gradient(circle at 61% 78%, rgba(255,255,255,0.022) 0 2px, transparent 3px),
        radial-gradient(circle at 74% 86%, rgba(255,255,255,0.03) 0 2px, transparent 3px),
        radial-gradient(circle at 87% 73%, rgba(255,255,255,0.024) 0 2px, transparent 3px),
        linear-gradient(to bottom, rgba(255,255,255,0.025), rgba(255,255,255,0) 18%);
    opacity: 0.32;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.82) 24%, rgba(0,0,0,1) 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 28px 16px 48px;
    isolation: isolate;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.page-shell::before {
    width: 80vw;
    height: 90vh;
    left: -22vw;
    top: -26vh;
    background:
        conic-gradient(from 216deg at 45% 11%, transparent 0deg, rgba(255, 0, 145, 0.28) 16deg, rgba(255,255,255,0.10) 22deg, transparent 36deg),
        conic-gradient(from 232deg at 52% 12%, transparent 0deg, rgba(96, 148, 255, 0.24) 15deg, transparent 29deg),
        conic-gradient(from 246deg at 66% 10%, transparent 0deg, rgba(255, 122, 24, 0.16) 11deg, transparent 21deg);
    filter: blur(34px);
    opacity: 0.95;
    transform: rotate(-10deg);
    animation: beamLeft 10s ease-in-out infinite alternate;
}

.page-shell::after {
    width: 82vw;
    height: 92vh;
    right: -24vw;
    top: -22vh;
    background:
        conic-gradient(from 326deg at 56% 14%, transparent 0deg, rgba(255, 122, 24, 0.30) 17deg, rgba(255,255,255,0.10) 25deg, transparent 38deg),
        conic-gradient(from 312deg at 48% 13%, transparent 0deg, rgba(178, 69, 255, 0.22) 13deg, transparent 26deg),
        conic-gradient(from 300deg at 40% 10%, transparent 0deg, rgba(76, 130, 255, 0.18) 11deg, transparent 22deg);
    filter: blur(36px);
    opacity: 0.96;
    transform: rotate(8deg);
    animation: beamRight 11s ease-in-out infinite alternate;
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.78;
    pointer-events: none;
    z-index: 0;
}

.ambient-green {
    width: 440px;
    height: 440px;
    top: 160px;
    left: -130px;
    background: rgba(255, 0, 145, 0.24);
    animation: floatGlow 11s ease-in-out infinite alternate;
}

.ambient-orange {
    width: 520px;
    height: 520px;
    right: -150px;
    bottom: 0;
    background: rgba(255, 122, 24, 0.24);
    animation: floatGlowAlt 13s ease-in-out infinite alternate;
}

.linktree-wrap {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    margin: 0 auto;
}

.profile-card {
    position: relative;
    text-align: center;
    padding: 14px 10px 12px;
}

.profile-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -12px;
    width: min(100%, 500px);
    height: 280px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 50% 8%, rgba(255,255,255,0.06), transparent 24%),
        radial-gradient(circle at 24% 40%, rgba(255, 0, 145, 0.20), transparent 28%),
        radial-gradient(circle at 76% 36%, rgba(255, 122, 24, 0.18), transparent 28%),
        radial-gradient(circle at 50% 26%, rgba(80, 136, 255, 0.15), transparent 26%);
    filter: blur(42px);
    opacity: 0.98;
    z-index: -1;
}

.logo-shell {
    position: relative;
    width: 152px;
    height: 152px;
    margin: 0 auto 18px;
    border-radius: 50%;
    padding: 10px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
        radial-gradient(circle at 18% 18%, rgba(255, 0, 145, 0.30), transparent 42%),
        radial-gradient(circle at 82% 82%, rgba(255, 122, 24, 0.24), transparent 46%),
        radial-gradient(circle at 50% 18%, rgba(76, 130, 255, 0.14), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05), transparent 66%);
    border: 1px solid rgba(255, 234, 218, 0.18);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.52),
        0 0 0 8px rgba(255,255,255,0.02),
        0 0 42px rgba(255, 0, 145, 0.16),
        0 0 52px rgba(255, 122, 24, 0.12);
    animation: logoPulseFloat 5.8s ease-in-out infinite;
    will-change: transform, box-shadow, filter;
}

.logo-shell::before,
.logo-shell::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    pointer-events: none;
}

.logo-shell::before {
    background:
        conic-gradient(from 0deg, rgba(255,255,255,0.00), rgba(115,255,167,0.12), rgba(255,122,24,0.16), rgba(255,255,255,0.00));
    filter: blur(16px);
    opacity: 0.55;
    animation: logoHaloSpin 12s linear infinite;
}

.logo-shell::after {
    inset: -6px;
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0.7;
    animation: logoHaloBreath 3.8s ease-in-out infinite;
}

.logo-shell img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transform-origin: center;
    animation: logoInnerDrift 6.4s ease-in-out infinite;
    will-change: transform, filter;
}

.eyebrow {
    margin: 0;
    color: #ffae5c;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.74rem;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(255, 122, 24, 0.28);
}

h1 {
    margin: 10px 0 4px;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow:
        0 4px 24px rgba(0,0,0,0.42),
        0 0 24px rgba(255, 0, 145, 0.08);
}

.handle {
    margin: 0;
    color: #ffe2bf;
    font-size: 1rem;
    font-weight: 700;
}

.intro {
    width: min(100%, 460px);
    margin: 14px auto 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

.links-stack {
    position: relative;
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.links-stack::before,
.links-stack::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    filter: blur(42px);
}

.links-stack::before {
    width: 180px;
    height: 180px;
    left: -30px;
    top: 48px;
    background: rgba(95, 255, 150, 0.10);
}

.links-stack::after {
    width: 170px;
    height: 170px;
    right: -24px;
    top: 210px;
    background: rgba(255, 122, 24, 0.10);
}

.link-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 82px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(112, 255, 164, 0.20);
    background:
        linear-gradient(135deg, rgba(14, 24, 21, 0.98) 0%, rgba(18, 22, 27, 0.98) 55%, rgba(10, 12, 16, 0.98) 100%);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.44),
        0 0 28px rgba(88, 255, 149, 0.10),
        inset 22px 0 42px rgba(81, 255, 148, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.10),
        inset 0 -12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    overflow: hidden;
    isolation: isolate;
}

.link-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(104, 255, 165, 0.24) 0%, rgba(74, 224, 126, 0.16) 18%, rgba(42, 130, 76, 0.08) 32%, rgba(0, 0, 0, 0) 58%),
        linear-gradient(115deg, rgba(255,255,255,0.12), transparent 28%, transparent 72%, rgba(255,255,255,0.06) 100%),
        radial-gradient(circle at 14% 50%, rgba(118, 255, 177, 0.20), transparent 22%),
        radial-gradient(circle at 86% 86%, rgba(0, 0, 0, 0.24), transparent 30%);
    pointer-events: none;
}

.link-btn::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0.7;
    pointer-events: none;
}

.link-btn:hover {
    transform: translateY(-4px) scale(1.012);
    border-color: rgba(255, 164, 74, 0.56);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.50),
        0 0 34px rgba(88, 255, 149, 0.14),
        0 0 26px rgba(255, 122, 24, 0.16),
        inset 26px 0 48px rgba(98, 255, 161, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -16px 30px rgba(0, 0, 0, 0.24);
    filter: saturate(1.06);
}

.link-btn.is-featured {
    border-color: rgba(144, 255, 190, 0.26);
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.46),
        0 0 36px rgba(88, 255, 149, 0.12),
        inset 30px 0 52px rgba(116, 255, 171, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -14px 30px rgba(0, 0, 0, 0.22);
}

.link-btn__main,
.link-btn__side,
.link-btn__copy {
    position: relative;
    z-index: 1;
}

.link-btn__main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.link-btn__emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(16, 28, 23, 0.72);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.link-btn__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.link-btn__title {
    color: var(--orange);
    font-size: 1.10rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.08),
        0 0 14px rgba(255, 122, 24, 0.14);
}

.link-btn__description {
    color: rgba(233, 242, 235, 0.74);
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 600;
}

.link-btn__side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.link-btn__badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(20, 30, 25, 0.72);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff1dc;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.link-btn__arrow {
    color: var(--orange);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 500;
    text-shadow: 0 0 16px rgba(255, 122, 24, 0.20);
}

.footer-note {
    margin-top: 24px;
    text-align: center;
}

.footer-note p {
    margin: 0;
    color: rgba(255, 241, 224, 0.62);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes roomGlow {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.08) translate3d(0, 16px, 0);
        opacity: 1;
    }
}

@keyframes beamLeft {
    0% {
        transform: rotate(-10deg) translate3d(0, 0, 0);
    }
    100% {
        transform: rotate(-2deg) translate3d(26px, 26px, 0);
    }
}

@keyframes beamRight {
    0% {
        transform: rotate(10deg) translate3d(0, 0, 0);
    }
    100% {
        transform: rotate(2deg) translate3d(-24px, 28px, 0);
    }
}

@keyframes floatGlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(28px, 18px, 0) scale(1.08);
    }
}

@keyframes floatGlowAlt {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-26px, -18px, 0) scale(1.08);
    }
}

@keyframes logoPulseFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow:
            0 16px 38px rgba(0, 0, 0, 0.52),
            0 0 0 8px rgba(255,255,255,0.02),
            0 0 42px rgba(255, 0, 145, 0.16),
            0 0 52px rgba(255, 122, 24, 0.12);
        filter: saturate(1);
    }
    50% {
        transform: translate3d(0, -6px, 0) scale(1.035);
        box-shadow:
            0 24px 52px rgba(0, 0, 0, 0.54),
            0 0 0 10px rgba(255,255,255,0.025),
            0 0 58px rgba(255, 0, 145, 0.20),
            0 0 74px rgba(255, 122, 24, 0.16);
        filter: saturate(1.05);
    }
}

@keyframes logoInnerDrift {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.015) rotate(-1.2deg);
        filter: brightness(1.02);
    }
    75% {
        transform: scale(1.01) rotate(1.2deg);
        filter: brightness(1.04);
    }
}

@keyframes logoHaloSpin {
    0% {
        transform: rotate(0deg) scale(0.98);
    }
    100% {
        transform: rotate(360deg) scale(1.02);
    }
}

@keyframes logoHaloBreath {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    .page-shell::before,
    .page-shell::after,
    .ambient-green,
    .ambient-orange,
    .logo-shell,
    .logo-shell::before,
    .logo-shell::after,
    .logo-shell img {
        animation: none;
    }
}

@media (max-width: 600px) {
    body::after {
        opacity: 0.24;
    }

    .page-shell {
        padding-top: 20px;
    }

    .page-shell::before,
    .page-shell::after {
        width: 98vw;
        height: 58vh;
        filter: blur(28px);
    }

    .logo-shell {
        width: 130px;
        height: 130px;
    }

    .link-btn {
        min-height: 78px;
        padding: 15px 16px;
        border-radius: 20px;
    }

    .link-btn__description {
        font-size: 0.88rem;
    }

    .link-btn__badge {
        display: none;
    }
}


/* Contact page */
.contact-hero {
    padding-bottom: 4px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 18px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(18, 17, 30, 0.68);
    color: #ffe2bf;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 122, 24, 0.55);
    color: #fff8ef;
}

.contact-logo {
    width: 124px;
    height: 124px;
    margin-bottom: 16px;
}

.contact-card {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(112, 255, 164, 0.20);
    background:
        linear-gradient(135deg, rgba(14, 24, 21, 0.96) 0%, rgba(18, 22, 27, 0.96) 55%, rgba(10, 12, 16, 0.96) 100%);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.48),
        0 0 32px rgba(88, 255, 149, 0.10),
        inset 24px 0 50px rgba(81, 255, 148, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.10),
        inset 0 -14px 30px rgba(0, 0, 0, 0.23);
    overflow: hidden;
    isolation: isolate;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, rgba(255,255,255,0.10), transparent 28%, transparent 72%, rgba(255,255,255,0.05) 100%),
        radial-gradient(circle at 16% 8%, rgba(118, 255, 177, 0.15), transparent 28%),
        radial-gradient(circle at 84% 92%, rgba(255, 122, 24, 0.14), transparent 34%);
    pointer-events: none;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field span {
    color: #ffae5c;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 17px;
    background: rgba(4, 5, 9, 0.54);
    color: var(--text);
    padding: 14px 15px;
    font: inherit;
    line-height: 1.45;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 12px 24px rgba(0, 0, 0, 0.18);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 160px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(255, 122, 24, 0.62);
    background: rgba(5, 7, 11, 0.72);
    box-shadow:
        0 0 0 4px rgba(255, 122, 24, 0.10),
        0 14px 28px rgba(0, 0, 0, 0.22);
}

.form-field--math input {
    max-width: 160px;
}

.send-btn {
    cursor: pointer;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    padding: 15px 18px;
    color: #10100c;
    background:
        linear-gradient(135deg, #64ff99 0%, #ffb04d 48%, #ff7a18 100%);
    font: inherit;
    font-weight: 950;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(255, 122, 24, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.40);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.send-btn:hover {
    transform: translateY(-3px);
    filter: saturate(1.06) brightness(1.04);
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.40),
        0 0 34px rgba(255, 122, 24, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.48);
}

.form-alert {
    margin-bottom: 16px;
    padding: 14px 15px;
    border-radius: 18px;
    font-weight: 750;
    line-height: 1.45;
}

.form-alert ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.form-alert--success {
    border: 1px solid rgba(100, 255, 153, 0.36);
    background: rgba(72, 222, 127, 0.14);
    color: #d8ffe4;
}

.form-alert--error {
    border: 1px solid rgba(255, 122, 24, 0.42);
    background: rgba(255, 122, 24, 0.13);
    color: #ffe2bf;
}

.privacy-note {
    margin: 0;
    color: rgba(233, 242, 235, 0.68);
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 600px) {
    .contact-card {
        padding: 18px;
        border-radius: 22px;
    }

    .contact-logo {
        width: 112px;
        height: 112px;
    }
}
