body {
    background: #0f172a;
    color: white;
    font-family: 'Inter', sans-serif;
    padding: 40px;
}

h1 {
    margin-bottom: 30px;
}

.market-container {
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
}

.market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.market-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
}

h2 {
    margin-bottom: 20px;
}

input {
    padding: 10px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    border: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: left;
}

th {
    border-bottom: 2px solid #334155;
}

tr {
    border-bottom: 1px solid #334155;
    transition: 0.3s;
}

tr:hover {
    background: #334155;
}

.positive {
    color: #22c55e;
}

.negative {
    color: #ef4444;
}

.price-up {
    color: #22c55e;
}

.price-down {
    color: #ef4444;
}

/* Skeleton Loading */
.skeleton {
    height: 20px;
    background: linear-gradient(90deg, #1e293b, #334155, #1e293b);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
    border-radius: 5px;
    margin-bottom: 10px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.coin-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 4px;
    background: #0f172a;
    transition: 0.3s ease;
}

.coin-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

@media(max-width:900px) {
    .market-grid {
        grid-template-columns: 1fr;
    }
}