@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ===== CSS变量 - 玄学桃花色系 ===== */
:root {
    --primary: #1a0a2e;
    --primary-dark: #0d0518;
    --primary-mid: #2d1054;
    --accent-gold: #c9a227;
    --accent-gold-light: #f0d060;
    --accent-rose: #e8547a;
    --accent-peach: #f4a0b0;
    --accent-pink: #ff7eb3;
    --accent-crimson: #8b1a3a;
    --accent-purple: #6a0dad;
    --accent-violet: #9b5de5;
    --bg-dark: #0f0520;
    --bg-card: rgba(45, 16, 84, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(201, 162, 39, 0.3);
    --border-pink: rgba(232, 84, 122, 0.3);
    --text-primary: #f0e6ff;
    --text-secondary: rgba(240, 230, 255, 0.75);
    --text-muted: rgba(240, 230, 255, 0.5);
    --gradient-main: linear-gradient(135deg, #1a0a2e 0%, #2d1054 50%, #1a0a2e 100%);
    --gradient-gold: linear-gradient(135deg, #c9a227, #f0d060, #c9a227);
    --gradient-rose: linear-gradient(135deg, #8b1a3a, #e8547a, #f4a0b0);
    --gradient-peach: linear-gradient(135deg, #ff7eb3, #f4a0b0, #ffd6e7);
    --gradient-card: linear-gradient(135deg, rgba(45, 16, 84, 0.8), rgba(139, 26, 58, 0.4));
    --shadow-glow: 0 0 30px rgba(201, 162, 39, 0.2);
    --shadow-rose: 0 0 25px rgba(232, 84, 122, 0.3);
    --radius-card: 16px;
    --radius-btn: 50px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 全局重置 ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== 背景粒子动画层 ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(106, 13, 173, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 26, 58, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(232, 84, 122, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 5, 24, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    padding: 0 20px;
}

.navbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.5);
}

.logo-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--accent-peach);
    display: block;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    display: block;
    padding: 6px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
    background: rgba(201, 162, 39, 0.1);
}

.nav-cta {
    background: var(--gradient-rose) !important;
    color: white !important;
    border-radius: var(--radius-btn) !important;
    padding: 8px 18px !important;
    font-weight: 500;
    box-shadow: var(--shadow-rose);
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(232, 84, 122, 0.5) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ===== 主内容区 ===== */
.page-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 64px;
}

/* ===== Hero区块 ===== */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-btn);
    padding: 6px 18px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .rose {
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

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

.stat-num {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===== 通用按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gradient-gold);
    color: #1a0a2e;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.6);
}

.btn-rose {
    background: var(--gradient-rose);
    color: white;
    box-shadow: var(--shadow-rose);
}

.btn-rose:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 84, 122, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--border-gold);
}

.btn-outline:hover {
    background: rgba(201, 162, 39, 0.1);
    transform: translateY(-2px);
}

.btn-pink {
    background: var(--gradient-peach);
    color: #3a0a1e;
    box-shadow: 0 4px 20px rgba(255, 126, 179, 0.35);
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 126, 179, 0.5);
}

.btn-lg {
    padding: 14px 34px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ===== 段落容器 ===== */
.section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.section-sm {
    padding: 50px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(232, 84, 122, 0.1);
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-btn);
    padding: 4px 16px;
    font-size: 0.8rem;
    color: var(--accent-rose);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-title .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .rose {
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-card);
    padding: 28px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card-rose {
    border-color: var(--border-pink);
    background: linear-gradient(135deg, rgba(45, 16, 84, 0.7), rgba(139, 26, 58, 0.3));
}

.card-rose::before {
    background: var(--gradient-rose);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--border-gold);
}

.card-icon-rose {
    background: rgba(232, 84, 122, 0.1);
    border-color: var(--border-pink);
}

.card-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.card-rose .card-title {
    color: var(--accent-peach);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== 网格布局 ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

/* ===== 快捷工具栏 ===== */
.quick-tools {
    background: rgba(13, 5, 24, 0.9);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.quick-tools::-webkit-scrollbar {
    display: none;
}

.tools-inner {
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 0;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-right: 1px solid rgba(201, 162, 39, 0.1);
    transition: var(--transition);
    white-space: nowrap;
    min-width: fit-content;
    gap: 4px;
}

.tool-item:first-child {
    border-left: 1px solid rgba(201, 162, 39, 0.1);
}

.tool-item-icon {
    font-size: 1.3rem;
}

.tool-item:hover {
    color: var(--accent-gold);
    background: rgba(201, 162, 39, 0.07);
}

.tool-item.hot-tag {
    color: var(--accent-rose);
}

.tool-item .badge {
    display: inline-block;
    background: var(--accent-rose);
    color: white;
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 4px;
    position: absolute;
    top: 8px;
    right: 6px;
}

/* ===== 情感专区横幅 ===== */
.love-banner {
    background: linear-gradient(135deg, #1a0030 0%, #3d0a1a 50%, #1a0030 100%);
    border: 1px solid var(--border-pink);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.love-banner::before {
    content: '❤';
    position: absolute;
    font-size: 200px;
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.love-banner-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.love-banner-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===== 黄历日期栏 ===== */
.almanac-bar {
    background: rgba(201, 162, 39, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-card);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.almanac-date {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.almanac-lunar {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.almanac-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.almanac-item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.almanac-item-value {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.almanac-good {
    color: #4ade80;
    font-size: 0.8rem;
}

.almanac-bad {
    color: var(--accent-rose);
    font-size: 0.8rem;
}

/* ===== 师傅咨询浮窗 ===== */
.consult-float {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.consult-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--gradient-rose);
    color: white;
    padding: 14px 18px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.8rem;
    box-shadow: 0 8px 30px rgba(232, 84, 122, 0.5);
    cursor: pointer;
    border: none;
    text-align: center;
}

.consult-btn-icon {
    font-size: 1.6rem;
}

.consult-btn-wx {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #07c160;
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.4);
    margin-top: 8px;
    text-align: center;
}

/* ===== 分隔线 ===== */
.sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
    margin: 20px 0;
}

/* ===== 标签 ===== */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 2px;
}

.tag-gold {
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--border-gold);
}

.tag-rose {
    background: rgba(232, 84, 122, 0.15);
    color: var(--accent-peach);
    border: 1px solid var(--border-pink);
}

.tag-purple {
    background: rgba(155, 93, 229, 0.15);
    color: var(--accent-violet);
    border: 1px solid rgba(155, 93, 229, 0.3);
}

/* ===== 表单样式 ===== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-gold);
    background: rgba(201, 162, 39, 0.05);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-select option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== 评价卡片 ===== */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-rose);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 14px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-rose);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 2px solid var(--border-pink);
}

.review-name {
    font-size: 0.9rem;
    color: var(--accent-peach);
    font-weight: 500;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== 文章列表 ===== */
.article-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.article-item:hover {
    color: var(--accent-peach);
}

.article-item:last-child {
    border-bottom: none;
}

.article-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    background: var(--gradient-rose);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
}

.article-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.5;
}

.article-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== 面包屑 ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.breadcrumb-sep {
    color: var(--border-gold);
}

.breadcrumb-current {
    color: var(--accent-peach);
}

/* ===== 通知横幅 ===== */
.notice-bar {
    background: linear-gradient(90deg, var(--accent-crimson), var(--accent-rose), var(--accent-crimson));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    color: white;
    padding: 8px 20px;
    text-align: center;
    font-size: 0.85rem;
}

.notice-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-gold);
    padding: 60px 20px 30px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 12px 0;
    line-height: 1.8;
}

.footer-wx {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(7, 193, 96, 0.1);
    border: 1px solid rgba(7, 193, 96, 0.3);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: #07c160;
}

.footer-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

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

.footer-links a:hover {
    color: var(--accent-peach);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 162, 39, 0.15);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-gold);
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(232, 84, 122, 0.3);
    }

    50% {
        box-shadow: 0 0 35px rgba(232, 84, 122, 0.6);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease both;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

/* ===== 轮播图 ===== */
.swiper-container {
    border-radius: var(--radius-card);
    overflow: hidden;
}

.cat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.cat-tab {
    padding: 7px 18px;
    border-radius: var(--radius-btn);
    font-size: 0.88rem;
    cursor: pointer;
    border: 1px solid var(--border-gold);
    color: var(--text-secondary);
    background: transparent;
    transition: var(--transition);
}

.cat-tab.active,
.cat-tab:hover {
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.cat-tab-rose.active,
.cat-tab-rose:hover {
    background: rgba(232, 84, 122, 0.15);
    color: var(--accent-rose);
    border-color: var(--accent-rose);
}

/* ===== 六爻/八卦显示 ===== */
.hexagram-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
}

.hexagram-line {
    display: flex;
    gap: 6px;
    align-items: center;
}

.hex-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--accent-gold);
}

.hex-bar.yang {
    width: 60px;
}

.hex-bar.yin {
    width: 24px;
}

.hex-line-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 30px;
    text-align: right;
}

/* ===== 占卜结果区 ===== */
.result-box {
    background: linear-gradient(135deg, rgba(13, 5, 24, 0.95), rgba(45, 16, 84, 0.8));
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-box::before {
    content: '☯';
    position: absolute;
    font-size: 300px;
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.result-score {
    font-family: 'Noto Serif SC', serif;
    font-size: 5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-level {
    font-size: 1.2rem;
    color: var(--accent-peach);
    margin-bottom: 20px;
}

.result-detail {
    color: var(--text-secondary);
    line-height: 1.9;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {

    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(13, 5, 24, 0.98);
        border-bottom: 1px solid var(--border-gold);
        padding: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        gap: 20px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .love-banner {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 16px;
    }
}