/* Persistent Tetris Loader Styles */
@keyframes persistent-tetris-fall {
    0% { 
        transform: translateY(-12px) rotate(0deg); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(6px) rotate(180deg); 
        opacity: 1; 
    }
    100% { 
        transform: translateY(-12px) rotate(360deg); 
        opacity: 0.7; 
    }
}

.persistent-tetris-block {
    width: 24px;
    height: 24px;
    border: 2px solid;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    animation: persistent-tetris-fall 2s infinite;
}

.persistent-tetris-block:nth-child(1) {
    background: #ff6b6b;
    border-color: #ff5252;
    animation-delay: 0s;
}

.persistent-tetris-block:nth-child(2) {
    background: #4ecdc4;
    border-color: #26a69a;
    animation-delay: 0.2s;
}

.persistent-tetris-block:nth-child(3) {
    background: #ffe66d;
    border-color: #ffd54f;
    animation-delay: 0.4s;
}

.persistent-tetris-block:nth-child(4) {
    background: #a8e6cf;
    border-color: #81c784;
    animation-delay: 0.6s;
}

.persistent-tetris-block:nth-child(5) {
    background: #ffd93d;
    border-color: #ffcc02;
    animation-delay: 0.8s;
}

.persistent-tetris-block:nth-child(6) {
    background: #6bcf7f;
    border-color: #4caf50;
    animation-delay: 1.0s;
}

.persistent-tetris-block:nth-child(7) {
    background: #4d9de0;
    border-color: #2196f3;
    animation-delay: 1.2s;
}

.persistent-tetris-block:nth-child(8) {
    background: #f06292;
    border-color: #e91e63;
    animation-delay: 1.4s;
}

#persistent-tetris-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    animation: persistentFadeIn 0.5s ease forwards;
}

@keyframes persistentFadeIn {
    to { 
        opacity: 1; 
    }
}

@keyframes persistentFadeOut {
    from { 
        opacity: 1; 
    }
    to { 
        opacity: 0; 
    }
}

#persistent-tetris-blocks {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.persistent-tetris-content {
    color: white;
}

.persistent-tetris-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.persistent-tetris-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.persistent-tetris-message {
    font-size: 14px;
    opacity: 0.6;
}

.persistent-skip-hint {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.8);
    animation: persistent-hint-fade-in 1s ease-in-out forwards;
}

@keyframes persistent-hint-fade-in {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 0.7; 
        transform: translateY(0); 
    }
}