/* Custom CSS for Physics Tech 3D */

/* Blueprint/Grid Background Effect */
.tech-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(102, 252, 241, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(102, 252, 241, 0.1) 1px, transparent 1px);
}

/* Glassmorphism Cards */
.glass-panel {
    background: rgba(31, 40, 51, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(102, 252, 241, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Hover effects for level cards */
.level-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}

.level-card:not(.locked):hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(102, 252, 241, 0.8);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.3), inset 0 0 15px rgba(102, 252, 241, 0.1);
}

.level-card.locked {
    filter: grayscale(80%) opacity(0.7);
    cursor: not-allowed;
    border-color: rgba(255, 51, 102, 0.3);
}

.level-card.locked:hover {
    border-color: rgba(255, 51, 102, 0.6);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.2);
}

/* Neon Text Glow */
.text-glow-cyan {
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.7);
}
.text-glow-red {
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.7);
}

/* Glitch/Scanline effect (optional for future use) */
.scanlines::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 100;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}
