/* Import SF Pro Display font from welcome page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap') layer(default);

/* Root Variables - Same as welcome page */
:root {
    --primary-color: #007AFF;
    --secondary-color: #00D4FF;
    --success-color: #34C759;
    --error-color: #FF3B30;
    --warning-color: #FF9500;
    --background-color: #000000;
    --surface-color: #1C1C1E;
    --surface-secondary: #2C2C2E;
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --text-tertiary: #636366;
    --border-color: #38383A;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-success: linear-gradient(135deg, #34C759, #30D158);
    --gradient-error: linear-gradient(135deg, #FF3B30, #FF6B6B);
}

/* HTFX Logo Styles */
.htfx-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 8px;
    border-radius: 4px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: 
        linear-gradient(135deg, 
            rgba(52, 199, 89, 0.1) 0%, 
            rgba(0, 0, 0, 0.7) 25%, 
            rgba(138, 43, 226, 0.15) 50%, 
            rgba(0, 0, 0, 0.7) 75%, 
            rgba(255, 59, 48, 0.1) 100%),
        url('images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}


.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 120px; /* Add space for bottom navigation */
}





.particle:nth-child(6) {
    left: 60%;
    animation-delay: -10s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: -12s;
    animation-duration: 17s;
    background: rgba(52, 199, 89, 0.6);
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: -14s;
    animation-duration: 19s;
    background: rgba(255, 59, 48, 0.6);
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: -16s;
    animation-duration: 15s;
    background: rgba(255, 149, 0, 0.6);
}

/* Energy Waves */
.energy-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    animation: waveExpand 8s ease-out infinite;
}

.wave-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.wave-2 {
    top: 60%;
    right: 20%;
    animation-delay: -3s;
    border-color: rgba(52, 199, 89, 0.2);
}

.wave-3 {
    top: 40%;
    left: 60%;
    animation-delay: -6s;
    border-color: rgba(255, 59, 48, 0.2);
}

/* Glowing Orbs */
.glowing-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.orb-2 {
    background: radial-gradient(circle, rgba(52, 199, 89, 0.3) 0%, transparent 70%);
    top: 65%;
    right: 15%;
    animation-delay: -4s;
}

.orb-3 {
    background: radial-gradient(circle, rgba(255, 59, 48, 0.3) 0%, transparent 70%);
    top: 35%;
    left: 70%;
    animation-delay: -8s;
}


/* App Header */
.app-header {
    background: rgba(28, 28, 30, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px 16px;
    width: 100%;
    animation: headerSlideIn 0.6s ease-out;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.header-icon {
    color: var(--primary-color);
    font-size: 16px;
}

.page-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-id {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 40px 16px;
    text-align: center;
    overflow: hidden;
    min-height: 200px;
    margin: 0 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(52, 199, 89, 0.05) 0%, 
        rgba(0, 0, 0, 0.9) 25%, 
        rgba(138, 43, 226, 0.1) 50%, 
        rgba(0, 0, 0, 0.9) 75%, 
        rgba(255, 59, 48, 0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
    animation: heroBackgroundPulse 20s ease-in-out infinite;
    overflow: hidden;
}













.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 122, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Crypto Overview */
.crypto-overview {
    padding: 16px;
}

.crypto-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: cardSlideIn 0.8s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
}

.crypto-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        #007AFF 0%, 
        #00D4FF 25%, 
        #34C759 75%, 
        #FF3B30 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.crypto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

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

.crypto-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 122, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.crypto-card:hover::after {
    background: linear-gradient(135deg, 
        #00D4FF 0%, 
        #34C759 25%, 
        #FF3B30 75%, 
        #007AFF 100%);
}

.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.crypto-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crypto-pair {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.crypto-price {
    font-size: 18px;
    color: #ffffff;
    font-weight: 800;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.crypto-change {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 12px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.crypto-change.positive {
    color: #ffffff;
    background: #34C759;
    border: none;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
}

.crypto-change.positive:hover {
    background: #2fb84a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4);
}

.crypto-change.negative {
    color: #ffffff;
    background: #FF3B30;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3);
}

.crypto-change.negative:hover {
    background: #e6392a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}

/* Quick Navigation Section */
.quick-nav-section {
    padding: 16px;
    margin: 16px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    padding: 20px;
    animation: cardSlideIn 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.nav-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        #FF9500 0%, 
        #FF3B30 25%, 
        #007AFF 75%, 
        #34C759 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-card:hover::after {
    background: linear-gradient(135deg, 
        #FF3B30 0%, 
        #007AFF 25%, 
        #34C759 75%, 
        #FF9500 100%);
}

/* Quick Navigation Grid */
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 0 4px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 12px;
    min-height: 75px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quick-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.quick-nav-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    margin-bottom: 2px;
    border: 1px solid rgba(0, 122, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(0, 122, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.quick-nav-item:hover .quick-nav-icon {
    background: linear-gradient(135deg, #0056CC, #4A4AC7);
    border: 1px solid rgba(0, 122, 255, 0.5);
    box-shadow: 
        0 4px 12px rgba(0, 122, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.quick-nav-text {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.2;
}

.nav-item:hover {
    background-color: var(--surface-secondary);
    transform: translateY(-1px);
}

.nav-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007AFF, #5856D6) !important;
    border-radius: 8px;
    color: white !important;
    font-size: 14px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
    font-weight: 600;
    border: 1px solid rgba(0, 122, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(0, 122, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.nav-item:hover .nav-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0056CC, #4A4AC7) !important;
    backdrop-filter: blur(10px);
    color: white !important;
    border: 1px solid rgba(0, 122, 255, 0.5) !important;
    box-shadow: 
        0 4px 12px rgba(0, 122, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.nav-item.active .nav-icon {
    background: linear-gradient(135deg, #0056CC, #4A4AC7) !important;
    backdrop-filter: blur(10px);
    color: white !important;
    border: 1px solid rgba(0, 122, 255, 0.6) !important;
    box-shadow: 
        0 6px 20px rgba(0, 122, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.02);
}

.nav-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px 16px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardSlideIn 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.action-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        #34C759 0%, 
        #007AFF 25%, 
        #FF9500 75%, 
        #FF3B30 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(52, 199, 89, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.action-card:hover::after {
    background: linear-gradient(135deg, 
        #007AFF 0%, 
        #FF9500 25%, 
        #FF3B30 75%, 
        #34C759 100%);
}

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

.deposit-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.withdraw-icon {
    background: linear-gradient(135deg, var(--success-color), #30D158);
}

.action-content h3 {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.action-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

/* Crypto List */
.crypto-list {
    flex: 1;
    padding: 0 16px;
    margin-bottom: 80px;
}

.list-header {
    margin-bottom: 16px;
}

.list-tabs {
    display: flex;
    gap: 16px;
}

.tab {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.list-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: listItemSlideIn 0.6s ease-out both;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.list-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, 
        #FF6B6B 0%, 
        #4ECDC4 25%, 
        #45B7D1 75%, 
        #96CEB4 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

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

.list-item:nth-child(1) { animation-delay: 0.1s; }
.list-item:nth-child(2) { animation-delay: 0.2s; }
.list-item:nth-child(3) { animation-delay: 0.3s; }
.list-item:nth-child(4) { animation-delay: 0.4s; }
.list-item:nth-child(5) { animation-delay: 0.5s; }
.list-item:nth-child(6) { animation-delay: 0.6s; }
.list-item:nth-child(7) { animation-delay: 0.7s; }
.list-item:nth-child(8) { animation-delay: 0.8s; }

.list-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(255, 107, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.list-item:hover::after {
    background: linear-gradient(135deg, 
        #4ECDC4 0%, 
        #45B7D1 25%, 
        #96CEB4 75%, 
        #FF6B6B 100%);
}

.crypto-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-secondary);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.crypto-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-icon-fallback {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

.crypto-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crypto-name {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.crypto-price {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

.crypto-change-box {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
}

.crypto-change-box.positive {
    color: #ffffff;
    background: #34C759;
    border: none;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
}

.crypto-change-box.positive:hover {
    background: #2fb84a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4);
}

.crypto-change-box.negative {
    color: #ffffff;
    background: #FF3B30;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3);
}

.crypto-change-box.negative:hover {
    background: #e6392a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}


/* Animations */
@keyframes circuitPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

@keyframes glow {
    0% { text-shadow: 0 0 20px rgba(0, 122, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 122, 255, 0.8), 0 0 40px rgba(0, 122, 255, 0.3); }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) rotate(90deg); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) rotate(180deg); 
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-15px) rotate(270deg); 
        opacity: 0.5;
    }
}

@keyframes dataFlow {
    0% { 
        transform: translateX(0); 
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(calc(100vw + 200px)); 
        opacity: 0;
    }
}

@keyframes chartDraw {
    0% { 
        transform: scaleX(0); 
        opacity: 0.5;
    }
    50% { 
        transform: scaleX(1); 
        opacity: 1;
    }
    100% { 
        transform: scaleX(1); 
        opacity: 0.7;
    }
}

@keyframes pointPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    50% { 
        transform: scale(1.3); 
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.3);
    }
}

@keyframes gridPulse {
    0%, 100% { 
        opacity: 0.1;
    }
    50% { 
        opacity: 0.3;
    }
}

@keyframes priceGlow {
    0%, 100% { 
        opacity: 0.6;
        color: var(--text-secondary);
    }
    50% { 
        opacity: 1;
        color: var(--primary-color);
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) translateX(0); 
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        transform: translateY(-100px) translateX(20px); 
        opacity: 0;
    }
}

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

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1); 
        opacity: 1;
    }
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(0, 122, 255, 0.3);
    }
    50% { 
        text-shadow: 0 0 10px rgba(0, 122, 255, 0.6), 0 0 15px rgba(0, 122, 255, 0.3);
    }
}

@keyframes centerGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
        transform: scale(1.02);
    }
}

@keyframes premiumGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 165, 0, 0.3);
        transform: scale(1.05);
    }
}

@keyframes crownRotate {
    0% { 
        transform: rotate(0deg); 
    }
    25% { 
        transform: rotate(5deg); 
    }
    50% { 
        transform: rotate(0deg); 
    }
    75% { 
        transform: rotate(-5deg); 
    }
    100% { 
        transform: rotate(0deg); 
    }
}



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

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

@keyframes bottomNavSlideIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* New Background Animation Keyframes */
@keyframes backgroundShift {
    0%, 100% {
        background: linear-gradient(135deg, #2d1b69 0%, #1a1a2e 50%, #16213e 100%);
    }
    25% {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #2d1b69 100%);
    }
    50% {
        background: linear-gradient(135deg, #16213e 0%, #2d1b69 50%, #1a1a2e 100%);
    }
    75% {
        background: linear-gradient(135deg, #2d1b69 0%, #16213e 50%, #1a1a2e 100%);
    }
}







/* Animation Classes */
.animate-slide-top {
    animation: slideInFromTop 0.6s ease-out;
}

.animate-slide-bottom {
    animation: slideInFromBottom 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .quick-nav-section {
        padding: 12px;
        margin: 12px 0;
    }
    
    .quick-nav-grid {
        gap: 6px;
    }
    
    .quick-nav-item {
        padding: 8px 4px;
        min-height: 65px;
        border-radius: 12px;
    }
    
    .quick-nav-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .quick-nav-text {
        font-size: 10px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }
    
    .quick-nav-section {
        padding: 10px;
        margin: 10px 0;
    }
    
    .quick-nav-grid {
        gap: 4px;
    }
    
    .quick-nav-item {
        padding: 6px 2px;
        min-height: 60px;
        border-radius: 10px;
    }
    
    .quick-nav-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .quick-nav-text {
        font-size: 9px;
    }
    
    .crypto-overview,
    .quick-actions,
    .crypto-list {
        padding-left: 8px;
        padding-right: 8px;
    }
}
