body {
    background-color: #0f0f13; /* Use the darkest shade universally */
    color: #e5e5e5;
    overflow-x: hidden;
}

/* Utility classes previously inline */
.gradient-text {
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-panel {
    background: rgba(30, 30, 36, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Rule Cards */
.rule-card { border-left-width: 4px; }
.rule-card.theme-blue { border-left-color: #3b82f6; }
.rule-card.theme-yellow { border-left-color: #eab308; }
.rule-card.theme-red { border-left-color: #ef4444; }
.rule-card.theme-green { border-left-color: #22c55e; }
.rule-card.theme-purple { border-left-color: #a855f7; }

/* Evaluation Chips */
.eval-criterion-chip {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d1d5db;
    transition: all 0.2s ease;
}
.eval-criterion-chip:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

/* Navigation Overlay */
.nav-container {
    background: rgba(15, 15, 19, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky; top: 0; z-index: 50;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0f13; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* =========================================
   Page Specific Styles Consolidated
   ========================================= */

/* Homepage effects (index.html) */
.camera-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 33.3% 33.3%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.vignette {
    background: radial-gradient(circle, transparent 40%, #000000 100%);
    position: absolute;
    inset: 0;
    z-index: 1;
}

.glow-text {
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5); /* Purple glow for U2 */
}

/* Postproduccion (T7.1) specific */
.step-number {
    background: linear-gradient(135deg, #a855f7, #6366f1);
}

.video-placeholder {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    aspect-ratio: 16/9;
}
