/* ================================================================================
   首页样式 — 高端深色 Hero + 玻璃质感
   ================================================================================ */

.sg-home-page {
    background: #f4f6fb;
    color: #1e293b;
    overflow-x: hidden;
}

.sg-home-page #form1 {
    max-width: 100%;
    overflow-x: clip;
}

/* ── 导航栏 ── */
.sg-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 12, 28, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.35s, box-shadow 0.35s;
}

.sg-nav.scrolled {
    background: rgba(8, 12, 28, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

/* 内页统一深蓝导航（与动态谱展示一致） */
.sg-library-body .sg-nav,
.sg-member-body .sg-nav,
.sg-audio-body .sg-nav,
.sg-img-editor-page .sg-nav,
.sg-player-body .sg-nav {
    background: rgba(10, 22, 40, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-library-body .sg-nav.scrolled,
.sg-member-body .sg-nav.scrolled,
.sg-audio-body .sg-nav.scrolled,
.sg-img-editor-page .sg-nav.scrolled,
.sg-player-body .sg-nav.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
}

.sg-library-body .sg-nav-menu a,
.sg-member-body .sg-nav-menu a,
.sg-audio-body .sg-nav-menu a,
.sg-img-editor-page .sg-nav-menu a,
.sg-player-body .sg-nav-menu a {
    font-size: 17px;
}

.sg-nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sg-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sg-nav-logo .sg-logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #409eff, #7c3aed);
    box-shadow: 0 4px 14px rgba(64, 158, 255, 0.35);
}

.sg-nav-logo .sg-logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.03em;
    line-height: 1.25;
    white-space: nowrap;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sg-nav-logo .sg-logo-sub {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    font-family: inherit;
}

.sg-nav-menu {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-nav-menu a {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sg-nav-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.sg-nav-menu a.active {
    color: #ffffff;
    background: transparent;
}

.sg-nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: #409eff;
    border-radius: 1px;
    box-shadow: none;
}

.sg-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sg-mode-toggle {
    display: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.85);
}

.sg-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.sg-nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sg-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.sg-nav-user {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    padding: 0 6px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sg-nav-btn {
    padding: 9px 20px;
    background: linear-gradient(135deg, #409eff, #6366f1);
    color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 16px rgba(64, 158, 255, 0.35);
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}

.sg-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(64, 158, 255, 0.45);
}

/* ── Hero 区域 ── */
.sg-hero-wrap {
    position: relative;
    overflow: hidden;
    background: #080c1c;
    padding-top: 68px;
}

.sg-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sg-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(64, 158, 255, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.sg-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: sg-orb-drift 12s ease-in-out infinite;
}

.sg-hero-orb-1 {
    width: 420px;
    height: 420px;
    top: -80px;
    right: -60px;
    background: rgba(64, 158, 255, 0.22);
}

.sg-hero-orb-2 {
    width: 300px;
    height: 300px;
    bottom: 40px;
    left: -80px;
    background: rgba(124, 58, 237, 0.18);
    animation-delay: -4s;
}

.sg-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

@keyframes sg-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -16px) scale(1.06); }
}

.sg-hero {
    position: relative;
    z-index: 1;
    padding: 72px 28px 88px;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.sg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    margin-bottom: 22px;
}

.sg-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
    animation: sg-pulse-dot 2s ease-in-out infinite;
}

@keyframes sg-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.sg-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.sg-hero-title .sg-gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sg-hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.85;
    margin: 0 0 32px;
    max-width: 520px;
}

.sg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.sg-hero-btn {
    padding: 15px 30px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}

.sg-hero-primary {
    background: linear-gradient(135deg, #409eff 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(64, 158, 255, 0.4);
}

.sg-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(64, 158, 255, 0.5);
}

.sg-hero-default {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.sg-hero-default:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.sg-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.sg-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sg-hero-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.sg-hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* Hero 视觉预览 */
.sg-hero-visual {
    position: relative;
    min-height: 420px;
}

.sg-hero-preview {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sg-hero-preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.sg-hero-preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sg-hero-preview-dot:nth-child(1) { background: #f87171; }
.sg-hero-preview-dot:nth-child(2) { background: #fbbf24; }
.sg-hero-preview-dot:nth-child(3) { background: #34d399; }

.sg-hero-preview-title {
    margin-left: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.sg-hero-preview-body {
    padding: 24px;
    position: relative;
}

.sg-hero-preview-score {
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.sg-hero-preview-cursor {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45%;
    width: 3px;
    background: linear-gradient(180deg, #ef4444, #f97316);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
    animation: sg-cursor-scan 3s ease-in-out infinite;
}

@keyframes sg-cursor-scan {
    0%, 100% { left: 20%; opacity: 0.7; }
    50% { left: 75%; opacity: 1; }
}

.sg-hero-preview-lines {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sg-hero-preview-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.sg-hero-preview-line:nth-child(1) { width: 85%; }
.sg-hero-preview-line:nth-child(2) { width: 70%; }
.sg-hero-preview-line:nth-child(3) { width: 90%; }
.sg-hero-preview-line:nth-child(4) { width: 60%; }

.sg-hero-preview-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

.sg-hero-preview-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #409eff, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.sg-hero-preview-progress {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.sg-hero-preview-progress-fill {
    width: 38%;
    height: 100%;
    background: linear-gradient(90deg, #409eff, #a78bfa);
    border-radius: 2px;
    animation: sg-progress-pulse 2.8s ease-in-out infinite;
}

@keyframes sg-progress-pulse {
    0%, 100% { width: 28%; opacity: 0.85; }
    50% { width: 62%; opacity: 1; }
}

.sg-hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 18px;
    width: 200px;
    transition: transform 0.3s;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.sg-hero-card:hover {
    transform: translateY(-4px);
}

.sg-hero-card-1 {
    top: -16px;
    right: -20px;
    animation: sg-float 4s ease-in-out infinite;
}

.sg-hero-card-2 {
    bottom: 24px;
    left: -28px;
    animation: sg-float 4s ease-in-out infinite 1s;
}

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

.sg-hero-card .sg-card-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.sg-hero-card .sg-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.sg-hero-card .sg-card-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* ── 流程步骤 ── */
.sg-steps {
    padding: 72px 28px 64px;
    max-width: 1240px;
    margin: 0 auto;
    background: #fff;
}

.sg-steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.sg-steps--animate .sg-steps-row::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dbeafe 15%, #93c5fd 50%, #dbeafe 85%, transparent);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.sg-steps--animate.is-visible .sg-steps-row::before {
    transform: scaleX(1);
}

.sg-step-item {
    text-align: center;
    padding: 32px 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8edf5;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    z-index: 1;
}

.sg-steps--animate .sg-step-item {
    opacity: 0;
    transform: translateY(28px);
}

.sg-steps--animate.is-visible .sg-step-item {
    animation: sg-step-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sg-steps--animate.is-visible .sg-step-item[data-step="1"] { animation-delay: 0.05s; }
.sg-steps--animate.is-visible .sg-step-item[data-step="2"] { animation-delay: 0.18s; }
.sg-steps--animate.is-visible .sg-step-item[data-step="3"] { animation-delay: 0.31s; }
.sg-steps--animate.is-visible .sg-step-item[data-step="4"] { animation-delay: 0.44s; }

@keyframes sg-step-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sg-steps--animate.is-visible .sg-step-item.is-active {
    border-color: #93c5fd;
    box-shadow: 0 12px 36px rgba(64, 158, 255, 0.14);
    transform: translateY(-4px);
}

.sg-step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(64, 158, 255, 0.1);
    border-color: #dbeafe;
}

.sg-step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #ede9fe);
    color: #409eff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sg-steps--animate.is-visible .sg-step-item.is-active .sg-step-num {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.25);
}

.sg-step-item h4 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
}

.sg-step-item p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
    line-height: 1.55;
}

.sg-steps-cta {
    margin-top: 36px;
    text-align: center;
}

.sg-steps-cta .sg-cap-btn {
    display: inline-flex;
    width: auto;
    min-width: 220px;
    padding: 14px 36px;
}

/* ── 区段标题 ── */
.sg-section-header {
    text-align: center;
    margin-bottom: 44px;
}

.sg-section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #409eff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sg-section-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.sg-section-header p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* ── 功能特性 ── */
.sg-features {
    padding: 80px 28px;
    max-width: 1240px;
    margin: 0 auto;
}

.sg-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

.sg-feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    transition: all 0.3s;
    border: 1px solid #eef2f7;
    position: relative;
    overflow: hidden;
}

.sg-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #409eff, #a78bfa);
    opacity: 0;
    transition: opacity 0.3s;
}

.sg-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(64, 158, 255, 0.12);
    border-color: #dbeafe;
}

.sg-feature-card:hover::before {
    opacity: 1;
}

.sg-feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    margin-bottom: 18px;
}

.sg-feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.sg-feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 18px;
}

.sg-feature-link {
    font-size: 14px;
    color: #409eff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.sg-feature-link:hover {
    gap: 8px;
}

/* ── 热门曲目 ── */
.sg-popular {
    padding: 72px 28px;
    background: linear-gradient(180deg, #eef2f8 0%, #f4f6fb 100%);
}

.sg-score-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.sg-skeleton-grid {
    display: contents;
}

.sg-skeleton-card {
    height: 260px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    border-radius: 14px;
    animation: sg-skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes sg-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.sg-score-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef2f7;
}

.sg-score-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.sg-score-cover {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.sg-score-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s;
}

.sg-score-card:hover .sg-score-cover img {
    transform: scale(1.06);
}

.sg-score-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 28, 0.45);
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.3s;
}

.sg-score-card:hover .sg-score-play {
    opacity: 1;
}

.sg-score-info {
    padding: 14px 16px;
}

.sg-score-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-score-author {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(8, 12, 28, 0.72);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.sg-empty-scores {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

#sgPlaySection {
    scroll-margin-top: 80px;
}

.sg-score-meta {
    display: flex;
    gap: 4px;
    font-size: 12px;
    color: #94a3b8;
}

/* ── 分类导航 ── */
.sg-categories {
    padding: 80px 28px;
    max-width: 1240px;
    margin: 0 auto;
}

.sg-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.sg-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 20px;
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s;
    border: 1px solid #eef2f7;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.sg-category-card:hover {
    border-color: #409eff;
    background: linear-gradient(180deg, #f0f7ff, #fff);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(64, 158, 255, 0.12);
}

.sg-category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.sg-category-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.sg-category-count {
    font-size: 12px;
    color: #94a3b8;
}

/* ── CTA ── */
.sg-cta {
    padding: 88px 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sg-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(64, 158, 255, 0.2), transparent);
    pointer-events: none;
}

.sg-cta-content {
    position: relative;
    z-index: 1;
}

.sg-cta-content h2 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.sg-cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 28px;
}

.sg-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.sg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 36px;
    background: linear-gradient(135deg, #409eff, #6366f1);
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 8px 28px rgba(64, 158, 255, 0.35);
    border: none;
    cursor: pointer;
}

.sg-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(64, 158, 255, 0.45);
}

.sg-cta-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.9);
}

.sg-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* ── 页脚 ── */
.sg-footer {
    background: #060912;
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 28px 0;
}

.sg-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.sg-footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.sg-footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.6;
}

.sg-footer-col h4 {
    font-size: 14px;
    color: #fff;
    margin: 0 0 14px;
    font-weight: 600;
}

.sg-footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.sg-footer-col a:hover {
    color: #fff;
}

.sg-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
    text-align: center;
}

.sg-footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* 内页：主内容区撑开，页脚贴底显示 */
.sg-library-body,
.sg-member-body,
.sg-audio-body {
    min-height: 100vh;
}

.sg-library-body #form1,
.sg-member-body #form1,
.sg-audio-body #form1 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sg-library-body .sg-nav,
.sg-member-body .sg-nav,
.sg-audio-body .sg-nav {
    flex-shrink: 0;
}

.sg-library-body .sg-library-main,
.sg-member-body .sg-member-page-wrap,
.sg-audio-body .sg-audio-page-wrap {
    flex: 1 0 auto;
}

/* 内页主内容区统一宽度（与导航/页脚 1240px 对齐） */
.sg-page-content-wrap,
.sg-member-page-wrap,
.sg-audio-page-wrap,
.sg-library-page-wrap {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .sg-page-content-wrap,
    .sg-member-page-wrap,
    .sg-audio-page-wrap,
    .sg-library-page-wrap {
        padding: 0 16px;
    }
}

.sg-library-body .sg-footer,
.sg-member-body .sg-footer,
.sg-audio-body .sg-footer {
    flex-shrink: 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── 登录提示弹窗 ── */
.sg-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 9, 18, 0.72);
    backdrop-filter: blur(8px);
    animation: sg-fade-in 0.25s ease;
}

@keyframes sg-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sg-auth-modal {
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    animation: sg-slide-up 0.3s ease;
}

@keyframes sg-slide-up {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.sg-auth-modal-head {
    padding: 32px 32px 0;
    text-align: center;
}

.sg-auth-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.sg-auth-modal-head h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.sg-auth-modal-head p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.sg-auth-modal-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.sg-auth-btn-primary {
    background: linear-gradient(135deg, #409eff, #6366f1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.35);
}

.sg-auth-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(64, 158, 255, 0.45);
}

.sg-auth-btn-secondary {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.sg-auth-btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.sg-auth-btn-ghost {
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    padding: 10px;
}

.sg-auth-btn-ghost:hover {
    color: #64748b;
}

/* ── 响应式 ── */
@media (max-width: 992px) {
    .sg-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 56px;
    }
    .sg-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .sg-hero-actions,
    .sg-hero-stats {
        justify-content: center;
    }
    .sg-hero-visual {
        min-height: 360px;
        max-width: 480px;
        margin: 0 auto;
    }
    .sg-hero-card-1 { right: 0; }
    .sg-hero-card-2 { left: 0; }
    .sg-steps-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .sg-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sg-steps-row {
        grid-template-columns: 1fr;
    }
    .sg-steps--animate .sg-steps-row::before {
        display: none;
    }
    .sg-steps {
        padding: 56px 20px 48px;
    }
    .sg-feature-grid {
        grid-template-columns: 1fr;
    }
    .sg-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .sg-hero-card {
        display: none;
    }
}

/* ── 长辈模式 ── */
.elder-mode .sg-hero-title {
    font-size: 36px;
}
.elder-mode .sg-hero-desc,
.elder-mode .sg-hero-btn,
.elder-mode .sg-feature-card h3,
.elder-mode .sg-feature-card p,
.elder-mode .sg-section-header h2,
.elder-mode .sg-section-header p {
    font-size: 20px;
}
.elder-mode .sg-hero-card,
.elder-mode .sg-hero-preview-cursor {
    animation: none !important;
}

/* ================================================================================
   首页优化 v2 — 大字体、核心能力、横向热门、播放占位
   ================================================================================ */

/* Hero 右侧：谱面光标 + 四步流程动效 */
.sg-hero-demo {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sg-hero-demo-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.sg-hero-demo-title {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.02em;
}

.sg-hero-demo-body {
    padding: 20px;
}

.sg-hero-demo-score {
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
}

.sg-hero-demo-cursor {
    animation: sg-cursor-scan 3s ease-in-out infinite;
}

.sg-hero-demo[data-active-step="1"] .sg-hero-demo-cursor { animation-duration: 3.2s; }
.sg-hero-demo[data-active-step="2"] .sg-hero-demo-cursor { animation-duration: 2.8s; }
.sg-hero-demo[data-active-step="3"] .sg-hero-demo-cursor { animation-duration: 2.6s; }
.sg-hero-demo[data-active-step="4"] .sg-hero-demo-cursor { animation-duration: 3s; }

.sg-hero-demo-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.sg-hero-demo-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
    opacity: 0.72;
    transform: translateY(0);
}

.sg-hero-demo-step.is-active {
    opacity: 1;
    background: rgba(64, 158, 255, 0.12);
    border-color: rgba(147, 197, 253, 0.45);
    box-shadow: 0 8px 24px rgba(64, 158, 255, 0.15);
    transform: translateY(-2px);
}

.sg-hero-demo-step-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(167, 139, 250, 0.2));
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s, background 0.35s;
}

.sg-hero-demo-step.is-active .sg-hero-demo-step-num {
    transform: scale(1.08);
    background: linear-gradient(135deg, #409eff, #6366f1);
    color: #fff;
}

.sg-hero-demo-step strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2px;
    line-height: 1.3;
}

.sg-hero-demo-step p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.35;
}

.sg-hero-demo-step.is-active p {
    color: rgba(255, 255, 255, 0.62);
}

.sg-hero-demo .sg-hero-preview-controls {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .sg-hero-visual {
        min-height: auto;
        max-width: 560px;
        margin: 8px auto 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .sg-hero-demo-steps {
        grid-template-columns: 1fr;
    }
}

.sg-hero--compact {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 64px 28px 72px;
}

.sg-hero-title--lg {
    font-size: clamp(40px, 5.5vw, 58px);
}

.sg-hero-desc--lg {
    font-size: clamp(18px, 2.2vw, 21px);
    line-height: 1.75;
    max-width: 560px;
}

.sg-hero-btn--lg {
    padding: 18px 36px;
    font-size: 18px;
    min-height: 56px;
    border-radius: 14px;
}

.sg-hero-stat-num {
    font-size: 30px;
}

.sg-hero-stat-label {
    font-size: 15px;
}

.sg-section-title-lg {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.sg-section-desc-lg {
    font-size: 18px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.sg-section-header--left {
    text-align: left;
    margin-bottom: 0;
}

/* ── 核心能力四卡片 ── */
.sg-capabilities {
    padding: 72px 28px 80px;
    max-width: 1240px;
    margin: 0 auto;
}

.sg-cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sg-cap-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px 26px;
    border: 1px solid #e8edf5;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.sg-cap-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    margin-bottom: 16px;
}

.sg-cap-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.sg-cap-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}

.sg-cap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(135deg, #409eff, #6366f1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.3);
    transition: opacity 0.2s, box-shadow 0.2s;
}

.sg-cap-btn:hover {
    opacity: 0.95;
    box-shadow: 0 8px 24px rgba(64, 158, 255, 0.38);
}

.sg-cap-btn--secondary {
    background: #f1f5f9;
    color: #1e40af;
    box-shadow: none;
    border: 1px solid #dbeafe;
}

.sg-cap-btn--secondary:hover {
    background: #e0ecff;
    box-shadow: none;
}

/* ── 热门横向滚动 ── */
.sg-home-hot {
    padding: 72px 0 64px;
    background: #fff;
    border-top: 1px solid #e8edf5;
    max-width: 100%;
    overflow: hidden;
}

.sg-home-hot-head {
    max-width: 1480px;
    margin: 0 auto 28px;
    padding: 0 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.sg-home-hot-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.sg-home-hot-scroll-wrap {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    overflow: hidden;
    padding: 4px 20px 12px;
    position: relative;
    z-index: 1;
}

.sg-home-hot-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.sg-home-hot-scroll {
    display: flex;
    gap: 20px;
    padding: 0;
    width: max-content;
    max-width: none;
    margin: 0;
}

.sg-home-hot-scroll.is-marquee {
    will-change: transform;
    animation: sg-home-hot-marquee 48s linear infinite;
}

.sg-home-hot-scroll.is-marquee.is-paused {
    animation-play-state: paused;
}

@keyframes sg-home-hot-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.sg-home-hot-card {
    flex: 0 0 240px;
    width: 240px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    text-align: left;
    padding: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.sg-home-hot-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 28px rgba(64, 158, 255, 0.12);
}

.sg-home-hot-cover {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: #e2e8f0;
}

.sg-home-hot-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sg-home-hot-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 28, 0.4);
    color: #fff;
    font-size: 32px;
    opacity: 0;
    transition: opacity 0.2s;
}

.sg-home-hot-card:hover .sg-home-hot-play {
    opacity: 1;
}

.sg-home-hot-info {
    padding: 16px;
}

.sg-home-hot-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-home-hot-author {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 4px;
}

.sg-home-hot-plays {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.sg-home-hot-empty {
    padding: 40px 28px;
    color: #64748b;
    font-size: 17px;
    margin: 0;
}

.sg-home-hot-footer {
    max-width: 1480px;
    margin: 24px auto 0;
    padding: 0 20px;
    text-align: right;
}

.sg-home-view-all {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
    transition: opacity 0.2s;
}

.sg-home-view-all:hover {
    opacity: 0.92;
}

.sg-cta-title-lg {
    font-size: clamp(30px, 3.5vw, 40px);
}

.sg-cta-desc-lg {
    font-size: 18px;
}

.sg-cta-btn--lg {
    padding: 16px 32px;
    font-size: 18px;
    min-height: 54px;
}

/* ── 首页播放占位弹窗 ── */
body.sg-home-player-open {
    overflow: hidden;
}

.sg-home-player-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sg-home-player-overlay.is-visible {
    display: flex;
}

.sg-home-player-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 9, 18, 0.72);
}

.sg-home-player-shell {
    position: relative;
    z-index: 1;
    width: min(520px, 96vw);
    background: linear-gradient(180deg, #1e2430 0%, #141820 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.sg-home-player-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
}

.sg-home-player-chrome-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sg-home-player-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(64, 158, 255, 0.2);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.sg-home-player-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-home-player-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.sg-home-player-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.sg-home-player-body {
    padding: 20px;
}

.sg-home-player-cover-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0a0c10;
    margin-bottom: 16px;
}

.sg-home-player-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-home-player-cover-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.sg-home-player-big-play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    padding-left: 4px;
}

.sg-home-player-meta {
    margin-bottom: 16px;
}

.sg-home-player-author {
    font-size: 17px;
    color: #e2e8f0;
    margin: 0 0 4px;
    font-weight: 600;
}

.sg-home-player-plays {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
}

.sg-home-player-placeholder {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    text-align: center;
}

.sg-home-player-placeholder p {
    margin: 0 0 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.sg-home-player-hint {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-bottom: 16px !important;
}

.sg-home-player-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #409eff, #6366f1);
}

/* ── 制作页：四步流程 ── */
.sg-img-editor-page .sg-editor-workflow {
    margin-top: 68px;
    flex-shrink: 0;
}

.sg-img-editor-page .sg-editor-workflow + .sg-editor-header {
    margin-top: 0;
}

.sg-editor-workflow {
    padding: 20px 28px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.sg-editor-workflow-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.sg-editor-workflow-head {
    margin-bottom: 16px;
}

.sg-editor-workflow-head h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.sg-editor-workflow-head p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

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

.sg-editor-workflow-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8edf5;
}

.sg-editor-workflow-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff, #ede9fe);
    color: #409eff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-editor-workflow-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.sg-editor-workflow-item p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 1024px) {
    .sg-cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sg-editor-workflow-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sg-hero--compact {
        grid-template-columns: 1fr;
        padding: 48px 20px 56px;
    }
    .sg-capabilities {
        padding: 56px 20px 64px;
    }
    .sg-cap-grid {
        grid-template-columns: 1fr;
    }
    .sg-home-hot-head {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .sg-home-hot-scroll-wrap {
        padding: 4px 16px 12px;
    }
    .sg-home-hot-scroll {
        padding: 0;
    }
    .sg-home-hot-footer {
        padding: 0 20px;
        text-align: center;
    }
    .sg-home-view-all {
        width: 100%;
        justify-content: center;
    }
    .sg-editor-workflow {
        padding: 16px 20px;
    }
    .sg-editor-workflow-row {
        grid-template-columns: 1fr;
    }
}

/* ================================================================================
   首页视觉 v4 — 全页深蓝暗紫统一 + 玻璃拟态卡片 + 模块过渡（布局/文案不变）
   ================================================================================ */

/* ── 全页统一深色基底 ── */
.sg-home-page {
    background: linear-gradient(180deg, #060a18 0%, #0a1024 22%, #0c1228 48%, #10102c 72%, #0a0f1f 100%);
    color: #e2e8f0;
    position: relative;
}

.sg-home-page #form1 {
    position: relative;
    z-index: 1;
}

/* ── 全页固定氛围层 ── */
.sg-home-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.sg-home-ambient-base {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #060a18 0%, #0a1024 25%, #0c1228 50%, #10102c 75%, #0a0f1f 100%),
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(59, 130, 246, 0.1), transparent 58%),
        radial-gradient(ellipse 75% 45% at 12% 55%, rgba(76, 29, 149, 0.08), transparent 52%),
        radial-gradient(ellipse 65% 40% at 88% 70%, rgba(37, 99, 235, 0.07), transparent 50%);
}

.sg-home-ambient-grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
    background-size: 32px 32px;
}

.sg-home-ambient-wave {
    position: absolute;
    inset: -8% 0;
    opacity: 0.045;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 22px,
            rgba(96, 165, 250, 0.28) 22px,
            rgba(96, 165, 250, 0.28) 23px
        ),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,90 350,30 600,60 C850,90 1050,30 1200,60 L1200,120 L0,120 Z' fill='none' stroke='%2396c5fa' stroke-width='1' opacity='0.45'/%3E%3Cpath d='M0,75 C200,45 400,95 600,70 C800,45 1000,95 1200,65' fill='none' stroke='%23a78bfa' stroke-width='0.7' opacity='0.3'/%3E%3C/svg%3E");
    background-size: auto, 1200px 100%;
    background-repeat: repeat, repeat-x;
    background-position: center, 0 58%;
    animation: sg-ambient-wave-drift 56s linear infinite;
}

@keyframes sg-ambient-wave-drift {
    0% { background-position: center, 0 58%; }
    100% { background-position: center, 1200px 58%; }
}

.sg-home-ambient-particles {
    position: absolute;
    inset: 0;
    /* 中间内容区降低粒子干扰 */
    mask-image: linear-gradient(
        180deg,
        black 0%,
        black 18%,
        rgba(0, 0, 0, 0.45) 32%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.45) 68%,
        black 82%,
        black 100%
    );
    -webkit-mask-image: linear-gradient(
        180deg,
        black 0%,
        black 18%,
        rgba(0, 0, 0, 0.45) 32%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.45) 68%,
        black 82%,
        black 100%
    );
}

.sg-home-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(147, 197, 253, 0.4);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.2);
    animation: sg-particle-float 32s ease-in-out infinite;
}

.sg-home-particle:nth-child(1) { top: 12%; left: 10%; animation-delay: 0s; }
.sg-home-particle:nth-child(2) { top: 38%; left: 82%; animation-delay: -7s; opacity: 0.55; }
.sg-home-particle:nth-child(3) { top: 62%; left: 20%; animation-delay: -14s; opacity: 0.45; }
.sg-home-particle:nth-child(4) { top: 24%; left: 55%; animation-delay: -20s; opacity: 0.5; }
.sg-home-particle:nth-child(5) { top: 78%; left: 68%; animation-delay: -10s; opacity: 0.55; }
.sg-home-particle:nth-child(6) { top: 48%; left: 90%; animation-delay: -25s; opacity: 0.4; }

@keyframes sg-particle-float {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(10px, -14px); opacity: 0.5; }
}

/* ── Hero 与全页背景无缝衔接 ── */
.sg-home-page .sg-hero-wrap {
    background: transparent;
    position: relative;
}

.sg-home-page .sg-hero-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 96px;
    background: linear-gradient(to bottom, transparent, rgba(10, 16, 40, 0.35));
    pointer-events: none;
    z-index: 1;
}

.sg-home-page .sg-hero-bg::before {
    background:
        radial-gradient(ellipse 75% 55% at 18% 38%, rgba(59, 130, 246, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 58% 48% at 82% 18%, rgba(109, 40, 217, 0.11) 0%, transparent 52%),
        radial-gradient(ellipse 48% 38% at 58% 82%, rgba(30, 64, 175, 0.07) 0%, transparent 50%);
}

.sg-home-page .sg-hero-orb {
    filter: blur(80px);
    animation: sg-orb-drift 26s ease-in-out infinite;
}

.sg-home-page .sg-hero-orb-1 {
    background: rgba(59, 130, 246, 0.14);
}

.sg-home-page .sg-hero-orb-2 {
    background: rgba(109, 40, 217, 0.11);
    animation-delay: -10s;
}

/* Hero 统计数字微光 */
.sg-home-page .sg-hero-stat-num {
    color: #fff;
    text-shadow:
        0 0 18px rgba(96, 165, 250, 0.45),
        0 0 36px rgba(109, 40, 217, 0.18);
}

.sg-home-page .sg-hero-stat-label {
    color: rgba(226, 232, 240, 0.72);
}

.sg-home-page .sg-hero-badge-dot {
    animation: sg-pulse-dot 4s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.45);
}

/* ── 模块区：透明底 + 柔和过渡 ── */
.sg-home-page .sg-capabilities,
.sg-home-page .sg-home-hot {
    background: transparent;
    position: relative;
}

.sg-home-page .sg-capabilities {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sg-home-page .sg-home-hot {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── 区段标题（深色底上的高对比浅色字） ── */
.sg-home-page .sg-section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sg-home-page .sg-section-title-lg,
.sg-home-page .sg-section-header h2 {
    color: #f8fafc;
}

.sg-home-page .sg-section-desc-lg,
.sg-home-page .sg-section-header p {
    color: #cbd5e1;
}

/* ── 统一玻璃拟态卡片 ── */
.sg-home-page .sg-cap-card,
.sg-home-page .sg-home-hot-card {
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.sg-home-page .sg-cap-card:hover,
.sg-home-page .sg-home-hot-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.sg-home-page .sg-cap-card h3,
.sg-home-page .sg-home-hot-info h3 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.sg-home-page .sg-cap-card p,
.sg-home-page .sg-home-hot-author {
    color: #e2e8f0;
}

.sg-home-page .sg-home-hot-plays {
    color: #94a3b8;
}

.sg-home-page .sg-cap-icon {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-home-page .sg-cap-btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.sg-home-page .sg-cap-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.sg-home-page .sg-home-hot-nav-btn {
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 400;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.sg-home-page .sg-home-hot-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.26);
    border-color: rgba(147, 197, 253, 0.45);
    color: #ffffff;
}

.sg-home-page .sg-home-hot-scroll-wrap {
    z-index: 1;
}

.sg-home-page .sg-home-view-all {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sg-home-page .sg-home-hot-head,
.sg-home-page .sg-home-hot-scroll-wrap,
.sg-home-page .sg-home-hot-footer {
    position: relative;
    z-index: 1;
}

.sg-home-page .sg-home-hot-scroll-wrap {
    position: relative;
}

.sg-home-page .sg-home-hot-scroll-fade {
    position: absolute;
    top: 0;
    bottom: 12px;
    width: 56px;
    z-index: 2;
    pointer-events: none;
}

.sg-home-page .sg-home-hot-scroll-fade--left {
    left: 0;
    background: linear-gradient(to right, rgba(10, 16, 40, 0.85), transparent);
}

.sg-home-page .sg-home-hot-scroll-fade--right {
    right: 0;
    background: linear-gradient(to left, rgba(10, 16, 40, 0.85), transparent);
}

/* ── Hero / CTA 频谱光效 ── */
.sg-hero-spectrum {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 42%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 0 8% 6%;
    opacity: 0.2;
    mask-image: linear-gradient(to top, black 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 85%);
}

.sg-hero-spectrum span {
    flex: 1;
    max-width: 14px;
    min-height: 8px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, rgba(96, 165, 250, 0.45), rgba(167, 139, 250, 0.3));
    transform-origin: bottom center;
    animation: sg-spectrum-bar 5.6s ease-in-out infinite;
}

.sg-hero-spectrum span:nth-child(1)  { animation-delay: 0s;    height: 28%; }
.sg-hero-spectrum span:nth-child(2)  { animation-delay: 0.15s; height: 42%; }
.sg-hero-spectrum span:nth-child(3)  { animation-delay: 0.3s;  height: 55%; }
.sg-hero-spectrum span:nth-child(4)  { animation-delay: 0.45s; height: 38%; }
.sg-hero-spectrum span:nth-child(5)  { animation-delay: 0.6s;  height: 62%; }
.sg-hero-spectrum span:nth-child(6)  { animation-delay: 0.75s; height: 48%; }
.sg-hero-spectrum span:nth-child(7)  { animation-delay: 0.9s;  height: 72%; }
.sg-hero-spectrum span:nth-child(8)  { animation-delay: 1.05s; height: 52%; }
.sg-hero-spectrum span:nth-child(9)  { animation-delay: 1.2s;  height: 66%; }
.sg-hero-spectrum span:nth-child(10) { animation-delay: 1.35s; height: 44%; }
.sg-hero-spectrum span:nth-child(11) { animation-delay: 1.5s;  height: 58%; }
.sg-hero-spectrum span:nth-child(12) { animation-delay: 1.65s; height: 78%; }
.sg-hero-spectrum span:nth-child(13) { animation-delay: 1.8s;  height: 50%; }
.sg-hero-spectrum span:nth-child(14) { animation-delay: 1.95s; height: 64%; }
.sg-hero-spectrum span:nth-child(15) { animation-delay: 2.1s;  height: 46%; }
.sg-hero-spectrum span:nth-child(16) { animation-delay: 2.25s; height: 70%; }
.sg-hero-spectrum span:nth-child(17) { animation-delay: 2.4s;  height: 54%; }
.sg-hero-spectrum span:nth-child(18) { animation-delay: 2.55s; height: 60%; }
.sg-hero-spectrum span:nth-child(19) { animation-delay: 2.7s;  height: 40%; }
.sg-hero-spectrum span:nth-child(20) { animation-delay: 2.85s; height: 56%; }

@keyframes sg-spectrum-bar {
    0%, 100% { transform: scaleY(0.55); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 0.85; }
}

.sg-home-page .sg-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #060a18 0%, #0c1228 40%, #151238 70%, #10102c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-home-page .sg-cta::before {
    background:
        radial-gradient(ellipse 55% 75% at 50% 115%, rgba(59, 130, 246, 0.16), transparent 65%),
        radial-gradient(ellipse 40% 50% at 20% 30%, rgba(109, 40, 217, 0.09), transparent 55%),
        radial-gradient(ellipse 35% 45% at 80% 25%, rgba(96, 165, 250, 0.07), transparent 50%);
}

.sg-home-page .sg-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 16, 40, 0.2) 0%, transparent 40%, rgba(96, 165, 250, 0.03) 100%);
    pointer-events: none;
}

.sg-cta-spectrum {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 0 10% 0;
    opacity: 0.14;
    pointer-events: none;
    mask-image: linear-gradient(to top, black 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 80%);
}

.sg-cta-spectrum span {
    flex: 1;
    max-width: 12px;
    min-height: 6px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, rgba(96, 165, 250, 0.4), rgba(167, 139, 250, 0.25));
    transform-origin: bottom center;
    animation: sg-spectrum-bar 6s ease-in-out infinite;
}

.sg-cta-spectrum span:nth-child(1)  { animation-delay: 0s;    height: 32%; }
.sg-cta-spectrum span:nth-child(2)  { animation-delay: 0.2s;  height: 48%; }
.sg-cta-spectrum span:nth-child(3)  { animation-delay: 0.4s;  height: 58%; }
.sg-cta-spectrum span:nth-child(4)  { animation-delay: 0.6s;  height: 40%; }
.sg-cta-spectrum span:nth-child(5)  { animation-delay: 0.8s;  height: 65%; }
.sg-cta-spectrum span:nth-child(6)  { animation-delay: 1s;    height: 50%; }
.sg-cta-spectrum span:nth-child(7)  { animation-delay: 1.2s;  height: 70%; }
.sg-cta-spectrum span:nth-child(8)  { animation-delay: 1.4s;  height: 44%; }
.sg-cta-spectrum span:nth-child(9)  { animation-delay: 1.6s;  height: 62%; }
.sg-cta-spectrum span:nth-child(10) { animation-delay: 1.8s;  height: 52%; }
.sg-cta-spectrum span:nth-child(11) { animation-delay: 2s;    height: 68%; }
.sg-cta-spectrum span:nth-child(12) { animation-delay: 2.2s;  height: 46%; }
.sg-cta-spectrum span:nth-child(13) { animation-delay: 2.4s;  height: 56%; }
.sg-cta-spectrum span:nth-child(14) { animation-delay: 2.6s;  height: 72%; }
.sg-cta-spectrum span:nth-child(15) { animation-delay: 2.8s;  height: 42%; }
.sg-cta-spectrum span:nth-child(16) { animation-delay: 3s;    height: 60%; }
.sg-cta-spectrum span:nth-child(17) { animation-delay: 3.2s;  height: 54%; }
.sg-cta-spectrum span:nth-child(18) { animation-delay: 3.4s;  height: 64%; }
.sg-cta-spectrum span:nth-child(19) { animation-delay: 3.6s;  height: 38%; }
.sg-cta-spectrum span:nth-child(20) { animation-delay: 3.8s;  height: 50%; }

.sg-home-page .sg-cta-content {
    position: relative;
    z-index: 1;
}

.sg-home-page .sg-cta-actions {
    gap: 24px;
}

.sg-home-page .sg-cta-btn {
    box-shadow:
        0 0 24px rgba(96, 165, 250, 0.28),
        0 6px 24px rgba(64, 158, 255, 0.22);
}

.sg-home-page .sg-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 32px rgba(96, 165, 250, 0.38),
        0 10px 32px rgba(64, 158, 255, 0.3);
}

.sg-home-page .sg-cta-btn-outline:hover {
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.1);
}

.sg-home-page .sg-home-hot-empty {
    color: #94a3b8;
}

/* ── 减少动效偏好 ── */
@media (prefers-reduced-motion: reduce) {
    .sg-home-ambient-wave,
    .sg-home-particle,
    .sg-hero-spectrum span,
    .sg-cta-spectrum span,
    .sg-home-page .sg-hero-orb,
    .sg-home-page .sg-cap-card,
    .sg-home-page .sg-home-hot-card,
    .sg-library-body .sg-library-card,
    .sg-member-body .sg-glass-surface {
        animation: none !important;
        transition: none !important;
    }
}

/* ================================================================================
   Hero 首屏文字锐化 v8 — 中老年远距离阅读（仅字体/字重/间距/渐变，不改布局）
   ================================================================================ */

.sg-home-page .sg-hero-content,
.sg-home-page .sg-hero-demo {
    font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", "Noto Sans SC", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 1. 主标题 */
.sg-home-page .sg-hero-title {
    letter-spacing: 0.05em;
    line-height: 1.28;
    font-weight: 800;
    text-shadow: none;
    filter: none;
}

.sg-home-page .sg-hero-title--lg {
    line-height: 1.26;
}

.sg-home-page .sg-hero-title-line {
    display: block;
}

.sg-home-page .sg-hero-title-line--white {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.2em;
    text-shadow: none;
}

.sg-home-page .sg-hero-title .sg-gradient-text {
    background: linear-gradient(135deg, #8eb5d4 0%, #a3a8c8 48%, #7eb8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #9eb8d0;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-shadow: none;
    filter: none;
}

/* 2. 标签小字 */
.sg-home-page .sg-hero-badge {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.07);
    color: rgba(226, 232, 240, 0.78);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-shadow: none;
}

.sg-home-page .sg-hero-badge-dot {
    box-shadow: 0 0 4px rgba(52, 211, 153, 0.3);
}

/* 3. 副标题描述 */
.sg-home-page .sg-hero-desc,
.sg-home-page .sg-hero-desc--lg {
    color: #c5cdd8;
    line-height: 2;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: none;
}

/* 4. 统计数字 */
.sg-home-page .sg-hero-stat-num {
    color: #ffffff;
    font-weight: 800;
    text-shadow: none;
    letter-spacing: 0.03em;
}

.sg-home-page .sg-hero-stat-label {
    color: rgba(148, 163, 184, 0.72);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.01em;
}

/* 5. 按钮文字 */
.sg-home-page .sg-hero-btn {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}

/* 6. 右侧演示窗口文字 */
.sg-home-page .sg-hero-demo-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.03em;
    text-shadow: none;
}

.sg-home-page .sg-hero-demo-step {
    opacity: 0.78;
}

.sg-home-page .sg-hero-demo-step.is-active {
    background: rgba(64, 158, 255, 0.1);
    border-color: rgba(147, 197, 253, 0.32);
    box-shadow: 0 4px 14px rgba(64, 158, 255, 0.08);
}

.sg-home-page .sg-hero-demo-step-num {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.16), rgba(167, 139, 250, 0.12));
    color: #a8c5e8;
    font-size: 13px;
    font-weight: 700;
    text-shadow: none;
}

.sg-home-page .sg-hero-demo-step.is-active .sg-hero-demo-step-num {
    background: linear-gradient(135deg, #4a8fd4, #5a62b8);
    color: #ffffff;
    box-shadow: none;
    transform: scale(1.04);
}

.sg-home-page .sg-hero-demo-step strong {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    letter-spacing: 0.02em;
    text-shadow: none;
}

.sg-home-page .sg-hero-demo-step p {
    font-size: 12px;
    color: rgba(203, 213, 225, 0.62);
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-shadow: none;
}

.sg-home-page .sg-hero-demo-step.is-active p {
    color: rgba(226, 232, 240, 0.72);
}

.sg-home-page .sg-hero-demo-cursor,
.sg-home-page .sg-hero-preview-cursor {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.28);
}

/* ================================================================================
   内页统一视觉 — 动态谱展示 / 会员中心（复用首页 v4 氛围）
   ================================================================================ */

.sg-library-body,
.sg-member-body {
    background: linear-gradient(180deg, #060a18 0%, #0a1024 22%, #0c1228 48%, #10102c 72%, #0a0f1f 100%);
    color: #e2e8f0;
    position: relative;
    min-height: 100vh;
}

.sg-library-body #form1,
.sg-member-body #form1 {
    position: relative;
    z-index: 1;
}

/* 通用玻璃拟态（内页卡片复用） */
.sg-glass-surface {
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.sg-glass-surface--hover:hover,
a.sg-glass-surface:hover,
button.sg-glass-surface:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* ================================================================================
   首页视觉 v5 — 三大区块背景肌理区分（Hero 网格 / 热门平滑提亮 / CTA 加深）
   ================================================================================ */

/* ── 热门模块：无网格，平滑提亮渐变 + 极淡波形 ── */
.sg-home-page .sg-home-hot {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.sg-home-page .sg-home-hot-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        #141832 0%,
        #181e3e 28%,
        #1c2448 55%,
        #181e3e 100%
    );
}

.sg-home-page .sg-home-hot-wave {
    position: absolute;
    inset: -5% 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.032;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,90 350,30 600,60 C850,90 1050,30 1200,60 L1200,120 L0,120 Z' fill='none' stroke='%2396c5fa' stroke-width='1' opacity='0.5'/%3E%3Cpath d='M0,75 C200,45 400,95 600,70 C800,45 1000,95 1200,65' fill='none' stroke='%23a78bfa' stroke-width='0.7' opacity='0.35'/%3E%3C/svg%3E");
    background-size: 1200px 100%;
    background-repeat: repeat-x;
    background-position: 0 62%;
    animation: sg-ambient-wave-drift 56s linear infinite;
}

.sg-home-page .sg-home-hot-glow {
    display: none;
}

.sg-home-page .sg-home-hot-head,
.sg-home-page .sg-home-hot-scroll-wrap {
    position: relative;
    z-index: 1;
}

/* 标题行：左标题 + 右查看全部 */
.sg-home-page .sg-home-hot-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.sg-home-page .sg-home-hot-title-row .sg-section-header {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.sg-home-page .sg-home-hot-title-row .sg-home-view-all {
    flex-shrink: 0;
    align-self: center;
    min-height: 46px;
    padding: 10px 22px;
    font-size: 16px;
}

.sg-home-page .sg-home-hot-desc {
    margin: 10px 0 0;
    max-width: 640px;
}

.sg-home-page .sg-home-hot-footer {
    display: none;
}

/* 热门卡片玻璃 + 播放次数放大 */
.sg-home-page .sg-home-hot-plays {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* 滚动区渐变遮罩（匹配热门区底色） */
.sg-home-page .sg-home-hot-scroll-fade--left {
    background: linear-gradient(to right, rgba(20, 24, 50, 0.92), transparent);
}

.sg-home-page .sg-home-hot-scroll-fade--right {
    background: linear-gradient(to left, rgba(20, 24, 50, 0.92), transparent);
}

/* ── CTA：再次加深 + 径向光晕强化 ── */
.sg-home-page .sg-cta {
    background: linear-gradient(
        165deg,
        #030508 0%,
        #060912 25%,
        #0a0c1a 55%,
        #080a16 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sg-home-page .sg-cta::before {
    background:
        radial-gradient(ellipse 65% 85% at 50% 110%, rgba(59, 130, 246, 0.24), transparent 62%),
        radial-gradient(ellipse 48% 58% at 18% 28%, rgba(109, 40, 217, 0.14), transparent 52%),
        radial-gradient(ellipse 42% 52% at 82% 22%, rgba(96, 165, 250, 0.12), transparent 48%);
}

.sg-home-page .sg-cta::after {
    background: linear-gradient(180deg, rgba(4, 6, 14, 0.35) 0%, transparent 45%, rgba(96, 165, 250, 0.04) 100%);
}

/* 【浏览动态谱库】按钮：提高亮度与对比度 */
.sg-home-page .sg-cta-actions .sg-cta-btn-outline.sg-cta-btn--lg {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.48);
    color: #ffffff;
    font-weight: 700;
    box-shadow:
        0 0 22px rgba(255, 255, 255, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.15);
}

.sg-home-page .sg-cta-actions .sg-cta-btn-outline.sg-cta-btn--lg:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.16),
        0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ── 页脚：适度提高文字对比度 ── */
.sg-home-page .sg-footer {
    background: #050810;
}

.sg-home-page .sg-footer-desc {
    color: rgba(255, 255, 255, 0.62);
}

.sg-home-page .sg-footer-col a {
    color: rgba(255, 255, 255, 0.68);
}

.sg-home-page .sg-footer-col a:hover {
    color: #ffffff;
}

.sg-home-page .sg-footer-bottom p {
    color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 640px) {
    .sg-home-page .sg-home-hot-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .sg-home-page .sg-home-hot-title-row .sg-home-view-all {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-home-page .sg-home-hot-wave {
        animation: none !important;
    }
}

/* ================================================================================
   首页视觉 v6 — 四区块背景肌理（Hero 网格 / 四大功能玻璃 / 热门提亮 / CTA 加深）
   ================================================================================ */

/* ── 2. 四大功能：无网格波形，半透明玻璃渐变（亮度介于首屏与热门区之间） ── */
.sg-home-page .sg-capabilities {
    position: relative;
    z-index: 1;
    isolation: isolate;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 72px 28px 80px;
    background: rgba(45, 48, 80, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 底层实色遮挡全局网格/波形，仅保留本区块玻璃渐变 */
.sg-home-page .sg-capabilities::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, #0a1024 0%, #0c1228 45%, #0e142e 100%);
}

.sg-home-page .sg-capabilities .sg-section-header,
.sg-home-page .sg-capabilities .sg-cap-grid {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

/* 功能卡片维持 v4 玻璃样式，不在此覆盖 */

/* ── 3. 热门区：平滑深蓝渐变（亮于四大功能），极淡波形 ── */
.sg-home-page .sg-home-hot-bg {
    background: linear-gradient(
        180deg,
        #161c38 0%,
        #1a2248 30%,
        #1e2650 58%,
        #1a2248 100%
    );
}

.sg-home-page .sg-home-hot {
    border-top: none;
}

.sg-home-page .sg-home-hot-scroll-fade--left {
    background: linear-gradient(to right, rgba(22, 28, 56, 0.92), transparent);
}

.sg-home-page .sg-home-hot-scroll-fade--right {
    background: linear-gradient(to left, rgba(22, 28, 56, 0.92), transparent);
}

/* ── 4. CTA：再次加深，径向光晕（v5 基础上微调） ── */
.sg-home-page .sg-cta {
    background: linear-gradient(
        165deg,
        #020408 0%,
        #050810 22%,
        #080c18 50%,
        #060a14 100%
    );
}

.sg-home-page .sg-cta::before {
    background:
        radial-gradient(ellipse 68% 88% at 50% 108%, rgba(59, 130, 246, 0.26), transparent 60%),
        radial-gradient(ellipse 50% 60% at 16% 26%, rgba(109, 40, 217, 0.16), transparent 52%),
        radial-gradient(ellipse 44% 54% at 84% 20%, rgba(96, 165, 250, 0.13), transparent 48%);
}

@media (max-width: 768px) {
    .sg-home-page .sg-capabilities {
        padding: 56px 20px 64px;
    }
}

/* ================================================================================
   首页视觉 v7 — 四区块明暗交替（仅背景/分割/纹理，Hero 不改，组件内容不改）
   ================================================================================ */

/* ── 1. 首屏 Hero：不添加任何覆盖规则，维持现有网格+淡波形 ── */

/* ── 2. 四大功能：深色纯色底 + 微弱横向深蓝渐变，无网格/波形 ── */
.sg-home-page .sg-capabilities {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sg-home-page .sg-capabilities::before {
    background:
        linear-gradient(
            90deg,
            #0a0e1a 0%,
            #0d1324 18%,
            #111a32 50%,
            #0d1324 82%,
            #0a0e1a 100%
        );
}

/* ── 3. 热门谱：略亮平滑蓝紫渐变 + 极低透明度波形，无网格 ── */
.sg-home-page .sg-home-hot-bg {
    background: linear-gradient(
        180deg,
        #1e2648 0%,
        #252e5a 32%,
        #2a3468 52%,
        #242c58 100%
    );
}

.sg-home-page .sg-home-hot {
    border-top: none;
    overflow: hidden;
}

.sg-home-page .sg-home-hot-wave {
    opacity: 0.022;
    animation: sg-ambient-wave-drift 60s linear infinite;
}

/* 左右柔化遮罩见文件末尾 v8 统一定义 */

/* 播放次数等内部文字恢复原有样式（不放大不加粗） */
.sg-home-page .sg-home-hot-plays {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
}

/* ── 4. CTA：底色加深 + 低饱和度蓝紫径向光晕；按钮样式不覆盖 ── */
.sg-home-page .sg-cta {
    background: linear-gradient(
        165deg,
        #010206 0%,
        #04060c 20%,
        #070a12 48%,
        #050810 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-home-page .sg-cta::before {
    background:
        radial-gradient(ellipse 62% 82% at 50% 106%, rgba(48, 65, 105, 0.2), transparent 62%),
        radial-gradient(ellipse 46% 52% at 18% 28%, rgba(55, 48, 95, 0.11), transparent 54%),
        radial-gradient(ellipse 40% 48% at 82% 22%, rgba(45, 62, 98, 0.09), transparent 50%);
}

.sg-home-page .sg-cta::after {
    background: linear-gradient(180deg, rgba(2, 4, 10, 0.4) 0%, transparent 50%, rgba(40, 55, 90, 0.03) 100%);
}

/* 撤销 v5 对 CTA 次要按钮的额外样式，保持原有按钮外观 */
.sg-home-page .sg-cta-actions .sg-cta-btn-outline.sg-cta-btn--lg {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    box-shadow: none;
}

.sg-home-page .sg-cta-actions .sg-cta-btn-outline.sg-cta-btn--lg:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

/* ── 5. 页脚：深色不变，提升可读性 ── */
.sg-home-page .sg-footer {
    background: #050810;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-home-page .sg-footer-logo {
    color: #ffffff;
}

.sg-home-page .sg-footer-desc {
    color: rgba(255, 255, 255, 0.65);
}

.sg-home-page .sg-footer-col h4 {
    color: rgba(255, 255, 255, 0.92);
}

.sg-home-page .sg-footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.sg-home-page .sg-footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .sg-home-page .sg-home-hot-wave {
        animation: none !important;
    }
}

/* 热门板块整体加宽（标题 + 轮播 + 页脚对齐） */
.sg-home-page .sg-home-hot {
    --sg-home-hot-max: 1480px;
}

.sg-home-page .sg-home-hot-head,
.sg-home-page .sg-home-hot-scroll-wrap,
.sg-home-page .sg-home-hot-footer {
    max-width: var(--sg-home-hot-max);
}

@media (prefers-reduced-motion: reduce) {
    .sg-home-hot-scroll.is-marquee {
        animation: none !important;
    }
}

/* ================================================================================
   热门轮播左右柔化遮罩 v8 — 约为单卡宽度 60%，仅作用于轮播区
   ================================================================================ */
.sg-home-page .sg-home-hot {
    --sg-home-hot-card-width: 240px;
    --sg-home-hot-fade-width: calc(var(--sg-home-hot-card-width) * 0.6);
}

.sg-home-page .sg-home-hot-scroll-wrap {
    isolation: isolate;
}

.sg-home-page .sg-home-hot-scroll-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--sg-home-hot-fade-width);
    max-width: 42%;
    z-index: 3;
    pointer-events: none;
}

.sg-home-page .sg-home-hot-scroll-fade--left {
    left: 0;
    background: linear-gradient(
        90deg,
        rgba(30, 38, 72, 0.62) 0%,
        rgba(30, 38, 72, 0.28) 38%,
        rgba(30, 38, 72, 0.1) 68%,
        rgba(30, 38, 72, 0) 100%
    );
}

.sg-home-page .sg-home-hot-scroll-fade--right {
    right: 0;
    background: linear-gradient(
        270deg,
        rgba(30, 38, 72, 0.62) 0%,
        rgba(30, 38, 72, 0.28) 38%,
        rgba(30, 38, 72, 0.1) 68%,
        rgba(30, 38, 72, 0) 100%
    );
}

@media (max-width: 768px) {
    .sg-home-page .sg-home-hot-scroll-fade {
        max-width: 38%;
    }
}

/* ================================================================================
   Hero Banner v9 — 深蓝紫渐变 + 柔和霓虹 + 玻璃演示卡 + 斜向流光（仅视觉）
   ================================================================================ */

/* 1. Banner 背景：深蓝→紫蓝大径向 + 四周弥散高光 */
.sg-home-page .sg-hero-wrap {
    background:
        radial-gradient(ellipse 130% 95% at 50% -8%, rgba(37, 99, 235, 0.24) 0%, transparent 52%),
        radial-gradient(ellipse 85% 75% at 0% 45%, rgba(67, 56, 202, 0.2) 0%, transparent 48%),
        radial-gradient(ellipse 85% 75% at 100% 55%, rgba(109, 40, 217, 0.18) 0%, transparent 48%),
        radial-gradient(ellipse 95% 70% at 50% 105%, rgba(30, 64, 175, 0.16) 0%, transparent 42%),
        linear-gradient(158deg, #0b1638 0%, #101f4a 26%, #152055 48%, #1a1650 72%, #0e1836 100%);
}

.sg-home-page .sg-hero-bg::before {
    background:
        radial-gradient(ellipse 92% 68% at 14% 36%, rgba(59, 130, 246, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 72% 58% at 86% 22%, rgba(124, 58, 237, 0.18) 0%, transparent 52%),
        radial-gradient(ellipse 62% 52% at 68% 88%, rgba(79, 70, 229, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 48% 42% at 4% 88%, rgba(37, 99, 235, 0.16) 0%, transparent 44%),
        radial-gradient(ellipse 48% 42% at 96% 12%, rgba(139, 92, 246, 0.14) 0%, transparent 44%);
    animation: sg-hero-bg-breathe 20s ease-in-out infinite;
}

@keyframes sg-hero-bg-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.82; }
}

.sg-home-page .sg-hero-orb-1 {
    background: rgba(59, 130, 246, 0.2);
    filter: blur(90px);
}

.sg-home-page .sg-hero-orb-2 {
    background: rgba(124, 58, 237, 0.16);
    filter: blur(90px);
}

.sg-home-page .sg-hero-grid {
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(147, 197, 253, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 197, 253, 0.04) 1px, transparent 1px);
}

/* 粒子光纹 + 淡音频波纹 + 斜向流光 */
.sg-hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sg-hero-decor-shimmer {
    position: absolute;
    inset: -60%;
    opacity: 0.55;
    background: repeating-linear-gradient(
        128deg,
        transparent 0,
        transparent 140px,
        rgba(147, 197, 253, 0.025) 140px,
        rgba(167, 139, 250, 0.045) 142px,
        transparent 146px,
        transparent 320px
    );
    animation: sg-hero-shimmer-drift 32s linear infinite;
}

@keyframes sg-hero-shimmer-drift {
    0% { transform: translate(-6%, -3%) rotate(0deg); }
    100% { transform: translate(6%, 3%) rotate(0deg); }
}

.sg-hero-decor-particles {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    background:
        radial-gradient(circle at 18% 28%, rgba(147, 197, 253, 0.14) 0%, transparent 7%),
        radial-gradient(circle at 72% 18%, rgba(167, 139, 250, 0.12) 0%, transparent 6%),
        radial-gradient(circle at 88% 62%, rgba(96, 165, 250, 0.1) 0%, transparent 5%),
        radial-gradient(circle at 32% 72%, rgba(129, 140, 248, 0.11) 0%, transparent 6%),
        radial-gradient(circle at 55% 48%, rgba(147, 197, 253, 0.08) 0%, transparent 8%),
        radial-gradient(circle at 8% 55%, rgba(196, 181, 253, 0.09) 0%, transparent 5%),
        radial-gradient(circle at 42% 12%, rgba(96, 165, 250, 0.1) 0%, transparent 4%),
        radial-gradient(circle at 65% 82%, rgba(124, 58, 237, 0.08) 0%, transparent 5%);
    animation: sg-hero-particles-flow 38s ease-in-out infinite;
}

@keyframes sg-hero-particles-flow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    33% { transform: translate(12px, -10px) scale(1.02); opacity: 0.8; }
    66% { transform: translate(-8px, 8px) scale(0.98); opacity: 0.7; }
}

.sg-hero-decor-waves {
    position: absolute;
    inset: -5% 0;
    opacity: 0.07;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C200,65 400,15 600,40 C800,65 1000,15 1200,40' fill='none' stroke='%2393c5fd' stroke-width='1.2' opacity='0.5'/%3E%3Cpath d='M0,52 C180,28 420,58 600,35 C780,12 1020,55 1200,30' fill='none' stroke='%23a78bfa' stroke-width='0.9' opacity='0.35'/%3E%3C/svg%3E");
    background-size: 1200px 100%;
    background-repeat: repeat-x;
    background-position: 0 62%;
    animation: sg-hero-wave-drift 48s linear infinite;
}

@keyframes sg-hero-wave-drift {
    0% { background-position: 0 62%; }
    100% { background-position: 1200px 62%; }
}

.sg-home-page .sg-hero-spectrum {
    opacity: 0.26;
}

.sg-home-page .sg-hero-spectrum span {
    background: linear-gradient(to top, rgba(96, 165, 250, 0.38), rgba(167, 139, 250, 0.22));
}

/* 2. 大标题：柔和霓虹蓝外发光 + 高对比 */
.sg-home-page .sg-hero-title-line--white {
    color: #ffffff;
    text-shadow:
        0 0 22px rgba(96, 165, 250, 0.32),
        0 0 44px rgba(59, 130, 246, 0.14),
        0 2px 6px rgba(8, 15, 40, 0.45);
}

.sg-home-page .sg-hero-title .sg-gradient-text {
    background: linear-gradient(135deg, #bfdbfe 0%, #a5b4fc 45%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #bfdbfe;
    filter:
        drop-shadow(0 0 16px rgba(96, 165, 250, 0.38))
        drop-shadow(0 0 32px rgba(129, 140, 248, 0.18));
}

.sg-home-page .sg-hero-desc,
.sg-home-page .sg-hero-desc--lg {
    color: #d8e2ef;
    text-shadow: 0 1px 3px rgba(8, 15, 40, 0.35);
}

.sg-home-page .sg-hero-stat-num {
    text-shadow:
        0 0 16px rgba(96, 165, 250, 0.28),
        0 1px 3px rgba(8, 15, 40, 0.3);
}

.sg-home-page .sg-hero-stat-label {
    color: rgba(203, 213, 225, 0.82);
}

/* 3. 主按钮：蓝紫渐变 + 柔和呼吸发光 */
.sg-home-page .sg-hero-primary {
    background: linear-gradient(135deg, #409eff 0%, #6366f1 52%, #7c3aed 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(15, 23, 66, 0.25);
    animation: sg-hero-primary-glow 3.6s ease-in-out infinite;
}

@keyframes sg-hero-primary-glow {
    0%, 100% {
        box-shadow:
            0 4px 18px rgba(64, 158, 255, 0.26),
            0 0 22px rgba(99, 102, 241, 0.16);
    }
    50% {
        box-shadow:
            0 6px 26px rgba(64, 158, 255, 0.34),
            0 0 34px rgba(124, 58, 237, 0.22);
    }
}

.sg-home-page .sg-hero-primary:hover {
    transform: translateY(-2px);
    animation: none;
    box-shadow:
        0 8px 32px rgba(64, 158, 255, 0.42),
        0 0 48px rgba(99, 102, 241, 0.32),
        0 0 64px rgba(124, 58, 237, 0.18);
}

.sg-home-page .sg-hero-default {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(147, 197, 253, 0.22);
    color: #f1f5f9;
    text-shadow: 0 1px 2px rgba(8, 15, 40, 0.2);
}

.sg-home-page .sg-hero-default:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(167, 139, 250, 0.32);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.12);
}

/* 4. 右侧演示卡：玻璃拟态 + 蓝紫辉光 + 内部调亮 */
.sg-home-page .sg-hero-demo {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(147, 197, 253, 0.28);
    backdrop-filter: blur(26px) saturate(165%);
    -webkit-backdrop-filter: blur(26px) saturate(165%);
    box-shadow:
        0 24px 56px rgba(12, 20, 55, 0.32),
        0 0 0 1px rgba(129, 140, 248, 0.1) inset,
        0 0 48px rgba(59, 130, 246, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.sg-home-page .sg-hero-demo-bar {
    background: rgba(255, 255, 255, 0.07);
    border-bottom-color: rgba(147, 197, 253, 0.14);
}

.sg-home-page .sg-hero-demo-score {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(147, 197, 253, 0.06) 55%,
        rgba(167, 139, 250, 0.04) 100%
    );
}

.sg-home-page .sg-hero-demo-step {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(147, 197, 253, 0.12);
}

.sg-home-page .sg-hero-demo-step.is-active {
    background: rgba(64, 158, 255, 0.14);
    border-color: rgba(147, 197, 253, 0.38);
    box-shadow:
        0 6px 20px rgba(64, 158, 255, 0.12),
        0 0 24px rgba(99, 102, 241, 0.08);
}

.sg-home-page .sg-hero-demo-step.is-active .sg-hero-demo-step-num {
    background: linear-gradient(135deg, #409eff, #6366f1);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.28);
}

.sg-home-page .sg-hero-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(147, 197, 253, 0.16);
    color: rgba(226, 232, 240, 0.88);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.06);
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .sg-home-page .sg-hero-bg::before,
    .sg-hero-decor-shimmer,
    .sg-hero-decor-particles,
    .sg-hero-decor-waves,
    .sg-home-page .sg-hero-primary {
        animation: none !important;
    }
}

.elder-mode .sg-home-page .sg-hero-title-line--white,
.elder-mode .sg-home-page .sg-hero-title .sg-gradient-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    filter: none;
}

.elder-mode .sg-home-page .sg-hero-primary {
    animation: none !important;
}

/* ================================================================================
   Hero 四步演示 v10 — 字体锐化 + 依次入场 + 竖线流光 + 播放球微动（仅演示区）
   ================================================================================ */

/* 1. 步骤标题：加粗无衬线 + 白色高亮 + 柔和蓝紫外发光 */
.sg-home-page .sg-hero-demo-step strong {
    font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", "Noto Sans SC", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-shadow:
        0 0 14px rgba(147, 197, 253, 0.26),
        0 0 28px rgba(99, 102, 241, 0.12),
        0 1px 2px rgba(8, 15, 40, 0.35);
}

.sg-home-page .sg-hero-demo-step.is-active strong {
    text-shadow:
        0 0 16px rgba(147, 197, 253, 0.32),
        0 0 32px rgba(129, 140, 248, 0.16),
        0 1px 2px rgba(8, 15, 40, 0.3);
}

/* 步骤数字：橙 → 蓝紫渐变 */
.sg-home-page .sg-hero-demo-step-num {
    background: linear-gradient(145deg, #fb923c 0%, #f59e0b 32%, #6366f1 68%, #8b5cf6 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 2px 8px rgba(249, 115, 22, 0.18),
        0 0 12px rgba(99, 102, 241, 0.12);
    text-shadow: 0 1px 2px rgba(15, 23, 66, 0.25);
}

.sg-home-page .sg-hero-demo-step.is-active .sg-hero-demo-step-num {
    background: linear-gradient(145deg, #f97316 0%, #fbbf24 30%, #4f8ef7 72%, #7c3aed 100%);
    box-shadow:
        0 0 16px rgba(249, 115, 22, 0.22),
        0 0 20px rgba(99, 102, 241, 0.24);
    transform: scale(1.06);
}

/* 步骤描述：浅灰蓝、提高可读性 */
.sg-home-page .sg-hero-demo-step p {
    font-size: 12px;
    color: rgba(186, 203, 226, 0.9);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.sg-home-page .sg-hero-demo-step.is-active p {
    color: rgba(203, 213, 225, 0.95);
}

/* 2. 四步卡片依次从下方淡入 */
.sg-home-page .sg-hero-demo-step {
    opacity: 0;
    transform: translateY(14px);
    animation: sg-hero-step-enter 0.5s ease forwards;
}

.sg-home-page .sg-hero-demo-step:nth-child(1) { animation-delay: 0.05s; }
.sg-home-page .sg-hero-demo-step:nth-child(2) { animation-delay: 0.25s; }
.sg-home-page .sg-hero-demo-step:nth-child(3) { animation-delay: 0.45s; }
.sg-home-page .sg-hero-demo-step:nth-child(4) { animation-delay: 0.65s; }

@keyframes sg-hero-step-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 0.82;
        transform: translateY(0);
    }
}

.sg-home-page .sg-hero-demo-step.is-active {
    opacity: 1;
    border-color: rgba(129, 140, 248, 0.52);
    box-shadow:
        0 0 0 1px rgba(147, 197, 253, 0.32),
        0 8px 22px rgba(64, 158, 255, 0.16),
        0 0 28px rgba(99, 102, 241, 0.14);
    transition:
        opacity 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

/* 3. 谱面区橙色竖线：上下流动流光扫描 */
.sg-home-page .sg-hero-demo-cursor {
    width: 3px;
    left: 45%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 28%,
        rgba(251, 146, 60, 0.35) 38%,
        #fb923c 46%,
        #fbbf24 50%,
        #fb923c 54%,
        rgba(251, 146, 60, 0.35) 62%,
        transparent 72%,
        transparent 100%
    );
    background-size: 100% 220%;
    background-repeat: no-repeat;
    box-shadow:
        0 0 10px rgba(249, 115, 22, 0.28),
        0 0 18px rgba(251, 191, 36, 0.14);
    animation:
        sg-cursor-scan 3.2s ease-in-out infinite,
        sg-cursor-light-flow 3.6s ease-in-out infinite;
}

@keyframes sg-cursor-light-flow {
    0% { background-position: 0 -120%; }
    50% { background-position: 0 20%; }
    100% { background-position: 0 140%; }
}

.sg-home-page .sg-hero-demo[data-active-step="1"] .sg-hero-demo-cursor { animation-duration: 3.2s, 3.6s; }
.sg-home-page .sg-hero-demo[data-active-step="2"] .sg-hero-demo-cursor { animation-duration: 2.8s, 3.2s; }
.sg-home-page .sg-hero-demo[data-active-step="3"] .sg-hero-demo-cursor { animation-duration: 2.6s, 3s; }
.sg-home-page .sg-hero-demo[data-active-step="4"] .sg-hero-demo-cursor { animation-duration: 3s, 3.4s; }

/* 4. 底部播放球：柔和上下微动 */
.sg-home-page .sg-hero-demo .sg-hero-preview-play {
    animation: sg-hero-play-bounce 2.4s ease-in-out infinite;
    box-shadow:
        0 2px 10px rgba(64, 158, 255, 0.28),
        0 0 14px rgba(99, 102, 241, 0.14);
}

@keyframes sg-hero-play-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* 演示区减少动效 / 长辈模式 */
@media (prefers-reduced-motion: reduce) {
    .sg-home-page .sg-hero-demo-step,
    .sg-home-page .sg-hero-demo-cursor,
    .sg-home-page .sg-hero-demo .sg-hero-preview-play {
        animation: none !important;
        opacity: 0.82;
        transform: none;
    }

    .sg-home-page .sg-hero-demo-step.is-active {
        opacity: 1;
    }
}

.elder-mode .sg-home-page .sg-hero-demo-step strong {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.elder-mode .sg-home-page .sg-hero-demo .sg-hero-preview-play,
.elder-mode .sg-home-page .sg-hero-demo-cursor {
    animation: none !important;
}
