/* ============================================
   南京安朵互联网有限公司 - 全新视觉主题
   配色：深靛蓝 + 玫红 + 青绿
   ============================================ */

/* CSS 变量 - 主题色系 */
:root {
    --primary-color: #6366f1;        /* 主色：靛蓝紫 */
    --primary-dark: #4f46e5;         /* 深主色 */
    --primary-darker: #3730a3;       /* 更深主色 */
    --primary-light: #e0e7ff;        /* 浅主色 */
    --primary-soft: #f5f3ff;         /* 最浅主色 */
    --accent-color: #ec4899;         /* 强调色：玫红 */
    --accent-dark: #db2777;          /* 深玫红 */
    --accent-light: #fce7f3;         /* 浅玫红 */
    --highlight-color: #14b8a6;      /* 亮点色：青绿 */
    --highlight-dark: #0d9488;
    --highlight-light: #ccfbf1;
    --text-dark: #1e1b4b;            /* 深紫黑文字 */
    --text-medium: #4338ca;
    --text-light: #64748b;           /* 浅灰文字 */
    --text-muted: #94a3b8;
    --bg-light: #fafaff;             /* 极浅靛蓝背景 */
    --bg-soft: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e0e7ff;         /* 浅靛蓝边框 */
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(99, 102, 241, 0.08);
    --shadow: 0 4px 20px rgba(99, 102, 241, 0.10);
    --shadow-md: 0 8px 30px rgba(99, 102, 241, 0.12);
    --shadow-hover: 0 12px 40px rgba(99, 102, 241, 0.20);
    --shadow-accent: 0 8px 30px rgba(236, 72, 153, 0.20);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-cool: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    --gradient-warm: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-soft: linear-gradient(135deg, #f5f3ff 0%, #fce7f3 100%);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    background-image:
        radial-gradient(at 20% 10%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(236, 72, 153, 0.06) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(20, 184, 166, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* ============================================
   导航栏 - 磨砂玻璃效果
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    box-shadow: 0 1px 20px rgba(99, 102, 241, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--primary-soft);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ============================================
   Banner 区域
   ============================================ */
.banner {
    background: var(--gradient-primary);
    background: url(../img/banner.png);
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(236, 72, 153, 0.6));
    z-index: -1;
}

.banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
    z-index: -1;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: bannerFadeIn 1s ease-out;
}

@keyframes bannerFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.banner p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 14px 38px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* ============================================
   通用标题
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 60px 0 40px;
    color: var(--text-dark);
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.page-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 16px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ============================================
   主播卡片
   ============================================ */
.anchors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.anchor-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.anchor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.anchor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.anchor-card:hover::before {
    transform: scaleX(1);
}

.anchor-avatar {
    position: relative;
    margin-bottom: 18px;
}

.anchor-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: var(--gradient-primary) padding-box,
                var(--gradient-primary) border-box;
    padding: 3px;
    box-shadow: var(--shadow-md);
}

.live-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--gradient-warm);
    color: white;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
    animation: pulse 2s infinite;
}

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

.anchor-info h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 700;
}

.anchor-info p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.anchor-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.anchor-stats span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.watch-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 11px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.watch-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: white;
}

/* ============================================
   平台特色
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-item:hover::after {
    transform: scaleX(1);
}

.feature-item i {
    font-size: 2.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
    display: block;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

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

/* ============================================
   页脚
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 18px;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 9px;
}

.footer-section ul li a {
    color: #c7d2fe;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.footer-section p {
    color: #c7d2fe;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-section p i {
    width: 20px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(199, 210, 254, 0.15);
    color: #a5b4fc;
    font-size: 0.85rem;
}

/* ============================================
   主播列表页
   ============================================ */
.anchors-page {
    padding: 100px 0 60px;
}

.anchors-list {
    display: grid;
    gap: 20px;
}

.anchor-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.anchor-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.anchor-item .anchor-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.anchor-details {
    flex: 1;
}

.anchor-details h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 700;
}

.anchor-tag {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 600;
}

.anchor-desc {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.watch-now-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.watch-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

/* ============================================
   直播页面
   ============================================ */
.live-container {
    padding: 100px 0 60px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    min-height: calc(100vh - 160px);
}

.live-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.video-player {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    min-height: 400px;
}

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

.video-placeholder i {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.video-info {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #94a3b8;
}

.video-controls {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-soft);
}

.anchor-info {
    align-items: center;
    gap: 15px;
    display: flex;
}

.anchor-avatar-small {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.follow-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.live-stats {
    display: flex;
    gap: 20px;
}

.live-stats span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.chat-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 480px;
    border: 1px solid var(--border-color);
}

.chat-header {
    background: var(--gradient-primary);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chat-header h3, .chat-header div {
    color: white;
    font-weight: 600;
}

.chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-soft);
}

.message {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 85%;
    word-break: break-word;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.system {
    background: var(--primary-soft);
    color: var(--text-medium);
    align-self: center;
    font-size: 0.88rem;
    border: 1px solid var(--border-color);
}

.message.user {
    background: var(--bg-white);
    color: var(--text-dark);
    align-self: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.username {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.88rem;
}

.gift {
    margin-left: 5px;
    font-size: 1.2rem;
}

.chat-input {
    padding: 14px 16px;
    background: var(--bg-white);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    outline: none;
    font-size: 0.92rem;
    background: var(--bg-soft);
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.chat-input button {
    background: var(--gradient-primary);
    border: none;
    padding: 10px 22px;
    border-radius: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9rem;
}

.chat-input button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.live-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gift-section,
.online-users {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.gift-section h3, .online-users h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 700;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 12px 0;
}

.gift-item {
    background: var(--bg-soft);
    padding: 14px 8px;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.gift-item:hover {
    background: var(--primary-soft);
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.gift-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.gift-name {
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 600;
}

.balance-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.recharge-link {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 700;
}

.users-list {
    margin-top: 12px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

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

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.user-name {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   充值页面
   ============================================ */
.recharge-page {
    padding: 100px 0 60px;
}

.balance-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    color: white;
    margin-bottom: 36px;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 18px 0;
    letter-spacing: -1px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.package-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.package-card:hover,
.package-card.selected {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.package-header h3 {
    color: var(--text-dark);
    font-weight: 700;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.coin-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.package-content ul {
    list-style: none;
    margin: 14px 0;
}

.package-content ul li {
    padding: 5px 0;
    color: var(--text-light);
    font-size: 0.92rem;
}

.package-content ul li::before {
    content: '✓';
    color: var(--highlight-color);
    font-weight: 700;
    margin-right: 10px;
}

.select-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.select-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.method-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
}

.method-card:hover,
.method-card.selected {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.method-card i {
    font-size: 2.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.qr-payment {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.qr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.qr-placeholder {
    background: var(--bg-soft);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.qr-placeholder i {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.payment-info {
    padding: 18px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}

.info-item span {
    color: var(--text-light);
}

.info-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.confirm-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 13px 30px;
    border-radius: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    font-size: 1rem;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* ============================================
   联系页面
   ============================================ */
.contact-page {
    padding: 100px 0 60px;
}

.company-intro {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    align-items: start;
}

.intro-text h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0 14px;
    font-weight: 700;
}

.intro-text ul {
    list-style: none;
    margin: 14px 0;
}

.intro-text ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 26px;
    color: var(--text-light);
}

.intro-text ul li::before {
    content: '✓';
    color: var(--highlight-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.image-placeholder {
    background: var(--bg-soft);
    padding: 60px 20px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.image-placeholder i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-icon {
    background: var(--gradient-primary);
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25);
}

.contact-icon i {
    font-size: 1.4rem;
    color: white;
}

.contact-card h4 {
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 700;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin: 36px 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--bg-soft);
    color: var(--text-dark);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 14px 40px;
    border-radius: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.05rem;
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.map-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-top: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.map-placeholder {
    background: var(--bg-soft);
    padding: 80px 20px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.map-placeholder i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

/* ============================================
   登录注册页
   ============================================ */
.auth-page {
    padding: 100px 0 60px;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
    width: 100%;
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-size: 1.6rem;
    font-weight: 800;
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.92rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: var(--text-light);
    z-index: 1;
}

.input-group input {
    padding-left: 42px !important;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.auth-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 14px;
    border-radius: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.auth-divider {
    text-align: center;
    margin: 22px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--bg-white);
    padding: 0 14px;
    color: var(--text-light);
    font-size: 0.88rem;
    position: relative;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.social-btn {
    flex: 1;
    padding: 11px;
    border: 1.5px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.social-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
    background: var(--primary-soft);
}

.social-btn.wechat {
    color: #07c160;
}

.social-btn.qq {
    color: #12b7f5;
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
}

.auth-footer p {
    color: var(--text-light);
    font-size: 0.92rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.auth-sidebar {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-sidebar::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-sidebar > * {
    position: relative;
    z-index: 1;
}

.auth-sidebar h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 800;
}

.auth-sidebar p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.benefits-list {
    list-style: none;
    margin: 22px 0;
}

.benefits-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
}

.benefits-list li i {
    color: white;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
    display: block;
}

.input-hint {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 6px;
}

.password-strength {
    margin-top: 10px;
}

.strength-bar {
    width: 100%;
    height: 5px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

code-group {
    display: flex;
    gap: 10px;
}

.code-input {
    flex: 1;
}

.send-code-btn {
    background: var(--primary-soft);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 18px;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.send-code-btn:hover {
    background: var(--primary-color);
    color: white;
}

.send-code-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.register-benefits {
    background: var(--primary-soft);
    border-radius: var(--radius);
    padding: 18px;
    margin: 18px 0;
    border: 1px solid var(--border-color);
}

.register-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.register-benefits ul {
    list-style: none;
}

.register-benefits ul li {
    padding: 4px 0;
    color: var(--text-light);
    font-size: 0.88rem;
    position: relative;
    padding-left: 20px;
}

.register-benefits ul li::before {
    content: '🎁';
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 992px) {
    .live-container,
    .auth-container,
    .intro-content,
    .qr-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link::before {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .banner {
        height: 360px;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .auth-container,
    .qr-container,
    .intro-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .packages-grid,
    .methods-grid,
    .contact-grid,
    .anchors-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .banner {
        height: 320px;
    }

    .auth-card,
    .contact-form,
    .map-section,
    .company-intro {
        padding: 24px;
    }

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

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

/* ============================================
   动画与工具
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 选中文本 */
::selection {
    background: var(--primary-light);
    color: var(--text-dark);
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }
.visible { display: block; }

.success { color: var(--highlight-color); }
.error { color: var(--accent-color); }
.warning { color: #f59e0b; }
.info { color: var(--primary-color); }

/* 登录提示条 */
.login-notice {
    background: var(--gradient-soft);
    border-left: 5px solid var(--accent-color);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.login-notice > i {
    font-size: 2rem;
    color: var(--accent-color);
}

.login-notice-text {
    flex: 1;
}

.login-notice-text strong {
    color: var(--primary-darker);
    font-size: 1.1rem;
    font-weight: 700;
}

.login-notice-text span {
    color: var(--text-dark);
}

.login-notice-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700;
}

.login-notice-text a:hover {
    color: var(--accent-color);
}

.login-notice-btn {
    display: inline-block;
    padding: 8px 22px !important;
    text-decoration: none;
    width: auto !important;
    font-size: 0.9rem;
}

/* 充值表单容器 */
.recharge-form-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.recharge-form-container h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 14px;
}

.recharge-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.recharge-form .form-group label i {
    color: var(--primary-color);
    margin-right: 6px;
    width: 18px;
}

.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.agreement input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.agreement label {
    margin: 0;
    cursor: pointer;
}

.agreement a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.agreement a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.recharge-form .auth-btn {
    margin-top: 10px;
}

.recharge-form .auth-btn i {
    margin-right: 8px;
}

/* 支付信息区 */
.payment-info-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.payment-info .text-danger {
    color: var(--accent-color);
}

.payment-tip {
    background: var(--primary-soft);
    border-left: 3px solid var(--primary-color);
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-top: 15px;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

.payment-tip i {
    color: var(--primary-color);
    margin-right: 6px;
}

.qr-section-title {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 14px;
}

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

.qr-image-wrapper {
    text-align: center;
    background: var(--bg-soft);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.qr-image {
    max-width: 100%;
    max-height: 320px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.qr-caption {
    margin-top: 15px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.qr-caption i {
    color: #1677ff;
    margin-right: 6px;
}

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

.qr-payment-top {
    margin-top: 40px;
}

.recharge-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: var(--bg-soft);
    color: var(--text-dark);
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.recharge-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
