Spaces:
Sleeping
Sleeping
| /* ======================================== | |
| 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); | |
| } |