Spaces:
Sleeping
Sleeping
File size: 1,278 Bytes
4939865 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | /* ========================================
NOVA AI GAMES - Pattern Game Styles
Grid, Cells & Animations
======================================== */
.pattern-display {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--spacing-md);
max-width: 280px;
width: 100%;
margin-bottom: var(--spacing-xl);
}
.pattern-cell {
aspect-ratio: 1;
background: var(--bg-glass);
border-radius: var(--radius-md);
cursor: pointer;
transition: all var(--transition-fast);
}
.pattern-cell.active {
background: var(--accent-gradient);
box-shadow: var(--shadow-glow);
transform: scale(1.05);
}
.pattern-cell.correct {
background: var(--success);
}
.pattern-cell.wrong {
background: var(--error);
animation: shake 0.5s ease;
}
@keyframes shake {
0%,
100% {
transform: translateX(0);
}
25% {
transform: translateX(-8px);
}
75% {
transform: translateX(8px);
}
}
.pattern-instruction {
text-align: center;
font-size: 18px;
font-weight: 600;
margin-bottom: var(--spacing-lg);
min-height: 50px;
}
.pattern-level {
font-size: 14px;
color: var(--text-secondary);
} |