:root {
    --studio-bg: #0F172A;
    --studio-card: rgba(30, 41, 59, 0.7);
    --spot-free: #334155;
    --spot-occupied: #22C55E;
    --spot-reserved: #EAB308;
    --primary: #06B6D4;
    --text-main: #F8FAFC;
}

/* Custom Scrollbars */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--studio-bg); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(to bottom, var(--primary), #0ea5e9); 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: #22d3ee; }

.studio-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../img/dance_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    border-radius: 0 0 24px 24px;
}

.studio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.studio-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Espejo Section */
.espejo-area {
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, #94A3B8, #475569);
    border-radius: 4px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F172A;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 10px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.2);
}

/* Grid System */
.studio-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background: var(--studio-card);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
}

.spot {
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.spot:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.spot.libre { background: var(--spot-free); }
.spot.ocupado { 
    background: var(--spot-occupied);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}
.spot.reservado { background: var(--spot-reserved); }

.spot-label {
    position: absolute;
    bottom: -20px;
    font-size: 0.7rem;
    white-space: nowrap;
    color: #94A3B8;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Styling */
.studio-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1E293B;
    padding: 2.5rem;
    border-radius: 20px;
    width: 400px;
    border: 1px solid var(--primary);
}

@media (max-width: 1000px) {
    .studio-grid { grid-template-columns: repeat(5, 1fr); }
}
