body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #064e3b 100%);
    color: #f8fafc;
    min-height: 100vh;
}

.font-game {
    font-family: 'Fredoka One', cursive;
}

/* Botones estilo gamer 3D */
.btn-gamer {
    transition: all 0.15s ease-in-out;
    box-shadow: 0 6px 0 rgba(0,0,0,0.3), inset 0 2px 0 rgba(255,255,255,0.4);
    text-shadow: 1px 2px 2px rgba(0,0,0,0.5);
}
.btn-gamer:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
.btn-gamer:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}

.btn-green { background: linear-gradient(180deg, #22c55e, #15803d); }
.btn-blue { background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.btn-amber { background: linear-gradient(180deg, #f59e0b, #b45309); }
.btn-purple { background: linear-gradient(180deg, #a855f7, #6b21a8); }

/* Fichas de Rompecabezas */
.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 450px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.puzzle-tile {
    position: relative;
    background-size: 300% 300%;
    transition: all 0.5s ease-in-out;
}

.puzzle-tile.locked {
    background-image: none !important;
    background-color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #475569;
}

.puzzle-tile.locked::after {
    content: '🔒';
    font-size: 1.8rem;
    opacity: 0.7;
}

.puzzle-tile.unlocked {
    border: 1px solid rgba(255,255,255,0.2);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.glass-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}