/* Base Styles & Variables */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5a623;
    --success-color: #7ed321;
    --danger-color: #d0021b;
    --warning-color: #f5a623;
    --info-color: #50e3c2;
    --purple-color: #9013fe;
    --dark-bg: #0a0a0a;
    --dark-card: #1a1a1a;
    --dark-border: #333;
    --text-light: #ffffff;
    --text-muted: #888;
    --glow-color: #4a90e2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Use gradient only on desktop */
@media (min-width: 769px) {
    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    }
}

/* Animated Background - Disabled on mobile */
@media (min-width: 769px) {
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(126, 211, 33, 0.05) 0%, transparent 50%);
        animation: backgroundShift 20s ease-in-out infinite alternate;
        z-index: -2;
    }

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

/* 🎯 WUSWAP黄色风格的横向WU余额显示 */
.wu-balance-in-swap {
    margin: 10px 0;
    padding: 0;
}

.wu-balance-info {
    background: rgba(45, 35, 20, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wu-balance-header {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wu-balance-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wu-wallet-address {
    font-size: 0.65rem;
    color: #d97706;
    font-family: 'Roboto Mono', monospace;
}

.wu-balance-amount {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wu-amount-display {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'Roboto Mono', monospace;
}

.wu-label {
    font-size: 0.7rem;
    color: #f59e0b;
    font-weight: 500;
}

.wu-balance-actions {
    margin-top: 0;
}

.btn-pool-link {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-pool-link:hover {
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.6);
    color: #f59e0b;
}

/* Typography */
.brand-text {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Use fancy text effects only on desktop */
@media (min-width: 769px) {
    .brand-text {
        font-family: 'Orbitron', monospace;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    }
}

.glow-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Only animate on desktop */
@media (min-width: 769px) {
    .glow-text {
        text-shadow: 0 0 30px rgba(74, 144, 226, 0.6);
        animation: textGlow 2s ease-in-out infinite alternate;
    }
    
    @keyframes textGlow {
        from { text-shadow: 0 0 20px rgba(74, 144, 226, 0.5); }
        to { text-shadow: 0 0 40px rgba(74, 144, 226, 0.8); }
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Navigation */
.futuristic-nav {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

/* Mobile Navigation Bar */
.mobile-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    border-bottom: 1px solid rgba(74, 144, 226, 0.3);
    z-index: 1060;
    padding: 0;
    display: block !important;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    padding: 5px;
    flex: 1;
    transition: all 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.mobile-nav-item span {
    font-size: 0.65rem;
    white-space: nowrap;
}

.mobile-nav-item:active,
.mobile-nav-item.active {
    color: var(--primary-color);
}

.mobile-nav-item:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Mobile Header */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 144, 226, 0.3);
    z-index: 1050;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-brand {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.3rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.mobile-brand:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Mobile Content Adjustment */
@media (max-width: 991px) {
    .main-content {
        padding-bottom: 70px !important; /* Account for bottom nav */
    }
}

/* Only use backdrop filter on desktop */
@media (min-width: 769px) {
    .futuristic-nav {
        backdrop-filter: blur(10px);
    }
}

.futuristic-nav .navbar-nav .nav-link {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.futuristic-nav .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
}

.futuristic-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.futuristic-nav .navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Only animate icons on desktop */
@media (min-width: 769px) {
    .glow-icon {
        animation: iconGlow 2s ease-in-out infinite alternate;
    }
    
    @keyframes iconGlow {
        from { text-shadow: 0 0 10px rgba(74, 144, 226, 0.5); }
        to { text-shadow: 0 0 20px rgba(74, 144, 226, 1); }
    }
}

.balance-display {
    color: var(--warning-color);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.token-price {
    color: var(--success-color);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

/* Main Content */
.main-content {
    margin-top: 56px;
    min-height: calc(100vh - 56px);
}

/* Buttons */
.futuristic-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.futuristic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.futuristic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
    color: white;
}

.futuristic-btn:hover::before {
    left: 100%;
}

.futuristic-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.futuristic-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.futuristic-btn-outline:hover {
    color: white;
    border-color: var(--primary-color);
}

.futuristic-btn-outline:hover::before {
    width: 100%;
}

/* Cards */
.futuristic-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.futuristic-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.futuristic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.2);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    z-index: 1;
    isolation: isolate;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.blockchain-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/blockchain-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    animation: backgroundFloat 20s ease-in-out infinite alternate;
}

@keyframes backgroundFloat {
    0% { transform: translateX(-20px) translateY(-20px) scale(1.05); }
    100% { transform: translateX(20px) translateY(20px) scale(1); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    min-width: 150px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warning-color);
    font-family: 'Orbitron', monospace;
}

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

/* Token Visualization */
.token-visualization {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    z-index: 1;
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.center-logo i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.center-logo span {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
}

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

.rotating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotateClockwise 10s linear infinite;
    pointer-events: none;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: rotateCounterClockwise 15s linear infinite;
}

.orbit-2 {
    width: 250px;
    height: 250px;
    animation: rotateClockwise 20s linear infinite;
}

.orbit-3 {
    width: 350px;
    height: 350px;
    animation: rotateCounterClockwise 25s linear infinite;
}

@keyframes rotateClockwise {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Feature Cards */
.features-section {
    background: rgba(26, 26, 26, 0.95);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.feature-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

/* Node Cards */
.node-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.node-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.node-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.3);
    border-color: var(--primary-color);
}

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

.node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.node-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}

.node-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--warning-color);
    font-family: 'Orbitron', monospace;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
}

.feature-item i {
    font-size: 1.2rem;
    width: 20px;
}

.node-availability {
    margin: 1.5rem 0;
}

.availability-bar .progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

/* Dashboard Cards */
.overview-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.overview-card:hover::after {
    transform: scaleY(1);
}

.card-icon {
    font-size: 2.5rem;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
}

.card-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Level System */
.level-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.level-item {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.level-item.active {
    border-color: var(--warning-color);
    background: rgba(245, 166, 35, 0.1);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.2);
}

.level-item.achieved {
    border-color: var(--success-color);
    background: rgba(126, 211, 33, 0.1);
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.level-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.level-requirement {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: var(--warning-color);
}

.level-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.5s ease;
    border-radius: 2px;
}

.progress-bar.achieved {
    background: linear-gradient(90deg, var(--success-color), #a3e635);
}

/* Charts */
.chart-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.chart-container {
    position: relative;
    height: 400px;
    margin-top: 1rem;
}

/* Transactions */
.transaction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    border-color: var(--primary-color);
    background: rgba(26, 26, 26, 0.8);
    transform: translateX(5px);
}

.tx-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.tx-details {
    flex: 1;
}

.tx-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.tx-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.tx-amount {
    text-align: right;
}

.amount-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.25rem;
}

.tx-status {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.tx-status.completed {
    background: rgba(126, 211, 33, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(126, 211, 33, 0.3);
}

/* Unified transaction display styles for My Donations & Recent Transactions */
.transaction-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.transaction-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

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

.transaction-id {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

.transaction-amounts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.transaction-amount {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.transaction-amount.usdt {
    font-size: 1.2rem;
    color: var(--success-color);
}

.transaction-amount.wu {
    font-size: 1rem;
    color: var(--primary-color);
}

.transaction-status.confirmed {
    font-size: 0.8rem;
    background: rgba(126, 211, 33, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(126, 211, 33, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    text-transform: uppercase;
}

.no-transactions {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.3);
    border: 1px dashed rgba(74, 144, 226, 0.2);
    border-radius: 10px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .transaction-item {
        padding: 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .transaction-info {
        flex: 1;
        min-width: 60%;
    }
    
    .transaction-amounts {
        align-items: flex-end;
        min-width: 35%;
    }
    
    .transaction-amount.usdt {
        font-size: 1rem;
    }
    
    .transaction-amount.wu {
        font-size: 0.8rem;
    }
    
    .transaction-id {
        font-size: 0.7rem;
    }
    
    .transaction-time {
        font-size: 0.8rem;
    }
    
    .transaction-type {
        font-size: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .transaction-item {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .transaction-info {
        min-width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .transaction-amounts {
        min-width: 100%;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .transaction-amount.usdt {
        font-size: 0.9rem;
    }
    
    .transaction-amount.wu {
        font-size: 0.75rem;
    }
    
    .transaction-status.confirmed {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    .btn-sm {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

/* My Donations card specific styles */
.my-donations-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    overflow: hidden;
}

.my-donations-card .card-header {
    background: rgba(74, 144, 226, 0.1);
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    padding: 1rem 1.5rem;
}

.my-donations-card .card-body {
    max-height: 400px;
    overflow-y: auto;
}

.donations-list .transaction-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

/* Alerts */
.futuristic-alert {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid;
    border-radius: 10px;
    color: var(--text-light);
}

.alert-success {
    border-color: var(--success-color);
    background: rgba(126, 211, 33, 0.1) !important;
}

.alert-danger {
    border-color: var(--danger-color);
    background: rgba(208, 2, 27, 0.1) !important;
}

/* Footer */
.futuristic-footer {
    background: rgba(26, 26, 26, 0.9);
    border-top: 1px solid rgba(74, 144, 226, 0.3);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}

/* Payment Address Card */
.payment-address-card {
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid rgba(80, 227, 194, 0.4);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.payment-address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--info-color), var(--primary-color), var(--info-color));
    animation: shimmer 3s linear infinite;
}

.payment-address-card h5 {
    color: var(--text-light);
    font-weight: 600;
}

.address-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.blockchain-address {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--info-color);
    text-align: center;
    word-break: break-all;
    letter-spacing: 1px;
    position: relative;
    min-width: 300px;
}

.blockchain-address::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--info-color), transparent, var(--primary-color));
    border-radius: 10px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.blockchain-address:hover::after {
    opacity: 0.3;
}

.copy-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(80, 227, 194, 0.3);
}

.payment-notice {
    background: rgba(245, 166, 35, 0.1);
    border-left: 3px solid var(--warning-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .blockchain-address {
        font-size: 0.9rem;
        min-width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .address-container {
        flex-direction: column;
    }
    
    .copy-btn {
        width: 100%;
    }
}

/* Wallet Integration Styles */
.wallet-info {
    display: flex;
    align-items: center;
}

.wallet-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
}

.network-badge {
    background: rgba(80, 227, 194, 0.2);
    color: var(--info-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.wallet-address {
    color: var(--text-light);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
}

/* Wallet Modal */
.wallet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    backdrop-filter: blur(5px);
}

.wallet-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.3);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wallet-modal .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-modal .modal-header h3 {
    color: var(--text-light);
    margin: 0;
    font-family: 'Orbitron', monospace;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

.wallet-options {
    padding: 1.5rem;
}

.wallet-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.wallet-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.2), transparent);
    transition: left 0.5s ease;
}

.wallet-option:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.wallet-option:hover::before {
    left: 100%;
}

.wallet-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.wallet-option span {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
}

.wallet-option i {
    color: var(--text-muted);
}

.wallet-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    text-align: center;
}

/* Connect Wallet Button */
#connectWalletBtn {
    background: linear-gradient(45deg, var(--warning-color), #fbbf24);
    border: none;
    color: #000;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    animation: pulse-glow 2s infinite;
    min-height: 48px; /* Better touch target for mobile */
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(245, 166, 35, 0.5);
    }
}

#connectWalletBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#connectWalletBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.4);
}

#connectWalletBtn:hover::before {
    left: 100%;
}

/* Purchase Node Button Updates */
.purchase-node-btn {
    position: relative;
    overflow: hidden;
}

.purchase-node-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Wallet UI */
@media (max-width: 768px) {
    .wallet-details {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
        max-width: 250px;
    }
    
    .wallet-address {
        font-size: 0.8rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .network-badge {
        font-size: 0.7rem;
    }
    
    .wallet-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    #connectWalletBtn {
        width: 100%;
        margin: 1rem 0;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        min-height: 56px; /* iOS recommended touch target */
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

.pulse {
    animation: pulse 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .hero-visual {
        height: 250px;
        margin-top: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-item {
        width: 100%;
        padding: 0.75rem;
        min-width: auto;
    }
    
    .stat-item i {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .token-visualization {
        width: 250px;
        height: 250px;
    }
    
    .rotating-ring {
        width: 200px;
        height: 200px;
    }
    
    .orbit-1 {
        width: 150px;
        height: 150px;
    }
    
    .orbit-2 {
        width: 180px;
        height: 180px;
    }
    
    .orbit-3 {
        width: 230px;
        height: 230px;
    }
    
    .center-logo i {
        font-size: 3rem;
    }
    
    .center-logo span {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .section-subtitle {
        font-size: 0.9rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .levels-grid {
        grid-template-columns: 1fr;
    }
    
    .transaction-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tx-meta {
        justify-content: center;
    }
}

/* Utility Classes */
.text-purple {
    color: var(--purple-color) !important;
}

.bg-gradient-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
}

.bg-gradient-success {
    background: linear-gradient(45deg, var(--success-color), #a3e635) !important;
}

.bg-gradient-warning {
    background: linear-gradient(45deg, var(--warning-color), #fbbf24) !important;
}

/* Balance and Referral Cards */
.balance-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--warning-color);
    font-family: 'Orbitron', monospace;
}

/* Countdown Timer Styles */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    min-width: 60px;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--warning-color);
    font-family: 'Orbitron', monospace;
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-card, .referral-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-item h5 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.referral-link-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.referral-input {
    flex: 1;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: var(--text-light);
    border-radius: 10px;
}

/* Node and Dashboard specific styles */
.nodes-card, .dividend-card, .referral-stats-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.node-item {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.node-type {
    font-weight: 700;
    color: var(--text-light);
}

.node-status.active {
    background: rgba(126, 211, 33, 0.2);
    color: var(--success-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
}

.stat-value {
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.dividend-info {
    margin-bottom: 1.5rem;
}

.dividend-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.stat-content p {
    color: var(--text-muted);
    margin: 0;
}

/* Filter buttons for transactions */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.transactions-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

/* Tokenomics section */
.tokenomics-section {
    background: rgba(26, 26, 26, 0.95);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.tokenomics-chart {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tokenomics-info {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.distribution-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.distribution-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.label {
    color: var(--text-muted);
}

.value {
    color: var(--text-light);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

/* Language Selector Styles */
#languageDropdown {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 5px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

#languageDropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.dropdown-menu {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 180px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(74, 144, 226, 0.2);
    color: #fff;
}

.dropdown-item.active {
    background: rgba(74, 144, 226, 0.3);
    color: var(--primary-color);
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Disable complex animations on mobile for better performance */
    body::before {
        animation: none !important;
        transform: none !important;
    }
    
    .glow-text {
        animation: none !important;
        text-shadow: 0 0 15px rgba(74, 144, 226, 0.4);
    }
    
    .glow-icon {
        animation: none !important;
        text-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
    }
    
    /* Optimize transitions for mobile */
    * {
        /* -webkit-transform: translateZ(0); */
        -webkit-backface-visibility: hidden;
        /* -webkit-perspective: 1000; */
    }
    
    /* Reduce transition complexity */
    .futuristic-btn::before,
    .futuristic-btn-outline::before {
        display: none;
    }
    
    .futuristic-btn:hover,
    .futuristic-btn-outline:hover {
        transform: none;
    }
    
    /* Simplify card animations */
    .node-card,
    .balance-card,
    .benefits-card,
    .referral-card {
        transition: transform 0.2s ease;
    }
    
    .node-card:hover,
    .balance-card:hover,
    .benefits-card:hover {
        transform: none;
    }
    
    /* Optimize scrolling */
    .main-content {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Reduce particle effects */
    .particle,
    .floating-particle {
        display: none;
    }
    
    /* Simplify navigation transitions */
    .futuristic-nav .navbar-nav .nav-link::after {
        display: none;
    }
    
    .futuristic-nav .navbar-nav .nav-link:hover {
        text-shadow: none;
    }
    
    /* Optimize countdown timer */
    .countdown-item {
        transition: none;
    }
    
    /* Enable hardware acceleration for critical elements */
    .nodes-section,
    .hero-section,
    .features-section {
        will-change: scroll-position;
        transform: translate3d(0, 0, 0);
    }
    
    /* Reduce shadow complexity */
    .futuristic-btn,
    .node-card,
    .balance-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Optimize font rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Additional mobile optimizations for smoother scrolling */
@media (max-width: 768px) and (hover: none) {
    /* Remove hover effects on touch devices */
    .futuristic-btn:hover,
    .node-card:hover,
    .nav-link:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Prefers reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Referral Link Section Styles */
.referral-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.referral-link-section {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.referral-link-group {
    display: flex;
    gap: 0.5rem;
}

.referral-link-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-family: 'Roboto', monospace;
}

.referral-link-group input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 144, 226, 0.5);
    outline: none;
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.team-stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 144, 226, 0.4);
}

.team-stat-item .stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
}

.team-stat-item .stat-content h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a90e2;
}

.team-stat-item .stat-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}

/* Section Separation Fix */
section {
    position: relative;
    isolation: isolate;
    background-attachment: local;
}

section + section {
    margin-top: 0;
}

/* Nodes Section */
.nodes-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    margin-top: -1px;
    min-height: 100vh;
}

/* Compact Countdown Styles */
.compact-countdown {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #f59e0b;
    font-weight: 600;
}

.countdown-timer-compact {
    display: flex;
    gap: 0.8rem;
    font-family: 'Orbitron', sans-serif;
}

.countdown-segment {
    font-size: 1rem;
    color: white;
    font-weight: bold;
}

.countdown-segment span {
    color: #DAA520;
    font-size: 1.1rem;
}

/* Mobile Node Cards - Horizontal Scroll */
.mobile-nodes-wrapper {
    padding: 0.5rem;
}

.mobile-nodes-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

.mobile-nodes-scroll::-webkit-scrollbar {
    height: 4px;
}

.mobile-nodes-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.mobile-nodes-scroll::-webkit-scrollbar-thumb {
    background: #DAA520;
    border-radius: 2px;
}

.mobile-node-card {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 12px;
    padding: 1rem;
    scroll-snap-align: center;
    transition: all 0.3s ease;
}

.mobile-node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-node-header h4 {
    font-size: 1rem;
    margin: 0;
    color: white;
}

.mobile-node-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #DAA520;
}

.mobile-node-stats {
    margin-bottom: 1rem;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: #ccc;
}

.stat-row i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.mobile-purchase-btn {
    width: 100%;
    padding: 0.7rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-purchase-btn:active {
    transform: scale(0.98);
}

.scroll-indicator {
    color: #666;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

@media (max-width: 576px) {
    .nodes-section {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .compact-countdown {
        padding: 0.6rem;
    }
    
    .countdown-header {
        font-size: 0.8rem;
    }
    
    .countdown-segment {
        font-size: 0.9rem;
    }
    
    .countdown-segment span {
        font-size: 1rem;
    }
    
    .mobile-node-card {
        flex: 0 0 250px;
    }
}

/* Compact Donation Dashboard Styles */
.compact-donation-dashboard {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.balance-section {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.balance-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.balance-header i {
    font-size: 1.5rem;
    color: #DAA520;
}

.balance-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.balance-sub .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

.compact-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.compact-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.compact-stat i {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.stat-details {
    flex: 1;
}

.stat-details .stat-label {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 2px;
}

.stat-details .stat-value {
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
}

.stat-details .stat-sub {
    font-size: 0.65rem;
    color: #666;
}

.compact-rewards {
    background: rgba(218, 165, 32, 0.1);
    border-radius: 10px;
    padding: 0.8rem;
}

.rewards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.reward-amount {
    color: #DAA520;
    font-weight: bold;
}

.claim-all-btn {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 8px;
}

/* Compact Donation Card */
.compact-donation-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 1rem;
}

.donation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.donation-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.pool-info {
    font-size: 0.85rem;
    color: #999;
}

.quick-donate-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.wu-icon-small {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #000;
}

.amount-input-compact input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(218, 165, 32, 0.2);
    color: white;
    padding: 0.6rem;
    font-size: 1rem;
}

.conversion-display {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.donate-btn-compact {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Compact Donations List for Mobile */
.compact-donations-list {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 1rem;
}

.donations-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.donations-list-header h5 {
    margin: 0;
    font-size: 1rem;
}

.donations-scroll {
    max-height: 200px;
    overflow-y: auto;
}

/* Team Performance Modal Fixes */
#teamPerformanceModal .modal-dialog {
    max-height: 100vh !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#teamPerformanceModal .modal-content {
    max-height: 95vh !important;
    height: auto !important;
    min-height: 50vh !important;
    width: 100% !important;
}

#teamPerformanceModal .modal-body {
    max-height: 80vh !important;
    height: auto !important;
    overflow-y: auto;
    padding: 1.5rem !important;
}

#teamPerformanceContent {
    max-height: none !important;
    height: auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #teamPerformanceModal .modal-dialog {
        width: 100% !important;
        margin: 0 !important;
    }
}

.compact-donation-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
}

.donation-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.donation-amount {
    font-weight: bold;
    color: #DAA520;
    font-size: 0.9rem;
}

.donation-date {
    font-size: 0.75rem;
    color: #999;
}

.donation-progress small {
    font-size: 0.65rem;
    color: #666;
}

.empty-donations {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-donations i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.empty-donations p {
    margin: 0;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .compact-donation-dashboard {
        padding: 0.8rem;
    }
    
    .balance-amount {
        font-size: 1.5rem;
    }
    
    .compact-stats-grid {
        gap: 0.5rem;
    }
    
    .compact-stat {
        padding: 0.5rem;
    }
    
    .compact-stat i {
        font-size: 1rem;
    }
    
    .stat-details .stat-value {
        font-size: 0.85rem;
    }
    
    .compact-donations-list {
        padding: 0.8rem;
    }
}

/* Unified Dashboard Card */
.unified-dashboard-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.dashboard-section {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.dashboard-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.section-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

/* Balance Section */
.balance-section {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(255, 215, 0, 0.05));
}

.balance-toggle-mini {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.balance-toggle-mini .toggle-option {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    user-select: none;
    min-width: 60px;
    text-align: center;
}

.balance-toggle-mini .toggle-option:hover {
    background: rgba(218, 165, 32, 0.2);
    color: #DAA520;
    border-color: rgba(218, 165, 32, 0.4);
    transform: translateY(-1px);
}

.balance-toggle-mini .toggle-option.active {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #000;
    border-color: #DAA520;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.4);
}

/* WU余额信息显示样式 */
.wu-info-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease;
}

.wu-balance-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-address-display {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    font-family: 'Roboto Mono', monospace;
}

.wu-balance-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.wu-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
    font-family: 'Roboto Mono', monospace;
}

.wu-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.wu-balance-actions {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.wu-balance-actions .btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.wu-balance-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 🎯 隐藏原来的WU余额区域 */
.wu-info-section, #walletWuInfoSection {
    display: none !important;
}

.balance-display {
    font-size: 1.8rem;
    font-weight: bold;
    color: #DAA520;
    margin: 0.5rem 0;
}

.wallet-address-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #666;
}

.wallet-address-mini i {
    color: #DAA520;
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.05));
}

.countdown-section .section-header {
    justify-content: center;
    margin-bottom: 1rem;
}

.countdown-section .section-label {
    font-size: 0.9rem;
    color: #f59e0b;
    font-weight: 600;
    text-align: center;
}

.deadline-text {
    font-size: 0.8rem;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.compact-countdown {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.countdown-unit {
    flex: 1;
    text-align: center;
    padding: 0.3rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.count-value {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #DAA520;
    font-family: 'Orbitron', sans-serif;
}

.count-label {
    display: block;
    font-size: 0.6rem;
    color: #666;
    text-transform: uppercase;
}

/* Referral Section */
.referral-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.1));
}

.referral-input-group {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem auto;
    align-items: stretch;
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
}

.referral-input {
    flex: 1;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px 0 0 8px;
    font-size: 0.8rem;
    color: #333;
    min-width: 200px;
    text-align: left;
    white-space: nowrap;
    overflow-x: auto;
}

.copy-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(45deg, #4a90e2, #357abd);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 600;
}

.gift-nodes-btn {
    padding: 0.5rem 0.8rem;
    background: linear-gradient(45deg, #d946ef, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.gift-nodes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 70, 239, 0.4);
}

.copy-btn:hover {
    background: linear-gradient(45deg, #357abd, #2968a8);
    transform: translateY(-1px);
    color: #000;
}

.connect-message {
    text-align: center;
    padding: 0.8rem;
    color: #999;
    font-size: 0.85rem;
}

.referral-hint {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.5rem;
}

@media (max-width: 576px) {
    .unified-dashboard-card {
        padding: 0.8rem;
    }
    
    .dashboard-section {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .balance-display {
        font-size: 1.5rem;
    }
    
    .count-value {
        font-size: 1rem;
    }
    
    .referral-input {
        font-size: 0.65rem;
        padding: 0.4rem;
        min-width: 150px;
        overflow-x: auto;
    }
    
    .copy-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .gift-nodes-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Combined Trading Section */
.combined-trading-section {
    padding: 1rem 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

/* Mobile Trading Container */
.mobile-trading-container {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 1rem;
}

.mobile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-section-header h5 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.scroll-hint {
    font-size: 0.75rem;
    color: #666;
    animation: pulse 2s infinite;
}

/* Mobile Nodes Scroll */
.mobile-nodes-scroll {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-node-card-compact {
    flex: 0 0 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    scroll-snap-align: center;
}

.node-title {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.node-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #DAA520;
    margin-bottom: 0.5rem;
}

.node-btn-compact {
    width: 100%;
    padding: 0.5rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 6px;
    color: #000;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
}

/* Mobile Swap Section */
.mobile-swap-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.8rem;
}

.pool-stats-mini {
    display: flex;
    gap: 0.3rem;
}

.pool-stats-mini .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
}

.swap-widget-compact {
    margin-top: 1rem;
}

.swap-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.token-input, .token-output {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.5rem;
}

.token-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.token-badge img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.wu-badge {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: bold;
    color: #000;
}

.token-input input, .token-output input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    text-align: center;
    outline: none;
}

.swap-icon {
    color: #DAA520;
    font-size: 1.2rem;
    padding: 0.3rem;
}

.swap-btn-full {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Desktop Styles */
.nodes-desktop-container, .swap-desktop-container {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
}

.section-title-compact {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nodes-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.node-card-desktop {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(218, 165, 32, 0.15);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.node-card-desktop.featured {
    border-color: #DAA520;
    background: rgba(218, 165, 32, 0.1);
}

.node-card-desktop:hover {
    transform: translateY(-3px);
    border-color: #DAA520;
}

.node-header h5 {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

.node-price-tag {
    font-size: 1.5rem;
    font-weight: bold;
    color: #DAA520;
    margin: 0.5rem 0;
}

.purchase-btn {
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 6px;
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchase-btn:hover {
    transform: scale(1.05);
}

/* Desktop Swap Styles */
.pool-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.swap-form-desktop {
    padding: 1rem;
}

.input-group-desktop {
    margin-bottom: 1rem;
}

.input-group-desktop label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.3rem;
    display: block;
}

.token-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.token-select img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.wu-token-badge {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
    color: #000;
}

.input-group-desktop input {
    width: 100%;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 1rem;
}

.swap-arrow-desktop {
    text-align: center;
    color: #DAA520;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.swap-execute-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swap-execute-btn:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .mobile-node-card-compact {
        flex: 0 0 120px;
    }
    
    .node-price {
        font-size: 1.1rem;
    }
}

/* Compact Swap Card for Mobile */
.compact-swap-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.compact-swap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-swap-header h5 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.pool-info-badge {
    display: flex;
    gap: 0.3rem;
}

.pool-info-badge .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* 🔧 MOBILE POOL INFO: 完整的移动端池子信息样式 */
.mobile-pool-info-detailed {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 10px;
    padding: 0.8rem;
}

.mobile-pool-info-detailed .pool-info-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mobile-pool-info-detailed .pool-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mobile-pool-info-detailed .pool-label {
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 500;
}

.mobile-pool-info-detailed .pool-value {
    font-size: 0.75rem;
    color: #DAA520;
    font-weight: 600;
    text-align: right;
}

/* Horizontal Swap Container */
.horizontal-swap-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.swap-token-box {
    flex: 1;
    text-align: center;
}

.token-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #ccc;
}

.token-icon-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.wu-icon-mini {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
    color: #000;
}

.compact-input {
    width: 100%;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.3rem;
}

.compact-input:focus {
    outline: none;
    border-color: #DAA520;
    background: rgba(255, 255, 255, 0.1);
}

.balance-text-small {
    font-size: 0.65rem;
    color: #999;
}

.swap-arrow-horizontal {
    padding: 0.5rem;
    color: #DAA520;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

/* Compact Action Section */
.compact-action-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.compact-swap-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compact-swap-btn:active {
    transform: scale(0.98);
}

.auto-donate-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 8px;
}

.auto-donate-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auto-donate-toggle label {
    margin: 0;
    font-size: 0.85rem;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.auto-donate-toggle label i {
    color: #DAA520;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .compact-swap-card {
        padding: 0.8rem;
    }
    
    .horizontal-swap-container {
        padding: 0.6rem;
        gap: 0.3rem;
    }
    
    .swap-token-box {
        padding: 0.3rem;
    }
    
    .compact-input {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    
    .swap-arrow-horizontal {
        font-size: 1rem;
        padding: 0.3rem;
    }
}

/* Hero Visual Container */
.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Content Container */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Referral Section on Homepage */
.referral-section {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.referral-banner {
    padding: 2rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 15px;
}

.referral-banner h3 {
    color: #fff;
    font-weight: bold;
}

.referral-banner p {
    color: #999;
    font-size: 1.1rem;
}

.referral-link-wrapper .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: #fff;
    text-align: center;
}

.referral-link-wrapper .btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    font-weight: 600;
}

/* Modern Node Card Styles */
.account-balance-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(218, 165, 32, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.balance-label {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-toggle {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px;
    border-radius: 20px;
}

.toggle-option {
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.3s ease;
}

.toggle-option.active {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #000;
    font-weight: 600;
}

.balance-amount {
    text-align: center;
    margin: 1.5rem 0;
}

.balance-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', monospace;
}

.wallet-info-display {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    color: #888;
    font-size: 0.9rem;
}

/* Modern Node Cards */
.modern-node-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(218, 165, 32, 0.2);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.modern-node-card.featured {
    border: 2px solid #DAA520;
    box-shadow: 0 0 40px rgba(218, 165, 32, 0.4);
    background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%);
    transform: scale(1.05);
}

.modern-node-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: #DAA520;
}

.node-header-modern {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    margin-bottom: 1rem;
}

.node-name {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.node-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency-symbol {
    font-size: 1.4rem;
    color: #DAA520;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(218, 165, 32, 0.5);
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.node-stats {
    flex: 1;
    padding: 1rem 0;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row.highlight {
    background: rgba(218, 165, 32, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.stat-icon {
    font-size: 1.2rem;
}

.stat-label {
    color: #aaa;
    font-size: 0.9rem;
    flex: 1;
}

.stat-row.highlight .stat-label {
    color: #DAA520;
    font-weight: 600;
}

.node-progress {
    margin: 1.5rem 0;
}

.progress-bar-modern {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #DAA520, #FFD700);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.availability-text {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.purchase-btn-modern {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 3px 10px rgba(218, 165, 32, 0.3);
    text-transform: uppercase;
}

.purchase-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
}

.purchase-btn-modern:active {
    transform: translateY(0);
}

/* Transaction & Earnings Cards */
.transaction-card,
.earnings-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #333;
    margin-bottom: 1.5rem;
    height: 100%;
}

.transaction-header,
.earnings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.transaction-title,
.earnings-title {
    color: #DAA520;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.view-all-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #DAA520;
}

.transaction-list {
    max-height: 300px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.transaction-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.transaction-type {
    color: #fff;
    font-size: 0.95rem;
}

.transaction-time {
    color: #666;
    font-size: 0.8rem;
}

.transaction-amount {
    font-weight: 600;
    font-size: 1rem;
}

.transaction-amount.positive {
    color: #4ade80;
}

.transaction-amount.negative {
    color: #f87171;
}

.earnings-content {
    padding: 1rem 0;
}

.earnings-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-name {
    color: #888;
    font-size: 0.9rem;
}

.stat-value {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.earnings-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-top: 1rem;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.total-label {
    color: #DAA520;
    font-weight: 600;
    font-size: 1rem;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Input Card with Slider */
.input-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #333;
    margin-bottom: 1.5rem;
}

.input-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.input-title {
    color: #DAA520;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.amount-input-group {
    margin-bottom: 2rem;
}

.input-label {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.slider-container {
    position: relative;
    margin: 2rem 0;
}

.amount-slider {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #DAA520 0%, #FFD700 100%);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.amount-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #DAA520;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.5);
}

.amount-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #DAA520;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.5);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.8rem;
}

.amount-display {
    text-align: center;
    margin: 2rem 0;
}

.amount-prefix,
.amount-suffix {
    color: #888;
    font-size: 1.5rem;
}

.amount-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0.5rem;
}

.quick-amounts {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.quick-amount-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(218, 165, 32, 0.1);
    border: 1px solid #DAA520;
    border-radius: 12px;
    color: #DAA520;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-amount-btn:hover {
    background: rgba(218, 165, 32, 0.2);
    transform: translateY(-2px);
}

.purchase-btn-slider {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchase-btn-slider:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
}

/* Donation Pool / Swap Section */
.donation-pool-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 3rem 0;
}

.pool-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(218, 165, 32, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    margin: 0 auto;
}

.pool-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.pool-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.pool-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-label {
    color: #888;
    font-size: 0.85rem;
}

.stat-value {
    color: #DAA520;
    font-weight: 600;
    font-size: 0.85rem;
}

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

.swap-input-group {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(218, 165, 32, 0.15);
    transition: border-color 0.3s ease;
}

.swap-input-group:hover {
    border-color: rgba(218, 165, 32, 0.3);
}

.swap-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.balance-info {
    text-align: right;
}

.token-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.wu-token-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 0.8rem;
}

.swap-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    outline: none;
    padding: 0.5rem 0;
    text-align: right;
}

.swap-input::placeholder {
    color: #666;
}

.input-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #888;
}

.balance-text, .price-text {
    color: #888;
    font-size: 0.8rem;
}

.swap-arrow {
    text-align: center;
    margin: 0.3rem 0;
    color: #DAA520;
    font-size: 1.2rem;
}

/* Swap Button Styles */
.swap-button {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.swap-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.swap-button:active {
    transform: translateY(0);
}

/* Donation Toggle */
.donation-toggle {
    text-align: center;
    margin-top: 0.8rem;
    padding: 0.5rem;
    background: rgba(218, 165, 32, 0.05);
    border-radius: 10px;
}

.donation-toggle .form-check {
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-toggle .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    background-color: rgba(218, 165, 32, 0.1);
    border-color: rgba(218, 165, 32, 0.3);
}

.donation-toggle .form-check-input:checked {
    background-color: #DAA520;
    border-color: #DAA520;
}

.donation-toggle .form-check-label {
    color: #aaa;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Simplified Swap Section */
.simplified-swap-section {
    margin-top: 1rem;
}

.price-impact-container {
    background: rgba(218, 165, 32, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.impact-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.impact-row:last-child {
    border-bottom: none;
}

.impact-label {
    color: #888;
    font-size: 0.9rem;
}

.impact-value {
    color: #DAA520;
    font-weight: 600;
}

.pool-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.pool-info h5 {
    color: #DAA520;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

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

.pool-stat {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.swap-actions {
    display: flex;
    gap: 0.5rem;
}

.swap-button {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

/* Donation Toggle Styles */
.donation-toggle {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(218, 165, 32, 0.2);
    margin-top: 1rem;
}

.donation-toggle .form-check-label {
    color: #DAA520;
    font-weight: 500;
    cursor: pointer;
}

.donation-toggle small {
    color: #888;
    font-size: 0.85rem;
}

/* Simplified Swap Section */
.simplified-swap-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(218, 165, 32, 0.3);
    text-align: center;
}

.simplified-swap-section .swap-button {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
    margin-bottom: 1rem;
}

.simplified-swap-section .donation-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.simplified-swap-section .form-check-label {
    font-size: 1rem;
    color: #DAA520;
}

.swap-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.4);
}

.swap-donate-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 50%, #f1c40f 100%);
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.swap-donate-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e67e22 50%, #f39c12 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.swap-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Professional Data Panel Styles */
.swap-data-panel {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

/* Wallet Balance Section */
.wallet-balance-section {
    background: rgba(40, 40, 40, 0.9);
    border-radius: 10px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.balance-item {
    display: flex;
    flex-direction: column;
}

.balance-label {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.balance-amount {
    color: #f5a623;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #f5a623;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    color: #fff;
    font-weight: 600;
}

.wallet-address-display {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-label {
    color: #888;
    font-size: 0.85rem;
}

.address-value {
    color: #f5a623;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

/* Referral Stats Section */
.referral-stats-section {
    background: rgba(35, 35, 35, 0.9);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 166, 35, 0.15);
}

.section-title {
    color: #f5a623;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

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

.referral-item {
    padding: 0.75rem;
    background: rgba(40, 40, 40, 0.5);
    border-radius: 8px;
    text-align: center;
}

.ref-label {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.ref-value {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

/* Donation Pool Section */
.donation-pool-section {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), rgba(245, 166, 35, 0.05));
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.donation-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.donation-item {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.donation-item.main-stat {
    background: rgba(245, 166, 35, 0.05);
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.donation-label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.donation-value {
    display: block;
    color: #f5a623;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}

/* Top Summary Section */
.swap-summary-section {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.summary-label {
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
}

.summary-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.impact-color {
    color: #ef4444 !important;
}

/* Pool Information Section */
.pool-info-section {
    background: rgba(25, 25, 25, 0.9);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(245, 166, 35, 0.15);
}

.pool-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pool-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pool-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.75rem;
    background: rgba(40, 40, 40, 0.4);
    border-radius: 8px;
    transition: background 0.2s;
}

.pool-detail-row:hover {
    background: rgba(245, 166, 35, 0.05);
}

.detail-label {
    color: #888;
    font-size: 0.85rem;
    font-weight: 400;
}

.detail-value {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Roboto Mono', monospace;
}

/* Mobile Responsive for Modern Cards */
@media (max-width: 768px) {
    .account-balance-card {
        padding: 1rem;
    }
    
    .balance-value {
        font-size: 2rem;
    }
    
    .modern-node-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .node-price-display .price-value {
        font-size: 1.8rem;
    }
    
    .stat-row {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .purchase-btn-modern {
        font-size: 0.8rem;
        padding: 0.875rem;
    }
    
    .transaction-card,
    .earnings-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .transaction-item {
        padding: 0.75rem 0;
    }
    
    .transaction-type {
        font-size: 0.85rem;
    }
    
    .transaction-amount {
        font-size: 0.9rem;
    }
    
    .earnings-stat {
        padding: 0.5rem 0;
    }
    
    .stat-name,
    .stat-value {
        font-size: 0.85rem;
    }
    
    .total-value {
        font-size: 1.2rem;
    }
    
    .input-card {
        padding: 1rem;
    }
    
    .amount-value {
        font-size: 2rem;
    }
    
    .quick-amounts {
        gap: 0.5rem;
    }
    
    .quick-amount-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .purchase-btn-slider {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Fix overlapping sections */
    section {
        position: relative;
        z-index: 1 !important;
        overflow: visible;
        margin-bottom: 0;
    }
    
    /* Nodes Section fixes */
    .nodes-section {
        padding: 1rem 0;
        margin-top: 0;
        background: rgba(26, 26, 26, 0.95);
    }
    
    .nodes-section h2 {
        font-size: 1.5rem !important;
    }
    
    .nodes-section p {
        font-size: 0.9rem !important;
    }
    
    /* Countdown timer mobile layout */
    .countdown-timer {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .countdown-item {
        padding: 0.5rem;
        min-width: 60px;
    }
    
    .countdown-value {
        font-size: 1.2rem !important;
    }
    
    .countdown-label {
        font-size: 0.7rem !important;
    }
    
    /* Node cards mobile */
    .node-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .node-card h4 {
        font-size: 1.2rem !important;
    }
    
    .node-price {
        font-size: 1.5rem !important;
    }
    
    .node-benefit {
        font-size: 0.85rem !important;
    }
    
    /* Features section mobile */
    .features-section {
        padding: 2rem 0;
    }
    
    .feature-card h4 {
        font-size: 1.2rem !important;
    }
    
    .feature-card p {
        font-size: 0.9rem !important;
    }
    
    .feature-list li {
        font-size: 0.85rem !important;
    }
    
    /* Tokenomics section mobile */
    .tokenomics-section {
        padding: 2rem 0;
    }
    
    .tokenomics-section h3 {
        font-size: 1.3rem !important;
    }
    
    .tokenomics-section h4 {
        font-size: 1.1rem !important;
    }
    
    .tokenomics-section p {
        font-size: 0.9rem !important;
    }
    
    /* Token distribution text */
    .tokenomics-section .col-lg-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Global heading fixes */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Button sizes */
    .futuristic-btn,
    .futuristic-btn-outline {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Node plan box */
    .wu-ecosystem-box {
        padding: 1rem !important;
    }
    
    .wu-ecosystem-box h3 {
        font-size: 1.2rem !important;
    }
    
    /* Referral section */
    .referral-banner h3 {
        font-size: 1.3rem !important;
    }
    
    .referral-banner p {
        font-size: 0.9rem !important;
    }
    
    /* Smart nodes title */
    .nodes-section .glow-text {
        font-size: 2rem !important;
    }
    
    /* Fix any remaining large text */
    p {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    
    /* Ensure proper spacing between sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Team stats mobile */
    .team-stat-item .stat-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .team-stat-item .stat-content h4 {
        font-size: 1.2rem !important;
    }
    
    /* WU Ecosystem Node Plan box */
    .balance-card {
        padding: 1rem !important;
    }
    
    .balance-card h5 {
        font-size: 1.1rem !important;
    }
    
    .balance-card div {
        font-size: 0.9rem !important;
    }
    
    /* Fix navbar mobile */
    .navbar-brand .brand-text {
        font-size: 1.2rem !important;
    }
    
    /* Fix node card title spacing */
    .node-title {
        font-size: 1.2rem !important;
    }
    
    /* Node features items */
    .node-features .feature-item {
        font-size: 0.85rem !important;
    }
    
    .node-features .feature-item i {
        font-size: 0.9rem !important;
    }
}

/* Enhanced Mobile Optimization for Better Touch Experience */
@media (max-width: 768px) {
    /* Improve navbar for mobile */
    .futuristic-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.1rem !important;
        padding: 0.8rem 1rem !important;
        text-align: center;
    }
    
    .navbar-nav .nav-link i {
        font-size: 1.2rem !important;
        margin-right: 0.5rem !important;
    }
    
    /* Language dropdown mobile optimization */
    .dropdown .btn {
        font-size: 0.95rem !important;
        padding: 0.6rem 1rem !important;
        min-width: 120px;
    }
    
    .dropdown-menu {
        font-size: 1rem !important;
        min-width: 150px !important;
    }
    
    .dropdown-item {
        padding: 0.8rem 1rem !important;
        font-size: 1rem !important;
    }
    
    /* Wallet button mobile optimization */
    #connectWalletBtn {
        font-size: 0.9rem !important;
        padding: 0.6rem 1rem !important;
        min-height: 44px; /* iOS recommended minimum touch target */
    }
    
    #walletInfo {
        font-size: 0.85rem !important;
    }
    
    .wallet-address {
        font-size: 0.8rem !important;
    }
    
    /* Main content padding for mobile */
    .main-content {
        /* padding-top: 60px !important; /* Account for mobile navbar */ */
    }
    
    /* Container padding for mobile */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Card spacing and sizing for mobile */
    .card {
        margin-bottom: 1.5rem !important;
    }
    
    .card-header {
        padding: 1rem !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    /* Button improvements for mobile touch */
    .btn {
        min-height: 44px;
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .btn-sm {
        min-height: 38px;
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    .btn-lg {
        min-height: 50px;
        font-size: 1.1rem !important;
        padding: 1rem 2rem !important;
    }
    
    /* Input fields for mobile */
    .form-control {
        font-size: 1rem !important;
        padding: 0.75rem !important;
        min-height: 44px;
    }
    
    /* Typography adjustments for mobile */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    h4 {
        font-size: 1.25rem !important;
    }
    
    h5 {
        font-size: 1.1rem !important;
    }
    
    /* Section padding for mobile */
    section {
        padding: 2rem 0 !important;
    }
    
    /* Grid system improvements for mobile */
    .row {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }
    
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-auto, .col-sm, .col-sm-1, .col-sm-2, .col-sm-3,
    .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8,
    .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
    .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4,
    .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
    .col-md-10, .col-md-11, .col-md-12, .col-lg,
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5,
    .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10,
    .col-lg-11, .col-lg-12, .col-xl, .col-xl-1, .col-xl-2,
    .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7,
    .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Improve table responsiveness */
    .table-responsive {
        border: none;
    }
    
    .table {
        font-size: 0.9rem !important;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem !important;
    }
}

/* Global text-muted style */
.text-muted {
    color: #aaa !important;
}

/* Mobile Touch Optimization */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .card:hover,
    .nav-link:hover {
        transform: none !important;
    }
    
    /* Increase touch targets */
    .btn,
    .form-control,
    .dropdown-toggle,
    .nav-link {
        min-height: 44px;
    }
    
    /* Improve spacing for finger navigation */
    .nav-item {
        margin-bottom: 0.25rem;
    }
    
    /* Better contrast for readability */
    .text-muted {
        color: #aaa !important;
    }
}

/* Extra Small Devices (phones in portrait) */
@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .card {
        border-radius: 8px !important;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
    
    /* Stack elements vertically on very small screens */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Wallet controls stack vertically */
    .navbar .dropdown,
    #connectWalletBtn,
    #walletInfo {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .dropdown .btn {
        width: 100%;
    }
    
    /* Typography for very small screens */
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .brand-text {
        font-size: 1.1rem !important;
    }
}

/* Mobile Performance Optimizations */
.fade-in-simple {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.3s ease;
}

/* Performance optimizations for mobile devices */
@media (max-width: 768px) {
    /* Disable heavy animations on mobile for better performance */
    *, *::before, *::after {
        animation-duration: 0.3s !important;
        animation-delay: 0s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Remove particle effects on mobile */
    .particle-container {
        display: none !important;
    }
    
    /* Disable background animations */
    body::before {
        animation: none !important;
    }
    
    /* Reduce glow effects for better performance */
    .glow-text {
        animation: none !important;
        text-shadow: 0 0 10px rgba(74, 144, 226, 0.3) !important;
    }
    
    /* Optimize font rendering */
    body {
        font-smooth: never;
        -webkit-font-smoothing: subpixel-antialiased;
        text-rendering: optimizeSpeed;
    }
    
    /* Fast scrolling performance */
    .navbar {
        transition: transform 0.2s ease !important;
    }
    
    /* Reduce margin for mobile */
    .main-content {
        margin-top: 56px !important;
    }
}

/* Mobile Wallet Quick Connect Area */

/* Quick Referral Action Styles */
.quick-action-section {
    margin: 1.5rem 0;
}

.referral-quick-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.referral-quick-btn:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: white !important;
}

.referral-quick-btn i.fa-chevron-right {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Adjust main content for mobile */
@media (max-width: 767px) {
    .main-content {
        margin-top: 56px !important; /* Standard navbar height */
    }
    
    .nodes-section {
        margin-top: 0 !important;
    }
    
    /* Ensure navbar toggle button is always on top */
    .navbar-toggler {
        z-index: 9999 !important;
        position: relative;
    }
}

/* Rewards Section Styles */
.rewards-section {
    margin-top: 1.5rem;
}

.rewards-row {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 10px;
}

.reward-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.reward-label {
    color: var(--text-light);
    font-weight: 600;
    min-width: 140px;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reward-value {
    color: var(--secondary-color);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    flex: 1;
    text-align: center;
}

.claim-btn {
    border: 1px solid var(--success-color);
    color: var(--success-color);
    background: rgba(126, 211, 33, 0.1);
    min-width: 80px;
    flex-shrink: 0;
}

.claim-btn:hover {
    background: var(--success-color);
    color: white;
}

/* Fix for Chinese text wrapping issues */
@media (max-width: 768px) {
    .reward-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .reward-label {
        min-width: auto;
        text-align: center;
        white-space: normal;
        word-break: keep-all;
        line-height: 1.4;
    }
    
    .reward-value {
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .claim-btn {
        min-width: auto;
        width: 100%;
    }
}


/* Mobile Wallet Fix - Prevent blocking menu button */
@media (max-width: 768px) {
    .mobile-wallet-area {
        z-index: 400 !important;
        right: 110px !important;
        max-width: calc(100% - 130px) !important;
    }
    
    .wallet-modal {
        z-index: 1020 !important;
    }
    
    /* Hide wallet area when collapsed menu is open */
    .navbar-collapse.show ~ .mobile-wallet-area {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .mobile-wallet-area {
        right: 120px !important;
        max-width: calc(100% - 140px) !important;
        font-size: 0.85rem;
    }
    
    .mobile-wallet-card {
        padding: 0.75rem !important;
        margin: 0 0.5rem !important;
    }
}

/* Ensure navbar toggle is always on top */
.navbar-toggler {
    z-index: 10000 !important;
    position: relative !important;
}

/* Wallet connected state - make it smaller */
.mobile-wallet-area.wallet-connected {
    padding: 0.5rem 0;
}

.mobile-wallet-area.wallet-connected .mobile-wallet-card {
    padding: 0.5rem 0.75rem;
}

/* ========================================
   Mobile-First Optimized Design
   Inspired by Modern Mobile UX
   ======================================== */

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    /* Clean Mobile Typography */
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Optimized Container Spacing */
    .container,
    .container-fluid {
        padding: 0 12px;
    }
    
    /* Streamlined Mobile Header */
    .futuristic-nav {
        padding: 8px 0;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    /* Clean Card Design */
    .pool-card {
        background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
        border-radius: 16px;
        padding: 1rem;
        margin: 0 auto 1rem;
        border: 1px solid rgba(218, 165, 32, 0.15);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        max-width: 100%;
    }
    
    .modern-node-card,
    .node-card {
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 12px;
        min-height: auto;
    }
    
    /* Touch-Optimized Inputs */
    .swap-input-group {
        background: rgba(30, 30, 30, 0.95);
        border-radius: 14px;
        padding: 0.8rem;
        margin-bottom: 0.5rem;
        border: 1px solid rgba(218, 165, 32, 0.1);
    }
    
    .swap-input-header {
        margin-bottom: 0.5rem;
    }
    
    .swap-input {
        font-size: 1.3rem;
        font-weight: 600;
        padding: 0.3rem 0;
        min-height: 36px;
        text-align: right;
    }
    
    .swap-input::placeholder {
        font-size: 1rem;
    }
    
    /* Large Touch-Friendly Buttons */
    .purchase-btn-modern,
    .futuristic-btn {
        min-height: 48px;
        padding: 14px 20px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 10px;
        width: 100%;
        margin-top: 10px;
        box-shadow: 0 3px 10px rgba(218, 165, 32, 0.25);
    }
    
    .swap-button {
        min-height: 44px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 10px;
        width: 100%;
        margin-top: 0.6rem;
    }
    
    .donation-toggle {
        margin-top: 0.6rem;
        padding: 0.4rem;
    }
    
    .donation-toggle .form-check-label {
        font-size: 0.8rem;
    }
    
    /* Compact Token Display */
    .token-label {
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .token-icon,
    .wu-token-icon {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
    
    .balance-text, .price-text {
        font-size: 0.75rem;
    }
    
    .stat-item {
        padding: 0.4rem 0;
    }
    
    .stat-label, .stat-value {
        font-size: 0.8rem;
    }
    
    /* Clean Pool Header */
    .pool-header {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .pool-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    /* Mobile Stats Layout */
    .pool-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.03);
        padding: 10px;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Compact Balance Display */
    .wallet-balance-section {
        background: rgba(30, 30, 30, 0.95);
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .balance-amount {
        font-size: 1.5rem;
    }
    
    /* Mobile Price Display */
    .node-name {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .price-value {
        font-size: 1.6rem;
    }
    
    .currency-symbol {
        font-size: 1.2rem;
    }
    
    /* Compact Countdown */
    .countdown-timer {
        gap: 8px;
        margin-top: 12px;
    }
    
    .countdown-item {
        min-width: 55px;
        padding: 6px;
        border-radius: 6px;
    }
    
    .countdown-value {
        font-size: 1.3rem;
    }
    
    /* Optimized Sections */
    section {
        padding: 1.5rem 0;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Hide Decorative Elements */
    .particle,
    .floating-particle,
    .orbit-ring {
        display: none;
    }
    
    /* Smooth Scrolling */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .main-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding: 0 10px;
    }
    
    .pool-card {
        padding: 0.8rem;
        border-radius: 14px;
    }
    
    .swap-input {
        font-size: 1.1rem;
    }
    
    .swap-input-group {
        padding: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .pool-header {
        padding-bottom: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .pool-title {
        font-size: 1rem;
    }
    
    .purchase-btn-modern {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .swap-button {
        padding: 0.7rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .price-value {
        font-size: 1.4rem;
    }
    
    .pool-title {
        font-size: 1.1rem;
    }
}

/* Pure Touch Devices */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects */
    .purchase-btn-modern:hover,
    .swap-button:hover,
    .node-card:hover {
        transform: none !important;
    }
    
    /* Active touch feedback */
    .purchase-btn-modern:active,
    .swap-button:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Mobile top padding for fixed nav */
@media (max-width: 991px) {
    .nodes-section,
    .team-section,
    .donation-section,
    .chart-section {
        padding-top: 70px !important;
    }
}

/* Mobile Menu Offcanvas Styles */
.offcanvas {
    background: rgba(26, 26, 26, 0.98);
    border-left: 1px solid rgba(74, 144, 226, 0.3);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    color: #fff;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: rgba(74, 144, 226, 0.2);
    color: var(--primary-color);
    text-decoration: none;
}

#mobileMenu .wallet-info {
    background: rgba(74, 144, 226, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
}

#mobileMenu .wallet-address {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Wallet Connection Banner */
.wallet-connection-banner {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(218, 165, 32, 0.15) 100%);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 15px;
    margin-top: 70px;
    margin-bottom: 20px;
    animation: bannerGlow 3s ease-in-out infinite;
}

@keyframes bannerGlow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
        border-color: rgba(255, 193, 7, 0.5);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 193, 7, 0.4);
        border-color: rgba(255, 193, 7, 0.8);
    }
}

.wallet-connect-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(40, 40, 40, 0.95) 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 193, 7, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 193, 7, 0.1);
}

.wallet-connect-icon {
    color: #FFD700;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes pulse {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    50% { 
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
    100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
}

.wallet-connect-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.wallet-connect-subtitle {
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.wallet-connect-btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
    animation: buttonPulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6);
    }
}

.wallet-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.5);
    background: linear-gradient(45deg, #FFD700, #DAA520);
}

.supported-wallets {
    margin-top: 1.5rem;
    color: #666;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .wallet-connect-card {
        padding: 2rem 1rem;
    }
    
    .wallet-connect-title {
        font-size: 1.5rem;
    }
    
    .wallet-connect-subtitle {
        font-size: 1rem;
    }
    
    .wallet-connect-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .wallet-connect-icon i {
        font-size: 2.5rem !important;
    }
}

/* Mobile Menu Wallet Info Styles */
.wallet-info-mobile {
    background: rgba(74, 144, 226, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.wallet-details-mobile {
    width: 100%;
}

.wallet-address-mobile {
    font-size: 0.85rem;
    color: #DAA520;
    font-family: monospace;
}

#mobileMenu .dropdown-menu {
    position: absolute !important;
    z-index: 9999 !important;
    max-height: 300px;
    overflow-y: auto;
}

#mobileMenu .dropdown-toggle {
    position: relative;
    z-index: 1;
}

/* Ensure proper spacing in mobile menu */
#mobileMenu .list-unstyled > li {
    position: relative;
}

#mobileMenu hr {
    margin: 0.5rem 0;
    opacity: 0.3;
}

/* Stats Grid with Wallet Layout */
.stats-grid-with-wallet {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.stats-grid-with-wallet .stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* Wallet Status Card in Team Page */
.wallet-status-card {
    min-width: 200px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wallet-connect-compact {
    text-align: center;
}

.btn-connect-team {
    background: linear-gradient(45deg, #DAA520, #FFD700);
    color: #1a1a1a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-connect-team:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.wallet-info-team {
    text-align: center;
}

.wallet-badge {
    display: inline-block;
    background: #4A90E2;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wallet-addr-team {
    color: #DAA520;
    font-family: monospace;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.btn-disconnect-team {
    background: transparent;
    color: #ff4444;
    border: 1px solid #ff4444;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-disconnect-team:hover {
    background: rgba(255, 68, 68, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .stats-grid-with-wallet {
        flex-direction: column;
    }
    
    .stats-grid-with-wallet .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wallet-status-card {
        width: 100%;
        min-width: unset;
        padding: 0.75rem;
    }
}

/* Extra small mobile responsive (375px and below) */
@media (max-width: 375px) {
    .stats-grid-with-wallet .stats-grid {
        gap: 0.5rem;
    }
    
    .stats-grid-with-wallet .stats-grid .stat-item {
        padding: 0.75rem 0.5rem;
        min-width: auto;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stats-grid-with-wallet .stats-grid .stat-item i {
        font-size: 1.2rem;
    }
    
    .stats-grid-with-wallet .stats-grid .stat-info {
        width: 100%;
    }
    
    .stats-grid-with-wallet .stats-grid .stat-value {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .stats-grid-with-wallet .stats-grid .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .wallet-status-card {
        padding: 0.5rem;
    }
}

/* Header Wallet Status Styles */
.section-header-with-wallet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header-with-wallet .section-header {
    flex: 1;
    margin-bottom: 0;
}

.header-wallet-status {
    display: flex;
    align-items: center;
}

.header-connect-btn {
    background: linear-gradient(45deg, #DAA520, #FFD700);
    color: #1a1a1a;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-connect-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
}

.header-wallet-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    background: rgba(74, 144, 226, 0.1);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.header-network {
    background: #4A90E2;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.header-address {
    color: #DAA520;
    font-family: monospace;
    font-size: 0.8rem;
}

.header-disconnect {
    background: transparent;
    border: none;
    color: #ff4444;
    cursor: pointer;
    padding: 0.2rem;
    transition: opacity 0.3s ease;
}

.header-disconnect:hover {
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-header-with-wallet {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .header-wallet-status {
        justify-content: center;
    }
    
    .header-wallet-info {
        width: 100%;
        justify-content: center;
    }
}

/* Swap Action Links Styles */
.swap-action-links,
.swap-action-links-desktop {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
}

.swap-link-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #DAA520;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(218, 165, 32, 0.3);
}

.swap-link-icon:hover {
    color: #FFD700;
    background: rgba(218, 165, 32, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
}

.swap-link-icon i {
    font-size: 1.5rem;
}

.swap-link-icon span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .swap-action-links {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .swap-link-icon {
        padding: 0.5rem 1rem;
    }
    
    .swap-link-icon i {
        font-size: 1.25rem;
    }
    
    .swap-link-icon span {
        font-size: 0.75rem;
    }
}

/* Owned Nodes Section Styles */
.owned-nodes-section {
    margin-bottom: 2rem;
}

.owned-node-card {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(218, 165, 32, 0.1));
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.owned-node-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
    border-color: rgba(218, 165, 32, 0.5);
}

.owned-node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(218, 165, 32, 0.2);
}

.owned-node-header h5 {
    color: #DAA520;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.owned-node-info {
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

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

.info-row span:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.info-row span:last-child {
    font-weight: 600;
    color: #DAA520;
}

.text-purple {
    color: #9370DB !important;
}

/* Progress Bar Styling */
.owned-node-card .progress {
    height: 25px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: visible;
}

.owned-node-card .progress-bar {
    background: linear-gradient(90deg, #4A90E2, #DAA520);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .owned-node-card {
        margin-bottom: 1rem;
    }
    
    .info-row {
        font-size: 0.85rem;
    }
}

/* Claim Button Styles */
.claim-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.claim-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.claim-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.claim-btn.btn-secondary {
    background: linear-gradient(135deg, #666, #999);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.claim-btn i {
    animation: pulse 2s infinite;
}

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

/* Wallet Balance Inline Styles */
.wallet-info-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wallet-balance-inline {
    background: rgba(218, 165, 32, 0.1);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    margin-top: 0.2rem;
    width: 100%;
    text-align: center;
}

.balance-value-inline {
    color: #DAA520;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

/* Remove old balance display */
.balance-display {
    display: none !important;
}

/* Adjust wallet info layout */
.header-wallet-status {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wallet-balance-inline {
        padding: 0.2rem 0.5rem;
        margin-top: 0.3rem;
    }
    
    .balance-value-inline {
        font-size: 1.5rem;
    }
    
    .wallet-info-top {
        gap: 0.5rem;
    }
    
    /* 移动端上级地址显示优化 */
    .referrer-display {
        word-break: break-all !important;
        overflow-wrap: break-word !important;
        text-align: left !important;
    }
    
    #currentReferrerAddress {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        word-break: break-all !important;
        display: block !important;
        margin-top: 4px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    .balance-value-inline {
        font-size: 1.3rem;
    }
    
    .wallet-balance-inline {
        padding: 0.2rem 0.4rem;
    }
}


/* === Mobile-Optimized Compact Node Cards === */
.nodes-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.node-item-compact {
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.95), rgba(0, 30, 60, 0.9));
    border: 1px solid #2a4a7a;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.node-item-compact:hover {
    border-color: #4a9eff;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.2);
    transform: translateY(-2px);
}

.node-summary {
    padding: 16px;
}

.node-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.node-title-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.node-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.badge-gifted-small {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #000;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    border: none;
}

.node-status-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.days-left {
    background: rgba(74, 158, 255, 0.2);
    color: #4a9eff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.toggle-arrow {
    color: #8b8b8b;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.toggle-arrow.rotated {
    transform: rotate(180deg);
}

.node-quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-item small {
    display: block;
    color: #8b8b8b;
    font-size: 0.7rem;
    margin-bottom: 2px;
}

.stat-item strong {
    color: #fff;
    font-size: 0.9rem;
}

/* === Expandable Details === */
.node-details-expanded {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.details-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, #4a9eff, transparent);
    margin: 0 16px;
}

.node-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.info-item i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.info-item span {
    color: #8b8b8b;
    font-size: 0.7rem;
    flex: 1;
}

.info-item strong {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.progress-section {
    padding: 12px 16px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.7rem;
    color: #8b8b8b;
}

.progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.3s ease;
}

.bg-gradient-success {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.claim-section {
    padding: 16px;
    text-align: center;
}

.btn-claim-mobile {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 8px;
}

.claim-notice {
    display: block;
    color: #8b8b8b;
    font-size: 0.7rem;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .node-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    
    .node-quick-stats {
        gap: 8px;
    }
    
    .stat-item strong {
        font-size: 0.8rem;
    }
    
    .info-item {
        padding: 6px;
    }
    
    .node-name {
        font-size: 1rem;
    }
    
    .days-left {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    /* 移动端推荐码区域优化 */
    .mobile-referral-section {
        margin-top: 20px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(255, 215, 0, 0.3);
    }
    
    .mobile-referral-section h6 {
        color: #ffd700;
        font-size: 16px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .mobile-referral-section .input-group {
        margin-bottom: 10px;
    }
    
    .mobile-referral-section input {
        font-size: 14px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 215, 0, 0.5);
        color: #ffd700;
    }
    
    .mobile-referral-section button {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    /* 移动端连接状态优化 */
    #connectWalletMessage {
        padding: 15px;
        background: rgba(255, 193, 7, 0.1);
        border: 1px solid rgba(255, 193, 7, 0.3);
        border-radius: 10px;
        text-align: center;
        color: #ffc107;
        font-size: 14px;
    }
    
    /* 移动端钱包连接按钮 */
    #connectWalletBtn {
        width: 100%;
        margin: 10px 0;
        padding: 12px;
        font-size: 16px;
        border-radius: 25px;
    }
    
    /* 移动端余额显示 */
    .mobile-balance-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-radius: 15px;
        padding: 15px;
        margin: 10px 0;
    }
    
    .mobile-balance-card h6 {
        color: #ffd700;
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .mobile-balance-card .balance-value {
        color: #00ff88;
        font-size: 18px;
        font-weight: bold;
    }
    
    /* 移动端邀请码区域特别优化 */
    #referralLinkSection {
        margin-top: 15px;
        border: 2px solid rgba(74, 144, 226, 0.4);
        background: rgba(74, 144, 226, 0.05);
        border-radius: 15px;
        padding: 15px;
        animation: pulse-referral 2s infinite;
    }
    
    @keyframes pulse-referral {
        0% { border-color: rgba(74, 144, 226, 0.4); }
        50% { border-color: rgba(74, 144, 226, 0.7); }
        100% { border-color: rgba(74, 144, 226, 0.4); }
    }
    
    #referralLinkInput {
        background: rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 215, 0, 0.5) !important;
        color: #ffd700 !important;
        font-size: 14px !important;
        padding: 12px !important;
        border-radius: 8px !important;
    }
    
    #copyBtn {
        border-radius: 8px !important;
        padding: 12px 15px !important;
        font-weight: 600 !important;
    }
}

/* 🎨 移动端捐赠池数据显示板优化样式 */
.donations-list-mobile-clean {
    background: rgba(13, 21, 35, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.15);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.donation-row-mobile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
    padding: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
}

.donation-row-mobile:last-child {
    border-bottom: none;
    border-radius: 0 0 20px 20px;
}

.donation-row-mobile:first-child {
    border-radius: 20px 20px 0 0;
}

.donation-row-mobile:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.08) 0%, rgba(255, 215, 0, 0.03) 100%);
    transform: translateX(2px);
}

.donation-main-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.donation-title-mobile {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.donation-title-mobile .investment-type {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.donation-title-mobile i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* 数据详情区域 */
.donation-details-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.detail-row {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    display: block;
    word-break: break-all;
}

/* 金额显示区域 */
.donation-amounts-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.amount-row {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%);
    border: 1px solid rgba(218, 165, 32, 0.15);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.amount-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(218, 165, 32, 0.3) 50%, transparent 100%);
}

.amount-label {
    font-size: 0.7rem;
    color: #b0b0b0;
    font-weight: 500;
    display: block;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wu-amount-mobile,
.claimed-amount-mobile {
    font-size: 0.85rem;
    font-weight: 700;
    color: #DAA520;
    font-family: 'Orbitron', monospace;
    display: block;
    word-break: break-all;
    line-height: 1.2;
}

.claimed-amount {
    color: #4ade80;
}

/* 加载状态样式 */
.loading-text {
    color: #666;
    font-style: italic;
    font-size: 0.8rem;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* 数据看板卡片优化 */
.data-dashboard-card {
    background: linear-gradient(135deg, rgba(13, 21, 35, 0.95) 0%, rgba(15, 25, 40, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.data-dashboard-card .card-header {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    padding: 1rem 1.2rem;
    border-radius: 20px 20px 0 0;
}

.data-dashboard-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* 响应式优化 */
@media (max-width: 480px) {
    .donation-row-mobile {
        padding: 1rem;
    }
    
    .donation-details-mobile {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .donation-amounts-mobile {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .detail-row,
    .amount-row {
        padding: 0.6rem;
    }
    
    .detail-value {
        font-size: 0.85rem;
    }
    
    .wu-amount-mobile,
    .claimed-amount-mobile {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .donations-list-mobile-clean {
        border-radius: 15px;
    }
    
    .donation-row-mobile {
        padding: 0.8rem;
    }
    
    .donation-main-info {
        gap: 0.6rem;
    }
    
    .detail-row,
    .amount-row {
        padding: 0.5rem;
    }
}
