/* 基础变量 (支持暗黑与浅色模式) */
:root {
    --primary: #ff6b9d;
    --secondary: #64b5f6;
    --accent: #b794f6;
    
    --bg-base: #070712; 
    --text-main: #f0e6ff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --nav-scrolled-bg: rgba(7, 7, 18, 0.7);
    --bubble-left-bg: rgba(255, 255, 255, 0.05);
    
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Noto Sans SC', sans-serif;
}

body.light-theme {
    --bg-base: #f7f9fc;
    --text-main: #1a1a2e;
    --text-muted: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.85);
    --bubble-left-bg: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* 全局背景光球容器 */
.global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: glowPulse 8s ease-in-out infinite alternate;
}

body.light-theme .glow-orb {
    opacity: 0.3 !important;
}

.orb-1 {
    top: 20%; left: 20%;
    width: 400px; height: 400px;
    background: rgba(255, 107, 157, 0.08);
}
.orb-2 {
    bottom: 10%; right: 10%;
    width: 500px; height: 500px;
    background: rgba(100, 181, 246, 0.1);
    animation-delay: -4s;
}
.orb-3 {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: rgba(183, 148, 246, 0.05);
}

@keyframes glowPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* 樱花与潮汐星光画布背景 */
.sakura-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

/* ==========================================================
   导航栏
========================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    background: var(--nav-scrolled-bg); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: none;
    position: relative;
}

@media (min-width: 860px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

.nav-item {
    position: relative;
    padding: 8px 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    z-index: 2;
    border-radius: 20px;
}

.nav-item:hover {
    color: var(--text-main);
}

.nav-item.active {
    color: var(--text-main);
    font-weight: 600;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    border-radius: 20px;
    background: var(--glass-bg);
    box-shadow: inset 0 0 0 1px var(--glass-border);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    opacity: 0;
}

.nav-indicator::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    border-radius: 2px;
    opacity: 0.8;
}

.nav-links:hover .nav-indicator, .nav-indicator.is-active {
    opacity: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    letter-spacing: 2px;
}

.logo-subtext {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--primary);
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: var(--glass-bg);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #1A1A1D 0%, #E6397C 50%, #1A1A1D 100%);
    background-size: 200% 200%;
    box-shadow: 0 0 15px rgba(230, 57, 124, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 57, 124, 0.4);
    animation: gradientShift 4s ease infinite;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(230, 57, 124, 0.5);
    color: #fff;
}

/* ==========================================================
   页面结构与排版
========================================================== */
.full-screen-section {
    width: 100vw;
    position: relative;
    padding: 40px 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    /* 修复锚点定位偏移 - 减去导航栏高度，让内容不被遮挡 */
    scroll-margin-top: 100px;
}

.section-home {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
}

.container {
    max-width: 1100px;
    width: 100%;
}

.text-center { text-align: center; }

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
}

/* 按钮通用样式 */
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

/* "抵达海岸"按钮 - 深空黑与樱花粉的动态拼色渐变 */
.btn-primary {
    background: linear-gradient(135deg, #1A1A1D 0%, #E6397C 50%, #1A1A1D 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 1rem;
    padding: 12px 32px;
    box-shadow: 0 0 20px rgba(230, 57, 124, 0.3);
    border: 1px solid rgba(230, 57, 124, 0.4);
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(230, 57, 124, 0.5);
}

/* 浅色模式下调整"抵达海岸"按钮的对比度 */
.light-theme .btn-primary {
    background: linear-gradient(135deg, #2d2d32 0%, #E6397C 50%, #2d2d32 100%);
    background-size: 200% 200%;
    color: #fff;
    border-color: rgba(230, 57, 124, 0.5);
    box-shadow: 0 0 20px rgba(230, 57, 124, 0.4);
}

.light-theme .btn-primary:hover {
    box-shadow: 0 0 30px rgba(230, 57, 124, 0.6);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 107, 157, 0.4);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.btn-ripple.active::after {
    transform: scale(4);
    opacity: 1;
    transition: 0s;
}

.btn-primary.disabled {
    background: var(--glass-bg);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* "聆听潮音"按钮 - 使用原btn-primary的实心样式，确保描边清晰可见 */
.btn-ghost {
    background: var(--text-main);
    color: var(--bg-base);
    padding: 12px 32px;
    border: none;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px var(--glass-bg);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(100, 181, 246, 0.25);
}

/* 右侧圆点导航 */
.dot-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.dot:hover { background: var(--text-main); }
.dot.active {
    background: var(--primary);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.6);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(to right, #ff6b9d, #64b5f6, #b794f6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Hero --- */
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.heart-icon {
    color: var(--secondary);
    animation: float-small 3s infinite ease-in-out;
}

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

.tag-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .block {
    display: block;
    color: var(--text-main);
}

.mt-spacing { margin-top: 10px; }

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
}

@media (max-height: 800px) {
    .scroll-indicator {
        display: none;
    }
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 6px;
    background: var(--text-main);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* --- 第二屏与内容排版 --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: var(--text-main);
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(100, 181, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.9rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mockup-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-bubble.left {
    align-self: flex-start;
    background: var(--bubble-left-bg);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 4px;
}

.chat-bubble.right {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.gradient-bubble {
    background: linear-gradient(135deg, rgba(100,181,246,0.25), rgba(183,148,246,0.2));
    border: 1px solid rgba(100,181,246,0.3);
    color: var(--text-main);
}

body.light-theme .gradient-bubble {
    color: #1a1a2e;
}

/* --- 第三屏：功能 --- */
.mb-huge { margin-bottom: 36px; }
.mt-normal { margin-top: 16px; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.feature-box {
    transition: transform 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    background: var(--glass-bg);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(100, 181, 246, 0.1);
    border: 1px solid rgba(100, 181, 246, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- 第四屏：动态心声 --- */
.section-quotes {
    padding-top: 40px;
}

.dynamic-quotes-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.quote-display-box {
    max-width: 800px;
    width: 100%;
    min-height: 250px;
    padding: 50px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.display-quote-icon {
    font-size: 2.5rem;
    color: rgba(255, 107, 157, 0.4);
    margin-bottom: 20px;
}

.quote-text-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-text-dynamic {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-main);
    font-family: var(--font-serif);
    letter-spacing: 2px;
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(10px);
}

.quote-text-dynamic.visible {
    opacity: 1;
    transform: translateY(0);
}

.quote-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    width: 0%;
    border-radius: 4px;
    transition: width 0.1s linear;
    box-shadow: 0 -2px 10px rgba(100, 181, 246, 0.4);
}

/* --- 结尾与 Footer --- */
.section-footer {
    flex-direction: column;
    justify-content: center;
    padding-bottom: 0;
    min-height: 100vh;
    scroll-margin-top: 0;
}

.ending-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.reservation-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.bottom-footer {
    width: 100%;
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--text-main);
}

/* --- 首屏加载动画 --- */
.animate-up, .animate-scale {
    opacity: 0;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.animate-up { transform: translateY(30px); }
.animate-scale { transform: scale(0.95); }

.play-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.play-scale {
    opacity: 1;
    transform: scale(1);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* 滚动触发动画的微延迟 */
.reveal-up:nth-child(1), .reveal-left:nth-child(1), .reveal-right:nth-child(1), .reveal-scale:nth-child(1) { transition-delay: 0s !important; }
.reveal-up:nth-child(2), .reveal-left:nth-child(2), .reveal-right:nth-child(2), .reveal-scale:nth-child(2) { transition-delay: 0.15s !important; }
.reveal-up:nth-child(3), .reveal-left:nth-child(3), .reveal-right:nth-child(3), .reveal-scale:nth-child(3) { transition-delay: 0.3s !important; }
.reveal-up:nth-child(4), .reveal-left:nth-child(4), .reveal-right:nth-child(4), .reveal-scale:nth-child(4) { transition-delay: 0.45s !important; }
.reveal-up:nth-child(5), .reveal-left:nth-child(5), .reveal-right:nth-child(5), .reveal-scale:nth-child(5) { transition-delay: 0.6s !important; }

/* --- 滚动触发动画类（每次进入视口都重新播放） --- */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0 !important;
    transition: opacity 2.5s cubic-bezier(0.16, 1, 0.3, 1), transform 2.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.reveal-up { transform: translateY(40px) !important; }
.reveal-left { transform: translateX(-40px) !important; }
.reveal-right { transform: translateX(40px) !important; }
.reveal-scale { transform: scale(0.9) !important; }

.is-revealed {
    opacity: 1 !important;
    transform: none !important;
}
/* ==========================================================
   v32 语言切换与页脚入口
========================================================== */
.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.language-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 92px;
    height: 36px;
    padding: 0 12px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.language-current:hover,
.language-switcher.open .language-current {
    border-color: rgba(230, 57, 124, 0.45);
    box-shadow: 0 0 16px rgba(230, 57, 124, 0.18);
    transform: translateY(-1px);
}

.language-chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-switcher.open .language-chevron {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 110px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: var(--nav-scrolled-bg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: all 0.25s ease;
}

.language-switcher.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.language-option {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    padding: 9px 12px;
    text-align: left;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.language-option:hover,
.language-option.active {
    color: var(--text-main);
    background: var(--glass-bg);
}

.language-option.active {
    box-shadow: inset 0 0 0 1px rgba(230, 57, 124, 0.28);
}

.footer-links .btn-footer-entry {
    color: #fff;
    font-size: 0.78rem;
    padding: 5px 14px;
    min-height: 28px;
    box-shadow: 0 0 12px rgba(230, 57, 124, 0.25);
    margin-left: 2px;
}

.footer-links .btn-footer-entry:hover {
    color: #fff;
    box-shadow: 0 0 20px rgba(230, 57, 124, 0.45);
}

@media (max-width: 560px) {
    .nav-container {
        padding: 0 18px;
    }

    .nav-actions {
        gap: 8px;
    }

    .language-current {
        min-width: 74px;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .language-current .fa-language {
        display: none;
    }

    .btn-nav:not(.btn-footer-entry) {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

/* v33：页脚博客入口再缩小一圈 */
.footer-links .btn-footer-entry {
    font-size: 0.68rem;
    padding: 4px 10px;
    min-height: 24px;
    line-height: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(230, 57, 124, 0.22);
}

/* ==========================================================
   v35：部署端强制修复语言按钮与页脚小按钮样式
   说明：使用更高优先级选择器，避免服务器缓存旧 CSS 或第三方样式覆盖。
========================================================== */
.navbar .nav-actions .language-switcher {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
}

.navbar .nav-actions .language-current {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 92px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border-radius: 50px !important;
    border: 1px solid var(--glass-border) !important;
    background: var(--glass-bg) !important;
    color: var(--text-main) !important;
    font: inherit !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.navbar .nav-actions .language-current:hover,
.navbar .nav-actions .language-switcher.open .language-current {
    border-color: rgba(230, 57, 124, 0.45) !important;
    box-shadow: 0 0 16px rgba(230, 57, 124, 0.18) !important;
}

.navbar .nav-actions .language-menu {
    position: absolute !important;
    z-index: 9999 !important;
    right: 0 !important;
    top: calc(100% + 10px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 110px !important;
    width: max-content !important;
    padding: 8px !important;
    border-radius: 18px !important;
    border: 1px solid var(--glass-border) !important;
    background: var(--nav-scrolled-bg) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(0.98) !important;
    transform-origin: top right !important;
    transition: all 0.25s ease !important;
}

.navbar .nav-actions .language-switcher.open .language-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

.navbar .nav-actions .language-option {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    width: 100% !important;
    min-width: 94px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: none !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    font: inherit !important;
    font-size: 0.86rem !important;
    line-height: 1.15 !important;
    text-align: left !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.navbar .nav-actions .language-option:hover,
.navbar .nav-actions .language-option.active {
    color: var(--text-main) !important;
    background: var(--glass-bg) !important;
}

.footer-links a.btn-nav.btn-footer-entry,
.footer-links .btn-footer-entry,
a.btn-footer-entry {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 20px !important;
    height: auto !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    font-size: 0.62rem !important;
    line-height: 1 !important;
    letter-spacing: 0.4px !important;
    font-weight: 600 !important;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #1A1A1D 0%, #E6397C 50%, #1A1A1D 100%) !important;
    background-size: 200% 200% !important;
    box-shadow: 0 0 8px rgba(230, 57, 124, 0.2) !important;
    border: 1px solid rgba(230, 57, 124, 0.35) !important;
    animation: gradientShift 4s ease infinite !important;
    transform: none !important;
}

.footer-links a.btn-nav.btn-footer-entry:hover,
.footer-links .btn-footer-entry:hover,
a.btn-footer-entry:hover {
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 0 14px rgba(230, 57, 124, 0.38) !important;
}

@media (max-width: 560px) {
    .navbar .nav-actions .language-current {
        min-width: 74px !important;
        height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.78rem !important;
    }

    .navbar .nav-actions .language-current .fa-language {
        display: none !important;
    }

    .footer-links a.btn-nav.btn-footer-entry,
    .footer-links .btn-footer-entry,
    a.btn-footer-entry {
        padding: 3px 7px !important;
        font-size: 0.6rem !important;
        min-height: 19px !important;
    }
}
