/* ==========================================================================
   CSS Variables - 统一设计系统
   ========================================================================== */

:root {
    /* 主色调系统 */
    --primary-color: #6b9aa5;
    --secondary-color: #8fb4bc;
    --accent-color: #a8c0d4;
    --warm-color: #d4b896;
    
    /* Gentle 主题色彩 */
    --gentle-primary: #6b8db5;
    --gentle-secondary: #8fa8c7;
    --gentle-accent: #a8c0d4;
    --gentle-warm: #d4b896;
    --gentle-soft: #f5f7fa;
    
    /* 文本颜色 */
    --text-primary: #4a5568;
    --text-secondary: #7f8c8d;
    --text-muted: #6c757d;
    
    /* 背景色 */
    --bg-light: #f5f7fa;
    --bg-secondary: #e2e8f0;
    --bg-white: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --gradient-soft: linear-gradient(135deg, #f5f7fa 0%, #e2e8f0 100%);
    --gradient-gentle: linear-gradient(135deg, #6b8db5 0%, #8fa8c7 100%);
    
    /* 阴影系统 */
    --shadow-sm: 0 2px 10px rgba(107, 141, 181, 0.1);
    --shadow-md: 0 4px 20px rgba(107, 141, 181, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-gentle: rgba(107, 141, 181, 0.1);
    
    /* 边框系统 */
    --border-light: #e2e8f0;
    --border-gentle: rgba(107, 141, 181, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 50px;
    
    /* 间距系统 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --spacing-xxl: 3rem;
    
    /* 字体系统 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-sm: 0.9rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.2rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-xxxl: 3rem;
    
    /* 过渡动画 */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* 状态颜色 */
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

body {
    background: var(--gradient-soft);
    min-height: 100vh;
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    padding-bottom: 100px;
}

body.auth-page {
    overflow-y: auto;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* 布局工具类 */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 间距工具类 */
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* 阴影工具类 */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* 背景工具类 */
.bg-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.bg-overlay {
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
}

/* 动画工具类 */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Layout & Components
   ========================================================================== */

/* 页面容器 */
.auth-page {
    background: var(--gradient-primary);
    min-height: calc(100vh - 120px);
    padding: var(--spacing-lg) 0;
    position: relative;
}

.journey-page {
    min-height: 100vh;
    background: var(--gradient-secondary);
    position: relative;
    overflow: auto;
}

.journey-container {
    min-height: 100vh;
    padding: var(--spacing-lg);
    position: relative;
    z-index: 10;
}

.journey-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

main.container {
    background: transparent;
    padding: var(--spacing-lg) 0;
    min-height: auto;
}

main {
    background: var(--bg-glass);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-lg) auto;
    backdrop-filter: blur(10px);
}

/* Header */
.gentle-header {
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gentle);
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Button Components
   ========================================================================== */

/* 主要按钮 */
.btn-primary {
    border: none;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: var(--gradient-gentle);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Gentle 主要按钮 */
.btn-gentle-primary {
    border: none;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: var(--gradient-gentle);
    color: white;
    box-shadow: 0 4px 15px var(--shadow-gentle);
    position: relative;
    overflow: hidden;
}

.btn-gentle-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gentle-primary:hover::before {
    left: 100%;
}

.btn-gentle-primary:hover {
    transform: translateY(-2px);
    background: var(--gentle-secondary);
    box-shadow: 0 6px 20px rgba(107, 141, 181, 0.2);
    color: white;
}

.btn-gentle-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 次要按钮 */
.btn-secondary {
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-gentle-secondary {
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: var(--bg-glass);
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-gentle-secondary:hover {
    background: var(--gentle-secondary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 141, 181, 0.15);
}

/* 轮廓按钮 */
.btn-outline-primary {
    border-radius: var(--border-radius-xl);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 400;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   Card Components
   ========================================================================== */

.card {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--bg-white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.journey-card {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.card-body {
    padding: var(--spacing-xxl) !important;
}

.card-header {
    background: var(--gradient-gentle);
    color: white;
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    padding: var(--spacing-md);
}

/* 内容卡片 */
.section-content {
    background: var(--bg-overlay);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 32px var(--shadow-gentle);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.section-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(107, 141, 181, 0.15);
}

/* 文章卡片 */
.article-card {
    background: var(--bg-glass);
    border-radius: 15px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 20px var(--shadow-gentle);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 141, 181, 0.15);
}

/* 媒体卡片 */
.media-card {
    background: var(--bg-glass);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-gentle);
    transition: var(--transition);
    margin-bottom: var(--spacing-md);
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(107, 141, 181, 0.15);
}

.media-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.media-content {
    padding: var(--spacing-md);
}

/* 快速操作卡片 */
.quick-action-card {
    background: var(--bg-glass);
    border-radius: 15px;
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px var(--shadow-gentle);
    cursor: pointer;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(107, 141, 181, 0.15);
    background: var(--bg-overlay);
}

/* ==========================================================================
   Form Components
   ========================================================================== */

.form-control {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-light);
    padding: 0.75rem var(--spacing-sm);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.auth-content {
    padding: var(--spacing-xl) 40px;
    max-width: 450px;
    margin: 0 auto;
}

.auth-links {
    margin-top: var(--spacing-lg);
    text-align: center;
    font-size: var(--font-size-sm);
}

.auth-link {
    color: var(--gentle-primary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.auth-link:hover {
    color: var(--gentle-secondary);
    text-decoration: underline;
}

/* ==========================================================================
   Navigation Components
   ========================================================================== */

.navbar {
    background: var(--bg-overlay) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}

.navbar-nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item {
    margin-left: 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: var(--font-size-xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 6px 6px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Tab 导航 */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    background: var(--bg-glass);
    border-radius: 25px 25px 0 0;
    padding: 8px;
    box-shadow: 0 8px 32px var(--shadow-gentle);
    backdrop-filter: blur(15px);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    margin: 0 4px;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.brand-title {
    font-size: var(--font-size-xxl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.welcome-title {
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    color: var(--gentle-primary);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 8px rgba(107, 141, 181, 0.2);
}

.welcome-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.subsection-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.article-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.article-meta {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.media-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.media-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.quick-action-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.quick-action-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.quote-text {
    color: var(--text-primary);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.8;
}

/* ==========================================================================
   Footer Components
   ========================================================================== */

.footer {
    background: var(--bg-overlay) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.footer h5 {
    color: var(--text-primary);
    font-weight: 600;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 400;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* ==========================================================================
   Alert Components
   ========================================================================== */

.alert {
    border: none;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--danger-color);
    color: var(--danger-color);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border-left: 4px solid var(--warning-color);
    color: var(--warning-color);
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--info-color);
    color: var(--info-color);
}

/* ==========================================================================
   List Components
   ========================================================================== */

.terms-section {
    margin-bottom: var(--spacing-xxl);
}

.terms-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.terms-list,
.contact-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.terms-list li {
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    color: var(--text-primary);
    padding-left: var(--spacing-md);
    position: relative;
}

.terms-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    color: var(--text-primary);
}

.contact-list li i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    margin-right: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

/* ==========================================================================
   Special Components
   ========================================================================== */

/* 浮动元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Gentle Circle 样式 */
.gentle-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.gentle-circle.static-pulse {
    animation: gentlePulseStatic 3s ease-in-out infinite;
}

.gentle-circle.floating-pulse {
    position: absolute;
    animation: gentlePulseFloat 8s ease-in-out infinite;
    backdrop-filter: blur(1px);
    pointer-events: none;
}

@keyframes gentlePulseStatic {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes gentlePulseFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) translateX(10px) scale(1.1) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-5px) translateX(-8px) scale(0.95) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(10px) translateX(15px) scale(1.05) rotate(270deg);
        opacity: 0.5;
    }
}

/* 返回顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-gentle);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 10000;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow-gentle);
}

.back-to-top-btn.show {
    display: block;
}

.back-to-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-gentle);
}

/* 底部悬浮选项卡样式 */
.floating-bottom-tabs {
    position: fixed !important;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px 25px 0 0;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 9999 !important;
    gap: 0;
    pointer-events: auto;
    margin: 0 0px !important;
    top: auto !important;
}

.tab-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    background: transparent;
    text-align: center;
}

.tab-item:hover {
    background: rgba(var(--gentle-primary-rgb), 0.1);
    transform: translateY(-2px);
}

.tab-item.active {
    background: var(--gentle-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--gentle-primary-rgb), 0.3);
}

.tab-icon {
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.tab-item.active .tab-icon {
    color: white;
}

.tab-title {
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-item.active .tab-title {
    color: white;
}

.tab-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    pointer-events: none;
}

.tab-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

.tab-item:hover .tab-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 确保选项卡始终可见 - 已合并到主body规则中 */

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-bottom-tabs {
        bottom: 0px !important;
        left: 0px !important;
        right: 0px !important;
        transform: none !important;
        justify-content: space-around;
        position: fixed !important;
        z-index: 9999 !important;
        margin: 0 !important;
        top: auto !important;
    }
    
    .tab-item {
        min-width: auto;
        flex: 1;
        padding: 10px 8px;
    }
    
    .tab-icon {
        font-size: 15px;
    }
    
    .tab-title {
        font-size: 11px;
    }
    
    body {
        padding-bottom: 80px !important;
    }
}

/* 社交图标 */
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

/* 副标题链接 */
.subtitle-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--spacing-lg);
}

.subtitle-item {
    background: var(--bg-glass);
    border-radius: 15px;
    padding: 12px 20px;
    margin: 5px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.subtitle-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--bg-overlay);
}

.subtitle-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.subtitle-item:hover a {
    color: var(--primary-color);
}

.subtitle-item.active {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.subtitle-item.active a {
    color: white;
}

.subtitle-item.active:hover {
    background: var(--gentle-secondary);
    box-shadow: var(--shadow-md);
}

/* 品牌相关 */
.brand-section .brand-name {
    color: var(--gentle-primary);
    font-weight: 600;
    font-size: var(--font-size-xl);
    letter-spacing: 0.5px;
}

.quote-section {
    text-align: right;
}

.welcome-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    z-index: 10;
}

.main-content {
    position: relative;
    z-index: 10;
    padding-top: 10px;
}

.quick-action-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 768px) {
    .card-body {
        padding: var(--spacing-lg) !important;
    }
    
    .brand-title {
        font-size: var(--font-size-xl);
    }
    
    .welcome-title {
        font-size: var(--font-size-xxl);
    }
    
    .welcome-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-lg);
    }
    
    .subsection-title {
        font-size: 1.1rem;
    }
    
    .terms-section p,
    .terms-list li,
    .contact-list li {
        font-size: var(--font-size-base);
    }
    
    .main-content {
        padding-top: 10px;
    }
    
    .tab-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        margin: 4px 0;
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: var(--spacing-md) !important;
    }
    
    .brand-title {
        font-size: 1.3rem;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: var(--font-size-lg);
    }
    
    .subsection-title {
        font-size: var(--font-size-base);
    }
    
    .terms-section p,
    .terms-list li,
    .contact-list li {
        font-size: 0.95rem;
    }
    
    .journey-container {
        padding: var(--spacing-sm);
    }
    
    .auth-content {
        padding: var(--spacing-md) 20px;
    }
}

/* ==========================================================================
   Blockquote Styles
   ========================================================================== */

.title-tip {
    padding-left: var(--spacing-md);
    margin: var(--spacing-md) 0;
    font-style: normal;
}

.welcome-tab-title {
    font-size: var(--font-size-lg);
    color: var(--gentle-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.welcome-tab-tip {
    font-size: 0.6rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: var(--spacing-xs);
}

.gentle-header {
    margin-bottom: var(--spacing-sm) !important;
}


/* ==========================================================================
   emotion tags
   ========================================================================== */

.emotion-tags {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: flex-end; This aligns items to the right */
    gap: 6px;
    margin: 12px 0;
}

.emotion-tag {
    opacity: 0.5;
    border-radius: 12px;
    margin: 0px 5px 0px 0px;
    padding: 1px 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: default;
    user-select: none;
    display: inline-block;
}

.emotion-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.emotion-value {
    opacity: 0.7;
    font-size: 10px;
    margin-left: 2px;
}