/* ==========================================================
   粵曲雅集 V3.0 - 國潮戲曲 × Apple Music 現代音樂平台
   繼承 V2 國潮墨金風格 + Apple Music 沉浸式現代感
   ========================================================== */

:root {
    /* 主色系：深墨夜 + 金箔 + 中國紅 + 翡翠 */
    --v3-ink:        #0A0710;
    --v3-ink-2:      #14101C;
    --v3-ink-3:      #1E1830;
    --v3-ink-4:      #2B2240;
    --v3-red:        #C8102E;
    --v3-red-dark:   #7A0818;
    --v3-red-light:  #FF3B5C;
    --v3-gold:       #E8B73C;
    --v3-gold-dark:  #B8901C;
    --v3-gold-light: #F8D77A;
    --v3-gold-glow:  rgba(232,183,60,0.45);
    --v3-jade:       #2EC4B6;
    --v3-jade-dark:  #1A8278;
    --v3-ivory:      #F7F1E3;
    --v3-paper:      #FBF6EC;
    --v3-text:       #EFE3CC;
    --v3-text-mute:  #A89B82;
    --v3-text-dim:   #6B6053;
    --v3-line:       rgba(232,183,60,0.18);
    --v3-glass:      rgba(20,16,28,0.62);

    /* 漸變 */
    --v3-grad-stage:    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,16,46,0.32) 0%, rgba(14,11,20,0.92) 55%, var(--v3-ink) 100%);
    --v3-grad-gold:     linear-gradient(135deg, #F8D77A 0%, #E8B73C 45%, #B8901C 100%);
    --v3-grad-gold-soft:linear-gradient(135deg, rgba(248,215,122,0.16) 0%, rgba(232,183,60,0.04) 100%);
    --v3-grad-red:      linear-gradient(135deg, #FF3B5C 0%, #C8102E 50%, #7A0818 100%);
    --v3-grad-card:     linear-gradient(160deg, rgba(30,24,48,0.92) 0%, rgba(20,16,28,0.96) 100%);
    --v3-grad-card-hover: linear-gradient(160deg, rgba(43,34,64,0.96) 0%, rgba(30,24,48,0.96) 100%);
    --v3-grad-ink:      linear-gradient(180deg, var(--v3-ink) 0%, var(--v3-ink-2) 100%);

    /* 字體（V3 引入現代英文字體 + 繁中宋楷） */
    --v3-font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Noto Sans HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
    --v3-font-zh-serif:"Noto Serif HK", "Source Han Serif TC", "思源宋體", "PingFang TC", "Microsoft JhengHei", serif;
    --v3-font-seal:    "ZCOOL XiaoWei", "STKaiti", "楷體", "Noto Serif HK", serif;
    --v3-font-num:     "SF Pro Display", "Inter", "DIN Alternate", "PingFang TC", sans-serif;

    /* 陰影 */
    --v3-sh-gold:  0 8px 32px rgba(232,183,60,0.28);
    --v3-sh-red:   0 10px 36px rgba(200,16,46,0.42);
    --v3-sh-card:  0 14px 44px rgba(0,0,0,0.48);
    --v3-sh-card-h:0 22px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,183,60,0.32);
    --v3-sh-float: 0 4px 18px rgba(0,0,0,0.4);

    /* 圓角 */
    --v3-r-sm: 10px; --v3-r-md: 16px; --v3-r-lg: 22px; --v3-r-xl: 32px; --v3-r-pill: 9999px;
    /* 間距 */
    --v3-s-xs: 4px; --v3-s-sm: 8px; --v3-s-md: 16px; --v3-s-lg: 24px;
    --v3-s-xl: 40px; --v3-s-2xl: 64px; --v3-s-3xl: 96px;
    /* 動畫曲線 */
    --v3-ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
    --v3-ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
    --v3-ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);
    /* 容器寬度 */
    --v3-max-w: 1280px;
}

/* ========== 基礎重置 ========== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.v3, body.v3-theme {
    margin: 0;
    font-family: var(--v3-font-display);
    color: var(--v3-text);
    background: var(--v3-ink);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 全局水墨紋理 + 國潮光暈 */
body.v3::before, body.v3-theme::before {
    content: "";
    position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(circle at 18% 22%, rgba(200,16,46,0.08) 0%, transparent 38%),
        radial-gradient(circle at 82% 72%, rgba(232,183,60,0.07) 0%, transparent 42%),
        radial-gradient(circle at 50% 100%, rgba(46,196,182,0.05) 0%, transparent 48%),
        var(--v3-ink);
}
/* 國潮紙紋（細密噪點） */
body.v3::after, body.v3-theme::after {
    content: "";
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.92  0 0 0 0 0.72  0 0 0 0 0.24  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.22;
    mix-blend-mode: overlay;
}

a { color: var(--v3-gold); text-decoration: none; transition: color .25s var(--v3-ease); }
a:hover { color: var(--v3-gold-light); }
img { max-width: 100%; display: block; }

/* ========== 容器 ========== */
.v3-container { max-width: var(--v3-max-w); margin: 0 auto; padding: 0 var(--v3-s-lg); }
.v3-container-narrow { max-width: 880px; }

/* ============================================================
   頂部導航 V3（玻璃擬態 + 金色描邊 + 響應式）
   ============================================================ */
.v3-nav {
    position: sticky; top: 0; z-index: 900;
    background: rgba(10,7,16,0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--v3-line);
    transition: background .3s var(--v3-ease), border-color .3s var(--v3-ease);
}
/* 滾動後加強底色 */
.v3-nav.scrolled { background: rgba(10,7,16,0.92); border-bottom-color: rgba(232,183,60,0.3); }
.v3-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--v3-s-md); height: 68px;
}

/* Logo 印章按鈕 */
.v3-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.v3-logo-seal {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--v3-grad-red);
    display: flex; align-items: center; justify-content: center;
    color: var(--v3-ivory); font-family: var(--v3-font-seal); font-size: 26px; font-weight: 700;
    box-shadow: 0 4px 16px rgba(200,16,46,0.45);
    transition: transform .35s var(--v3-ease-spring), box-shadow .35s var(--v3-ease);
}
.v3-logo:hover .v3-logo-seal { transform: rotate(-6deg) scale(1.05); box-shadow: 0 6px 24px rgba(200,16,46,0.6); }
.v3-logo-text {
    font-family: var(--v3-font-zh-serif); font-size: 1.25rem; font-weight: 700;
    color: var(--v3-gold); letter-spacing: 1.5px; line-height: 1.1;
}
.v3-logo-text small {
    display: block; font-family: var(--v3-font-display); font-size: 0.55rem;
    color: var(--v3-text-mute); letter-spacing: 3px; font-weight: 500;
}

/* 導航連結 */
.v3-nav-links { display: flex; align-items: center; gap: 4px; }
.v3-nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--v3-r-pill);
    color: var(--v3-text); font-size: 0.95rem; font-weight: 500;
    text-decoration: none; transition: all .25s var(--v3-ease);
    white-space: nowrap;
}
.v3-nav-link i { font-size: 1em; opacity: 0.85; }
.v3-nav-link:hover {
    color: var(--v3-gold); background: rgba(232,183,60,0.08);
}
.v3-nav-link.active {
    color: var(--v3-gold); background: rgba(232,183,60,0.14);
    box-shadow: inset 0 0 0 1px rgba(232,183,60,0.24);
}

/* 按鈕 */
.v3-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; border-radius: var(--v3-r-pill);
    font-family: var(--v3-font-display); font-size: 0.95rem; font-weight: 600;
    cursor: pointer; border: none; text-decoration: none;
    transition: transform .25s var(--v3-ease-spring), box-shadow .25s var(--v3-ease), background .25s var(--v3-ease);
    white-space: nowrap; line-height: 1.2;
}
.v3-btn:hover { transform: translateY(-1px); }
.v3-btn:active { transform: translateY(0) scale(0.98); }
.v3-btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.v3-btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.v3-btn-gold {
    background: var(--v3-grad-gold); color: var(--v3-ink);
    box-shadow: var(--v3-sh-gold);
}
.v3-btn-gold:hover { box-shadow: 0 12px 40px rgba(232,183,60,0.5); color: var(--v3-ink); }
.v3-btn-red {
    background: var(--v3-grad-red); color: var(--v3-ivory);
    box-shadow: var(--v3-sh-red);
}
.v3-btn-red:hover { box-shadow: 0 14px 48px rgba(200,16,46,0.58); color: var(--v3-ivory); }
.v3-btn-ghost {
    background: rgba(255,255,255,0.04); color: var(--v3-text);
    border: 1px solid var(--v3-line);
}
.v3-btn-ghost:hover { background: rgba(232,183,60,0.1); border-color: rgba(232,183,60,0.4); color: var(--v3-gold); }

/* 漢堡菜單按鈕（手機版） */
.v3-nav-toggle {
    display: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
    background: rgba(255,255,255,0.06); border: 1px solid var(--v3-line);
    border-radius: 12px; align-items: center; justify-content: center;
    color: var(--v3-gold); font-size: 1.4rem;
    transition: all .25s var(--v3-ease);
}
.v3-nav-toggle:hover { background: rgba(232,183,60,0.12); }
.v3-nav-toggle .x { display: none; }
.v3-nav-toggle.open .bars { display: none; }
.v3-nav-toggle.open .x { display: block; }

/* ============================================================
   Hero 沉浸式首屏
   ============================================================ */
.v3-hero {
    position: relative;
    min-height: 88vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: var(--v3-grad-stage);
    overflow: hidden;
    padding: var(--v3-s-3xl) 0 var(--v3-s-2xl);
}
/* 動態舞台光效：四盞聚光燈 */
.v3-hero-lights { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.v3-spotlight {
    position: absolute; top: -15%; width: 60vw; height: 90vh;
    background: radial-gradient(ellipse 50% 60% at 50% 0%, var(--c, var(--v3-gold-glow)) 0%, transparent 65%);
    opacity: 0.42; mix-blend-mode: screen;
    transform-origin: 50% 0%;
    animation: v3-light-sweep 8s var(--v3-ease-in-out) infinite alternate;
    filter: blur(8px);
}
.v3-spotlight:nth-child(1) { left: -10%; --c: rgba(232,183,60,0.5); animation-delay: 0s; }
.v3-spotlight:nth-child(2) { left: 25%; --c: rgba(200,16,46,0.45); animation-delay: -2.5s; animation-duration: 10s; }
.v3-spotlight:nth-child(3) { left: 55%; --c: rgba(46,196,182,0.4); animation-delay: -5s; animation-duration: 12s; }
.v3-spotlight:nth-child(4) { left: 75%; --c: rgba(248,215,122,0.5); animation-delay: -3.5s; animation-duration: 9s; }
@keyframes v3-light-sweep {
    0%   { transform: rotate(-18deg) scaleY(1); opacity: 0.20; }
    50%  { transform: rotate(0deg)   scaleY(1.15); opacity: 0.50; }
    100% { transform: rotate(22deg)  scaleY(1); opacity: 0.25; }
}

/* 水墨流動 */
.v3-ink-flow {
    position: absolute; left: 0; right: 0; bottom: 0; height: 30vh;
    background: linear-gradient(180deg, transparent 0%, var(--v3-ink) 100%);
    z-index: 2; pointer-events: none;
}
/* 國潮大字裝飾 */
.v3-hero-deco {
    position: absolute; font-family: var(--v3-font-seal); font-weight: 700;
    color: rgba(232,183,60,0.10); pointer-events: none; user-select: none;
    z-index: 1; line-height: 1;
    animation: v3-float 14s var(--v3-ease-in-out) infinite alternate;
}
.v3-hero-deco-1 { left: 4%;  top: 18%; font-size: clamp(120px, 22vw, 280px); }
.v3-hero-deco-2 { right: 4%; bottom: 22%; font-size: clamp(140px, 26vw, 340px); animation-delay: -7s; color: rgba(200,16,46,0.09); }
@keyframes v3-float {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, -28px) rotate(2deg); }
}

/* Hero 內容 */
.v3-hero-inner { position: relative; z-index: 5; }
.v3-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: var(--v3-r-pill);
    background: rgba(232,183,60,0.10); border: 1px solid rgba(232,183,60,0.32);
    color: var(--v3-gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
    margin-bottom: var(--v3-s-lg);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    animation: v3-fade-up .8s var(--v3-ease) both;
}
.v3-hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--v3-jade); box-shadow: 0 0 12px var(--v3-jade);
    animation: v3-pulse 2s ease-in-out infinite;
}
@keyframes v3-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.3); }
}

.v3-hero-title {
    font-family: var(--v3-font-zh-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 800; letter-spacing: clamp(2px, 1vw, 8px);
    color: var(--v3-gold);
    line-height: 1.15; margin: 0 0 var(--v3-s-md);
    text-shadow: 0 8px 40px rgba(232,183,60,0.4), 0 2px 8px rgba(0,0,0,0.6);
    animation: v3-fade-up 1s var(--v3-ease) .15s both;
}
.v3-hero-title .seal {
    display: inline-block; vertical-align: middle;
    font-family: var(--v3-font-seal); font-size: 0.78em;
    padding: 0.1em 0.25em; margin: 0 0.1em; border-radius: 10px;
    background: var(--v3-grad-red); color: var(--v3-ivory);
    transform: rotate(-3deg); box-shadow: var(--v3-sh-red);
}
.v3-hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 400;
    color: var(--v3-text-mute); max-width: 720px; margin: 0 auto var(--v3-s-xl);
    letter-spacing: 1px; line-height: 1.7;
    animation: v3-fade-up 1s var(--v3-ease) .3s both;
}
.v3-hero-cta {
    display: flex; gap: var(--v3-s-md); justify-content: center; flex-wrap: wrap;
    margin-bottom: var(--v3-s-2xl);
    animation: v3-fade-up 1s var(--v3-ease) .45s both;
}
.v3-hero-cta .v3-btn { padding: 14px 30px; font-size: 1.05rem; }

/* Hero 統計數字 */
.v3-hero-stats {
    display: flex; gap: clamp(var(--v3-s-md), 4vw, var(--v3-s-xl));
    justify-content: center; flex-wrap: wrap;
    padding: var(--v3-s-lg) var(--v3-s-xl);
    background: var(--v3-glass);
    backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-r-xl);
    box-shadow: var(--v3-sh-card);
    animation: v3-fade-up 1.1s var(--v3-ease) .6s both;
    max-width: max-content; margin: 0 auto;
}
.v3-stat { text-align: center; }
.v3-stat-num {
    font-family: var(--v3-font-num); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
    background: var(--v3-grad-gold);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--v3-gold);
    line-height: 1; letter-spacing: -0.02em;
}
.v3-stat-label {
    font-size: 0.8rem; color: var(--v3-text-mute); margin-top: 6px;
    letter-spacing: 2px; font-weight: 500;
}
.v3-stat-divider {
    width: 1px; align-self: stretch;
    background: linear-gradient(180deg, transparent, var(--v3-line), transparent);
}

/* Scroll 提示 */
.v3-scroll-hint {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 5; color: var(--v3-text-mute);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 0.7rem; letter-spacing: 3px; opacity: 0.7;
    animation: v3-fade-up 1s var(--v3-ease) 1s both, v3-bob 2.4s var(--v3-ease-in-out) 1.6s infinite;
}
.v3-scroll-hint .arrow {
    width: 22px; height: 22px; border-right: 2px solid var(--v3-gold);
    border-bottom: 2px solid var(--v3-gold); transform: rotate(45deg);
}
@keyframes v3-bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* fade-up 通用進場動畫 */
@keyframes v3-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes v3-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Section 通用
   ============================================================ */
.v3-section {
    position: relative;
    padding: var(--v3-s-3xl) 0;
}
.v3-section-head { text-align: center; max-width: 760px; margin: 0 auto var(--v3-s-xl); }
.v3-section-eyebrow {
    display: inline-block; padding: 4px 14px; border-radius: var(--v3-r-pill);
    background: rgba(200,16,46,0.14); color: var(--v3-red-light);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    border: 1px solid rgba(200,16,46,0.28);
    margin-bottom: var(--v3-s-md);
}
.v3-section-title {
    font-family: var(--v3-font-zh-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700; letter-spacing: 2px; line-height: 1.25;
    color: var(--v3-text); margin: 0 0 var(--v3-s-md);
}
.v3-section-title .accent {
    background: var(--v3-grad-gold);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--v3-gold);
}
.v3-section-desc {
    color: var(--v3-text-mute); font-size: 1rem; line-height: 1.75;
    margin: 0 auto; max-width: 680px;
}

/* ============================================================
   快捷入口卡片
   ============================================================ */
.v3-quick-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--v3-s-md);
}
.v3-quick-card {
    position: relative; overflow: hidden;
    padding: var(--v3-s-lg) var(--v3-s-md); text-align: center;
    background: var(--v3-grad-card);
    border: 1px solid var(--v3-line); border-radius: var(--v3-r-lg);
    text-decoration: none; color: var(--v3-text);
    transition: transform .4s var(--v3-ease-spring), box-shadow .4s var(--v3-ease), border-color .4s var(--v3-ease);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.v3-quick-card::before {
    content: ""; position: absolute; inset: 0;
    background: var(--v3-grad-gold-soft); opacity: 0;
    transition: opacity .4s var(--v3-ease);
}
.v3-quick-card:hover {
    transform: translateY(-6px); color: var(--v3-text);
    border-color: rgba(232,183,60,0.45); box-shadow: var(--v3-sh-card-h);
}
.v3-quick-card:hover::before { opacity: 1; }
.v3-quick-card > * { position: relative; z-index: 1; }
.v3-quick-icon {
    font-size: 2.4rem; margin-bottom: var(--v3-s-sm);
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: var(--v3-r-md);
    background: rgba(232,183,60,0.08); transition: transform .4s var(--v3-ease-spring);
}
.v3-quick-card:hover .v3-quick-icon { transform: scale(1.18) rotate(-6deg); }
.v3-quick-title {
    font-family: var(--v3-font-zh-serif); font-size: 1.15rem; font-weight: 700;
    color: var(--v3-gold); margin-bottom: 6px; letter-spacing: 1px;
}
.v3-quick-desc { font-size: 0.85rem; color: var(--v3-text-mute); line-height: 1.55; }

/* ============================================================
   熱門曲目卡片（Apple Music 風格）
   ============================================================ */
.v3-songs-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--v3-s-lg);
}
.v3-song-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    background: var(--v3-grad-card);
    border: 1px solid var(--v3-line); border-radius: var(--v3-r-lg);
    text-decoration: none; color: var(--v3-text);
    transition: transform .4s var(--v3-ease-spring), box-shadow .4s var(--v3-ease), border-color .4s var(--v3-ease);
}
.v3-song-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232,183,60,0.42);
    box-shadow: var(--v3-sh-card-h);
}
.v3-song-cover {
    position: relative; aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 4.5rem; overflow: hidden;
    background: linear-gradient(135deg, rgba(200,16,46,0.28), rgba(232,183,60,0.18), rgba(46,196,182,0.22));
}
.v3-song-cover::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(248,215,122,0.22), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(200,16,46,0.18), transparent 55%);
    pointer-events: none;
}
/* 工尺譜紋背景 */
.v3-song-cover::before {
    content: "合士上尺工凡六"; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--v3-font-seal); font-size: 8rem; font-weight: 800;
    color: rgba(232,183,60,0.07); letter-spacing: 4px; line-height: 1;
    pointer-events: none; z-index: 0;
}
.v3-song-cover img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.v3-song-play {
    position: absolute; bottom: 14px; right: 14px; z-index: 3;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--v3-grad-gold); color: var(--v3-ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800;
    box-shadow: 0 8px 24px rgba(232,183,60,0.5);
    transform: translateY(8px); opacity: 0;
    transition: all .4s var(--v3-ease-spring);
}
.v3-song-card:hover .v3-song-play { transform: translateY(0); opacity: 1; }
.v3-song-body { padding: var(--v3-s-md) var(--v3-s-lg) var(--v3-s-lg); }
.v3-song-title {
    font-family: var(--v3-font-zh-serif); font-size: 1.15rem; font-weight: 700;
    color: var(--v3-text); margin: 0 0 6px;
    line-height: 1.35; letter-spacing: 1px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.v3-song-artist {
    font-size: 0.85rem; color: var(--v3-text-mute);
    margin: 0 0 var(--v3-s-sm);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.v3-song-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 標籤 */
.v3-tag {
    display: inline-block; padding: 3px 10px; border-radius: var(--v3-r-pill);
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
    background: rgba(255,255,255,0.06); color: var(--v3-text-mute);
    border: 1px solid var(--v3-line);
}
.v3-tag-red  { background: rgba(200,16,46,0.16);  color: var(--v3-red-light);  border-color: rgba(200,16,46,0.32); }
.v3-tag-gold { background: rgba(232,183,60,0.16); color: var(--v3-gold);       border-color: rgba(232,183,60,0.32); }
.v3-tag-jade { background: rgba(46,196,182,0.16); color: var(--v3-jade);       border-color: rgba(46,196,182,0.32); }

/* ============================================================
   排行榜（熱門榜 Apple Music 風格）
   ============================================================ */
.v3-rank-list {
    display: flex; flex-direction: column; gap: 10px;
    background: var(--v3-grad-card);
    border: 1px solid var(--v3-line); border-radius: var(--v3-r-lg);
    padding: var(--v3-s-md); overflow: hidden;
}
.v3-rank-item {
    display: flex; align-items: center; gap: var(--v3-s-md);
    padding: 12px 14px; border-radius: var(--v3-r-md);
    text-decoration: none; color: var(--v3-text);
    transition: all .25s var(--v3-ease);
    position: relative;
}
.v3-rank-item:hover {
    background: rgba(232,183,60,0.10); color: var(--v3-text);
    transform: translateX(4px);
}
.v3-rank-num {
    font-family: var(--v3-font-num); font-size: 1.3rem; font-weight: 800;
    width: 32px; flex-shrink: 0; text-align: center;
    color: var(--v3-text-dim);
}
.v3-rank-item:nth-child(1) .v3-rank-num { color: var(--v3-gold); text-shadow: 0 0 12px var(--v3-gold-glow); }
.v3-rank-item:nth-child(2) .v3-rank-num { color: var(--v3-gold-light); }
.v3-rank-item:nth-child(3) .v3-rank-num { color: var(--v3-red-light); }
.v3-rank-cover {
    width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(200,16,46,0.32), rgba(232,183,60,0.22));
}
.v3-rank-info { flex: 1; min-width: 0; }
.v3-rank-title {
    font-family: var(--v3-font-zh-serif); font-size: 0.95rem; font-weight: 700;
    color: var(--v3-text); margin: 0 0 3px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.v3-rank-meta { font-size: 0.78rem; color: var(--v3-text-mute); }
.v3-rank-play {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(232,183,60,0.14); color: var(--v3-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; opacity: 0; transform: scale(0.85);
    transition: all .25s var(--v3-ease);
}
.v3-rank-item:hover .v3-rank-play { opacity: 1; transform: scale(1); }

/* ============================================================
   AI 入口 Banner
   ============================================================ */
.v3-ai-banner {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(46,196,182,0.16), rgba(232,183,60,0.10), rgba(200,16,46,0.14));
    border: 1px solid var(--v3-line); border-radius: var(--v3-r-xl);
    padding: var(--v3-s-2xl) var(--v3-s-2xl);
    box-shadow: var(--v3-sh-card);
}
.v3-ai-banner::before {
    content: ""; position: absolute; inset: 0; opacity: 0.35;
    background:
        radial-gradient(circle at 90% 20%, rgba(46,196,182,0.4) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(232,183,60,0.32) 0%, transparent 45%);
    pointer-events: none;
}
.v3-ai-banner-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: var(--v3-s-2xl);
}
.v3-ai-title {
    font-family: var(--v3-font-zh-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: 2px;
    color: var(--v3-text); margin: 0 0 var(--v3-s-md); line-height: 1.3;
}
.v3-ai-title .glow {
    background: linear-gradient(90deg, var(--v3-gold), var(--v3-gold-light), var(--v3-gold));
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: v3-shine 4s linear infinite;
}
@keyframes v3-shine {
    to { background-position: 200% center; }
}
.v3-ai-desc { color: var(--v3-text-mute); margin: 0 0 var(--v3-s-lg); font-size: 1rem; line-height: 1.75; max-width: 540px; }
.v3-ai-input { display: flex; gap: var(--v3-s-sm); margin-bottom: var(--v3-s-md); }
.v3-ai-input input {
    flex: 1; padding: 12px 18px; border-radius: var(--v3-r-pill);
    background: rgba(10,7,16,0.5); border: 1px solid var(--v3-line);
    color: var(--v3-text); font-family: var(--v3-font-display); font-size: 0.95rem; outline: none;
    transition: border-color .25s var(--v3-ease), box-shadow .25s var(--v3-ease);
}
.v3-ai-input input::placeholder { color: var(--v3-text-dim); }
.v3-ai-input input:focus { border-color: var(--v3-gold); box-shadow: 0 0 0 3px rgba(232,183,60,0.16); }
.v3-ai-suggest { display: flex; flex-wrap: wrap; gap: 10px; }
.v3-ai-chip {
    display: inline-flex; padding: 7px 14px; border-radius: var(--v3-r-pill);
    background: rgba(255,255,255,0.06); color: var(--v3-text-mute);
    border: 1px solid var(--v3-line); font-size: 0.8rem; text-decoration: none;
    transition: all .25s var(--v3-ease);
}
.v3-ai-chip:hover { background: rgba(232,183,60,0.16); color: var(--v3-gold); border-color: rgba(232,183,60,0.4); }

/* AI 球體視覺 */
.v3-ai-visual { display: flex; align-items: center; justify-content: center; }
.v3-ai-orb {
    width: 240px; height: 240px; border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(248,215,122,0.9), rgba(232,183,60,0.5) 30%, transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(46,196,182,0.7), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(200,16,46,0.5), transparent 80%);
    box-shadow: 0 0 60px rgba(232,183,60,0.5), inset 0 0 60px rgba(46,196,182,0.35);
    animation: v3-orb-pulse 4s var(--v3-ease-in-out) infinite;
    position: relative;
}
.v3-ai-orb::after {
    content: "AI"; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-family: var(--v3-font-display); font-size: 2rem; font-weight: 800;
    color: var(--v3-ink); letter-spacing: 4px;
}
@keyframes v3-orb-pulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 60px rgba(232,183,60,0.5), inset 0 0 60px rgba(46,196,182,0.35); }
    50% { transform: scale(1.06); box-shadow: 0 0 90px rgba(232,183,60,0.7), inset 0 0 80px rgba(46,196,182,0.5); }
}

/* ============================================================
   會員轉化區
   ============================================================ */
.v3-pricing {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--v3-s-lg); align-items: stretch;
}
.v3-plan {
    position: relative; overflow: hidden;
    background: var(--v3-grad-card);
    border: 1px solid var(--v3-line); border-radius: var(--v3-r-lg);
    padding: var(--v3-s-xl) var(--v3-s-lg);
    transition: transform .4s var(--v3-ease-spring), box-shadow .4s var(--v3-ease), border-color .4s var(--v3-ease);
}
.v3-plan:hover { transform: translateY(-6px); border-color: rgba(232,183,60,0.4); box-shadow: var(--v3-sh-card-h); }
.v3-plan-featured {
    background: linear-gradient(160deg, rgba(200,16,46,0.20), rgba(232,183,60,0.10), rgba(30,24,48,0.95));
    border-color: rgba(232,183,60,0.52);
    box-shadow: var(--v3-sh-gold);
    padding-top: calc(var(--v3-s-xl) + 28px);
}
.v3-plan-featured::before {
    content: ""; position: absolute; inset: 0;
    background: var(--v3-grad-gold-soft); opacity: 0.45; pointer-events: none;
}
.v3-plan-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    z-index: 2; white-space: nowrap;
    padding: 5px 18px; border-radius: var(--v3-r-pill);
    background: var(--v3-grad-gold); color: var(--v3-ink);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
    box-shadow: var(--v3-sh-gold);
}
.v3-plan > * { position: relative; z-index: 1; }
.v3-plan-name {
    font-family: var(--v3-font-zh-serif); font-size: 1.25rem; font-weight: 700;
    color: var(--v3-gold); letter-spacing: 1.5px; margin: 0 0 6px;
}
.v3-plan-tag { font-size: 0.8rem; color: var(--v3-text-mute); margin-bottom: var(--v3-s-md); }
.v3-plan-price {
    font-family: var(--v3-font-num); font-size: 2.4rem; font-weight: 800; color: var(--v3-text);
    line-height: 1; margin-bottom: 4px;
}
.v3-plan-price small { font-size: 0.85rem; font-weight: 500; color: var(--v3-text-mute); }
.v3-plan-features {
    list-style: none; padding: 0; margin: var(--v3-s-lg) 0;
    display: flex; flex-direction: column; gap: 10px;
}
.v3-plan-features li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--v3-text-mute); font-size: 0.9rem; line-height: 1.5;
}
.v3-plan-features li i { color: var(--v3-gold); flex-shrink: 0; margin-top: 4px; }
.v3-plan-features li.off { opacity: 0.35; }
.v3-plan-features li.off i { color: var(--v3-text-dim); }
.v3-plan .v3-btn { display: flex; width: 100%; margin-top: var(--v3-s-sm); }

/* ============================================================
   Footer
   ============================================================ */
.v3-footer {
    background: linear-gradient(180deg, var(--v3-ink) 0%, #060409 100%);
    color: var(--v3-text); padding: var(--v3-s-2xl) 0 var(--v3-s-xl);
    margin-top: var(--v3-s-3xl); border-top: 1px solid var(--v3-line);
}
.v3-footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--v3-s-xl);
    padding-bottom: var(--v3-s-xl); border-bottom: 1px solid var(--v3-line);
    margin-bottom: var(--v3-s-lg);
}
.v3-footer-brand { font-family: var(--v3-font-zh-serif); font-size: 1.4rem; font-weight: 700; color: var(--v3-gold); margin-bottom: var(--v3-s-sm); }
.v3-footer-desc { color: var(--v3-text-mute); font-size: 0.9rem; line-height: 1.7; max-width: 360px; }
.v3-footer-title { font-family: var(--v3-font-zh-serif); font-size: 0.95rem; color: var(--v3-gold); font-weight: 700; margin: 0 0 var(--v3-s-sm); letter-spacing: 1px; }
.v3-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.v3-footer-links a { color: var(--v3-text-mute); font-size: 0.88rem; text-decoration: none; transition: color .2s; }
.v3-footer-links a:hover { color: var(--v3-gold); }
.v3-footer-bottom { text-align: center; color: var(--v3-text-dim); font-size: 0.82rem; }

/* ============================================================
   響應式設計
   ============================================================ */
@media (max-width: 1024px) {
    .v3-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .v3-songs-grid { grid-template-columns: repeat(2, 1fr); }
    .v3-ai-banner-inner { grid-template-columns: 1fr; gap: var(--v3-s-xl); text-align: center; }
    .v3-ai-input, .v3-ai-suggest { justify-content: center; }
    .v3-pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .v3-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    /* 響應式導航：漢堡菜單 */
    .v3-nav-toggle { display: flex; }
    .v3-nav-links {
        position: fixed; top: 68px; left: 0; right: 0;
        background: rgba(10,7,16,0.97); backdrop-filter: blur(20px);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: var(--v3-s-md) var(--v3-s-lg) var(--v3-s-xl);
        max-height: 0; overflow: hidden;
        border-bottom: 1px solid var(--v3-line);
        transition: max-height .4s var(--v3-ease-in-out);
    }
    .v3-nav-links.open { max-height: 80vh; overflow-y: auto; }
    .v3-nav-link { padding: 14px 16px; border-radius: 12px; font-size: 1rem; width: 100%; }
    .v3-nav-link i { width: 22px; }
    /* Hero */
    .v3-hero { min-height: 80vh; padding: var(--v3-s-2xl) 0 var(--v3-s-xl); }
    .v3-hero-title { letter-spacing: 2px; }
    .v3-hero-stats { padding: var(--v3-s-md); }
    /* Section */
    .v3-section { padding: var(--v3-s-2xl) 0; }
    /* Quick */
    .v3-quick-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .v3-quick-card { padding: var(--v3-s-md); }
    /* Songs */
    .v3-songs-grid { grid-template-columns: 1fr; gap: var(--v3-s-md); }
    /* AI orb */
    .v3-ai-orb { width: 180px; height: 180px; }
    /* Footer */
    .v3-footer-grid { grid-template-columns: 1fr; gap: var(--v3-s-lg); text-align: center; }
    .v3-footer-desc { margin: 0 auto; }
}
@media (max-width: 480px) {
    .v3-hero-cta .v3-btn { width: 100%; }
    .v3-quick-grid { grid-template-columns: 1fr; }
    .v3-hero-stats { gap: var(--v3-s-md); padding: var(--v3-s-sm) var(--v3-s-md); }
    .v3-stat-label { font-size: 0.7rem; letter-spacing: 1px; }
}

/* 滾動進場動畫（搭配 JS IntersectionObserver） */
.v3-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--v3-ease), transform .8s var(--v3-ease); }
.v3-reveal.in { opacity: 1; transform: translateY(0); }
.v3-reveal-delay-1 { transition-delay: .1s; }
.v3-reveal-delay-2 { transition-delay: .2s; }
.v3-reveal-delay-3 { transition-delay: .3s; }
.v3-reveal-delay-4 { transition-delay: .4s; }

/* 滿版寬欣賞 section */
.v3-section-tint  { background: linear-gradient(180deg, transparent, rgba(200,16,46,0.05), transparent); }
.v3-section-tint-2{ background: linear-gradient(180deg, transparent, rgba(232,183,60,0.05), transparent); }
.v3-section-tint-3{ background: linear-gradient(180deg, transparent, rgba(46,196,182,0.05), transparent); }

/* 標題居中右上對齊工具 */
.v3-flex-between { display: flex; justify-content: space-between; align-items: center; gap: var(--v3-s-md); flex-wrap: wrap; }
.v3-center { text-align: center; }

/* ================================================================
   V2 兼容層  (V3 Theme x V2 頁面模板)
   令舊 V2 模板用到嘅 class 喺 V3 深色金色主題下正常顯示
   ================================================================ */

/* ---- layout ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; gap: var(--v3-s-md); }
.grid { display: grid; gap: var(--v3-s-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.text-center { text-align: center; }
.mt-md { margin-top: var(--v3-s-md); } .mt-lg { margin-top: var(--v3-s-lg); }
.mt-xl { margin-top: var(--v3-s-xl); } .mb-md { margin-bottom: var(--v3-s-md); }

/* ---- Hero (V2) ---- */
.hero { position: relative; padding: 80px 0 56px; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,16,46,0.28) 0%, rgba(14,11,20,0.92) 55%, var(--v3-ink) 100%);
  border-bottom: 1px solid rgba(232,183,60,0.16); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(232,183,60,0.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .4; pointer-events: none; }
.hero-title { display: block !important; font-family: var(--v3-font-zh-serif) !important;
  color: var(--v3-gold) !important; letter-spacing: 2px; font-weight: 800;
  font-size: 2.4rem !important; line-height: 1.2 !important; text-align: center;
  text-shadow: 0 4px 24px rgba(232,183,60,0.35); margin: 0 0 12px; }
.hero p { color: rgba(245,237,224,0.7); font-size: 1.05rem; margin: 0; }
.hero .badge { display: inline-block; }

/* ---- Cards (V2 .card) ---- */
.card { display: block; background: linear-gradient(180deg, rgba(30,24,48,0.78), rgba(20,16,28,0.6));
  border: 1px solid rgba(232,183,60,0.18); border-radius: 16px; padding: 20px;
  backdrop-filter: blur(10px); transition: transform .3s var(--v3-ease), border-color .3s, box-shadow .3s;
  margin-bottom: var(--v3-s-md); }
.card:hover { transform: translateY(-3px); border-color: rgba(232,183,60,0.42);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4); }
.card h2, .card h3 { color: var(--v3-gold); margin-top: 0; }

/* ---- Buttons (V2) ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px;
  border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .25s var(--v3-ease);
  text-decoration: none; line-height: 1.4; }
.btn-primary { background: var(--v3-grad-gold); color: var(--v3-ink) !important; border: none;
  box-shadow: 0 8px 24px rgba(232,183,60,0.3); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(232,183,60,0.5); color: var(--v3-ink) !important; transform: translateY(-1px); }
.btn-gold { background: var(--v3-grad-gold); color: var(--v3-ink) !important; border: none;
  box-shadow: 0 8px 24px rgba(232,183,60,0.3); }
.btn-gold:hover { box-shadow: 0 12px 40px rgba(232,183,60,0.5); color: var(--v3-ink) !important; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--v3-gold) !important; border-color: rgba(232,183,60,0.4); }
.btn-outline:hover { background: rgba(232,183,60,0.1); border-color: var(--v3-gold); color: var(--v3-gold-light) !important; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---- Badge ---- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; line-height: 1.4; }
.badge-primary { background: rgba(232,183,60,0.18); color: var(--v3-gold); border: 1px solid rgba(232,183,60,0.32); }
.badge-outline { background: transparent; color: rgba(245,237,224,0.7); border: 1px solid rgba(245,237,224,0.25); }
.badge-red, .badge-danger { background: rgba(200,16,46,0.2); color: var(--v3-red-light); border: 1px solid rgba(200,16,46,0.4); }
.badge-success { background: rgba(46,196,182,0.18); color: #2EC4B6; border: 1px solid rgba(46,196,182,0.4); }

/* ---- Form (V2) ---- */
.form-control { display: block; width: 100%; padding: 10px 14px; font-size: 0.95rem;
  background: rgba(20,16,28,0.6); border: 1px solid rgba(232,183,60,0.22);
  border-radius: 10px; color: var(--v3-cream); transition: border-color .25s, box-shadow .25s;
  font-family: inherit; }
.form-control::placeholder { color: rgba(245,237,224,0.4); }
.form-control:focus { outline: none; border-color: var(--v3-gold);
  box-shadow: 0 0 0 3px rgba(232,183,60,0.16); background: rgba(30,24,48,0.7); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }
label { display: block; margin-bottom: 6px; color: var(--v3-gold); font-weight: 600; font-size: 0.9rem; }
.form-group { margin-bottom: var(--v3-s-md); }

/* ---- 表格 ---- */
table { width: 100%; border-collapse: collapse; margin: var(--v3-s-md) 0; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(232,183,60,0.14); }
th { color: var(--v3-gold); font-weight: 700; background: rgba(232,183,60,0.06); }
td { color: rgba(245,237,224,0.85); }
tbody tr:hover { background: rgba(232,183,60,0.05); }

/* ---- Alert ---- */
.alert { padding: 12px 18px; border-radius: 10px; margin-bottom: var(--v3-s-md);
  border: 1px solid transparent; font-size: 0.95rem; }
.alert-info  { background: rgba(46,196,182,0.1);  color: #2EC4B6; border-color: rgba(46,196,182,0.3); }
.alert-success { background: rgba(46,196,182,0.12); color: #2EC4B6; border-color: rgba(46,196,182,0.32); }
.alert-warning { background: rgba(232,183,60,0.12); color: var(--v3-gold); border-color: rgba(232,183,60,0.32); }
.alert-danger, .alert-error { background: rgba(200,16,46,0.14); color: var(--v3-red-light); border-color: rgba(200,16,46,0.32); }

/* ---- Section title / heading fallback ---- */
.section-title, h1, h2 { color: var(--v3-gold); }
h1 { font-family: var(--v3-font-zh-serif); font-weight: 800; letter-spacing: 1px; }
h2 { font-family: var(--v3-font-zh-serif); font-weight: 700; }
h3 { color: var(--v3-gold); font-weight: 700; }
p  { color: rgba(245,237,224,0.78); line-height: 1.7; }
small { color: rgba(245,237,224,0.55); }

/* ---- Spacing utilities (V2) ---- */
:root { --spacing-xs: 4px; --spacing-sm: 8px; --spacing-md: 16px;
  --spacing-lg: 24px; --spacing-xl: 32px; --spacing-2xl: 48px;
  --font-size-sm: 0.875rem; --font-size-lg: 1.125rem; --font-size-xl: 1.375rem;
  --color-gold: #E8B73C; --color-primary: #E8B73C; --color-primary-dark: #0A0710;
  --color-text-muted: rgba(245,237,224,0.55); --color-text-light: rgba(245,237,224,0.7);
  --color-paper: rgba(30,24,48,0.5); --radius-sm: 8px; }

/* ---- 其他雜項 ---- */
.text-muted { color: rgba(245,237,224,0.55); }
.text-light { color: rgba(245,237,224,0.7); }
.text-gold { color: var(--v3-gold); }
.text-center { text-align: center; }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid rgba(232,183,60,0.18); margin: var(--v3-s-lg) 0; }
a.btn-primary, a.btn-gold { color: var(--v3-ink) !important; }
a:hover { color: var(--v3-gold-light); }
ul, ol { color: rgba(245,237,224,0.78); line-height: 1.8; padding-left: 1.4em; }
code, pre { background: rgba(20,16,28,0.6); color: var(--v3-gold-light);
  padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
pre { padding: 14px; overflow-x: auto; border: 1px solid rgba(232,183,60,0.18); }

