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

:root {
    --color-bg: #FAFBFC;
    --color-bg-secondary: #F5F7FA;
    --color-text: #1A1D29;
    --color-text-secondary: #6C737F;
    --color-text-tertiary: #9DA4AE;
    --color-primary: #8B5CF6;
    --color-primary-hover: #7C3AED;
    --color-primary-light: #F5F3FF;
    --color-accent: #A78BFA;
    --color-card: #FFFFFF;
    --color-border: #E4E7EB;
    --color-success: #059669;
    --color-success-light: #D1FAE5;
    --color-warning: #D97706;
    --color-warning-light: #FEF3C7;
    --color-danger: #DC2626;
    --color-danger-light: #FEE2E2;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --color-bg: #0F1419;
    --color-bg-secondary: #1A1F29;
    --color-text: #F9FAFB;
    --color-text-secondary: #9DA4AE;
    --color-text-tertiary: #6C737F;
    --color-primary: #8B5CF6;
    --color-primary-hover: #A78BFA;
    --color-primary-light: #2D1B69;
    --color-accent: #A78BFA;
    --color-card: #1A1F29;
    --color-border: #2D3748;
    --color-success: #10B981;
    --color-success-light: #064E3B;
    --color-warning: #F59E0B;
    --color-warning-light: #78350F;
    --color-danger: #EF4444;
    --color-danger-light: #7F1D1D;
    --shadow-xs: 0 0 transparent;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 31, 41, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-text);
}

.theme-toggle {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--color-text-secondary);
}

.theme-toggle:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--color-text);
    font-size: 1.25rem;
}

.mobile-menu-toggle:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.btn i {
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.auth-card {
    background: var(--color-card);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

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

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea{
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.925rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-text-secondary);
}

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

.link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

/* Auth Icon */
.auth-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--color-primary);
}

.auth-icon.success {
    background: var(--color-success-light);
    color: var(--color-success);
}

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0.5rem 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.form-divider span {
    padding: 0 1rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Success Card */
.success-card {
    animation: fadeIn 0.3s ease-in-out;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add fade-in animations to dashboard elements */
.market-card {
    animation: fadeIn 0.5s ease-out;
}

.stats-grid {
    animation: fadeIn 0.4s ease-out;
}

.notification-banner {
    animation: fadeIn 0.3s ease-out;
}

.crypto-item {
    animation: slideInRight 0.3s ease-out;
    animation-fill-mode: both;
}

.crypto-item:nth-child(1) { animation-delay: 0.05s; }
.crypto-item:nth-child(2) { animation-delay: 0.1s; }
.crypto-item:nth-child(3) { animation-delay: 0.15s; }
.crypto-item:nth-child(4) { animation-delay: 0.2s; }
.crypto-item:nth-child(5) { animation-delay: 0.25s; }

.success-content {
    text-align: center;
}

.success-content p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.success-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Additional Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    background: var(--color-bg);
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

.sidebar {
    width: 260px;
    background: var(--color-card);
    border-right: 1px solid var(--color-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.875rem;
    position: relative;
}

.sidebar-link:hover {
    background: var(--color-bg-secondary);
    color: var(--color-text);
    transform: translateX(2px);
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.1));
    color: var(--color-primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 0 4px 4px 0;
}

.sidebar-icon {
    font-size: 1.125rem;
    min-width: 20px;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 0.75rem 0;
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar,
.dashboard-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.dashboard-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb,
.dashboard-content::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.dashboard-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
}

.dashboard-wrapper {
    width: 100%;
    max-width: 950px;
}

/* Welcome Section - Redesigned Minimalist */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.welcome-content {
    flex: 1;
    min-width: 250px;
}

.welcome-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.375rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.user-highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action-btn.primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.quick-action-btn.primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.quick-action-btn.secondary {
    background: var(--color-bg-secondary);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.quick-action-btn.secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Stats Grid - Modern Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-card.main-balance {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
}

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

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-balance .card-title {
    color: rgba(255, 255, 255, 0.9);
}

.card-title i {
    font-size: 1rem;
}

.icon-btn {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text-secondary);
}

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

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

.card-body {
    margin-bottom: 1.25rem;
}

.balance-display {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.balance-change {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.balance-change.positive {
    color: rgba(255, 255, 255, 0.9);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.account-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.account-detail:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
}

.card-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:not(.main-balance) .card-footer {
    border-top: 1px solid var(--color-border);
}

.card-action-btn {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.text-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.text-link:hover {
    gap: 0.625rem;
}

.icon-text-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-text-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Telegram Notification Banner */
.notification-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-icon.telegram {
    background: linear-gradient(135deg, #0088cc, #00b4d8);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.notification-text {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.notification-action {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.notification-action:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.notification-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

/* Market Card */
.market-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-md);
}

.market-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid var(--color-border);
}

.market-tab {
    background: transparent;
    border: none;
    padding: 0.875rem 0;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    position: relative;
    letter-spacing: -0.01em;
}

.market-tab i {
    font-size: 1rem;
}

.market-tab:hover {
    color: var(--color-text);
}

.market-tab.active {
    color: var(--color-primary);
}

.market-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 8px rgba(139, 92, 246, 0.3);
}

/* Crypto List */
.crypto-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--color-bg-secondary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.crypto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    transition: left 0.5s ease;
}

.crypto-item:hover::before {
    left: 100%;
}

.crypto-item:hover {
    background: var(--color-primary-light);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(6px);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.15);
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.crypto-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.crypto-item:hover .crypto-icon-wrapper {
    transform: scale(1.05) rotate(-3deg);
}

.crypto-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.crypto-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.crypto-symbol {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.crypto-price {
    text-align: right;
}

.price-amount {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.price-change {
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    width: fit-content;
    margin-left: auto;
}

.price-change.negative {
    color: var(--color-danger);
    background: var(--color-danger-light);
}

.price-change.positive {
    color: var(--color-success);
    background: var(--color-success-light);
}

.price-change.neutral {
    color: var(--color-text-secondary);
    font-weight: 600;
    background: var(--color-bg-secondary);
}

.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.125rem;
    margin-top: 1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    background: var(--color-bg-secondary);
    border: 1px solid transparent;
}

.view-all-link:hover {
    gap: 0.75rem;
    background: var(--color-primary-light);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-content {
        padding: 2rem;
    }
    
    .dashboard-wrapper {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-card.main-balance {
        grid-column: 1 / -1;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links li:not(:last-child):not(:nth-last-child(2)) a:not(.btn) {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .auth-container {
        padding: 2rem 1rem;
    }

    .auth-card {
        padding: 2rem;
    }

    .auth-header h1 {
        font-size: 1.875rem;
    }

    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-nav {
        padding-top: 4rem;
    }

    .dashboard-content {
        padding: 1.5rem;
    }

    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .welcome-title {
        font-size: 1rem;
    }
    
    .quick-actions {
        width: 100%;
    }
    
    .quick-action-btn {
        flex: 1;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card.main-balance {
        grid-column: 1;
    }
    
    .balance-display {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .notification-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .notification-content {
        text-align: center;
    }

    .market-card {
        padding: 1.5rem;
    }

    .market-tabs {
        gap: 1.5rem;
    }
    
    .market-tab {
        font-size: 0.8125rem;
        padding: 0.75rem 0;
    }
    
    .crypto-item {
        padding: 0.875rem 1rem;
    }
    
    .crypto-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .crypto-info {
        gap: 0.75rem;
    }
    
    .crypto-name {
        font-size: 0.8125rem;
    }
    
    .crypto-symbol {
        font-size: 0.6875rem;
    }
    
    .price-amount {
        font-size: 0.9375rem;
    }
    
    .price-change {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.5rem;
    }
    
    .hero {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features {
        padding: 5rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

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