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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.4;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.loading, .error {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 15px;
    border: 1px solid #333;
    backdrop-filter: blur(10px);
}

.loading {
    flex-direction: column;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top: 4px solid #00ff44;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.error-content h3 {
    color: #dc3545;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.error-content p {
    color: #6c757d;
    margin-bottom: 20px;
}

.content {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
}

.snapshots-container {
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 #1a1a1a;
    padding-right: 10px;
}

.snapshots-container::-webkit-scrollbar {
    width: 8px;
}

.snapshots-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.snapshots-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.snapshots-container::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.snapshot {
    margin-bottom: 20px;
}

.snapshot-card {
    background: linear-gradient(145deg, #1a4f1a 0%, #0f2f0f 100%);
    border: 2px solid #00ff44;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.snapshot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff44, #00aa22);
}

.snapshot-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.fire-emoji {
    font-size: 1.2rem;
}

.snapshot-title {
    color: #00ff44;
    font-size: 1.1rem;
    font-weight: 600;
}

.snapshot-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #888;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.clock-emoji {
    font-size: 0.9rem;
}


.tokens-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.95rem;
}

.token-symbol {
    color: #fff;
    font-weight: 500;
}

.token-price {
    color: #00ff44;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 5px;
    }
    
    .snapshots-container {
        max-height: 90vh;
    }
    
    .snapshot-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .snapshot-title {
        font-size: 1rem;
    }
    
    .token-item {
        font-size: 0.9rem;
    }
}