/* CryptoSphere - Cryptocurrency Tracker Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    min-height: 100vh;
    color: white;
}

/* Neomorphic Crypto Design Elements */
.crypto-card {
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 25px;
    box-shadow: 12px 12px 24px #0d1117, -12px -12px 24px #1f2937;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-card:hover {
    transform: translateY(-8px);
    box-shadow: 15px 15px 30px #0a0e14, -15px -15px 30px #243142;
}

.crypto-button {
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 15px;
    box-shadow: 8px 8px 16px #0d1117, -8px -8px 16px #1f2937;
    transition: all 0.3s ease;
}

.crypto-button:hover {
    box-shadow: 5px 5px 10px #0a0e14, -5px -5px 10px #243142;
    transform: translateY(2px);
}

.crypto-input {
    background: linear-gradient(145deg, #1f2937, #111827);
    border: none;
    border-radius: 15px;
    box-shadow: inset 6px 6px 12px #0d1117, inset -6px -6px 12px #243142;
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
}

.crypto-input:focus {
    outline: none;
    box-shadow: inset 4px 4px 8px #0a0e14, inset -4px -4px 8px #243142;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

/* Price change indicators */
.price-up {
    color: #10b981;
}

.price-down {
    color: #ef4444;
}

/* Loading animation */
@keyframes crypto-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.crypto-loading {
    animation: crypto-pulse 2s infinite;
}

/* Portfolio value indicators */
.portfolio-up {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05);
    border-left: 4px solid #10b981;
}

.portfolio-down {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .crypto-card {
        border-radius: 20px;
        box-shadow: 8px 8px 16px #0d1117, -8px -8px 16px #1f2937;
    }
}

/* Notification system */
.crypto-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Trading view widget container */
.tradingview-widget-container {
    border-radius: 15px;
    overflow: hidden;
}