
.about-page {
    --ab-gap: clamp(16px, 2.2vw, 24px);
    display: flex;
    flex-direction: column;
    gap: var(--ab-gap);
    width: min(980px, 94%);
    margin: clamp(18px, 4vw, 40px) auto 48px;
    color: rgba(255, 255, 255, 0.9);
    font-family: Muli, system-ui, sans-serif;
    text-align: left;
}

    .about-page h1,
    .about-page h2,
    .about-page p {
        height: auto;
        margin: 0;
    }

.about-card,
.about-hero,
.about-fact,
.about-quote {
    position: relative;
    box-sizing: border-box;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(var(--t-glow-rgb), 0.12), transparent 55%),
        rgba(var(--t-panel-rgb), 0.84);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.about-card {
    padding: clamp(20px, 3vw, 30px);
}

    .about-card h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
        font-family: 'Courier New', monospace;
        font-size: 15px !important;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--t-accent);
    }

.about-reveal {
    animation: about-in 0.7s cubic-bezier(.2, .8, .2, 1) both;
}

.about-page > :nth-child(2) .about-reveal,
.about-page > :nth-child(2).about-reveal { animation-delay: 0.08s; }
.about-page > :nth-child(3) .about-reveal,
.about-page > :nth-child(3).about-reveal { animation-delay: 0.16s; }
.about-page > :nth-child(4) .about-reveal,
.about-page > :nth-child(4).about-reveal { animation-delay: 0.24s; }
.about-page > :nth-child(5) .about-reveal,
.about-page > :nth-child(5).about-reveal { animation-delay: 0.32s; }
.about-page > :nth-child(n+6) .about-reveal,
.about-page > :nth-child(n+6).about-reveal { animation-delay: 0.4s; }

@keyframes about-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.about-hero {
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 40px);
    padding: clamp(24px, 4.5vw, 48px);
    overflow: hidden;
    border-color: rgba(var(--t-accent-rgb), 0.3);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(var(--t-glow-rgb), 0.22), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(var(--t-accent-rgb), 0.12), transparent 50%),
        rgba(var(--t-panel-rgb), 0.88);
}

.about-avatar {
    flex: 0 0 auto;
    width: clamp(104px, 16vw, 148px);
    aspect-ratio: 1;
    border-radius: 32%;
    padding: 4px;
    background: conic-gradient(from 210deg, var(--t-accent), rgba(var(--t-glow-rgb), 0.9), rgba(var(--t-accent-rgb), 0.2), var(--t-accent));
    box-shadow: 0 0 40px rgba(var(--t-glow-rgb), 0.3);
    animation: about-float 6s ease-in-out infinite;
}

    .about-avatar img,
    .about-avatar span {
        display: grid;
        place-items: center;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        border-radius: calc(32% - 2px);
        object-fit: cover;
        background: rgba(var(--t-panel-rgb), 1);
    }

    .about-avatar span {
        font-family: 'Courier New', monospace;
        font-size: clamp(34px, 5vw, 48px);
        font-weight: 700;
        letter-spacing: -0.04em;
        color: var(--t-accent);
    }

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

.about-hero-text {
    min-width: 0;
}

.about-hello {
    font-size: 15px;
    opacity: 0.7;
}

.about-name {
    margin: 2px 0 6px !important;
    font-family: Muli, sans-serif;
    font-size: clamp(32px, 5vw, 52px) !important;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
}

.about-tagline {
    font-family: 'Courier New', monospace;
    font-size: clamp(14px, 1.8vw, 17px);
    color: rgba(255, 255, 255, 0.85);
}

    .about-tagline b {
        color: var(--t-accent);
    }

.about-caret {
    color: var(--t-accent);
    animation: about-blink 1s steps(1) infinite;
}

@keyframes about-blink { 50% { opacity: 0; } }

.about-intro {
    margin-top: 14px !important;
    max-width: 60ch;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

    .about-links a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 15px;
        border-radius: 999px;
        border: 1px solid rgba(var(--t-accent-rgb), 0.45);
        background: rgba(var(--t-panel-rgb), 0.6);
        color: var(--t-accent) !important;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none !important;
        transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
    }

        .about-links a::after {
            content: "↗";
            font-size: 12px;
        }

        .about-links a:hover {
            background: var(--t-accent);
            color: rgba(var(--t-panel-rgb), 1) !important;
            transform: translateY(-1px);
        }

.about-duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--ab-gap);
}

.about-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--t-accent);
    box-shadow: 0 0 0 0 rgba(var(--t-accent-rgb), 0.6);
    animation: about-pulse 2s ease-out infinite;
}

@keyframes about-pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--t-accent-rgb), 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(var(--t-accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--t-accent-rgb), 0); }
}

.about-now ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.about-now li {
    position: relative;
    padding-left: 22px;
    font-size: 16px;
    line-height: 1.6;
}

    .about-now li::before {
        content: "→";
        position: absolute;
        left: 0;
        color: var(--t-accent);
    }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .about-tags span {
        padding: 7px 13px;
        border-radius: 999px;
        background: rgba(var(--t-accent-rgb), 0.12);
        border: 1px solid rgba(var(--t-accent-rgb), 0.28);
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        font-weight: 700;
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

        .about-tags span:hover {
            transform: translateY(-2px) rotate(-1.5deg);
            background: rgba(var(--t-accent-rgb), 0.25);
        }

.about-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: var(--ab-gap);
}

.about-fact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), border-color 0.3s ease;
}

    .about-fact:hover {
        transform: translateY(-4px);
        border-color: rgba(var(--t-accent-rgb), 0.45);
    }

.about-fact-icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 4px;
}

.about-fact b {
    font-size: 16px;
    color: var(--t-accent);
}

.about-fact p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.about-story .inner-text {
    display: block !important;
    -webkit-line-clamp: unset !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    font-family: Muli, system-ui, sans-serif;
    font-size: clamp(16px, 1.6vw, 18px) !important;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

    .about-story .inner-text a {
        color: var(--t-accent);
    }

    .about-story .inner-text img,
    .about-story .inner-text video,
    .about-story .inner-text iframe {
        display: block;
        max-width: 100% !important;
        margin: 18px auto;
        border-radius: 14px;
    }

    .about-story .inner-text img,
    .about-story .inner-text video {
        height: auto !important;
    }

        .about-story .inner-text img.img-left {
            margin-left: 0;
            margin-right: auto;
        }

    .about-story .inner-text img {
        cursor: zoom-in;
    }

.about-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 26px;
    position: relative;
}

    .about-timeline::before {
        content: "";
        position: absolute;
        left: 7px;
        top: 6px;
        bottom: 6px;
        width: 2px;
        border-radius: 2px;
        background: linear-gradient(180deg, var(--t-accent), rgba(var(--t-accent-rgb), 0.1));
    }

    .about-timeline li {
        position: relative;
        padding: 0 0 22px;
    }

        .about-timeline li:last-child {
            padding-bottom: 0;
        }

        .about-timeline li::before {
            content: "";
            position: absolute;
            left: -25px;
            top: 5px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(var(--t-panel-rgb), 1);
            border: 2px solid var(--t-accent);
            box-shadow: 0 0 12px rgba(var(--t-glow-rgb), 0.5);
        }

    .about-timeline .about-when {
        display: inline-block;
        margin-bottom: 4px;
        font-family: 'Courier New', monospace;
        font-size: 13px;
        font-weight: 700;
        color: var(--t-accent);
    }

    .about-timeline b {
        display: block;
        font-size: 17px;
        color: #fff;
    }

    .about-timeline p {
        margin-top: 4px !important;
        font-size: 15px;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.8);
    }

.about-quote {
    padding: clamp(26px, 4vw, 40px) clamp(24px, 5vw, 56px);
    text-align: center;
    border-color: rgba(var(--t-accent-rgb), 0.3);
}

    .about-quote blockquote {
        margin: 0;
        font-family: Caveat, 'Segoe Script', cursive;
        font-size: clamp(26px, 3.4vw, 36px);
        line-height: 1.3;
        color: #fff;
    }

        .about-quote blockquote::before {
            content: "“";
            display: block;
            font-family: Georgia, serif;
            font-size: 64px;
            line-height: 0.6;
            color: var(--t-accent);
            opacity: 0.7;
        }

.about-quote-sign {
    display: block;
    margin-top: 10px;
    font-family: Caveat, cursive;
    font-size: 24px;
    color: var(--t-accent);
}

.about-loading {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 80px 0;
}

    .about-loading span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--t-accent);
        animation: about-dot 1s ease-in-out infinite;
    }

        .about-loading span:nth-child(2) { animation-delay: 0.15s; }
        .about-loading span:nth-child(3) { animation-delay: 0.3s; }

@keyframes about-dot {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-6px); }
}

@media (max-width: 640px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-intro {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-reveal,
    .about-avatar,
    .about-caret,
    .about-pulse {
        animation: none !important;
    }
}

.about-page.is-compact {
    width: 100%;
    margin: 0;
    --t-panel-rgb: 22, 18, 44;
    --t-accent: #b89cff;
    --t-accent-rgb: 184, 156, 255;
    --t-glow-rgb: 140, 110, 255;
}

    .about-page.is-compact .about-reveal,
    .about-page.is-compact .about-avatar {
        animation: none;
    }

.about-admin {
    text-align: left;
    max-width: 980px;
    margin: 0 auto 28px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #222;
    font-family: Muli, system-ui, sans-serif;
}

    .about-admin h3 {
        margin: 0 0 4px;
        font-size: 20px;
        height: auto;
    }

    .about-admin .about-admin-hint {
        margin: 0 0 14px;
        font-size: 13px;
        color: #666;
    }

    .about-admin fieldset {
        margin: 0 0 16px;
        padding: 14px;
        border: 1px solid #e3e3e3;
        border-radius: 12px;
    }

    .about-admin legend {
        float: none;
        width: auto;
        padding: 0 6px;
        margin: 0;
        font-size: 15px;
        font-weight: 800;
    }

    .about-admin label {
        display: block;
        margin: 8px 0 4px;
        font-size: 13px;
        font-weight: 700;
        color: #444;
    }

    .about-admin input,
    .about-admin textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 9px 11px;
        border: 1px solid #cfcfcf;
        border-radius: 10px;
        font: inherit;
        font-size: 15px;
        color: #222;
        background: #fff;
    }

    .about-admin textarea {
        min-height: 84px;
        resize: vertical;
    }

    .about-admin .about-admin-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
        gap: 0 14px;
    }

    .about-admin .about-admin-row {
        display: grid;
        grid-template-columns: 70px 1fr 2fr auto;
        gap: 8px;
        align-items: start;
        margin-bottom: 8px;
    }

        .about-admin .about-admin-row.is-two {
            grid-template-columns: 1fr 2fr auto;
        }

        .about-admin .about-admin-row.is-time {
            grid-template-columns: 110px 1fr 2fr auto;
        }

        .about-admin .about-admin-row textarea {
            min-height: 42px;
        }

    .about-admin .about-admin-rowbtns {
        display: flex;
        gap: 4px;
    }

    .about-admin button {
        width: auto !important;
        margin: 0 !important;
        padding: 8px 12px;
        border-radius: 10px;
        border: 1px solid #cfcfcf;
        background: #f6f6f6;
        color: #222;
        font-size: 14px !important;
        font-weight: 700;
        cursor: pointer;
    }

        .about-admin button.is-primary {
            background: #6f4ef2;
            border-color: #6f4ef2;
            color: #fff;
            padding: 11px 20px;
        }

        .about-admin button.is-danger {
            color: #b42318;
        }

        .about-admin button:disabled {
            opacity: 0.6;
        }

    .about-admin .about-admin-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        margin-top: 6px;
    }

    .about-admin .about-admin-msg {
        font-size: 14px;
        font-weight: 700;
    }

        .about-admin .about-admin-msg.is-ok { color: #157a3d; }
        .about-admin .about-admin-msg.is-err { color: #b42318; }

    .about-admin .about-admin-warn {
        font-size: 12px;
        color: #b42318;
        margin: 2px 0 0;
    }

    .about-admin .about-admin-preview {
        margin-top: 16px;
        padding: 16px;
        border-radius: 16px;
        background: #120f26;
    }

@media (max-width: 700px) {
    .about-admin .about-admin-row,
    .about-admin .about-admin-row.is-two,
    .about-admin .about-admin-row.is-time {
        grid-template-columns: 1fr;
        padding-bottom: 10px;
        border-bottom: 1px dashed #e3e3e3;
    }
}
