﻿/**
 * 728云寄售首页样式
 * 重点：真实业务感、低噪音、移动端可用。
 */

:root {
    --bg: #10130f;
    --bg-soft: #171b15;
    --card: #f7f1e4;
    --card-muted: #eee4d2;
    --ink: #171b15;
    --ink-soft: #445040;
    --text: #f8f1e6;
    --text-muted: #b9b09f;
    --line: rgba(247, 241, 228, 0.16);
    --line-dark: rgba(23, 27, 21, 0.13);
    --green: #9ad36a;
    --green-dark: #496c2b;
    --orange: #f0a64a;
    --blue: #8dbbd8;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --font: "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font);
    background:
        radial-gradient(circle at 12% 10%, rgba(154, 211, 106, 0.18), transparent 28%),
        radial-gradient(circle at 85% 0%, rgba(240, 166, 74, 0.14), transparent 24%),
        linear-gradient(135deg, #0f120e 0%, #151a13 46%, #0d100d 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

body.theme-anime {
    background:
        linear-gradient(135deg, rgba(17, 20, 16, 0.78), rgba(17, 20, 16, 0.48)),
        url("https://www.loliapi.com/acg/pc/") center / cover fixed no-repeat;
}

body.theme-anime::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.2), transparent 22%),
        linear-gradient(180deg, rgba(13, 16, 13, 0.08), rgba(13, 16, 13, 0.72));
}

body.theme-anime .site-header,
body.theme-anime .hero-copy,
body.theme-anime .section-block,
body.theme-anime .subpage-hero,
body.theme-anime .content-panel,
body.theme-anime .merchant-panel,
body.theme-anime .cta-section,
body.theme-anime .footer {
    background: rgba(23, 27, 21, 0.58);
    backdrop-filter: blur(18px) saturate(130%);
}

body.theme-anime .hero-board,
body.theme-anime .site-popup-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18)),
        rgba(247, 241, 228, 0.88);
}

body.theme-colorful {
    --green: #72f2c1;
    --green-dark: #0f8c76;
    --text: #fff8f0;
    --text-muted: #f4d6e4;
    --line: rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at 15% 18%, rgba(114, 242, 193, 0.28), transparent 26%),
        radial-gradient(circle at 82% 8%, rgba(255, 96, 168, 0.32), transparent 28%),
        radial-gradient(circle at 65% 88%, rgba(94, 151, 255, 0.3), transparent 28%),
        linear-gradient(135deg, #171032 0%, #33144c 44%, #0d3141 100%);
}

body.theme-colorful .site-header,
body.theme-colorful .hero-copy,
body.theme-colorful .section-block,
body.theme-colorful .subpage-hero,
body.theme-colorful .content-panel,
body.theme-colorful .merchant-panel,
body.theme-colorful .cta-section,
body.theme-colorful .footer,
body.theme-colorful .stat-card,
body.theme-colorful .faq-item,
body.theme-colorful .policy-item,
body.theme-colorful .article-item,
body.theme-colorful .empty-card {
    border-color: rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        rgba(15, 12, 35, 0.54);
    backdrop-filter: blur(18px) saturate(150%);
}

body.theme-colorful .btn-solid,
body.theme-colorful .header-action,
body.theme-colorful .site-popup-action {
    color: #180f25;
    background: linear-gradient(135deg, #72f2c1, #ffcf6a 45%, #ff60a8);
}

body.theme-colorful .brand-logo {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 12px 36px rgba(255, 96, 168, 0.24);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(247, 241, 228, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 241, 228, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 75%);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 3px);
    mix-blend-mode: overlay;
}

.site-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px 0 44px;
}

.site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(16, 19, 15, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled {
    border-color: rgba(154, 211, 106, 0.34);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-logo {
    width: 54px;
    height: 46px;
    border-radius: 15px;
    object-fit: cover;
    background: rgba(247, 241, 228, 0.12);
    box-shadow: inset 0 0 0 1px rgba(247, 241, 228, 0.18);
}

.brand-copy {
    display: grid;
    line-height: 1.25;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: 0.02em;
}

.brand-copy small {
    color: var(--text-muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    background: rgba(247, 241, 228, 0.09);
}

.header-action,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.header-action {
    padding: 0 18px;
    color: #14200f;
    background: var(--green);
}

main {
    display: grid;
    gap: 30px;
    padding-top: 42px;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-board,
.section-block,
.merchant-panel,
.cta-section,
.footer {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-copy {
    min-height: 560px;
    padding: clamp(30px, 6vw, 64px);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(247, 241, 228, 0.12), rgba(247, 241, 228, 0.04)),
        rgba(16, 19, 15, 0.62);
}

.eyebrow,
.section-heading span,
.panel-label,
.cta-section p {
    display: inline-flex;
    margin: 0 0 16px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 6.4vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--text-muted);
    font-size: 17px;
}

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

.btn {
    padding: 0 22px;
    font-size: 15px;
}

.btn-solid {
    color: #13200e;
    background: linear-gradient(135deg, var(--green), #e4f2a2);
    box-shadow: 0 16px 34px rgba(154, 211, 106, 0.22);
}

.btn-plain {
    color: var(--text);
    background: rgba(247, 241, 228, 0.08);
    border: 1px solid var(--line);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 42px;
}

.trust-strip span {
    color: var(--text);
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(247, 241, 228, 0.06);
    font-size: 13px;
}

.hero-board {
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius-xl);
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 38%),
        var(--card);
}

.board-top,
.board-grid,
.flow-line,
.scene-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.board-top {
    color: var(--ink-soft);
    font-size: 14px;
}

.board-top strong {
    color: var(--ink);
}

.board-main-number {
    padding: 30px 24px;
    border: 1px solid var(--line-dark);
    border-radius: 28px;
    background: #fffaf0;
}

.board-main-number small,
.stat-card small,
.board-grid span,
.flow-line em,
.scene-list em {
    display: block;
    color: var(--ink-soft);
    font-size: 13px;
    font-style: normal;
}

.board-main-number strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: clamp(38px, 5.8vw, 64px);
    line-height: 1;
    letter-spacing: -0.07em;
    white-space: nowrap;
}

.board-grid {
    align-items: stretch;
}

.board-grid div {
    flex: 1;
    padding: 18px;
    border: 1px solid var(--line-dark);
    border-radius: 20px;
    background: var(--card-muted);
}

.board-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 15px;
}

.order-flow {
    display: grid;
    gap: 10px;
}

.flow-line {
    padding: 14px 16px;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.48);
}

.flow-line span {
    font-weight: 800;
}

.flow-line.active {
    background: #e5f3c8;
    border-color: rgba(73, 108, 43, 0.26);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-card {
    display: grid;
    gap: 6px;
    min-height: 152px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(247, 241, 228, 0.08);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

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

.stat-number {
    display: block;
    color: var(--text);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.stat-card small {
    color: var(--text-muted);
}

.order-stat-card {
    background: linear-gradient(135deg, rgba(154, 211, 106, 0.18), rgba(247, 241, 228, 0.07));
    border-color: rgba(154, 211, 106, 0.28);
}

.section-block,
.merchant-panel,
.cta-section {
    border-radius: var(--radius-xl);
    background: rgba(247, 241, 228, 0.08);
}

.subpage-main {
    display: grid;
    gap: 30px;
}

.subpage-hero,
.content-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.subpage-hero {
    min-height: 360px;
    padding: clamp(30px, 6vw, 58px);
    background:
        linear-gradient(145deg, rgba(247, 241, 228, 0.12), rgba(247, 241, 228, 0.04)),
        rgba(16, 19, 15, 0.62);
}

.subpage-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.subpage-hero p:not(.eyebrow) {
    max-width: 700px;
    margin: 24px 0 0;
    color: var(--text-muted);
    font-size: 17px;
}

.content-panel {
    padding: clamp(26px, 5vw, 46px);
    background: rgba(247, 241, 228, 0.08);
}

.content-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.content-heading span {
    display: inline-flex;
    margin: 0 0 14px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.content-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.content-heading p {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 16px;
}

.faq-list,
.policy-list,
.article-list {
    display: grid;
    gap: 12px;
}

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

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

.article-list {
    grid-template-columns: 1fr;
}

.faq-item,
.policy-item,
.article-item,
.empty-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(16, 19, 15, 0.42);
}

.faq-item {
    min-height: 220px;
    padding: 24px;
}

.policy-item {
    padding: 22px;
}

.article-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
}

.article-item time {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.article-item h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.25;
}

.article-item h3 a {
    color: inherit;
    text-decoration: none;
}

.article-item h3 a:hover {
    color: var(--green);
}

.article-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.article-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.article-link:hover {
    color: #13200e;
    background: var(--green);
}

.empty-card {
    padding: 34px;
    text-align: center;
}

.empty-card h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 22px;
}

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

.policy-item.wide {
    grid-column: 1 / -1;
}

.faq-item b,
.policy-item b {
    color: var(--green);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.faq-item h3,
.policy-item h3 {
    margin: 18px 0 10px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.25;
}

.faq-item p,
.policy-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.section-block {
    padding: clamp(26px, 5vw, 46px);
}

.section-heading {
    max-width: 660px;
    margin-bottom: 26px;
}

.section-heading.compact {
    max-width: 760px;
}

.section-heading h2,
.merchant-panel h2,
.cta-section h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.section-heading p,
.merchant-panel p {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 16px;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.process-list article,
.feature-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(16, 19, 15, 0.42);
}

.process-list article {
    min-height: 230px;
    padding: 22px;
}

.process-list b,
.feature-index {
    color: var(--green);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.process-list h3,
.feature-card h3 {
    margin: 18px 0 10px;
    font-size: 20px;
    line-height: 1.25;
}

.process-list p,
.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feature-card {
    padding: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(154, 211, 106, 0.34);
    background: rgba(16, 19, 15, 0.62);
}

.merchant-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 30px;
    align-items: center;
    padding: clamp(26px, 5vw, 46px);
}

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

.scene-list li {
    padding: 16px 18px;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    color: var(--ink);
    background: var(--card);
}

.scene-list span {
    font-weight: 900;
}

.cta-section {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: clamp(32px, 6vw, 62px);
}

.cta-section h2 {
    max-width: 780px;
    margin-bottom: 24px;
}

.footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
    margin-top: 16px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: rgba(16, 19, 15, 0.62);
}

.footer-brand {
    display: grid;
    gap: 8px;
}

.footer-brand strong {
    font-size: 20px;
}

.footer-brand span,
.filing-items span {
    color: var(--text-muted);
    font-size: 13px;
}

.filing-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.filing-items {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.site-popup {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.site-popup.is-hidden {
    display: none;
}

.site-popup-mask {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 7, 0.72);
    backdrop-filter: blur(8px);
}

.site-popup-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 30px;
    border: 1px solid rgba(247, 241, 228, 0.2);
    border-radius: 28px;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 36%),
        var(--card);
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.45);
    animation: popupIn 0.28s ease forwards;
}

.site-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.48);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.site-popup-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.site-popup-panel h2 {
    margin: 0;
    padding-right: 42px;
    color: var(--ink);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.site-popup-panel p {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.site-popup-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 24px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    color: #13200e;
    background: linear-gradient(135deg, var(--green), #e4f2a2);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-ready {
    opacity: 0;
    transform: translateY(16px);
}

.animate-in {
    animation: enter 0.55s ease forwards;
}

@keyframes enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::selection {
    color: #14200f;
    background: var(--green);
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-section,
    .merchant-panel {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
    }

    .process-list,
    .features-grid,
    .stats-row,
    .faq-list,
    .policy-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 12px;
    }

    .site-header {
        top: 8px;
        gap: 12px;
        border-radius: 18px;
    }

    .brand-logo {
        width: 48px;
        height: 42px;
    }

    .brand-copy small,
    .header-action {
        display: none;
    }

    main {
        padding-top: 24px;
        gap: 18px;
    }

    .hero-section {
        gap: 18px;
    }

    .hero-copy,
    .hero-board,
    .section-block,
    .subpage-hero,
    .content-panel,
    .merchant-panel,
    .cta-section {
        border-radius: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .hero-lead {
        font-size: 15px;
    }

    .btn {
        width: 100%;
    }

    .board-grid,
    .process-list,
    .features-grid,
    .stats-row,
    .faq-list,
    .policy-list {
        grid-template-columns: 1fr;
    }

    .article-item {
        grid-template-columns: 1fr;
    }

    .article-link {
        width: fit-content;
    }

    .policy-item.wide {
        grid-column: auto;
    }

    .stat-card {
        min-height: auto;
    }

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

    .filing-items {
        justify-content: flex-start;
    }
}
