@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

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

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

.laser-beam {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.mirror-rotate {
    transition: transform 0.3s ease-in-out;
}

.cell-hover:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.grid-cell {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.grid-cell.wall {
    background-color: #4a5568;
    border-color: #2d3748;
}

.grid-cell.laser-source {
    background: radial-gradient(circle, #ff6b6b, transparent 70%);
}

.grid-cell.target {
    background: radial-gradient(circle, #51cf66, transparent 70%);
}

.level-complete {
    animation: celebrate 0.5s ease-in-out 3;
}

@keyframes celebrate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.holographic-text {
    background: linear-gradient(45deg, #ff6b6b, #51cf66, #4dabf7, #ffd43b);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hologram 3s ease-in-out infinite;
}

@keyframes hologram {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mirror {
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.8) 50%, transparent 55%);
    position: relative;
}

.mirror::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 2px;
}