:root {
    --bg: #100817;
    --bg-soft: #1b0c28;
    --card: rgba(255, 255, 255, 0.08);
    --card-strong: rgba(255, 255, 255, 0.14);
    --line: rgba(255, 255, 255, 0.14);
    --text: #fff8ff;
    --muted: #cdb7dd;
    --pink: #ff3aa7;
    --orange: #ff8a1f;
    --purple: #7b35ff;
    --cyan: #50e3ff;
    --green: #75ffb1;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 58, 167, 0.22), transparent 30rem),
        radial-gradient(circle at 92% 12%, rgba(123, 53, 255, 0.24), transparent 34rem),
        radial-gradient(circle at 50% 78%, rgba(255, 138, 31, 0.12), transparent 36rem),
        linear-gradient(135deg, #09040f 0%, #14091d 50%, #0b0610 100%);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(16, 8, 23, 0.78);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand img {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 0 14px rgba(255, 58, 167, 0.45));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    color: var(--muted);
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 14px;
    transition: 0.22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    padding: 9px 14px;
}

.hero {
    padding: 72px 0 38px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 42px;
    align-items: center;
}

.eyebrow,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffe3f4;
    background: rgba(255, 58, 167, 0.14);
    border: 1px solid rgba(255, 58, 167, 0.28);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.hero h1,
.page-hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, #ff67bd 38%, #ff9d3b 72%, #86edff);
    -webkit-background-clip: text;
    color: transparent;
}

.lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 720px;
}

.hero-actions,
.section-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 16px 40px rgba(255, 58, 167, 0.24);
}

.btn-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
    position: relative;
}

.glow-orbit {
    position: absolute;
    inset: 5% 8%;
    border-radius: 38px;
    background: linear-gradient(135deg, rgba(255, 58, 167, 0.16), rgba(255, 138, 31, 0.13));
    filter: blur(28px);
    transform: rotate(-8deg);
}

.hero-card {
    position: relative;
    border-radius: 36px;
    padding: 20px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-card img {
    border-radius: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.stat-pill {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.07);
}

.stat-pill strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
}

.stat-pill span {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 54px 0;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-title h2,
.page-hero h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-title p {
    margin: 6px 0 0;
    color: var(--muted);
    max-width: 680px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.card-body {
    padding: 22px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.card p {
    color: var(--muted);
    margin: 0;
}

.card:hover {
    border-color: rgba(255, 58, 167, 0.42);
}

.video-card {
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255, 58, 167, 0.35), rgba(123, 53, 255, 0.24)),
        linear-gradient(180deg, #251133, #0f0717);
    position: relative;
    min-height: 350px;
}

.video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.82) 100%);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.video-info h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.video-info p {
    margin: 0;
    color: #f1dff2;
    font-size: 14px;
}

.play {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: #180821;
    box-shadow: 0 12px 35px rgba(255, 58, 167, 0.3);
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    font-weight: 900;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    color: #ffeefa;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge.hot {
    background: rgba(255, 138, 31, 0.18);
    border-color: rgba(255, 138, 31, 0.36);
}

.badge.new {
    background: rgba(80, 227, 255, 0.16);
    border-color: rgba(80, 227, 255, 0.3);
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    align-items: stretch;
}

.timeline-date {
    border-radius: 18px;
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(150deg, rgba(255, 58, 167, 0.25), rgba(123, 53, 255, 0.22));
    border: 1px solid var(--line);
    font-weight: 900;
}

.timeline-content {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
}

.timeline-content strong {
    display: block;
}

.timeline-content span {
    color: var(--muted);
    font-size: 14px;
}

.table-like {
    display: grid;
    gap: 10px;
}

.rank-row {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
}

.rank-num {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    font-weight: 900;
}

.rank-title strong {
    display: block;
}

.rank-title span,
.rank-score {
    color: var(--muted);
    font-size: 14px;
}

.rank-score {
    white-space: nowrap;
}

.category-card {
    min-height: 210px;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: -30% auto auto 52%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 58, 167, 0.22), transparent 68%);
}

.mini-phone {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    align-items: center;
}

.phone-frame {
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    padding: 9px;
    border: 1px solid var(--line);
    background: #08030c;
}

.phone-screen {
    height: 100%;
    border-radius: 15px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.17), transparent 22%),
        linear-gradient(160deg, rgba(255, 58, 167, 0.7), rgba(123, 53, 255, 0.65) 56%, rgba(255, 138, 31, 0.7));
    display: grid;
    place-items: center;
    font-size: 30px;
}

.panel {
    border-radius: 30px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.065);
    padding: 28px;
}

.page-hero {
    padding: 62px 0 34px;
}

.page-hero .lead {
    max-width: 820px;
}

.split {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 28px;
    align-items: center;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.065);
    color: #f4e7f7;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.tab-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
}

.tab-btn.is-active {
    border-color: rgba(255, 58, 167, 0.46);
    background: rgba(255, 58, 167, 0.18);
}

.filter-item {
    display: block;
}

.filter-item.is-hidden {
    display: none;
}

.episode-list {
    display: grid;
    gap: 14px;
}

.episode-row {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.065);
}

.episode-index {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    border-radius: 18px;
    display: grid;
    place-items: center;
    min-height: 58px;
    background: linear-gradient(135deg, rgba(123, 53, 255, 0.7), rgba(255, 58, 167, 0.65));
}

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

.form-grid label {
    display: grid;
    gap: 7px;
    color: #f6e7fb;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(5, 2, 8, 0.55);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.form-note {
    color: var(--muted);
    font-size: 14px;
}

.notice {
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(117, 255, 177, 0.12);
    border: 1px solid rgba(117, 255, 177, 0.24);
    display: none;
}

.notice.is-show {
    display: block;
}

.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.065);
    overflow: hidden;
}

.faq summary {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 800;
}

.faq details p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

.domain-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(80, 227, 255, 0.12);
    border: 1px solid rgba(80, 227, 255, 0.26);
    color: #dbfaff;
    word-break: break-all;
}

.marquee {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.065);
}

.marquee-track {
    display: flex;
    gap: 12px;
    min-width: max-content;
    padding: 12px;
    animation: slide 22s linear infinite;
}

.marquee span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f5e3fa;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.site-footer {
    margin-top: 36px;
    border-top: 1px solid var(--line);
    background: rgba(7, 3, 10, 0.74);
    padding: 34px 0;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.footer-brand {
    color: var(--text);
    font-weight: 900;
    font-size: 21px;
}

.site-footer a {
    color: #fff;
}

.domain-line {
    word-break: break-all;
}

.back-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 12px 35px rgba(255, 58, 167, 0.24);
}

.scroll-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-color: rgba(255,255,255,0.25) transparent;
}

.kv {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.kv strong {
    color: #fff;
}

@media (max-width: 980px) {
    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 16px;
        right: 16px;
        padding: 14px;
        border-radius: 22px;
        border: 1px solid var(--line);
        background: rgba(16, 8, 23, 0.96);
        box-shadow: var(--shadow);
        align-items: stretch;
    }

    .main-nav.is-open {
        display: grid;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav a {
        padding: 12px 14px;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .hero {
        padding-top: 44px;
    }

    .hero-stats,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section-title {
        align-items: start;
        flex-direction: column;
    }

    .timeline-item,
    .episode-row,
    .rank-row {
        grid-template-columns: 1fr;
    }

    .video-card {
        min-height: 420px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 40px;
    }
}
