:root {
    --color-void: #0A0A0C;
    --surface-card: #111115;
    --surface-elevated: #16161C;
    --surface-inset: #17171c;

    --rim-inset: rgba(255, 255, 255, 0.06);
    --horizon-glow: rgba(255, 255, 255, 0.12);

    --color-lumen: rgba(255, 255, 255, 0.85);
    --color-muted: rgba(255, 255, 255, 0.42);
    --color-dim: rgba(255, 255, 255, 0.18);

    --color-primary: #e5d083;

    --color-primary-dim: rgba(229, 208, 131, 0.12);
    --color-primary-glow: rgba(229, 208, 131, 0.35);

    --font-display: 'Playfair Display', 'Instrument Serif', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --motion-slow: 800ms cubic-bezier(.15, .83, .66, 1);
    --motion-quick: 200ms ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-void);
    color: var(--color-lumen);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient-nebula-1 {
    position: absolute;
    left: -15%;
    top: -20%;
    width: 70vw;
    height: 70vh;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(229, 208, 131, 0.08), transparent 70%);
    filter: blur(40px);
    animation: nebPulse 16s ease-in-out infinite alternate;
}

.ambient-nebula-2 {
    position: absolute;
    right: -10%;
    bottom: -10%;
    width: 65vw;
    height: 65vh;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 255, 255, 0.04), transparent 70%);
    filter: blur(50px);
}

@keyframes nebPulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1) translate(30px, 20px);
        opacity: 1;
    }
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    background: rgba(17, 17, 21, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 99px;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: 0 0 0 transparent;
    transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

header.sticky-state .nav-inner {
    background: rgba(17, 17, 21, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--rim-inset);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

header.scrolled .nav-inner {
    max-width: 860px;
    height: 52px;
    padding: 0 24px;
    background: rgba(17, 17, 21, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: var(--rim-inset);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(229, 208, 131, 0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-lumen);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

header.scrolled .brand-logo {
    font-size: 13px;
}

.brand-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--rim-inset), 0 0 12px rgba(229, 208, 131, 0.2);
    object-fit: cover;
    transition: all 0.3s ease;
}

header.scrolled .brand-logo img {
    width: 26px;
    height: 26px;
}

.brand-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-muted);
    font-weight: 400;
    margin-left: 0px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    transition: all 0.3s ease;
}

header.scrolled .nav-links {
    gap: 20px;
    font-size: 12.5px;
}

.nav-links a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color var(--motion-quick);
}

.nav-links a:hover {
    color: var(--color-lumen);
}

.btn-invite {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 99px;
    background: linear-gradient(180deg, rgba(177, 160, 100, 0.95), #c4b16f);
    color: #0A0A0C;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 14px rgba(229, 208, 131, 0.25);
    transition: all var(--motion-quick);
}

.btn-invite:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(229, 208, 131, 0.4);
    filter: brightness(1.05);
}

.page-section {
    padding: 110px 0;
    position: relative;
}

#profile {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.horizon-divider {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
    padding-top: 40px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-primary);
    background: var(--color-primary-dim);
    box-shadow: inset 0 0 0 1px rgba(229, 208, 131, 0.2);
    margin-bottom: 24px;
}

.hero-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 5.5vw, 68px);
    line-height: 1.05;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-title i {
    color: var(--color-primary);
    font-style: italic;
}

.hero-desc {
    font-size: 16px;
    color: var(--color-muted);
    max-width: 480px;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 99px;
    background: transparent;
    color: var(--color-lumen);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--rim-inset);
    transition: all var(--motion-quick);
}

.btn-ghost:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.orbit-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring-outer {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px dashed rgba(229, 208, 131, 0.15);
    animation: orbitSpin 40s linear infinite;
}

.orbit-ring-inner {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: orbitSpinReverse 30s linear infinite;
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitSpinReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.avatar-core-wrapper {
    position: relative;
    z-index: 10;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--surface-card);
    padding: 6px;
    box-shadow: 0 0 50px rgba(229, 208, 131, 0.25), 0 0 0 1px rgba(229, 208, 131, 0.4);
    animation: pulseCore 4s ease-in-out infinite alternate;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.avatar-core-wrapper:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 0 70px var(--color-primary-glow), 0 0 0 2px var(--color-primary);
    z-index: 30;
}

.orbit-container:has(.avatar-core-wrapper:hover) .orbit-node {
    filter: blur(4px) brightness(0.45);
    opacity: 0.45;
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-container:has(.avatar-core-wrapper:hover) .orbit-node-inner {
    transform: scale(0.9) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-profile-popout {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    background: var(--surface-card);
    border: 1.5px solid var(--color-primary);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px var(--color-primary-glow);
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    pointer-events: none;

    transform: translate(-50%, -50%) scale(0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.orbit-container.popout-active .orbit-profile-popout {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.orbit-container.popout-active .orbit-node {
    filter: blur(4px) brightness(0.35) !important;
    opacity: 0.3 !important;
    pointer-events: none;
}

.orbit-container.popout-active .orbit-node-inner {
    transform: scale(0.85) !important;
}

.orbit-container.popout-active .avatar-core-wrapper {
    filter: blur(3px) brightness(0.4) !important;
    transform: scale(0.85) !important;
    pointer-events: none;
}

.popout-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--rim-inset);
    color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 12px;
    transition: all 0.2s ease;
}

.popout-close-btn:hover {
    color: #ffffff;
    background: rgba(229, 208, 131, 0.2);
    border-color: var(--color-primary);
}

.avatar-core-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-core-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    background: #111115;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

@keyframes pulseCore {
    0% {
        box-shadow: 0 0 40px rgba(229, 208, 131, 0.2), 0 0 0 1px rgba(229, 208, 131, 0.3);
    }

    100% {
        box-shadow: 0 0 65px rgba(229, 208, 131, 0.38), 0 0 0 2px var(--color-primary);
    }
}

.orbit-container:has(.orbit-node:hover) .orbit-node:not(:hover) {
    filter: blur(4px) brightness(0.45);
    opacity: 0.45;
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-container:has(.orbit-node:hover) .orbit-node:not(:hover) .orbit-node-inner {
    transform: scale(0.9) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-node {
    position: absolute;
    z-index: 12;
    cursor: pointer;
    filter: blur(0px) brightness(1);
    opacity: 1;

    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.2s ease;
    will-change: filter, opacity;
}

.orbit-node-inner {
    background: rgba(22, 22, 28, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;

    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    transform: scale(1);
    will-change: transform;
}

.orbit-node:hover {
    z-index: 50 !important;
    filter: blur(0px) brightness(1);
    opacity: 1;
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-node:hover .orbit-node-inner {
    transform: scale(1.15) translateY(-4px) !important;
    border-color: var(--color-primary);
    background: rgba(26, 26, 34, 0.95);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95), 0 0 30px var(--color-primary-glow), inset 0 0 0 1.5px var(--color-primary);
}

.orbit-node-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    border: 1px solid var(--rim-inset);

    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border-color 0.4s ease;
    transform: scale(1) rotate(0deg);
    will-change: transform;
}

.orbit-node:hover .orbit-node-icon {
    transform: scale(1.15) rotate(-8deg);
    border-color: var(--color-primary);
    background: rgba(229, 208, 131, 0.15);
}

.orbit-node-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.orbit-node-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-lumen);
    white-space: nowrap;
}

.orbit-node-desc {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-muted);
    white-space: nowrap;
}

.orbit-node {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    transition: z-index 0.2s ease;
}

.orbit-node:hover {
    z-index: 50;
    animation-play-state: paused !important;
}

.node-top-center {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: organicOrbitTC 14s linear infinite;
}

.node-top-left {
    top: 100px;
    left: -10px;
    animation: organicOrbitTL 16s linear infinite;
}

.node-top-right {
    top: 120px;
    right: -15px;
    animation: organicOrbitTR 18s linear infinite;
}

.node-bottom-left {
    bottom: 75px;
    left: -20px;
    animation: organicOrbitBL 15s linear infinite;
}

.node-bottom-right {
    bottom: 60px;
    right: -7px;
    animation: organicOrbitBR 17s linear infinite;
}

@keyframes organicOrbitTC {
    0% {
        transform: translate(-50%, 0px);
    }

    25% {
        transform: translate(calc(-50% + 12px), -8px);
    }

    50% {
        transform: translate(calc(-50% + 4px), -16px);
    }

    75% {
        transform: translate(calc(-50% - 12px), -6px);
    }

    100% {
        transform: translate(-50%, 0px);
    }
}

@keyframes organicOrbitTL {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(-10px, -10px);
    }

    50% {
        transform: translate(-16px, 4px);
    }

    75% {
        transform: translate(-4px, 12px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

@keyframes organicOrbitTR {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(12px, -8px);
    }

    50% {
        transform: translate(16px, 8px);
    }

    75% {
        transform: translate(4px, 14px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

@keyframes organicOrbitBL {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(-12px, 8px);
    }

    50% {
        transform: translate(-16px, -6px);
    }

    75% {
        transform: translate(-4px, -12px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

@keyframes organicOrbitBR {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(10px, 10px);
    }

    50% {
        transform: translate(14px, -6px);
    }

    75% {
        transform: translate(2px, -12px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.profile-img-holder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.profile-img-holder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.profile-meta-footer {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 255, 255, 0.04), transparent);
}

.profile-identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-lumen);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bot-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    background: rgba(229, 208, 131, 0.15);
    color: var(--color-primary);
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.profile-status {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-muted);
}

.status-indicator {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43b581;

    margin-right: 6px;
    box-shadow: 0 0 6px rgba(67, 181, 129, 0.6);
}

.section-header {
    margin-bottom: 56px;
    max-width: 580px;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 16px;
}

.section-title i {
    color: var(--color-primary);
}

.section-desc {
    font-size: 15px;
    color: var(--color-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1000px;
}

.feature-card {
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(229, 208, 131, 0.04), var(--surface-card));
    box-shadow: inset 0 0 0 1px var(--rim-inset), 0 8px 24px rgba(0, 0, 0, 0.4);
    border-radius: 14px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 70%;
    background: radial-gradient(ellipse 80% 40% at 50% 100%, rgba(229, 208, 131, 0.1), transparent);
    opacity: 0.3;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-icon-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(229, 208, 131, 0.25);
    background: rgba(229, 208, 131, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-icon-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(229, 208, 131, 0.15);
    opacity: 0;
    transition: all 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: inset 0 0 0 1px rgba(229, 208, 131, 0.4), 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 208, 131, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon-ring {
    border-radius: 8px;

    border-color: var(--color-primary);
    background: rgba(229, 208, 131, 0.15);
    box-shadow: 0 0 16px var(--color-primary-glow);
}

.feature-card:hover .feature-icon-ring::after {
    opacity: 1;
    inset: -6px;
    border-radius: 12px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-lumen);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #ffffff;
}

.feature-desc {
    font-size: 13.5px;
    color: var(--color-muted);
    line-height: 1.6;
}

.demo-layout {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 40px;
    align-items: center;
}

.interactive-window {
    background: var(--surface-card);
    box-shadow: inset 0 0 0 1px var(--rim-inset), 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 208, 131, 0.05);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--rim-inset);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.window-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-muted);
    margin-left: 8px;
}

.chat-stream {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 400px;
    max-height: 440px;
    overflow-y: auto;
    padding-right: 6px;
}

@keyframes msgSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: msgSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.user-msg-bubble {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--color-lumen);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--rim-inset);
    padding: 8px 14px;
    border-radius: 4px 12px 12px 12px;
    display: inline-block;
    margin-top: 4px;
    max-width: fit-content;
}

.user-cmd-highlight {
    color: var(--color-primary);
    font-weight: 500;
}

.thinking-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.thinking-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-muted);
    animation: dotPulse 1.2s infinite ease-in-out alternate;
}

.thinking-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.thinking-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px var(--rim-inset);
    flex-shrink: 0;
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.chat-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-lumen);
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-dim);
    font-weight: 400;
}

.chat-text {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
}

.v2-container-box {
    margin-top: 6px;
    background: var(--surface-elevated);
    box-shadow: inset 0 0 0 1px rgba(229, 208, 131, 0.2);
    border-radius: 8px;
    padding: 14px 16px;
    border-left: 3px solid var(--color-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-container-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: left 0.6s ease;
}

.v2-container-box:hover {
    border-left-color: #F3E5AB;
    box-shadow: inset 0 0 0 1px rgba(229, 208, 131, 0.4), -4px 0 20px rgba(229, 208, 131, 0.25);
    transform: translateY(-2px) scale(1.008);
    background: rgba(229, 208, 131, 0.04);
}

.v2-container-box:hover::before {
    left: 100%;
}

.v2-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-lumen);
    margin-bottom: 4px;
    transition: transform 0.25s ease;
}

.v2-container-box:hover .v2-title {
    transform: translateX(2px);
    color: #ffffff;
}

.v2-desc {
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.5;
}

.v2-separator {
    height: 1px;
    background: var(--rim-inset);
    margin: 10px 0;
}

.v2-code {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-primary);
    background: rgba(229, 208, 131, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.v2-highlight {
    color: var(--color-lumen);
    font-weight: 500;
}

.v2-footer {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-muted);
    font-style: italic;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.v2-media-gallery {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 120px;
    border: 1px solid var(--rim-inset);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.v2-preview-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 6px;
}

.v2-action-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.v2-btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--rim-inset);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-muted);
    cursor: default;
}

.v2-btn-primary {
    background: rgba(229, 208, 131, 0.12);
    color: var(--color-primary);
    border-color: rgba(229, 208, 131, 0.25);
}

.in-action-layout {
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    gap: 48px;
    align-items: center;
}

.in-action-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.in-action-right {
    width: 100%;
    margin-left: 80px;
}

.preview-pills-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .in-action-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.preview-pills-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-muted);
}

.preview-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cmd-pill-item {
    font-family: var(--font-mono);
    font-size: 11.5px;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--rim-inset);
    color: var(--color-muted);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    outline: none;
}

.cmd-pill-item:hover {
    color: var(--color-lumen);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.cmd-pill-item.active {
    color: #0A0A0C;
    background: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(229, 208, 131, 0.3);
}

.standalone-chat-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
    width: 100%;
}

.standalone-msg-card {
    background: var(--surface-card);
    border: 1px solid var(--rim-inset);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 480px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.standalone-msg-card:hover {
    border-color: rgba(229, 208, 131, 0.3);
    background: var(--surface-elevated);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.terminal-input-row {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rim-inset);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-lumen);
    font-family: var(--font-mono);
    font-size: 12px;
}

.quick-cmds {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.cmd-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(229, 208, 131, 0.08);
    border: 1px solid rgba(229, 208, 131, 0.2);
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cmd-btn:hover {
    background: rgba(229, 208, 131, 0.2);
    border-color: var(--color-primary);
}

.character-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.page-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 4.5vw, 56px);
    line-height: 1.05;
    font-weight: 400;
    margin-bottom: 20px;
}

.page-title i {
    color: var(--color-primary);
}

.page-desc {
    max-width: 580px;
    margin: 0 auto;
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rim-inset), transparent);
    margin: 50px 0;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.trait-card {
    background: var(--surface-card);
    border: 1px solid var(--rim-inset);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}

.trait-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transform: scaleX(0.3);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.trait-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(229, 208, 131, 0.08), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.trait-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 208, 131, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 208, 131, 0.1);
}

.trait-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.trait-card:hover .trait-card-glow {
    opacity: 1;
}

.trait-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.trait-number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-primary);
    opacity: 0.85;
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.trait-card:hover .trait-number {
    transform: translateX(2px);
    letter-spacing: 0.05em;
}

.trait-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.4;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(229, 208, 131, 0.4);
}

.trait-card:hover .trait-dot {
    opacity: 1;
    transform: scale(1.3);
    animation: pulseDot 1.5s ease-in-out infinite alternate;
}

@keyframes pulseDot {
    0% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 16px var(--color-primary);
    }
}

.trait-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-lumen);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.trait-card:hover .trait-title {
    color: #ffffff;
    transform: translateX(2px);
}

.trait-desc {
    font-size: 13.5px;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

.trait-card:hover .trait-desc {
    color: rgba(255, 255, 255, 0.65);
}

.trait-quote {
    font-family: var(--font-mono);
    font-size: 12px;
    background: rgba(0, 0, 0, 0.35);
    border-left: 2.5px solid var(--color-primary);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    color: var(--color-lumen);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-left-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.trait-card:hover .trait-quote {
    transform: translateX(6px);
    background: rgba(229, 208, 131, 0.08);
    box-shadow: -4px 0 14px rgba(229, 208, 131, 0.25);
    color: #ffffff;
}

.tone-box {
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(229, 208, 131, 0.05), var(--surface-card));
    border: 1px solid var(--rim-inset);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
}

.tone-header {
    margin-bottom: 28px;
}

.tone-title {
    font-family: var(--font-display);
    font-size: 30px;
    margin-bottom: 8px;
}

.tone-rules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rule-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rule-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(229, 208, 131, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

.rule-text-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-lumen);
    margin-bottom: 3px;
}

.rule-text-desc {
    font-size: 12.5px;
    color: var(--color-muted);
    line-height: 1.6;
}

.ending-hero-card {
    background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(229, 208, 131, 0.12), var(--surface-card));
    box-shadow: inset 0 0 0 1px rgba(229, 208, 131, 0.2), 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(229, 208, 131, 0.08);
    border-radius: 24px;
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 48px;
}

.ending-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.ending-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.ending-card {
    background: var(--surface-elevated);
    border: 1px solid var(--rim-inset);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}

.ending-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transform: scaleX(0.3);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.ending-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(229, 208, 131, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ending-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(229, 208, 131, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 28px rgba(229, 208, 131, 0.15);
    background: rgba(229, 208, 131, 0.03);
}

.ending-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.ending-card:hover::after {
    opacity: 1;
}

.ending-card-action svg {
    transition: transform 0.3s ease;
}

.ending-card:hover .ending-card-action svg {
    transform: translateX(3px);
}

.ending-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: var(--color-primary-dim);
    padding: 3px 10px;
    border-radius: 99px;
    width: fit-content;
    margin-bottom: 20px;
}

.ending-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--rim-inset);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-lumen);
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.ending-card:hover .ending-card-icon {
    background: rgba(229, 208, 131, 0.12);
    color: var(--color-primary);
    border-color: rgba(229, 208, 131, 0.3);
    transform: scale(1.08);
}

.ending-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-lumen);
    margin-bottom: 8px;
}

.ending-card-desc {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.ending-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ending-btn-primary {
    background: linear-gradient(180deg, rgba(229, 208, 131, 0.95), #c4b16f);
    color: #0A0A0C;
    box-shadow: 0 4px 16px rgba(229, 208, 131, 0.25);
}

.ending-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(229, 208, 131, 0.4);
    filter: brightness(1.06);
}

.ending-btn-moniss {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-lumen);
    border: 1px solid var(--rim-inset);
}

.ending-btn-moniss:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.ending-status-strip {
    background: rgba(17, 17, 21, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--rim-inset);
    border-radius: 16px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 12px rgba(229, 208, 131, 0.3);
    object-fit: cover;
}

.status-quote {
    font-size: 13.5px;
    color: var(--color-lumen);
    font-style: italic;
}

.status-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-muted);
}

@media (max-width: 900px) {
    .ending-grid {
        grid-template-columns: 1fr;
    }

    .ending-status-strip {
        flex-direction: column;
        text-align: center;
    }
}

.nav-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 99px;
    background: rgba(229, 208, 131, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(229, 208, 131, 0.3);
    margin-left: 4px;
    vertical-align: middle;
    text-transform: lowercase;
}

.lang-switch-floating {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    background: rgba(17, 17, 21, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rim-inset);
    color: var(--color-muted);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switch-floating:hover {
    background: rgba(26, 26, 34, 0.95);
    color: var(--color-primary);
    border-color: rgba(229, 208, 131, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 208, 131, 0.15);
    transform: translateY(-2px);
}

.lang-switch-floating svg {
    transition: transform 0.3s ease;
}

.lang-switch-floating:hover svg {
    transform: rotate(20deg);
}

@media (max-width: 600px) {
    .lang-switch-floating {
        bottom: 16px;
        left: 16px;
        padding: 6px 12px;
        font-size: 10.5px;
    }
}

.cmd-indicator-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    background: rgba(17, 17, 21, 0.7);
    border: 1px solid var(--rim-inset);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    margin-top: 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.cmd-indicator-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cmd-indicator-banner:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 208, 131, 0.35);
    background: rgba(22, 22, 28, 0.9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 208, 131, 0.12);
}

.cmd-indicator-banner:hover::before {
    opacity: 1;
}

.cmd-indicator-banner:hover .cmd-indicator-title {
    color: var(--color-primary);
}

.cmd-indicator-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.cmd-indicator-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-lumen);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.cmd-indicator-desc {
    font-size: 13px;
    color: var(--color-muted);
}

.cmd-indicator-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 99px;
    background: var(--surface-card);
    border: 1px solid var(--rim-inset);
    color: var(--color-lumen);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.cmd-indicator-btn svg {
    transition: transform 0.25s ease;
}

.cmd-indicator-banner:hover .cmd-indicator-btn,
.cmd-indicator-btn:hover {
    background: var(--color-primary);
    color: #0A0A0C;
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(229, 208, 131, 0.3);
}

.cmd-indicator-banner:hover .cmd-indicator-btn svg,
.cmd-indicator-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 700px) {
    .cmd-indicator-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

footer {
    background: #0b0b0e;
    border-top: 1px solid var(--rim-inset);
    padding: 56px 0 36px 0;
    position: relative;
    z-index: 10;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-desc {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6;
}

.footer-nav-simple {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.footer-nav-col a {
    color: var(--color-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-col a:hover {
    color: var(--color-lumen);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--rim-inset);
    margin-bottom: 24px;
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 12px;
    color: var(--color-muted);
}

.footer-host-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--rim-inset);
    color: var(--color-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.25s ease;
}

.footer-host-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-lumen);
    transform: translateY(-1px);
}

.host-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--rim-inset);
    color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon-btn:hover {
    background: rgba(229, 208, 131, 0.12);
    color: var(--color-primary);
    border-color: rgba(229, 208, 131, 0.3);
}

.scroll-top-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--rim-inset);
    color: var(--color-lumen);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--color-primary);
    color: #0A0A0C;
    border-color: var(--color-primary);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--motion-slow), transform var(--motion-slow);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

#page-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0A0A0C;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#page-preloader.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.prl-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
}

.prl-avatar-wrap img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    animation: prlAvatarWake 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prlAvatarWake {
    0% {
        filter: blur(14px) brightness(0.15);
        transform: scale(0.82);
    }

    55% {
        filter: blur(3px) brightness(0.65);
        transform: scale(1.03);
    }

    100% {
        filter: blur(0) brightness(1);
        transform: scale(1);
    }
}

.prl-pulse-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1.5px solid rgba(229, 208, 131, 0.45);
    animation: prlPulseRing 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prlPulseRing {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }

    55% {
        opacity: 0.6;
        box-shadow: 0 0 30px rgba(229, 208, 131, 0.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 60px rgba(229, 208, 131, 0.35);
    }
}

.prl-type-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.04em;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: prlTypeReveal 0.7s steps(24, end) 0.4s forwards;
}

@keyframes prlTypeReveal {
    from {
        width: 0;
    }

    to {
        width: 22ch;
    }
}

.prl-orbit-stage {
    position: relative;
    width: 240px;
    height: 240px;
}

.prl-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: -100px;
    border-radius: 50%;
    border: 1px solid rgba(229, 208, 131, 0.14);
    animation: prlRingCollapse 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prlRingCollapse {
    0% {
        width: 200px;
        height: 200px;
        margin: -100px;
        opacity: 0.7;
    }

    100% {
        width: 0;
        height: 0;
        margin: 0;
        opacity: 0;
    }
}

.prl-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    margin: -4.5px;
    border-radius: 50%;
    background: #e5d083;
    box-shadow: 0 0 10px rgba(229, 208, 131, 0.4);
}

.prl-dot:nth-child(2) {
    animation: prlDot1 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.prl-dot:nth-child(3) {
    animation: prlDot2 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.06s forwards;
}

.prl-dot:nth-child(4) {
    animation: prlDot3 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
}

.prl-dot:nth-child(5) {
    animation: prlDot4 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.09s forwards;
}

.prl-dot:nth-child(6) {
    animation: prlDot5 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.02s forwards;
}

.prl-dot:nth-child(7) {
    animation: prlDot6 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.07s forwards;
}

@keyframes prlDot1 {
    0% {
        transform: translate(96px, 0);
        opacity: 1
    }

    80% {
        transform: translate(2px, 0);
        opacity: .8
    }

    100% {
        transform: translate(0, 0);
        opacity: 0
    }
}

@keyframes prlDot2 {
    0% {
        transform: translate(48px, 83px);
        opacity: 1
    }

    80% {
        transform: translate(1px, 2px);
        opacity: .8
    }

    100% {
        transform: translate(0, 0);
        opacity: 0
    }
}

@keyframes prlDot3 {
    0% {
        transform: translate(-48px, 83px);
        opacity: 1
    }

    80% {
        transform: translate(-1px, 2px);
        opacity: .8
    }

    100% {
        transform: translate(0, 0);
        opacity: 0
    }
}

@keyframes prlDot4 {
    0% {
        transform: translate(-96px, 0);
        opacity: 1
    }

    80% {
        transform: translate(-2px, 0);
        opacity: .8
    }

    100% {
        transform: translate(0, 0);
        opacity: 0
    }
}

@keyframes prlDot5 {
    0% {
        transform: translate(-48px, -83px);
        opacity: 1
    }

    80% {
        transform: translate(-1px, -2px);
        opacity: .8
    }

    100% {
        transform: translate(0, 0);
        opacity: 0
    }
}

@keyframes prlDot6 {
    0% {
        transform: translate(48px, -83px);
        opacity: 1
    }

    80% {
        transform: translate(1px, -2px);
        opacity: .8
    }

    100% {
        transform: translate(0, 0);
        opacity: 0
    }
}

.prl-orbit-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(229, 208, 131, 0.6);
    box-shadow: 0 0 40px rgba(229, 208, 131, 0.3);
    animation: prlAvatarPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}

.prl-orbit-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes prlAvatarPop {
    from {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.prl-clarity-logo {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 76px;
    color: #e5d083;
    position: relative;
    z-index: 3;
    animation: prlClarityFocus 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prlClarityFocus {
    0% {
        filter: blur(18px) brightness(0.25);
        letter-spacing: 0.6em;
        opacity: 0;
    }

    40% {
        filter: blur(7px) brightness(0.6);
        letter-spacing: 0.18em;
        opacity: 0.7;
    }

    100% {
        filter: blur(0) brightness(1);
        letter-spacing: 0.02em;
        opacity: 1;
    }
}

.prl-clarity-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
    background-size: 180px;
    animation: prlGrainFade 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prlGrainFade {
    0% {
        opacity: 0.75;
    }

    100% {
        opacity: 0.02;
    }
}

.prl-clarity-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    z-index: 3;
    animation: prlSubFade 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prlSubFade {
    0% {
        opacity: 0;
        filter: blur(8px);
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.prl-sleep-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prl-sleep-name {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 52px;
    color: #e5d083;
    animation: prlSleepFloat 2s ease-in-out infinite;
}

@keyframes prlSleepFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.prl-zzz {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(229, 208, 131, 0.45);
    animation: prlZzzFloat 3s ease-in-out infinite;
}

.prl-zzz:nth-child(2) {
    font-size: 10px;
    left: calc(100% + 4px);
    top: 2px;
    animation-delay: 0s;
}

.prl-zzz:nth-child(3) {
    font-size: 12px;
    left: calc(100% + 14px);
    top: -14px;
    animation-delay: 0.5s;
}

.prl-zzz:nth-child(4) {
    font-size: 14px;
    left: calc(100% + 22px);
    top: -32px;
    animation-delay: 1s;
}

@keyframes prlZzzFloat {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateY(-22px);
    }
}

.prl-sleep-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.prl-bar-wrap {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prl-bar-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.prl-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(229, 208, 131, 0.55), #e5d083);
    border-radius: 99px;
    box-shadow: 0 0 8px rgba(229, 208, 131, 0.45);
    animation: prlBarFill 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

@keyframes prlBarFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.prl-bar-pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    text-align: right;
}