/* 高端科幻玻璃拟态主题 CSS - 一行一个类 */
body.home-body { margin: 0; padding: 0; font-family: '微软雅黑', 'Helvetica Neue', sans-serif; background-color: #030712; color: #e2e8f0; overflow-x: hidden; position: relative; -webkit-font-smoothing: antialiased; }
.home-canvas-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; background: radial-gradient(circle at 50% 50%, #0a1128 0%, #030712 100%); pointer-events: none; }

/* 导航栏 */
.home-navbar { position: fixed; top: 0; left: 0; width: 100%; height: 80px; z-index: 100; border-bottom: 1px solid rgba(255, 255, 255, 0.05); background: rgba(3, 7, 18, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all 0.3s ease; }
.home-nav-container { max-width: 1400px; margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.home-brand { display: flex; align-items: center; }
.home-nav-links { display: flex; align-items: center; }
.home-brand-icon { width: 32px; height: 32px; background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%); border-radius: 8px; box-shadow: 0 0 20px rgba(0, 242, 254, 0.4); position: relative; }
.home-brand-icon::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: #030712; border-radius: 50%; }
.home-brand-text { font-size: 24px; font-weight: 700; color: #ffffff; letter-spacing: 2px; }
.home-nav-menu { display: flex; gap: 40px; }
.home-nav-link { color: #94a3b8; text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: 1px; transition: color 0.3s ease; position: relative; }
.home-nav-link:hover, .home-nav-active { color: #00f2fe; }
.home-nav-active::after { content: ''; position: absolute; bottom: -30px; left: 0; width: 100%; height: 3px; background: #00f2fe; box-shadow: 0 -2px 10px rgba(0, 242, 254, 0.5); }

/* 语言切换样式 */
.home-lang-switch { display: flex; align-items: center; gap: 8px; margin-left: 20px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.home-lang-link { color: #64748b; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.3s ease; }
.home-lang-link:hover, .home-lang-link.active { color: #00f2fe; }
.home-lang-divider { color: #334155; font-size: 12px; }

/* Hero 区域 */
.home-hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; }
.home-hero-container { max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.home-hero-content { flex: 1; max-width: 650px; animation: home-fade-right 1s cubic-bezier(0.16, 1, 0.3, 1); }
.home-hero-title { font-size: 72px; font-weight: 700; line-height: 1.1; margin: 0 0 30px 0; color: #ffffff; letter-spacing: -1px; }
.home-highlight-text { background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 40px rgba(0, 242, 254, 0.3); }
.home-hero-desc { font-size: 20px; color: #94a3b8; line-height: 1.6; margin-bottom: 50px; font-weight: 400; }

/* 滚动公告面板 */
.home-ticker-box { display: flex; align-items: stretch; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; overflow: hidden; backdrop-filter: blur(10px); height: 60px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.home-ticker-label { background: rgba(0, 242, 254, 0.1); color: #00f2fe; font-weight: 600; padding: 0 24px; display: flex; align-items: center; border-right: 1px solid rgba(255, 255, 255, 0.05); letter-spacing: 2px; }
.home-ticker-wrapper { flex: 1; overflow: hidden; position: relative; }
.home-ticker-list { list-style: none; margin: 0; padding: 0; position: absolute; width: 100%; transition: top 0.5s ease; }
.home-ticker-item { height: 60px; display: flex; align-items: center; padding: 0 24px; gap: 15px; color: #cbd5e1; font-size: 15px; }
.home-ticker-date { color: #64748b; font-family: monospace; font-size: 14px; }
.home-ticker-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 高级玻璃拟态登录框 */
.home-hero-login { width: 420px; flex-shrink: 0; animation: home-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; opacity: 0; }
.home-glass-panel { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 1px solid rgba(255, 255, 255, 0.15); border-radius: 24px; padding: 40px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05); position: relative; overflow: hidden; }
.home-glass-panel::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.1), transparent 50%); pointer-events: none; }
.home-panel-header { margin-bottom: 35px; text-align: left; }
.home-panel-title { font-size: 28px; font-weight: 700; color: #ffffff; margin: 0 0 8px 0; }
.home-panel-subtitle { font-size: 14px; color: #64748b; margin: 0; letter-spacing: 1px; text-transform: uppercase; }
.home-input-group { margin-bottom: 24px; position: relative; }
.home-input-label { display: block; font-size: 13px; color: #94a3b8; margin-bottom: 8px; font-weight: 500; letter-spacing: 1px; }
.home-input-field { width: 100%; box-sizing: border-box; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); padding: 14px 16px; border-radius: 10px; color: #ffffff; font-size: 15px; font-family: inherit; transition: all 0.3s ease; outline: none; }
.home-input-field:focus { border-color: rgba(0, 242, 254, 0.5); background: rgba(0, 0, 0, 0.4); }
.home-input-focus-bg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; box-shadow: 0 0 20px rgba(0, 242, 254, 0.2); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: -1; }
.home-input-field:focus + .home-input-focus-bg { opacity: 1; }
.home-form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.home-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #94a3b8; cursor: pointer; user-select: none; }
.home-checkbox { display: none; }
.home-checkbox-custom { width: 18px; height: 18px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; position: relative; transition: all 0.2s ease; }
.home-checkbox:checked + .home-checkbox-custom { background: #00f2fe; border-color: #00f2fe; }
.home-checkbox:checked + .home-checkbox-custom::after { content: ''; position: absolute; top: 2px; left: 6px; width: 4px; height: 9px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.home-forget-link { color: #94a3b8; font-size: 14px; text-decoration: none; transition: color 0.2s ease; }
.home-forget-link:hover { color: #00f2fe; }
.home-submit-btn { width: 100%; padding: 16px; border: none; border-radius: 12px; background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%); color: #030712; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; position: relative; overflow: hidden; transition: transform 0.2s ease; outline: none; }
.home-submit-btn:hover { transform: translateY(-2px); }
.home-submit-btn:active { transform: translateY(1px); }
.home-btn-text { position: relative; z-index: 2; letter-spacing: 2px; }
.home-btn-glow { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transform: skewX(-20deg); animation: home-btn-shine 3s infinite; z-index: 1; }
.home-register-hint { margin-top: 24px; text-align: center; font-size: 14px; color: #64748b; }
.home-register-link { color: #00f2fe; text-decoration: none; font-weight: 600; margin-left: 5px; }
.home-register-link:hover { text-decoration: underline; }

/* 域名市场区域 */
.home-market-section { padding: 100px 40px; max-width: 1400px; margin: 0 auto; position: relative; z-index: 10; }
.home-market-header { text-align: center; margin-bottom: 60px; }
.home-market-title { font-size: 40px; font-weight: 700; color: #ffffff; margin: 0 0 10px 0; }
.home-market-subtitle { font-size: 14px; color: #00f2fe; letter-spacing: 4px; margin: 0; }
.home-title-decorator { width: 60px; height: 4px; background: linear-gradient(90deg, #00f2fe, transparent); margin: 20px auto 0; border-radius: 2px; }
.home-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.home-domain-card { position: relative; background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 1px; transition: all 0.4s ease; overflow: hidden; backdrop-filter: blur(10px); }
.home-domain-card:hover { transform: translateY(-10px); border-color: rgba(0, 242, 254, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.home-card-glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.06), transparent 40%); z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.home-domain-card:hover .home-card-glow { opacity: 1; }
.home-card-inner { background: rgba(15, 23, 42, 0.8); border-radius: 19px; padding: 30px; height: 100%; box-sizing: border-box; position: relative; z-index: 1; display: flex; flex-direction: column; }
.home-domain-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #10b981; background: rgba(16, 185, 129, 0.1); padding: 4px 10px; border-radius: 20px; align-self: flex-start; margin-bottom: 20px; font-weight: 600; border: 1px solid rgba(16, 185, 129, 0.2); }
.home-status-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; }
.home-domain-name { font-size: 26px; font-weight: 700; color: #ffffff; margin: 0; letter-spacing: 1px; }
.home-domain-divider { height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent); margin: 25px 0; }
.home-domain-info { margin-bottom: 30px; flex: 1; }
.home-info-label { font-size: 13px; color: #64748b; margin-bottom: 5px; }
.home-info-price { font-size: 28px; font-weight: 700; color: #f59e0b; }
.home-price-unit { font-size: 14px; font-weight: 500; color: #94a3b8; margin-left: 4px; }
.home-buy-btn { width: 100%; padding: 14px; border: 1px solid rgba(0, 242, 254, 0.3); background: transparent; color: #00f2fe; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.3s ease; }
.home-buy-btn:hover { background: rgba(0, 242, 254, 0.1); border-color: #00f2fe; box-shadow: 0 0 20px rgba(0, 242, 254, 0.2); }
.home-empty-state { text-align: center; padding: 80px 0; color: #64748b; }
.home-empty-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%2364748b"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"></path></svg>') no-repeat center; }

/* 底部区域 */
.home-footer-section { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 40px; text-align: center; position: relative; z-index: 10; background: rgba(3, 7, 18, 0.8); }
.home-footer-content p { margin: 0; color: #475569; font-size: 14px; letter-spacing: 1px; }

/* 响应式适配 */
@media (max-width: 1024px) { .home-hero-container { flex-direction: column; text-align: center; padding-top: 40px; } .home-hero-title { font-size: 56px; } .home-hero-desc { margin: 0 auto 40px; } .home-ticker-box { margin: 0 auto; max-width: 600px; } }
@media (max-width: 768px) { .home-nav-container{padding: 0 15px;}.home-nav-menu { display: none; } .home-hero-login { width: 100%; max-width: 420px; } .home-glass-panel { padding: 30px 20px; } .home-hero-title { font-size: 42px; } .home-cards-grid { grid-template-columns: 1fr; } }

/* 动画定义 */
@keyframes home-fade-right { 0% { opacity: 0; transform: translateX(-40px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes home-fade-up { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes home-btn-shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

/* ==========================================================================
   首页已登录状态用户信息面板样式
   ========================================================================== */
.home-logged-in {
    padding: 10px 0;
}

.home-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 12px;
}

.home-user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    object-fit: cover;
}

.home-user-details {
    flex: 1;
}

.home-user-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.home-user-balance {
    font-size: 14px;
    color: #a0aec0;
}

.home-user-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-logout-link {
    display: block;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.home-logout-link:hover {
    color: #ef4444;
}
/* =========================================================
 * �ƶ��˳���˵�����Ӧʽ����
 * ========================================================= */
.home-mobile-toggle {
    display: none;
    color: #00f2fe;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s;
}
.home-mobile-toggle:hover {
    color: #fff;
}

.home-mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 242, 254, 0.2);
    z-index: 10000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.home-mobile-drawer.show {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.drawer-close {
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}
.drawer-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.drawer-body {
    padding: 20px 0;
    flex: 1;
}
.drawer-link {
    display: block;
    padding: 15px 25px;
    color: #cbd5e1;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}
.drawer-link:hover, .drawer-link.active {
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.1) 0%, transparent 100%);
    color: #00f2fe;
    border-left-color: #00f2fe;
}
.drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px 25px;
}
.drawer-lang-switch {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 25px;
}
.drawer-lang-switch a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
}
.drawer-lang-switch a.active {
    color: #00f2fe;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.text-center {
    text-align: center;
}
.text-no-decoration {
    text-decoration: none;
}
.d-block {
    display: block;
}

@media (max-width: 992px) {
    .home-nav-menu {
        display: none;
    }
    .home-mobile-toggle {
        display: block;
    }
}
