body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.dashboard-header {
    margin-bottom: 40px;
    text-align: left;
    padding: 24px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.dashboard-header h1 {
    background: linear-gradient(135deg, #3b82f6, #06d6a0, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dashboard-header p {
    color: #94a3b8;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 400;
}

/* Card Base Styles - Screenshot Style */
.card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06d6a0, #f59e0b, #ef4444);
    opacity: 0.8;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

.card h3 {
    color: #f1f5f9;
    margin-top: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Metrics Grid - Enhanced */
.metrics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.metric-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06d6a0);
}

.metric-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
}

.card-total {
    background: linear-gradient(135deg, #1e293b, #334155, #1e293b);
    border-left: 4px solid #3b82f6;
    position: relative;
}

.card-total::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8);
    height: 4px;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 600;
}

.metric-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: #f1f5f9;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-value-small {
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-change {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.metric-change span {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* PROGRAM EARNINGS - Screenshot Style Boxes */
.program-earnings-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.program-earnings-box {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.program-earnings-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
}

.program-earnings-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.affiliate-box::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8);
}

.referral-box::before {
    background: linear-gradient(90deg, #06d6a0, #059669, #047857);
}

.loyalty-box::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed, #6d28d9);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.program-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.program-earnings-box:hover .program-icon {
    transform: scale(1.1) rotate(3deg);
}

.affiliate-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.referral-icon {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(6, 214, 160, 0.1));
    color: #06d6a0;
    border: 2px solid rgba(6, 214, 160, 0.4);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
}

.loyalty-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    color: #8b5cf6;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.program-title h3 {
    margin: 0 0 6px 0;
    color: #f1f5f9;
    font-size: 1.5rem;
    font-weight: 800;
    border: none;
    padding: 0;
}

.program-title p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}

/* EARNINGS TIME PERIODS - Card Style Like Screenshots */
.earnings-periods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.earnings-period-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.earnings-period-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.earnings-period-card:hover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.2);
}

.earnings-period-card:hover::before {
    opacity: 1;
}

.earnings-period-card.active {
    border-color: #06d6a0;
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.15), rgba(15, 23, 42, 0.8));
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.2);
}

.earnings-period-card.active::before {
    background: linear-gradient(90deg, transparent, #06d6a0, transparent);
    opacity: 1;
}

.period-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.period-label {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.period-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.earnings-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #06d6a0;
    line-height: 1;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(6, 214, 160, 0.3);
}

.earnings-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.earnings-details span:first-child {
    color: #94a3b8;
    font-weight: 500;
}

.earnings-details span:last-child {
    color: #f1f5f9;
    font-weight: 700;
}

/* PROGRAM STATS - Screenshot Style */
.program-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.4));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-box:hover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* PROGRAM ACTIONS */
.program-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

/* Dashboard Grid - Screenshot Style */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

.card-table {
    grid-column: 1 / -1;
}

.card-portfolio-performance {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.chart-area {
    height: 280px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 16px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.chart-placeholder {
    color: #94a3b8;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.balance-details {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-details p {
    margin: 0;
    color: #f1f5f9;
    font-weight: 600;
}

.card-tools {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tool-item {
    display: flex;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-item:hover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateX(6px) translateY(-2px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.2);
}

.tool-item:hover::before {
    opacity: 1;
}

.tool-item-sos {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(15, 23, 42, 0.8));
}

.tool-item i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border-radius: 12px;
    color: #3b82f6;
    flex-shrink: 0;
    font-style: normal;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.tool-info {
    flex-grow: 1;
    margin-right: 20px;
}

.tool-info h4 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    color: #f1f5f9;
    font-weight: 700;
}

.tool-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Positions Table - Screenshot Style */
.positions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.positions-table th,
.positions-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.positions-table th {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.positions-table tr:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(15, 23, 42, 0.5));
}

/* Buttons - Screenshot Style */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #334155, #475569);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569, #64748b);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.5);
}

.btn-tool {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-tool:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Color Classes - Enhanced */
.positive {
    color: #06d6a0 !important;
    text-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

.negative {
    color: #ef4444 !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.moderate {
    color: #f59e0b !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Full Width */
.full-width {
    grid-column: 1 / -1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .program-earnings-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 16px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-header h1 {
        font-size: 2.2rem;
    }

    .metric-value {
        font-size: 2.2rem;
    }

    .metric-value-small {
        font-size: 1.6rem;
    }

    .card {
        padding: 24px;
    }

    .tool-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .positions-table {
        font-size: 0.9rem;
    }

    .positions-table th,
    .positions-table td {
        padding: 12px 8px;
    }

    .earnings-periods {
        grid-template-columns: 1fr;
    }

    .program-stats {
        grid-template-columns: 1fr;
    }
}

/* Smooth transitions and animations */
* {
    box-sizing: border-box;
}

button:focus,
.btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #06d6a0);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #059669);
}


/* Smart Money Moves Section */
.smart-moves-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.smart-move-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.smart-move-item:hover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
}

.move-action {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
}

.move-action.buy {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(6, 214, 160, 0.1));
    color: #06d6a0;
    border: 1px solid rgba(6, 214, 160, 0.3);
}

.move-action.sell {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.move-details {
    flex-grow: 1;
    margin-left: 20px;
}

.move-token {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.move-trader {
    font-size: 0.9rem;
    color: #94a3b8;
}

.move-time {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Farms Section */
.farms-section {
    margin-bottom: 40px;
}

.farms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 24px 0;
}

.farms-header h3 {
    margin: 0;
    color: #f1f5f9;
    font-size: 1.8rem;
    font-weight: 700;
}

.farms-controls {
    display: flex;
    gap: 12px;
}

.farms-controls .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.farms-controls .btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.farms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.farm-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.farm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06d6a0, #3b82f6);
}

.farm-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
}

.farm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.farm-tokens {
    display: flex;
    align-items: center;
    gap: 16px;
}

.token-icons {
    display: flex;
    align-items: center;
    gap: -8px;
}

.token-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.token-icon.eth {
    background: linear-gradient(135deg, #627eea, #4c6ef5);
    color: white;
}

.token-icon.usdc {
    background: linear-gradient(135deg, #2775ca, #1e5ba8);
    color: white;
}

.token-icon.moon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.token-icon.bnb {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.farm-info h4 {
    margin: 0 0 4px 0;
    color: #f1f5f9;
    font-size: 1.2rem;
    font-weight: 700;
}

.farm-type {
    color: #94a3b8;
    font-size: 0.85rem;
}

.farm-status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.farm-status.active {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(6, 214, 160, 0.1));
    color: #06d6a0;
    border: 1px solid rgba(6, 214, 160, 0.3);
}

.farm-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.farm-stat {
    text-align: center;
}

.farm-stat .stat-label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.farm-stat .stat-value {
    color: #f1f5f9;
    font-size: 1.3rem;
    font-weight: 700;
}

.farm-actions {
    display: flex;
    gap: 12px;
}

.farm-actions .btn {
    flex: 1;
}

/* Token Performance Section */
.token-performance-section {
    margin-bottom: 40px;
}

.token-performance-section h3 {
    color: #f1f5f9;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.token-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.token-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #8b5cf6);
}

.token-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.5);
}

.token-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.token-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    margin-right: 16px;
}

.token-icon.pepe {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.token-icon.chainlink {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.token-icon.solana {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.token-info h4 {
    margin: 0 0 4px 0;
    color: #f1f5f9;
    font-size: 1.2rem;
    font-weight: 700;
}

.token-symbol {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.token-score {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.token-stats {
    margin-bottom: 20px;
}

.token-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.token-volume {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.token-stats .label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.token-stats .value {
    color: #f1f5f9;
    font-weight: 700;
}

.token-stats .change {
    font-weight: 700;
    font-size: 0.9rem;
}

.token-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.token-actions {
    display: flex;
    gap: 10px;
}

.token-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .farms-grid {
        grid-template-columns: 1fr;
    }

    .tokens-grid {
        grid-template-columns: 1fr;
    }

    .farms-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .farms-controls {
        width: 100%;
        justify-content: center;
    }

    .farm-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .token-volume {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .smart-move-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .move-details {
        margin-left: 0;
    }
}

/* ========== COLLAPSIBLE SECTIONS - ADDED ========== */
.dashboard-section {
    margin-bottom: 32px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-section:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.section-header {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06d6a0, #8b5cf6);
    opacity: 0.8;
}

.section-header:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 214, 160, 0.05));
}

.section-title h2 {
    margin: 0 0 4px 0;
    color: #f1f5f9;
    font-size: 1.6rem;
    font-weight: 700;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-arrow {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-icon {
    font-style: normal;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.section-header.collapsed .arrow-icon {
    transform: rotate(-90deg);
}

.section-header:hover .section-arrow {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.2));
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.section-content {
    padding: 32px;
    max-height: 5000px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.section-content.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

@media (max-width: 768px) {
    .section-header {
        padding: 20px;
    }

    .section-content {
        padding: 20px;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .section-arrow {
        width: 40px;
        height: 40px;
    }
}

/* Portfolio Chart Styles */
.portfolio-donut-chart {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.center-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.center-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateX(4px);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legend-asset {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}

.legend-value {
    font-size: 0.8rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .chart-legend {
        grid-template-columns: 1fr;
    }
}
