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

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.dashboard {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timestamp {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.crypto-section {
    margin-bottom: 40px;
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.crypto-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    color: white;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.crypto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.crypto-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.crypto-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.crypto-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    overflow-x: auto;
    overflow-y: auto;
}

th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

th:first-child,
td:first-child {
    position: sticky;
    left: 0;
    background-color: #fff;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
th:first-child {
    background-color: #f5f5f5;
    z-index: 3;
}

tr:hover {
    background-color: #f8f9ff;
    transition: background-color 0.2s ease;
}

tr:last-child td {
    border-bottom: none;
}

.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

.metric-label {
    font-weight: 600;
    color: #333;
}

.number {
    text-align: right;
    font-family: 'Courier New', monospace;
}

.small-text {
    font-size: 0.8rem;
    color: #666;
}

@media (max-width: 768px) {
    .dashboard {
        padding: 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

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

    th, td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}

.update-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.section-separator {
    background: none !important;
}

.separator-line {
    padding: 20px 0 !important;
    text-align: center;
    border: none !important;
    position: relative;
}

.separator-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, #667eea, transparent);
    z-index: 1;
}

.separator-text {
    background: white;
    padding: 8px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 25px;
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

footer {
    color: white;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin: 20px 0;
}

.twitter-link {
    display: inline-flex;
    align-items: center;
    color: #1DA1F2;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.twitter-link:hover {
    color: #0d8bd9;
}

.twitter-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    fill: currentColor;
}

.footer-text {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}
