/* css/loading.css */

.loading-screen {
    background-color: #121212;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
    width: 340px;
}

.loading-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #61dafb;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(12, 18px);
    gap: 4px;
    justify-content: center;
}

.block {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

.block.pending {
    background: #282c34;
    animation: blockPulse 1s ease-in-out infinite;
}

.block.loaded {
    background: #61dafb;
    animation: blockPop 0.3s ease;
}

@keyframes blockPop {
    0% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes blockPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.loading-counter {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #888;
    margin-top: 16px;
}
