:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #121212;
    --card-bg: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8941f;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --success: #28a745;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    /* 从old.css保留的变量 */
    --yellow: #FCD116;
    --blue: #003893;
    --red: #CE1126;
    --yellow-light: #FDE68A;
    --blue-light: #4A7EFF;
    --red-light: #FF6B7A;
    --text-dark: #1E1E1E;
    --text-light: #FFFFFF;
    --bg-light: #F8FAFC;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --radius: 20px;
    --primary: #0a2463;
    --primary-light: #3e92cc;
    --secondary: #2dc7ff;
    --accent: #d4af37;
    --accent-dark: #b8941f;
    --neutral-light: #f8fafc;
    --neutral: #e2e8f0;
    --neutral-dark: #94a3b8;
    --text-primary-old: #1e293b;
    --text-secondary-old: #64748b;
    --warning: #f59e0b;
    --error: #ef4444;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 90px;
}

.app-container {
    max-width: 430px;
    margin: 0 auto;
    background-color: var(--primary-bg);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.layui-btn{
    background:linear-gradient(135deg, var(--yellow), #FFD43B);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1a1a 100%);
    padding: 20px 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.user-avatar {
    position: absolute;
    top: 25px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.user-avatar:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
}

/* Navigation */
.nav-tabs {
    display: flex;
    justify-content: space-around;
    background-color: var(--secondary-bg);
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
}

.nav-tab.active {
    color: var(--gold);
}

.nav-tab i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.nav-tab:hover {
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold);
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 10px;
}

/* Balance Section */
.balance-section {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    margin: 0 15px 15px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.balance-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--gold);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.balance-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.withdrawable-amount {
    font-size: 1.1rem;
    color: var(--success);
    margin: 10px 0;
    position: relative;
    z-index: 1;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: none;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px;
}

.feature-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 15px 10px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.feature-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Community Event */
.event-card {
    position: relative;
    overflow: hidden;
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-detail i {
    color: var(--gold);
    width: 20px;
}

/* Products Section */
.product-card {
    margin-bottom: 20px;
}

.product-badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin: 10px 0;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px 0;
}

.product-detail {
    display: flex;
    flex-direction: column;
}

.product-detail label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.product-detail span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Transactions */
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.transaction-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #000;
    font-size: 1.2rem;
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-weight: 600;
    margin-bottom: 5px;
}

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

.transaction-amount {
    font-weight: 700;
    color: var(--gold);
}

/* Login Form */
.login-container {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: var(--gold);
    text-decoration: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 30px;
}

/* Page Transitions */
.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

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

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

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

/* ========== 从old.css保留的样式 ========== */

/* 首页弹窗 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background: #fff;
    color: #333;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.rewards {
    background: #d2d2d2;
    border-radius: 10px;
    margin-top: 10px;
    backdrop-filter: blur(5px);
}

.reward-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.views {
    font-weight: 600;
}

.amount {
    font-weight: 700;
    color: var(--secondary);
}

.terms {
    text-align: left;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 14px;
}

.terms h3 {
    margin-bottom: 10px;
    font-size: 10px;
}

.terms ul {
    list-style-type: none;
    padding-left: 3px;
}

.terms li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 20px;
}

.terms li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 10px;
}

.claim-btn {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.claim-btn:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
.flex_left {
    background:  rgb(255 255 255 / 50%);
    padding:15px;
    display: flex;
    justify-content: left;
}

.app-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neutral);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 16px;
}

.header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

/* 顶部返回样式 */
.common_card {
    background: rgb(212 175 55 / 40%);
    border-radius: 14px 14px 14px 14px;
    padding: 15px;
    margin-bottom: 20px;
}

.common_card .common_card_content {
    border-radius: 16px 16px 16px 16px;
}

.common_header {
    background: var(--yellow);
    height: 60px;
    position: relative;
    width: 100%;
    border: none;
}

.common_header .back {
    display: block;
    width: 100%;
    font-family: Arial, Arial;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    padding: 20px 0;
}

.common_header .back .btn {
    background: rgba(255, 255, 255, 0.00);
    text-align: center;
    position: absolute;
    top:1px;
    left:-5px;
}

.common_header .back .service {
    position: absolute;
    top:15px;
    right: 15px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: #2250A8;
    border-radius: 12px 12px 12px 12px;
    border: 1px solid #3060B9;
}

.common_header .back .service img {
    width: 19px;
    height: 19px;
}

/* Bottom Navigation */
.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    padding: 14px 10px;
    z-index: 1000;
    border-top: 1px solid var(--neutral);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

/* 产品详情 */
.product_details_card {
    position: relative;
    display: block;
    background: #ffffff38;
    border-radius: 16px 16px 16px 16px;
    padding: 20px;
    margin: 15px;
}

.product_details_card .lianjie {
    width: 4px;height: 40px;
}

.product_details_card .lianjie_left {
    position: absolute;
    top: -30px;
    left: 30px;
}

.product_details_card .lianjie_right {
    position: absolute;
    top: -30px;
    right: 30px;
}

.common_card .lianjie {
    width: 4px;height: 40px;
}

.common_card .lianjie_left {
    position: absolute;
    top: -30px;
    left: 30px;
}

.common_card .lianjie_right {
    position: absolute;
    top: -30px;
    right: 30px;
}

.product_details_card .product_details_item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #F3F3F3;
}

.product_details_card .product_details_order {
    border-bottom: 1px solid #EAEAEA;
}

.product_details_card .buy_btn {
    background: #32a0dc;
    box-shadow: 0px 4px 10px 0px rgba(36,165,144,0.3);
    border-radius: 100px 100px 100px 100px;
    font-family: Arial, Arial;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
}

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

.pro-detail-head {
    background: #657ae6;
    color: white;
    padding: 20px 0;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.main-content {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.investment-card {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px;
    text-align: center;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold);
    border-bottom: 2px solid var(--neutral);
    padding-bottom: 10px;
}

.detail-item {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--neutral);
    padding-bottom: 10px;
}

.detail-label {
    font-weight: 500;
    color: var(--text-secondary-old);
}

.detail-value {
    font-weight: 600;
    color: var(--primary);
}

.highlight {
    color: var(--accent);
    font-weight: bold;
}

.investment-amount {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    margin: 20px 0;
}

.profit-display {
    background: var(--neutral-light);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.profit-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.btn-invest {
    background: var(--accent);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-invest:hover {
    background: #2ab68b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 200px;
    background: var(--neutral-light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Balance Card */
.balance-card {
    background:#04192a;
    border-radius: 24px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    color: white;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { right: -50%; }
    100% { right: 150%; }
}

.balance-actions {
    display: flex;
    gap: 12px;
}

.balance-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.deposit-btn {
    background: white;
    color: var(--primary);
    border: none;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

.withdraw-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Section Headers */
.section-header {
    padding-left: 00px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 0 24px;
}

.view-all {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/*弹窗相关*/

.download_dialog {
    background-image: url("/public/site/img/download/dialog_bg.png");
    background-repeat: no-repeat;
    background-size: 300px 536px;
    width: 300px;
    height: 536px;
}

.dialog .dialog_contents {
    padding: 16px;
    background-color: #FFFFFf;
    border-radius: 16px 16px 16px 16px;
    z-index: 300;
}

.dialog .logo {
    width: auto;
    height: 60px;
    margin: auto;
    text-align: center;
}

.dialog .logo img {
    width: auto; height: 60px;
}

.dialog .title {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 16px;
    color: #3D3D3D;
    line-height: 28px;
    margin-bottom: 20px;
}

.dialog .item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
}

.dialog .item .label {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 14px;
    color: #b66b58;
    line-height: 16px;
}

.dialog .item .value {
    font-family: Arial, Arial;
    font-weight: 700;
    font-size: 18px;
    color: #666666;
    line-height: 21px;
}

.dialog .explain {
    font-family: Arial, Arial;
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    color: #155BCD;
    margin-bottom: 20px;
}

.dialog .text {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 14px;
    color: #2A415C;
    line-height: 22px;
}

.dialog .btn_group {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.dialog .cancel {
    width: 105px;
    height: 40px;
    background: #BBBBBB;
    border-radius: 100px 100px 100px 100px;
    text-align: center;
    line-height: 40px;
    font-family: Arial, Arial;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
}

.dialog .confirm {
    width: 160px;
    height: 36px;
    
    background: var(--yellow);
    box-shadow: 0px 4px 10px 0px rgba(2,104,206,0.15);
    border-radius: 100px 100px 100px 100px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-family: Arial, Arial;
    font-weight: 700;
    font-size: 16px;
    color: #F0F5FF;
}

/* Investment Cards */
.investment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.investment-card {
    margin: 20px;
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--neutral);
    position: relative;
    overflow: hidden;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
}

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

.investment-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--neutral-light);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.investment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.investment-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 6px 18px rgba(62, 146, 204, 0.3);
}

.investment-title-container {
    flex: 1;
}

.investment-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
    font-family: 'DM Serif Display', serif;
}

.investment-subtitle {
    font-size: 14px;
    color: var(--text-secondary-old);
}

.investment-price {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.investment-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.investment-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-secondary-old);
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-label i {
    font-size: 14px;
    color: var(--primary-light);
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary-old);
}

.invest-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(10, 36, 99, 0.25);
}

.invest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(10, 36, 99, 0.35);
}

/* Community Stats */
.community-stats-index {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin:0px 24px 0 24px;
}

.stat-card-index {
    width: 50%;
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--neutral);
    transition: all 0.3s ease;
}

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

.community-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin:0px 24px 0 24px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--neutral);
    transition: all 0.3s ease;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 20px;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary-old);
}

/* Tasks */
.tasks-container {
    padding: 0 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.task-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

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

.task-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.task-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.task-progress {
    height: 8px;
    background: #ccc;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-in-out;
}
.task-list {
    margin: 24px;
}

.task-item {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--neutral);
    transition: all 0.3s ease;
}

.task-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.task-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.task-content {
    flex: 1;
}

.task-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--text-primary-old);
}

.task-desc {
    font-size: 13px;
    color: var(--text-secondary-old);
    margin-bottom: 10px;
}

.task-reward {
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-btn {
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.task-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

/* 个人中心 */
.password_item{
    display: block;
    height: 50px;
    background: var(--accent);
    border-radius: 6px 6px 6px 6px;
    padding: 5px;
    margin-bottom:10px;
    line-height: 35px;
    font-family: Arial, Arial;
    font-weight: 700;
    font-size: 16px;
    color: #444444;
}
.profile-card {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 28px;
    margin: 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    /*border: 1px solid var(--neutral);*/
    position: relative;
}

.profile-header {
    position: relative;
    margin-top: 24px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.2);
}

.profile-verified {
    position: absolute;
    bottom: 85px;
    right: calc(50% - 60px);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    border: 2px solid white;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
    font-family: 'DM Serif Display', serif;
}

.profile-join-date {
    color: var(--text-dark);
    text-align: left;
    padding: 0px 0px 0px 50px;
    font-size: 15px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.profile-stat {
    background: var(--neutral-light);
    padding: 18px;
    border-radius: 18px;
    text-align: center;
}

.profile-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.profile-stat-label {
    font-size: 13px;
    color: var(--text-secondary-old);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Page-specific styles */
#home-page .investment-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
}

#home-page .investment-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

#invest-page .investment-card:nth-child(1) .investment-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
}

#invest-page .investment-card:nth-child(2) .investment-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

#invest-page .investment-card:nth-child(3) .investment-icon {
    background: linear-gradient(135deg, var(--success), #059669);
}

#club-page .stat-card:nth-child(odd) .stat-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

#club-page .stat-card:nth-child(even) .stat-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

#tasks-page .task-item:nth-child(1) .task-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
}

#tasks-page .task-item:nth-child(2) .task-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

#tasks-page .task-item:nth-child(3) .task-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

#profile-page .profile-card {
    background: linear-gradient(135deg, white, var(--neutral-light));
}

/* New Dynamic Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 2s infinite;
}

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

.progress-bar {
    height: 6px;
    background: rgba(10, 36, 99, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 12px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s ease;
}

.live-data {
    position: relative;
    overflow: hidden;
}

.rotating-icon {
    animation: rotate 10s linear infinite;
}

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

.glow {
    box-shadow: 0 0 20px rgba(62, 146, 204, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(62, 146, 204, 0.3); }
    to { box-shadow: 0 0 30px rgba(62, 146, 204, 0.5); }
}

.micro-interaction {
    transition: all 0.3s ease;
}

.micro-interaction:hover {
    transform: translateY(-2px);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background: var(--error);
    border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .balance-amount {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}