/* About Subpage Styles - Single unified panel with clean segmentation and blue badges */

.tool-topbar {
    position: fixed;
    top: 0;
    z-index: 60;
    width: 100%;
    border-bottom: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    opacity: 0.52;
    transform: translateY(-7px);
    transition: background 460ms cubic-bezier(0.2, 0.75, 0.25, 1),
        border-color 460ms cubic-bezier(0.2, 0.75, 0.25, 1),
        box-shadow 460ms cubic-bezier(0.2, 0.75, 0.25, 1),
        opacity 360ms ease, transform 460ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.tool-topbar.is-revealed {
    border-bottom-color: color-mix(in srgb, var(--line) 68%, transparent);
    background: color-mix(in srgb, var(--header) 84%, transparent);
    box-shadow: 0 8px 22px rgba(20, 16, 28, 0.08);
    opacity: 1;
    transform: translateY(0);
    backdrop-filter: blur(9px) saturate(1.02);
}

.tool-topbar__inner {
    width: var(--topbar-page, min(1280px, calc(100vw - 48px)));
    min-height: 70px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}

.tool-topbar .site-actions {
    grid-column: 3;
    justify-self: end;
}

@media (hover: none), (pointer: coarse) {
    .tool-topbar {
        opacity: 1;
        transform: none;
    }
}

.tool-back {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-family: "LXGW WenKai TC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: var(--header-text-shadow);
    text-decoration: none;
    transition: color 180ms ease;
}

.tool-back > span {
    color: var(--accent);
    font-size: 18px;
    line-height: 1;
    transition: transform 180ms ease;
}

.tool-back:hover {
    color: var(--ink);
}

.tool-back:hover > span {
    transform: translateX(-4px);
}

.tool-context {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    border: 0;
    text-shadow: var(--header-text-shadow);
    white-space: nowrap;
}

.tool-context a {
    color: var(--ink);
    font-family: "LXGW WenKai TC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.tool-context i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent-2);
}

.tool-context strong {
    color: var(--muted);
    font-family: "LXGW WenKai TC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.tool-topbar .site-control {
    width: max-content;
    align-self: center;
    justify-self: end;
}

/* Main Container */
.about-page {
    width: min(1030px, calc(100vw - 48px));
    margin: 0 auto;
    padding: calc(70px + clamp(56px, 8vw, 105px)) 0 46px;
}

/* Surface with the exact edge decoration of osu-converter */
.about-surface {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 76px);
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.about-surface::before {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(32px, 6vw, 76px);
    width: 90px;
    height: 3px;
    background: var(--accent-2);
    transform: rotate(-1deg);
}

.about-surface::after {
    display: none;
}

/* Title Section - Only "关于" */
.about__intro {
    display: block;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.about__title h1 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
}

/* Single Unified Card */
.about-card {
    position: relative;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: color-mix(in srgb, var(--paper-solid) 80%, transparent);
}

/* Segments inside the card */
.about-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-section__header h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.about-dot-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0;
}

.about-dot-divider::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent-2) 60%, transparent);
}

/* Capsule Flow - Blue Theme */
.about-capsules {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
}

.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: color-mix(in srgb, var(--paper-solid) 90%, transparent);
    text-decoration: none;
    color: var(--ink);
    font-family: "LXGW WenKai TC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.about-pill:hover {
    border-color: var(--accent-2);
    background: color-mix(in srgb, var(--accent-soft) 50%, var(--paper-solid));
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.about-pill.is-primary {
    border-color: color-mix(in srgb, var(--accent) 60%, var(--line-strong));
    background: color-mix(in srgb, var(--accent-soft) 32%, var(--paper-solid));
}

.about-pill.is-primary:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--paper-solid));
}

.about-pill.is-monitor {
    border-color: color-mix(in srgb, var(--accent-2) 65%, var(--line-strong));
    background: color-mix(in srgb, var(--accent-2-soft) 35%, var(--paper-solid));
}

.about-pill.is-monitor:hover {
    border-color: var(--accent-2);
    background: color-mix(in srgb, var(--accent-2-soft) 75%, var(--paper-solid));
}

/* All badges are strictly BLUE theme */
.about-pill-badge {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
}

.about-pill.is-primary .about-pill-badge {
    background: var(--accent);
    color: #ffffff;
}

.about-pill.is-monitor .about-pill-badge {
    background: var(--accent-2-soft);
    color: var(--accent-2);
}

.about-pill-url {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: -0.01em;
}

.about-pill-arrow {
    font-size: 13px;
    color: var(--muted);
    transition: transform 180ms ease, color 180ms ease;
}

.about-pill:hover .about-pill-arrow {
    color: var(--accent);
    transform: translateX(2px);
}

/* Site Info */
.about-site-info {
    margin: 0;
    color: var(--muted);
    font-family: "LXGW WenKai TC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.75;
}

.about-page footer {
    margin-top: 36px;
    text-align: center;
    color: var(--faint);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 680px) {
    .tool-topbar__inner {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .tool-context {
        padding: 0 10px;
    }

    .about-surface {
        padding: 28px 20px;
    }

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