:root {
    color-scheme: dark;
    --bg-0: #080a0f;
    --bg-1: #0f141d;
    --bg-2: #151b27;
    --panel: #121722;
    --panel-strong: #1a2231;
    --stroke: rgba(255, 255, 255, 0.08);
    --text: #f5f5f7;
    --muted: #9aa3b2;
    --accent: #7fffd4;
    --accent-strong: #4df0c4;
    --danger: #ff7b7b;
    --glow: rgba(127, 255, 212, 0.18);
}

* {
    box-sizing: border-box;
}

body.wyverno-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, rgba(65, 255, 214, 0.08), transparent 45%),
        linear-gradient(135deg, #06070b, #0f141d 45%, #0a0f18 100%);
    color: var(--text);
    font-family: "Rubik", "Manrope", sans-serif;
}

.wyverno-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 10, 15, 0.85);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(16px);
}

.nav-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.nav-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-brand {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.nav-burger {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 17, 26, 0.8);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 24px rgba(5, 9, 14, 0.4);
    transform: translateY(-1px);
}

.wyverno-nav.is-open .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.wyverno-nav.is-open .nav-burger span:nth-child(2) {
    opacity: 0;
}

.wyverno-nav.is-open .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

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

.nav-left {
    justify-self: start;
}

.nav-right {
    justify-self: end;
    justify-content: flex-end;
}

.model-menu {
    position: relative;
}

.model-trigger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 18, 26, 0.9);
    color: var(--text);
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.model-trigger:hover,
.model-menu.is-open .model-trigger {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(5, 9, 14, 0.35);
    transform: translateY(-1px);
}

.model-current {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-title {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.model-tags,
.model-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.model-tag {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.model-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--muted);
    transition: transform 180ms ease;
}

.model-menu.is-open .model-caret {
    transform: rotate(180deg);
}

.model-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(18, 21, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
    z-index: 30;
}

.model-menu.is-open .model-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.model-option {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    display: grid;
    gap: 6px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease;
    margin-bottom: 5px;
}

.model-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.model-option.is-selected {
    background: rgba(255, 255, 255, 0.08);
}

.model-option-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.model-desc {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.model-check {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.model-option.is-selected .model-check {
    opacity: 1;
    background: rgba(127, 255, 212, 0.2);
    color: var(--accent);
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 17, 26, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.nav-center--plain {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0;
}

.nav-btn {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover {
    color: var(--text);
    background: rgba(127, 255, 212, 0.08);
}

.nav-btn.is-active {
    color: #04110c;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.95), rgba(77, 240, 196, 0.95));
    box-shadow: 0 12px 28px var(--glow);
}

.nav-lab-logo {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.95), rgba(112, 204, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link,
.nav-primary {
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-link {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.8);
}

.nav-link:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.nav-support {
    color: #220808;
    background: linear-gradient(135deg, #ffb35c, #ff7a7a 55%, #f356d0 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 30px rgba(255, 122, 122, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.nav-support:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(255, 122, 122, 0.45);
}

.lang-menu {
    position: relative;
}

.lang-form {
    display: flex;
    align-items: center;
}

.lang-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.8);
    color: var(--text);
    cursor: pointer;
    font-family: "Rubik", "Manrope", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lang-trigger:hover,
.lang-menu.is-open .lang-trigger {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(5, 9, 14, 0.3);
    transform: translateY(-1px);
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-title {
    line-height: 1;
}

.lang-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    transition: transform 180ms ease;
    margin-left: 2px;
}

.lang-menu.is-open .lang-caret {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(18, 21, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
    z-index: 30;
}

.lang-menu.is-open .lang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.lang-option.is-selected {
    background: rgba(255, 255, 255, 0.08);
}

.lang-flag {
    width: 18px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.flag-uk {
    background: linear-gradient(180deg, #0057b7 0 50%, #ffd700 50% 100%);
}

.flag-de {
    background: linear-gradient(180deg, #000000 0 33%, #dd0000 33% 66%, #ffce00 66% 100%);
}

.flag-en {
    background:
        linear-gradient(90deg, transparent 38%, #ffffff 38% 62%, transparent 62%),
        linear-gradient(transparent 43%, #ffffff 43% 57%, transparent 57%),
        linear-gradient(90deg, transparent 42%, #cf142b 42% 58%, transparent 58%),
        linear-gradient(transparent 46%, #cf142b 46% 54%, transparent 54%),
        #012169;
}

.nav-primary {
    color: #04110c;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    box-shadow: 0 12px 28px var(--glow);
}

.nav-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px var(--glow);
}

.wyverno-main {
    display: block;
    flex: 1 0 auto;
}

.wyverno-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(127, 255, 212, 0.16), transparent 65%),
        radial-gradient(760px 520px at 12% 35%, rgba(255, 203, 120, 0.15), transparent 70%),
        linear-gradient(180deg, #05070c 0%, #070b12 45%, #05060a 100%);
    position: relative;
    overflow: hidden;
}

.wyverno-epilogue {
    position: relative;
    padding: 96px 24px 170px;
    min-height: 80vh;
}

.epilogue-shell {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    gap: 56px;
}

.epilogue-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.7;
    filter: blur(2px);
}

.orb-a {
    width: 320px;
    height: 320px;
    right: 6%;
    top: -120px;
    background: radial-gradient(circle at 30% 30%, rgba(127, 255, 212, 0.65), transparent 65%);
}

.orb-b {
    width: 260px;
    height: 260px;
    left: 6%;
    top: 240px;
    background: radial-gradient(circle at 40% 40%, rgba(112, 204, 255, 0.55), transparent 68%);
}

.orb-c {
    width: 420px;
    height: 420px;
    right: 18%;
    bottom: -160px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 198, 120, 0.6), transparent 70%);
}

.epilogue-gridlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 140px),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 140px),
        linear-gradient(180deg, rgba(8, 12, 18, 0.7), transparent 55%, rgba(5, 7, 10, 0.9));
}

.epilogue-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 12%;
    height: 280px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(127, 255, 212, 0.2), transparent);
    mix-blend-mode: screen;
    opacity: 0.6;
}

.js [data-animate] {
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
}

.js [data-animate].animate__animated {
    animation-fill-mode: both;
}

.js [data-animate].is-animated {
    opacity: 1;
    visibility: visible;
}

.epilogue-hero {
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.epilogue-badge {
    width: fit-content;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 14, 22, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.epilogue-title {
    margin: 0;
    font-size: clamp(2.2rem, 3.6vw, 3.3rem);
    letter-spacing: -0.02em;
}

.epilogue-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.epilogue-accent {
    color: var(--text);
    font-weight: 600;
}

.epilogue-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.epilogue-chips span {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 20, 30, 0.65);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.epilogue-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.epilogue-panel {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(18, 24, 36, 0.9), rgba(8, 11, 18, 0.96));
    box-shadow: 0 22px 60px rgba(3, 6, 10, 0.45);
    padding: 26px 28px;
    display: grid;
    gap: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.epilogue-panel p {
    margin: 0;
}

.epilogue-panel--origin {
    grid-column: span 5;
}

.epilogue-panel--models {
    grid-column: span 7;
}

.epilogue-heading {
    margin: 0;
    color: var(--text);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.epilogue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.epilogue-meta-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.epilogue-meta-value {
    color: var(--text);
    font-weight: 600;
}

.epilogue-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.epilogue-model {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 22, 0.8);
    padding: 18px;
    overflow: hidden;
}

.epilogue-model::before {
    content: "";
    position: absolute;
    inset: -30% 0 0;
    background: radial-gradient(circle at 30% 20%, rgba(127, 255, 212, 0.16), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.epilogue-model h4 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.05rem;
}

.epilogue-model p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.epilogue-flow {
    position: relative;
    display: grid;
    gap: 20px;
    padding: 12px 0 12px 18px;
}

.epilogue-flow::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(127, 255, 212, 0.7), transparent);
}

.epilogue-step {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 18px;
    align-items: start;
}

.epilogue-step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(127, 255, 212, 0.8);
    background: rgba(15, 22, 30, 0.9);
    box-shadow: 0 0 18px rgba(127, 255, 212, 0.35);
    margin-top: 6px;
}

.epilogue-step-body h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--text);
}

.epilogue-step-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.epilogue-outro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.epilogue-quote {
    grid-column: span 7;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(150deg, rgba(16, 22, 33, 0.92), rgba(9, 12, 19, 0.98));
    padding: 26px 28px;
    display: grid;
    gap: 14px;
}

.epilogue-quote-mark {
    font-size: 2.6rem;
    color: var(--accent);
    line-height: 1;
}

.epilogue-quote p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-size: 1.02rem;
}

.epilogue-cta {
    grid-column: span 5;
    display: grid;
    gap: 12px;
    align-content: center;
}

.epilogue-cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.epilogue-cta-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(127, 255, 212, 0.9), transparent);
    box-shadow: 0 0 20px rgba(127, 255, 212, 0.2);
}

.epilogue-cta-note {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(127, 255, 212, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(127, 255, 212, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-strong);
    border-color: rgba(77, 240, 196, 0.9);
}

.wyverno-auth {
    min-height: calc(100vh - 96px);
    display: grid;
    place-items: center;
    padding: 72px 24px 96px;
}

.auth-card {
    width: min(460px, 100%);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    background: linear-gradient(160deg, rgba(18, 23, 34, 0.92), rgba(10, 14, 22, 0.96));
    box-shadow: 0 30px 70px rgba(5, 8, 13, 0.45);
    display: grid;
    gap: 16px;
}

.auth-card h1 {
    margin: 0;
    font-size: 1.9rem;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.auth-error {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 123, 123, 0.35);
    background: rgba(255, 123, 123, 0.12);
    color: #ffd6d6;
    font-size: 0.9rem;
}

.auth-success {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(79, 184, 255, 0.35);
    background: rgba(79, 184, 255, 0.12);
    color: #d8ecff;
    font-size: 0.9rem;
}

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

.auth-field {
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--muted);
}

.auth-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 12, 20, 0.85);
    color: var(--text);
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(127, 255, 212, 0.12);
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-submit {
    width: 100%;
    justify-content: center;
}

.auth-footnote {
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-link {
    color: var(--accent);
    text-decoration: none;
}

.auth-link:hover {
    color: var(--accent-strong);
}

.user-menu {
    position: relative;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.16), rgba(77, 240, 196, 0.12));
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 12px 28px rgba(5, 9, 14, 0.4);
}

.user-chip:hover,
.user-menu.open .user-chip {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 36px rgba(127, 255, 212, 0.2);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(127, 255, 212, 0.08));
    color: var(--text);
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-avatar-initial {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.user-name {
    font-weight: 600;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(127, 255, 212, 0.2);
    color: var(--accent);
    font-size: 0.65rem;
}

.user-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--muted);
    transition: transform 180ms ease;
}

.user-menu.open .user-caret {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 8px;
    border-radius: 14px;
    background: var(--panel-strong);
    border: 1px solid var(--stroke);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
    z-index: 20;
}

.user-menu.open .user-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 18px;
    width: 14px;
    height: 14px;
    background: var(--panel-strong);
    border-left: 1px solid var(--stroke);
    border-top: 1px solid var(--stroke);
    transform: rotate(45deg);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s ease;
    position: relative;
    z-index: 1;
}

.user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.user-dropdown-item.danger {
    color: #ffc7c7;
}

.wyverno-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wyverno-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 2vw + 1.5rem, 3.4rem);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--muted);
    line-height: 1.6;
    max-width: 640px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent);
    font-size: 0.7rem;
    margin-bottom: 12px;
}

.hero-orb {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 255, 212, 0.4) 0%, rgba(127, 255, 212, 0.1) 45%, transparent 70%);
    filter: blur(1px);
    box-shadow: 0 0 60px rgba(127, 255, 212, 0.3);
    justify-self: center;
    position: relative;
    animation: orb-float 6s ease-in-out infinite, orb-pulse 3.8s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-mark {
    width: 200px;
    height: 200px;
    border-radius: 32px;
    background: radial-gradient(circle at top, rgba(127, 255, 212, 0.25) 0%, rgba(127, 255, 212, 0.08) 55%, rgba(8, 12, 20, 0.9) 100%);
    box-shadow: 0 30px 70px rgba(6, 10, 18, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    position: relative;
    justify-self: center;
    animation: orb-float 6s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.hero-mark::before,
.hero-mark::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px solid rgba(127, 255, 212, 0.25);
    opacity: 0.7;
}

.hero-mark::after {
    inset: 10px;
    opacity: 0.35;
}

.hero-mark-icon {
    width: 120px;
    height: 120px;
    stroke: currentColor;
    fill: none;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 1;
}

.hero-mark:hover {
    transform: translateY(-6px);
    box-shadow: 0 38px 90px rgba(12, 20, 34, 0.6);
}

.hero-orb::before,
.hero-orb::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 255, 212, 0.18) 0%, transparent 65%);
    opacity: 0.7;
    animation: orb-ripple 5s ease-in-out infinite;
}

.hero-orb::after {
    inset: -34px;
    opacity: 0.45;
    animation-delay: -2s;
}

.hero-orb:hover {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 0 90px rgba(127, 255, 212, 0.45);
}

.wyverno-hero {
    animation: hero-reveal 0.8s ease forwards;
}

.wyverno-card {
    animation: card-reveal 0.7s ease forwards;
}

.wyverno-card:nth-child(2) {
    animation-delay: 0.08s;
}

.wyverno-action {
    animation: card-reveal 0.7s ease forwards;
    animation-delay: 0.16s;
}

.wyverno-result {
    animation: card-reveal 0.7s ease forwards;
    animation-delay: 0.2s;
}

.wyverno-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.wyverno-card {
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.9), rgba(13, 18, 28, 0.95));
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 360px;
    box-shadow: 0 20px 60px rgba(5, 7, 12, 0.45);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.ghost-chip {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    cursor: pointer;
}

.ghost-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.dropzone {
    border: 1px dashed rgba(127, 255, 212, 0.4);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    z-index: 80;
    background: rgba(10, 15, 23, 0.6);
    transition: border 0.2s ease, background 0.2s ease;
    overflow: hidden;
}

.dropzone.is-dragover {
    border-color: var(--accent-strong);
    background: rgba(127, 255, 212, 0.08);
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
}

.dropzone-content {
    text-align: center;
    display: grid;
    gap: 8px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.dropzone-content span {
    color: var(--accent);
}

.drop-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.dropzone small {
    color: var(--muted);
}

.wave-block {
    background: rgba(7, 10, 16, 0.6);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.wave-canvas {
    width: 100%;
    height: 88px;
    display: block;
    background: rgba(5, 8, 13, 0.7);
    border-radius: 12px;
}

.audio-player {
    width: 100%;
    accent-color: var(--accent);
    display: none;
    margin-top: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 17, 26, 0.9);
    box-shadow: 0 12px 30px rgba(5, 9, 14, 0.45);
    height: 52px;
}

.audio-player.is-visible {
    display: block;
}

.audio-player::-webkit-media-controls-panel {
    background: rgba(12, 17, 26, 0.9);
}

.audio-player::-webkit-media-controls-play-button,
.audio-player::-webkit-media-controls-mute-button {
    filter: brightness(1.15);
}

.audio-player::-webkit-media-controls-timeline {
    border-radius: 999px;
    margin: 0 12px;
}

.audio-player::-webkit-media-controls-current-time-display,
.audio-player::-webkit-media-controls-time-remaining-display {
    color: var(--text);
}

.wyverno-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 17, 26, 0.9);
}

.action-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.wyverno-results {
    display: grid;
    gap: 20px;
}

.wyverno-results:empty {
    display: none;
}

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

.mini-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.6);
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mini-btn:hover {
    border-color: rgba(127, 255, 212, 0.5);
    color: var(--accent);
    transform: translateY(-1px);
}

.mini-btn:focus-visible {
    outline: 2px solid rgba(127, 255, 212, 0.6);
    outline-offset: 2px;
}

.primary-btn {
    border: none;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    color: #04110c;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px var(--glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:disabled {
    cursor: not-allowed;
    background: rgba(84, 99, 112, 0.3);
    color: var(--muted);
    box-shadow: none;
}

.primary-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px var(--glow);
}

.primary-btn.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(4, 17, 12, 0.25);
    border-top-color: rgba(4, 17, 12, 0.9);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.primary-btn.is-loading .spinner {
    display: inline-block;
}

.wyverno-result {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 19, 30, 0.92);
}

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

.result-tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(127, 255, 212, 0.12);
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.result-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.download-link {
    text-decoration: none;
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.7);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.secondary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.secondary-btn:not(:disabled):hover {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 12px 28px rgba(5, 9, 14, 0.35);
    transform: translateY(-1px);
}

.secondary-btn .spinner {
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.8);
}

.secondary-btn.is-loading .spinner {
    display: inline-block;
}

.effects-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 65;
}

.effects-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.effects-dialog {
    position: relative;
    width: min(620px, 94vw);
    max-height: 85vh;
    overflow: hidden;
    padding: 26px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    background: linear-gradient(160deg, rgba(16, 21, 31, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 30px 80px rgba(5, 8, 14, 0.6);
    display: grid;
    gap: 16px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.effects-modal.is-open .effects-dialog {
    transform: translateY(0) scale(1);
}

.effects-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.85);
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
    transition: border 0.2s ease, transform 0.2s ease;
}

.effects-close:hover {
    border-color: rgba(127, 255, 212, 0.6);
    transform: rotate(90deg);
}

.effects-label {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    color: var(--accent);
}

.effects-title {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.effects-subtitle {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.effects-list {
    display: grid;
    gap: 10px;
    max-height: 46vh;
    overflow: auto;
    padding-right: 4px;
}

.effects-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 16, 0.7);
    cursor: grab;
}

.effects-item.is-dragging {
    opacity: 0.65;
    border-color: rgba(127, 255, 212, 0.6);
    cursor: grabbing;
}

.effects-handle {
    color: var(--muted);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.12em;
    cursor: grab;
    user-select: none;
}

.effects-name {
    font-weight: 600;
}

.effects-toggle {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.effects-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.effects-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.trim-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 60;
}

.trim-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.trim-dialog {
    position: relative;
    width: min(920px, 92vw);
    max-height: 90vh;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--stroke);
    background: linear-gradient(160deg, rgba(16, 21, 31, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 30px 80px rgba(5, 8, 14, 0.6);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.trim-modal.is-open .trim-dialog {
    transform: translateY(0) scale(1);
}

.trim-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.85);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    transition: border 0.2s ease, transform 0.2s ease;
}

.trim-close:hover {
    border-color: rgba(127, 255, 212, 0.6);
    transform: rotate(90deg);
}

.trim-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.trim-label {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.65rem;
    color: var(--accent);
}

.trim-title {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.trim-time {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 16, 0.6);
    color: var(--text);
    white-space: nowrap;
}

.trim-body {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.trim-play {
    width: 104px;
    height: 104px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 17, 26, 0.9);
    color: var(--text);
    font-size: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 20px 40px rgba(5, 9, 14, 0.5);
}

.trim-play:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 255, 212, 0.6);
    box-shadow: 0 24px 50px rgba(5, 9, 14, 0.6);
}

.trim-play.is-playing {
    border-color: rgba(127, 255, 212, 0.8);
    color: var(--accent);
    box-shadow: 0 26px 60px rgba(127, 255, 212, 0.2);
}

.trim-waveframe {
    position: relative;
    border-radius: 16px;
    background: rgba(7, 10, 16, 0.6);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.trim-wave {
    width: 100%;
    height: 130px;
    display: block;
    border-radius: 12px;
    background: rgba(5, 8, 13, 0.7);
}

.trim-overlay {
    position: absolute;
    inset: 12px;
    border-radius: 12px;
    pointer-events: auto;
}

.trim-shade {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(5, 8, 13, 0.68);
    pointer-events: none;
}

.trim-shade[data-trim-shade="left"] {
    left: 0;
}

.trim-shade[data-trim-shade="right"] {
    right: 0;
}

.trim-selection {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 10px;
    background: rgba(127, 255, 212, 0.18);
    border: 1px solid rgba(127, 255, 212, 0.6);
    box-shadow: inset 0 0 0 1px rgba(127, 255, 212, 0.35), 0 0 22px rgba(127, 255, 212, 0.2);
    cursor: grab;
    z-index: 2;
}

.trim-selection:active {
    cursor: grabbing;
}

.trim-handle {
    position: absolute;
    top: 8%;
    bottom: 8%;
    width: 14px;
    border-radius: 12px;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(127, 255, 212, 0.7);
    cursor: ew-resize;
    z-index: 3;
}

.trim-handle--start {
    left: -7px;
}

.trim-handle--end {
    right: -7px;
}

.trim-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff4d4d;
    box-shadow: 0 0 12px rgba(255, 77, 77, 0.65);
    transform: translateX(-1px);
    z-index: 4;
    cursor: ew-resize;
}

.trim-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.trim-tools {
    display: grid;
    gap: 14px;
}

.trim-tools .secondary-btn {
    justify-content: center;
}

.trim-separate-hint {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
}

.trim-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.trim-help {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.voice-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 70;
}

.voice-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.voice-dialog {
    position: relative;
    width: min(560px, 92vw);
    max-height: 85vh;
    overflow: hidden;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    background: linear-gradient(165deg, rgba(16, 21, 31, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 30px 80px rgba(5, 8, 14, 0.6);
    display: grid;
    gap: 18px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.voice-modal.is-open .voice-dialog {
    transform: translateY(0) scale(1);
}

.voice-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.85);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    transition: border 0.2s ease, transform 0.2s ease;
}

.voice-close:hover {
    border-color: rgba(127, 255, 212, 0.6);
    transform: rotate(90deg);
}

.voice-label {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.65rem;
    color: var(--accent);
}

.voice-title {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.voice-body {
    display: grid;
    gap: 16px;
}

.voice-progress {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
}

.voice-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(127, 255, 212, 0.2);
    border-top-color: rgba(127, 255, 212, 0.9);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.voice-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.voice-picker {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
    text-align: center;
}

.voice-stems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.voice-stem {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 17, 26, 0.9);
    color: var(--text);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.voice-stem:hover {
    border-color: rgba(127, 255, 212, 0.7);
    color: var(--accent);
    transform: translateY(-1px);
}

.voice-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.voice-preview {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
}

.voice-waveblock {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.voice-play {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 17, 26, 0.9);
    color: var(--text);
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 16px 36px rgba(5, 9, 14, 0.45);
}

.voice-play:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 255, 212, 0.6);
    box-shadow: 0 20px 44px rgba(5, 9, 14, 0.55);
}

.voice-play.is-playing {
    border-color: rgba(127, 255, 212, 0.8);
    color: var(--accent);
    box-shadow: 0 22px 50px rgba(127, 255, 212, 0.2);
}

.voice-waveframe {
    position: relative;
    border-radius: 14px;
    background: rgba(7, 10, 16, 0.6);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: ew-resize;
}

.voice-wave {
    width: 100%;
    height: 110px;
    display: block;
    border-radius: 10px;
    background: rgba(5, 8, 13, 0.7);
}

.voice-playhead {
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.65);
    transform: translateX(-1px);
    pointer-events: none;
}

.voice-question {
    margin: 0;
    font-weight: 600;
}

.voice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

body.trim-lock {
    overflow: hidden;
}

.advanced-panel {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
    display: none;
    gap: 12px;
}

.advanced-panel.is-open {
    display: grid;
}

.advanced-intro h3 {
    margin: 0;
    font-size: 1rem;
}

.advanced-intro p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.advanced-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.effect-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 16, 0.7);
}

.effect-name {
    font-weight: 600;
}

.effect-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.effect-toggle input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

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

@keyframes orb-float {
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(6px);
    }
}

@keyframes orb-pulse {
    0%,
    100% {
        filter: blur(1px) brightness(1);
    }
    50% {
        filter: blur(0px) brightness(1.15);
    }
}

@keyframes orb-ripple {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.8;
    }
}

@keyframes hero-reveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes card-reveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb,
    .hero-orb::before,
    .hero-orb::after,
    .hero-mark,
    .hero-mark::before,
    .hero-mark::after,
    .epilogue-orb,
    .epilogue-scan,
    .animate__animated,
    .wyverno-hero,
    .wyverno-card,
    .wyverno-action,
    .wyverno-result {
        animation: none !important;
        transition: none;
    }

    .js [data-animate] {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 920px) {
    .nav-shell {
        padding: 14px 18px;
    }

    .nav-bar {
        display: flex;
    }

    .nav-panel {
        display: none;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 16px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--stroke);
    }

    .wyverno-nav.is-open .nav-panel {
        display: grid;
    }

    .nav-left,
    .nav-right,
    .nav-center {
        justify-self: stretch;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-center {
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }

    .nav-btn,
    .nav-link,
    .nav-primary,
    .nav-support {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .model-trigger,
    .lang-trigger,
    .user-chip {
        width: 100%;
        justify-content: space-between;
    }

    .model-dropdown {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }

    .lang-form {
        width: 100%;
    }

    .wyverno-hero {
        grid-template-columns: 1fr;
    }

    .hero-orb {
        justify-self: start;
    }

    .hero-mark {
        justify-self: start;
    }

    .wyverno-action {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn {
        justify-content: center;
    }

    .trim-dialog {
        padding: 22px;
    }

    .trim-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .trim-body {
        grid-template-columns: 1fr;
    }

    .trim-play {
        width: 100%;
        height: 80px;
        border-radius: 18px;
        justify-content: center;
    }

    .voice-waveblock {
        grid-template-columns: 1fr;
    }

    .voice-play {
        width: 100%;
        height: 72px;
        border-radius: 18px;
    }

    .trim-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wyverno-epilogue {
        padding: 72px 18px 120px;
    }

    .epilogue-shell {
        gap: 40px;
    }

    .epilogue-grid {
        grid-template-columns: 1fr;
    }

    .epilogue-panel--origin,
    .epilogue-panel--models {
        grid-column: span 12;
    }

    .epilogue-outro {
        grid-template-columns: 1fr;
    }

    .epilogue-quote,
    .epilogue-cta {
        grid-column: span 12;
    }

    .epilogue-title {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .epilogue-flow {
        padding-left: 12px;
    }

    .epilogue-chips span {
        font-size: 0.72rem;
    }
}

/* ────────────────────────────────────────
   MINI FOOTER — transparent, 3 links
   ──────────────────────────────────────── */

.wyverno-mini-footer {
    margin-top: auto;
    padding: 20px 24px;
    text-align: center;
    background: transparent;
}

.mini-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mini-footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s ease;
}

.mini-footer-links a:hover {
    color: var(--text);
}

/* ────────────────────────────────────────
   ABOUT PAGE — animation hero block
   ──────────────────────────────────────── */

.about-page {
    display: grid;
    gap: 0;
}

.about-hero {
    position: relative;
    overflow: hidden;
}

.about-scene {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    perspective: 1400px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(65, 255, 214, 0.06), transparent 55%),
        linear-gradient(135deg, #06070b, #0f141d 45%, #0a0f18);
}

/* ambient orbs */
.about-amb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: about-amb-in 2s ease forwards;
}

.about-amb-a {
    width: 420px;
    height: 420px;
    top: -10%;
    left: -8%;
    background: rgba(127, 255, 212, 0.12);
    animation-delay: 0.2s;
}

.about-amb-b {
    width: 300px;
    height: 300px;
    bottom: -5%;
    right: -5%;
    background: rgba(77, 240, 196, 0.08);
    animation-delay: 0.6s;
}

.about-amb-c {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    background: rgba(127, 255, 212, 0.06);
    animation-delay: 1s;
}

@keyframes about-amb-in {
    to { opacity: 1; }
}

/* glass panel */
.about-glass {
    position: relative;
    z-index: 2;
    width: 1100px;
    max-width: 95vw;
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.85), rgba(13, 18, 28, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(5, 7, 12, 0.6), 0 0 60px rgba(127, 255, 212, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    opacity: 0;
    animation: about-glass-in 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
        about-glass-shrink 1.8s cubic-bezier(0.25, 1, 0.5, 1) 5s forwards;
    overflow: hidden;
}

@keyframes about-glass-in {
    0% { opacity: 0; transform: rotateX(14deg) rotateY(-6deg) scale(0.65) translateZ(-160px); }
    100% { opacity: 1; transform: rotateX(4deg) rotateY(-2deg) scale(1.15) translateZ(0); }
}

@keyframes about-glass-shrink {
    0% { transform: rotateX(4deg) rotateY(-2deg) scale(1.15); }
    100% { transform: rotateX(6deg) rotateY(-3deg) scale(0.88); }
}

.about-glass::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(105deg, transparent 40%, rgba(127, 255, 212, 0.06) 45%, rgba(127, 255, 212, 0.12) 50%, rgba(127, 255, 212, 0.06) 55%, transparent 60%);
    animation: about-shimmer 2.5s ease-in-out 4.2s forwards;
    opacity: 0;
    pointer-events: none;
}

@keyframes about-shimmer {
    0% { opacity: 1; transform: translateX(-60%); }
    60% { opacity: 1; }
    100% { opacity: 0; transform: translateX(60%); }
}

/* nav inside glass */
.about-g-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(-80px) scale(0.95);
    animation: about-fly-top 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

@keyframes about-fly-top {
    0% { opacity: 0; transform: translateY(-80px) scale(0.95); }
    60% { opacity: 1; }
    80% { transform: translateY(3px) scale(1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.about-g-nav-left {
    display: flex;
    gap: 8px;
    align-items: center;
}

.about-g-nav-version {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: rgba(12, 17, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-g-nav-dropdown {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    background: rgba(12, 17, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-g-nav-dropdown::after {
    content: '▾';
    font-size: 10px;
    opacity: 0.6;
}

.about-g-nav-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.about-g-nav-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.about-g-nav-btn {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.7);
    color: var(--text);
}

.about-g-nav-primary {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    color: #04110c;
}

/* hero inside glass */
.about-g-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 28px 24px;
    gap: 24px;
    opacity: 0;
    transform: translateX(-120px) rotate(-1deg);
    animation: about-fly-left 1s cubic-bezier(0.22, 1, 0.36, 1) 1.8s forwards;
}

@keyframes about-fly-left {
    0% { opacity: 0; transform: translateX(-120px) rotate(-1deg); }
    50% { opacity: 1; }
    80% { transform: translateX(4px) rotate(0); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
}

.about-g-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.about-g-h1 {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 8px;
}

.about-g-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 400px;
}

.about-g-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    background: radial-gradient(circle at 40% 40%, rgba(127, 255, 212, 0.5), rgba(77, 240, 196, 0.15));
    box-shadow: 0 0 40px rgba(127, 255, 212, 0.25);
    opacity: 0;
    animation: about-fly-right-orb 1s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards,
        about-orb-float 5s ease-in-out infinite 3.2s;
}

@keyframes about-fly-right-orb {
    0% { opacity: 0; transform: translateX(100px) translateY(-40px) scale(0.5); }
    60% { opacity: 1; }
    80% { transform: translateX(-3px) translateY(2px) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

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

/* cards inside glass */
.about-g-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 28px 20px;
}

.about-g-card {
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.9), rgba(13, 18, 28, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    opacity: 0;
}

.about-g-card:nth-child(1) {
    transform: translateX(-140px) translateY(100px) rotate(-3deg);
    animation: about-fly-bl 1s cubic-bezier(0.22, 1, 0.36, 1) 2.6s forwards;
}

.about-g-card:nth-child(2) {
    transform: translateX(140px) translateY(100px) rotate(3deg);
    animation: about-fly-br 1s cubic-bezier(0.22, 1, 0.36, 1) 2.9s forwards;
}

@keyframes about-fly-bl {
    0% { opacity: 0; transform: translateX(-140px) translateY(100px) rotate(-3deg); }
    50% { opacity: 1; }
    80% { transform: translateX(3px) translateY(-2px) rotate(0.3deg); }
    100% { opacity: 1; transform: translateX(0) translateY(0) rotate(0); }
}

@keyframes about-fly-br {
    0% { opacity: 0; transform: translateX(140px) translateY(100px) rotate(3deg); }
    50% { opacity: 1; }
    80% { transform: translateX(-3px) translateY(-2px) rotate(-0.3deg); }
    100% { opacity: 1; transform: translateX(0) translateY(0) rotate(0); }
}

.about-g-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.about-g-card-title {
    font-size: 14px;
    font-weight: 600;
}

.about-g-card-chip {
    font-size: 10px;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 3px 10px;
}

.about-g-dropzone {
    border: 1px dashed rgba(127, 255, 212, 0.35);
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    background: rgba(10, 15, 23, 0.5);
}

.about-g-drop-icon {
    font-size: 24px;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.about-g-drop-text {
    font-size: 12px;
    color: var(--muted);
}

.about-g-drop-text span {
    color: var(--accent);
}

/* action bar inside glass */
.about-g-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 28px 20px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(12, 17, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(90px);
    animation: about-fly-bottom 1s cubic-bezier(0.22, 1, 0.36, 1) 3.4s forwards;
}

@keyframes about-fly-bottom {
    0% { opacity: 0; transform: translateY(90px); }
    50% { opacity: 1; }
    80% { transform: translateY(-3px); }
    100% { opacity: 1; transform: translateY(0); }
}

.about-g-status {
    font-size: 12px;
    color: var(--muted);
}

.about-g-action-btn {
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    color: #04110c;
    box-shadow: 0 8px 24px var(--glow);
}

/* lab text layers */
.about-lab-back,
.about-lab-front {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.about-lab-back {
    z-index: 0;
}

.about-lab-back .about-lab-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(72px, 18vw, 220px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 80px rgba(127, 255, 212, 0.3), 0 0 160px rgba(127, 255, 212, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.5);
    animation: about-title-in 2s cubic-bezier(0.22, 1, 0.36, 1) 6.2s forwards;
}

.about-lab-front {
    z-index: 10;
}

.about-lab-front .about-lab-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(72px, 18vw, 220px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
    text-shadow: none;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.5);
    animation: about-title-in 2s cubic-bezier(0.22, 1, 0.36, 1) 6.2s forwards;
}

@keyframes about-title-in {
    0% { opacity: 0; transform: scale(0.5); filter: blur(16px); }
    40% { filter: blur(4px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.about-lab-sub {
    font-size: clamp(13px, 2.2vw, 20px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 16px;
    opacity: 0;
}

.about-lab-back .about-lab-sub {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(127, 255, 212, 0.2);
    animation: about-sub-in 1.4s ease 7.6s forwards;
}

.about-lab-front .about-lab-sub {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    animation: about-sub-in 1.4s ease 7.6s forwards;
}

@keyframes about-sub-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.about-lab-line {
    width: 80px;
    height: 2px;
    margin-top: 14px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    animation: about-line-in 1s ease 8.2s forwards;
}

@keyframes about-line-in {
    to { opacity: 0.7; }
}

/* particles */
.about-particle {
    position: absolute;
    z-index: 25;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: about-particle-in 1s ease forwards, about-particle-float 4s ease-in-out infinite;
}

.about-p1 { width: 4px; height: 4px; top: 18%; left: 22%; animation-delay: 7s, 7s; }
.about-p2 { width: 3px; height: 3px; top: 25%; right: 28%; animation-delay: 7.2s, 7.2s; }
.about-p3 { width: 5px; height: 5px; top: 15%; left: 55%; animation-delay: 7.4s, 7.4s; }
.about-p4 { width: 3px; height: 3px; top: 30%; left: 35%; animation-delay: 7.5s, 7.5s; }
.about-p5 { width: 4px; height: 4px; top: 20%; right: 18%; animation-delay: 7.7s, 7.7s; }

@keyframes about-particle-in {
    to { opacity: 0.45; }
}

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

/* overlays */
.about-scanline {
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    opacity: 0;
    animation: about-scan-in 0.6s ease 6s forwards;
}

@keyframes about-scan-in {
    to { opacity: 1; }
}

.about-vignette {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.55);
    opacity: 0;
    animation: about-vig-in 2s ease 5s forwards;
}

@keyframes about-vig-in {
    to { opacity: 1; }
}

/* epilogue section on about page */
.about-epilogue {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(127, 255, 212, 0.16), transparent 65%),
        radial-gradient(760px 520px at 12% 35%, rgba(255, 203, 120, 0.15), transparent 70%),
        linear-gradient(180deg, #05070c 0%, #070b12 45%, #05060a 100%);
}

/* tablet/small desktop responsive - proportional scaling */
@media (min-width: 701px) and (max-width: 1200px) {
    .about-glass {
        width: 90vw;
        max-width: 900px;
    }

    .about-g-h1 {
        font-size: clamp(18px, 2.5vw, 24px);
    }

    .about-g-sub {
        font-size: 12px;
        max-width: 350px;
    }

    .about-g-orb {
        width: 65px;
        height: 65px;
    }

    .about-g-nav {
        padding: 12px 20px;
    }

    .about-g-hero {
        padding: 28px 24px 20px;
    }

    .about-g-cards {
        padding: 0 24px 18px;
    }

    .about-g-card {
        padding: 16px;
    }

    .about-g-action {
        margin: 0 24px 18px;
        padding: 14px 18px;
    }

    .about-lab-title {
        font-size: clamp(60px, 14vw, 180px) !important;
    }

    .about-lab-sub {
        font-size: clamp(12px, 1.8vw, 18px) !important;
    }
}

/* mobile responsive - text below interface */
@media (max-width: 700px) {
    .about-scene {
        min-height: auto;
        padding: 40px 0 60px;
    }

    .about-glass {
        width: 92vw;
    }

    .about-g-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-g-hero {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px 18px;
    }

    .about-g-hero-copy {
        order: 2;
        margin-top: 20px;
    }

    .about-g-orb {
        width: 50px;
        height: 50px;
        order: 1;
    }

    .about-g-sub {
        max-width: 100%;
        font-size: 12px;
    }

    .about-g-h1 {
        font-size: 20px;
    }

    .about-g-eyebrow {
        font-size: 10px;
    }

    .about-g-nav-brand {
        position: static;
        transform: none;
        margin: 0 auto;
    }

    .about-g-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 12px 16px;
    }

    .about-g-nav-left,
    .about-g-nav-right {
        gap: 6px;
    }

    .about-g-cards {
        padding: 0 20px 16px;
    }

    .about-g-card {
        padding: 14px;
    }

    .about-g-card-title {
        font-size: 13px;
    }

    .about-g-dropzone {
        padding: 20px 12px;
    }

    .about-g-drop-text {
        font-size: 11px;
    }

    .about-g-action {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin: 0 20px 16px;
        padding: 14px 16px;
    }

    .about-g-action-btn {
        padding: 10px 20px;
        font-size: 12px;
        width: 100%;
    }

    .about-lab-title {
        font-size: clamp(48px, 12vw, 80px) !important;
    }

    .about-lab-sub {
        font-size: clamp(10px, 1.6vw, 14px) !important;
        margin-top: 10px;
    }

    .about-lab-line {
        width: 60px;
        margin-top: 10px;
    }

    /* Disable tilt effect on mobile */
    .about-glass {
        animation: about-glass-in 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
            about-glass-shrink-mobile 1.8s cubic-bezier(0.25, 1, 0.5, 1) 5s forwards !important;
    }

    @keyframes about-glass-shrink-mobile {
        0% { transform: rotateX(4deg) rotateY(-2deg) scale(1.15); }
        100% { transform: rotateX(0deg) rotateY(0deg) scale(0.95); }
    }
}
