:root {
    --bg: #04060b;
    --surface: rgba(255, 255, 255, 0.07);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.35);
    --text: #f8fafc;
    --muted: #c3ccda;
    --accent: #7cf3ff;
    --accent-2: #9e7bff;
    --accent-3: #ff9ad5;
    --radius: 28px;
    --font: "Space Grotesk", "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background:
        radial-gradient(circle at 15% 20%, rgba(124, 243, 255, 0.14), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(158, 123, 255, 0.18), transparent 28%),
        radial-gradient(circle at 60% 70%, rgba(255, 154, 213, 0.12), transparent 32%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
}

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -2;
    filter: saturate(1.2);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.7;
}

.orb-one {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 30% 30%, rgba(124, 243, 255, 0.8), rgba(7, 217, 230, 0) 60%);
    top: -140px;
    left: -120px;
    animation: float 12s ease-in-out infinite;
}

.orb-two {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle at 60% 30%, rgba(158, 123, 255, 0.8), rgba(13, 0, 27, 0) 60%);
    top: 10%;
    right: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-three {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 40% 50%, rgba(255, 154, 213, 0.9), rgba(0, 0, 0, 0) 60%);
    bottom: -180px;
    left: 10%;
    animation: float 14s ease-in-out infinite;
}

.glow-line {
    position: absolute;
    width: 140%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    top: 28%;
    left: -20%;
    transform: rotate(-6deg);
    opacity: 0.6;
    filter: blur(12px);
}

.noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'%3E%3C/rect%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none;
    opacity: 0.5;
}

.frame {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 22px 80px;
    position: relative;
    z-index: 1;
}

.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 20px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 40%);
    opacity: 0.6;
    pointer-events: none;
}

.glass::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    margin-bottom: 28px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.4px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 243, 255, 0.15), rgba(158, 123, 255, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 14px;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.3s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(135deg, rgba(124, 243, 255, 0.3), rgba(158, 123, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 40px rgba(124, 243, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), 0 0 50px rgba(158, 123, 255, 0.22);
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(124, 243, 255, 0.35);
    animation: pulse 2.4s infinite;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: clamp(28px, 6vw, 48px);
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 14px;
}

.avatar-wrap {
    position: relative;
    width: clamp(240px, 32vw, 320px);
    aspect-ratio: 1 / 1;
}

.avatar-glow {
    position: absolute;
    inset: -14%;
    background: radial-gradient(circle at 50% 50%, rgba(124, 243, 255, 0.12), transparent 60%);
    filter: blur(40px);
    z-index: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 16px 60px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(124, 243, 255, 0.12);
    backdrop-filter: blur(10px);
}

.ring {
    position: absolute;
    inset: -10%;
    border-radius: 40px;
    z-index: 1;
    border: 1px solid transparent;
    background: conic-gradient(from 120deg, rgba(124, 243, 255, 0.35), rgba(158, 123, 255, 0.35), rgba(255, 154, 213, 0.35), rgba(124, 243, 255, 0.35));
    mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    animation: spin 18s linear infinite;
}

.ring-two {
    inset: -18%;
    opacity: 0.4;
    filter: blur(1px);
    animation-duration: 24s;
}

.hero-right {
    position: relative;
    z-index: 1;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    letter-spacing: -1.2px;
    line-height: 1.05;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.4rem;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 14px;
}

.bio {
    color: var(--muted);
    margin-bottom: 18px;
    max-width: 620px;
}

.bio strong {
    color: var(--text);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.chips span {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    color: var(--text);
    box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.05);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover::after {
    opacity: 1;
}

.primary-btn {
    background: linear-gradient(135deg, rgba(124, 243, 255, 0.35), rgba(158, 123, 255, 0.2));
}

.primary-btn:hover {
    box-shadow: 0 16px 60px rgba(124, 243, 255, 0.25), 0 18px 60px rgba(0, 0, 0, 0.45);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.06);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(124, 243, 255, 0.1);
    border: 1px solid rgba(124, 243, 255, 0.3);
    color: var(--text);
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(124, 243, 255, 0.18);
}

.photo-pill {
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(124, 243, 255, 0.14), rgba(158, 123, 255, 0.1));
    border-color: rgba(124, 243, 255, 0.35);
    box-shadow:
        0 12px 40px rgba(124, 243, 255, 0.2),
        0 0 30px rgba(124, 243, 255, 0.12);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(124, 243, 255, 0.35);
    animation: pulse 2.2s infinite;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.panel {
    padding: 22px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
    color: var(--text);
    box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.05);
}

.badge-ghost {
    background: rgba(124, 243, 255, 0.14);
    border-color: rgba(124, 243, 255, 0.22);
}

.panel-body {
    color: var(--muted);
}

.ship-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ship-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 8px;
    padding: 16px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.05);
}

.ship-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
    box-shadow: 0 0 0 6px rgba(124, 243, 255, 0.15);
}

.ship-title {
    font-weight: 700;
    letter-spacing: -0.2px;
}

.ship-meta {
    color: var(--muted);
    font-size: 0.95rem;
}

.ship-tag {
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 243, 255, 0.16), rgba(158, 123, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ship-tag.in-progress {
    background: linear-gradient(135deg, rgba(255, 214, 102, 0.32), rgba(255, 214, 102, 0.14));
    border-color: rgba(255, 214, 102, 0.6);
    box-shadow: 0 8px 26px rgba(255, 214, 102, 0.24), inset 0 1px 10px rgba(255, 255, 255, 0.08);
}

.ship-tag.top-tag {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

.ship-tag i {
    font-size: 0.95rem;
}

.ship-content {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ship-title-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ship-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.ship-link i {
    font-size: 0.95rem;
}

.ship-link:hover {
    text-decoration: underline;
}

.social-panel .cards {
    margin-top: 10px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 10px rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, background 0.3s ease, border 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.card i {
    font-size: 1.4rem;
    color: var(--accent);
}

footer {
    margin-top: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .frame {
        padding: 24px 16px 64px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 243, 255, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(124, 243, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(124, 243, 255, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    :root {
        --radius: 22px;
    }

    .nav-shell {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 16px;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-left {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-contact {
        width: 100%;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 26px 18px;
        text-align: center;
        gap: 18px;
    }

    .hero-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: clamp(2.2rem, 8vw, 3.1rem);
    }

    h2 {
        font-size: 1.2rem;
    }

    .avatar-wrap {
        width: min(70vw, 260px);
    }

    .chips {
        justify-content: center;
    }

    .cta-buttons {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .status-pill {
        margin-left: auto;
        margin-right: auto;
    }

    .panel {
        padding: 18px 16px;
    }

    .card {
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .frame {
        padding: 18px 14px 48px;
    }

    .nav-shell {
        padding: 14px;
    }

    .hero {
        padding: 24px 14px;
    }

    .chips {
        gap: 8px;
    }

    .ship-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ship-tag.top-tag {
        order: 3;
        align-self: flex-start;
        margin-top: 2px;
    }

    .ship-content {
        order: 1;
        gap: 8px;
    }

    .ship-link {
        order: 2;
    }
}
