/* ===== 黑金社区 - 奢华黑金风格 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-hover: #222;
    --border-color: #2a2a2a;
    --border-gold: #d4af37;
    --text-primary: #e8e0c8;
    --text-secondary: #999;
    --text-muted: #666;
    --gold: #d4af37;
    --gold-light: #ffd700;
    --gold-dark: #b8860b;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --danger: #ff4444;
    --success: #44cc88;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover { color: var(--gold-light); }

img { max-width: 100%; }

/* ===== 导航栏 ===== */
.navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 16px;
}
.nav-menu {
    display: flex;
    gap: 24px;
    flex: 1;
    list-style: none;
}
.nav-menu a {
    color: var(--text-secondary);
    font-size: 15px;
    padding: 20px 0;
    display: block;
    position: relative;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}
.nav-search {
    position: relative;
    flex: 0 0 240px;
}
.nav-search input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s;
}
.nav-search input:focus {
    outline: none;
    border-color: var(--gold);
}
.nav-search::before {
    content: '🔍';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}
.nav-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.nav-btn:hover {
    background: var(--gold);
    color: #000;
}
.nav-btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: none;
}
.nav-btn.primary:hover {
    box-shadow: 0 4px 15px var(--gold-glow);
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 160px;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: none;
    z-index: 101;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 14px;
}
.dropdown-menu a:hover {
    background: var(--bg-hover);
    color: var(--gold);
}

/* ===== 主容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

/* ===== Hero横幅 ===== */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 700;
}
.hero p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}
.hero .btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gold-glow);
}

/* ===== 查询横幅 ===== */
.search-hero {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.search-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
}
.search-hero h1 {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.search-hero > p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.search-type {
    padding: 0 14px;
    background: var(--bg-primary);
    border: 2px solid var(--border-gold);
    border-radius: 30px 0 0 30px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    min-width: 120px;
}
.search-type:focus { border-color: var(--gold-light); }
.search-input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border-gold);
    border-left: none;
    border-right: none;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}
.search-input:focus { border-color: var(--gold-light); }
.search-btn {
    padding: 0 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: 2px solid var(--gold);
    border-radius: 0 30px 30px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.search-btn:hover {
    box-shadow: 0 4px 20px var(--gold-glow);
    transform: translateX(2px);
}
.search-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ===== 曝光按钮 ===== */
.btn-expose {
    padding: 16px 24px;
    background: linear-gradient(135deg, #dc143c, #ff6347);
    color: #fff !important;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}
.btn-expose:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

/* ===== 曝光标签 ===== */
.expose-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.expose-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 6px;
    font-size: 12px;
    color: #ff6666;
    font-family: monospace;
}
.expose-tag.amount {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold);
    font-weight: 600;
}

/* ===== 曝光信息卡片 ===== */
.expose-card {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.08), rgba(255, 100, 100, 0.05));
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}
.expose-card-title {
    color: #ff6666;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 68, 68, 0.2);
}
.expose-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.expose-info-item {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 12px 14px;
}
.expose-info-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.expose-info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-all;
}
.expose-info-value.highlight {
    color: #ff6666;
    font-family: monospace;
    font-size: 16px;
}
.expose-info-value.amount {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* ===== 帖子列表 ===== */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.post-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}
.post-item:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.post-meta { flex: 1; }
.post-author {
    font-size: 14px;
    color: var(--gold);
    font-weight: 500;
}
.post-time {
    font-size: 12px;
    color: var(--text-muted);
}
.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    border-radius: 12px;
    font-size: 12px;
}
.post-top-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--danger);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.post-hot-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff6b35, #ff9f43);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.post-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}
.post-item:hover .post-title { color: var(--gold); }
.post-summary {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-images {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.post-thumb {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
}
.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 13px;
}
.post-footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.3s;
}
.post-footer-item:hover { color: var(--gold); }
.post-footer-item.liked { color: var(--gold-light); }

/* ===== 侧边栏 ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar .card-body { padding: 16px; }
.category-list {
    list-style: none;
}
.category-list li {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.category-list li:hover,
.category-list li.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}
.category-count {
    background: var(--bg-hover);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}
.hot-topics {
    list-style: none;
    counter-reset: topic;
}
.hot-topics li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    counter-increment: topic;
    cursor: pointer;
    transition: color 0.3s;
}
.hot-topics li:last-child { border-bottom: none; }
.hot-topics li:hover { color: var(--gold); }
.hot-topics li::before {
    content: counter(topic);
    width: 22px;
    height: 22px;
    background: var(--bg-hover);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-muted);
    flex-shrink: 0;
}
.hot-topics li:nth-child(1)::before { background: #ff4444; color: #fff; }
.hot-topics li:nth-child(2)::before { background: #ff7744; color: #fff; }
.hot-topics li:nth-child(3)::before { background: #ffaa44; color: #fff; }
.active-users {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.active-user {
    text-align: center;
    cursor: pointer;
    width: 54px;
}
.active-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0 auto 4px;
}
.active-user-name {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rules-box {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 8px 0;
}
.rules-box li {
    margin-left: 20px;
    margin-bottom: 4px;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.page-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.page-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: var(--gold);
    color: #000;
    font-weight: 600;
}
.page-dots {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

/* ===== 帖子详情 ===== */
.post-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}
.post-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}
.post-detail-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.post-detail-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.post-detail-author { font-size: 16px; color: var(--gold); font-weight: 500; }
.post-detail-info { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.post-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.post-detail-content p { margin-bottom: 16px; }
.post-detail-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.post-detail-images img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.post-detail-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.action-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.action-btn.liked {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

/* ===== 评论区 ===== */
.comment-section {
    margin-top: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}
.comment-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-title::before {
    content: '';
    width: 3px;
    height: 18px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    border-radius: 2px;
}
.comment-form {
    margin-bottom: 24px;
}
.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s;
}
.comment-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.comment-form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item {
    display: flex;
    gap: 12px;
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.comment-author { font-size: 14px; color: var(--gold); font-weight: 500; }
.comment-time { font-size: 12px; color: var(--text-muted); }
.comment-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 8px;
}
.comment-actions {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.comment-actions span {
    cursor: pointer;
    transition: color 0.3s;
}
.comment-actions span:hover { color: var(--gold); }
.comment-replies {
    margin-top: 12px;
    padding-left: 12px;
    border-left: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.reply-item {
    font-size: 13px;
}
.reply-item .comment-author { font-size: 13px; }

/* ===== 表单页 ===== */
.auth-box {
    max-width: 420px;
    margin: 60px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
}
.auth-title {
    text-align: center;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 700;
}
.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.form-error {
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid #ff3333;
    color: #ff6666;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-success {
    background: rgba(68, 204, 136, 0.1);
    border: 1px solid #44cc88;
    color: #44cc88;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}
.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}
.auth-footer a { color: var(--gold); }

/* ===== 发帖页 ===== */
.publish-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}
.publish-title {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 600;
}
.form-row {
    display: flex;
    gap: 16px;
}
.form-row .form-group { flex: 1; }
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-primary);
}
.upload-area:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}
.upload-icon { font-size: 40px; margin-bottom: 10px; }
.upload-text { color: var(--text-secondary); font-size: 14px; }
.upload-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.upload-preview-item {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}
.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upload-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}
.upload-preview-remove:hover { background: #ff3333; }

/* ===== 个人中心 ===== */
.profile-header {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(ellipse at right, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
}
.profile-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 3px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.profile-info { position: relative; z-index: 1; flex: 1; }
.profile-name {
    font-size: 24px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}
.profile-bio { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.profile-stats {
    display: flex;
    gap: 30px;
}
.profile-stat { text-align: center; }
.profile-stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}
.profile-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.profile-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 4px;
}
.profile-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.profile-tab:hover { color: var(--gold); }
.profile-tab.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    font-weight: 600;
}

/* ===== 后台管理 ===== */
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: calc(100vh - 64px);
}
.admin-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
}
.admin-menu { list-style: none; }
.admin-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}
.admin-menu li a:hover,
.admin-menu li a.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
}
.admin-content {
    padding: 24px;
}
.admin-page-title {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.admin-table th {
    padding: 14px 16px;
    text-align: left;
    background: var(--bg-secondary);
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-primary);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-hover); }
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.badge-success { background: rgba(68, 204, 136, 0.15); color: #44cc88; border: 1px solid #44cc88; }
.badge-danger { background: rgba(255, 68, 68, 0.15); color: #ff6666; border: 1px solid #ff6666; }
.badge-warning { background: rgba(255, 170, 0, 0.15); color: #ffaa00; border: 1px solid #ffaa00; }
.badge-info { background: rgba(212, 175, 55, 0.15); color: var(--gold); border: 1px solid var(--gold); }
.btn-sm {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    background: var(--bg-hover);
    color: var(--text-secondary);
}
.btn-sm:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm.danger:hover { border-color: #ff4444; color: #ff6666; }
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.admin-search {
    display: flex;
    gap: 10px;
}
.admin-search input {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    width: 240px;
}
.admin-search input:focus {
    outline: none;
    border-color: var(--gold);
}

/* ===== 提示消息 ===== */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--gold);
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    animation: toastIn 0.3s ease;
}
@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== 模态框 ===== */
.modal-mask {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    font-size: 18px;
    color: var(--gold);
    font-weight: 600;
}
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.modal-close:hover { background: var(--danger); color: #fff; }
.modal-body { padding: 24px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ===== 底部 ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-gold);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 40px;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { order: -1; }
    .nav-menu { display: none; }
    .nav-search { display: none; }
    .search-hero { padding: 30px 20px; }
    .search-hero h1 { font-size: 22px; }
    .search-hero > p { font-size: 13px; }
    .search-box form { flex-direction: column; gap: 8px; }
    .search-type { border-radius: 30px; padding: 12px 16px; }
    .search-input { border: 2px solid var(--border-gold); border-radius: 30px; }
    .search-btn { border-radius: 30px; padding: 12px 32px; }
    .search-stats { gap: 20px; margin-top: 24px; padding-top: 16px; }
    .stat-num { font-size: 22px; }
    .expose-card-grid { grid-template-columns: 1fr 1fr; }
    .post-detail { padding: 20px; }
    .post-detail-title { font-size: 22px; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar {
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 10px;
    }
    .admin-menu {
        display: flex;
        gap: 4px;
        flex-shrink: 0;
    }
    .admin-menu li a {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px 16px;
        white-space: nowrap;
    }
    .admin-menu li a:hover,
    .admin-menu li a.active {
        border-left-color: transparent;
        border-bottom-color: var(--gold);
    }
}
@media (max-width: 600px) {
    .navbar-inner { height: 56px; padding: 0 16px; gap: 12px; }
    .logo { font-size: 18px; }
    .container { padding: 16px 12px; }
    .post-item { padding: 16px; }
    .post-title { font-size: 16px; }
    .post-footer { gap: 16px; }
    .post-thumb { width: 80px; height: 80px; }
    .auth-box { padding: 28px 20px; margin: 30px auto; }
    .profile-header { flex-direction: column; text-align: center; }
    .profile-stats { justify-content: center; }
    .form-row { flex-direction: column; gap: 0; }
}
