/* 
   OposicionesBot - Styles Original (Premium CSS Puro)
   Version: 2026.03.31 - Rollback v1
*/

:root {
  --bg-main: #0A0A0B;
  --bg-card: #18181B;
  --text-main: #EDEDED;
  --accent: #8A2BE2;
  --border: rgba(255, 255, 255, 0.1);
  --success: #10B981;
  --error: #EF4444;
  --muted: #94A3B8;
}

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

body { 
  background-color: var(--bg-main); 
  color: var(--text-main); 
  font-family: 'Inter', system-ui, -apple-system, sans-serif; 
  line-height: 1.6;
  min-height: 100vh;
}

/* Navbar/Header Premium */
header, .navbar-premium, .topnav { 
  background: rgba(10, 10, 11, 0.9); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Tarjetas y Contenedores */
.card, .container-premium, .glass-card, .test-card { 
  background-color: var(--bg-card); 
  border: 1px solid var(--border); 
  border-radius: 12px; 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.card:hover, .test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.7);
  border-color: rgba(138, 43, 226, 0.3);
}

/* Botones Principales */
.btn-primary, .btn-premium, .btn-find { 
  background: linear-gradient(135deg, #1A0B2E 0%, #000000 100%); 
  border: 1px solid rgba(138, 43, 226, 0.4); 
  color: #FFFFFF; 
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.btn-primary:hover, .btn-premium:hover, .btn-find:hover { 
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5); 
  border-color: rgba(138, 43, 226, 0.9);
  transform: scale(1.03);
}

/* Typography */
h1, h2, h3, h4 { margin-top: 0; color: #fff; font-weight: 800; }
p { color: var(--muted); }

/* Layout */
.max-w-6xl { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.py-12 { padding: 4rem 0; }

.grid-cats, .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0A0B; }
::-webkit-scrollbar-thumb { background: #18181B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8A2BE255; }

/* Utilities - removed .hidden, .text-center, .mt-4, .mb-4 to avoid conflicts with Tailwind */

/* Component Specifics */

/* Laboratorio IA */
.vercel-gradient {
  background: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), #000000 70%);
}
.drop-zone {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px dashed rgba(255, 255, 255, 0.08);
}
.drop-zone.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.05);
  transform: scale(1.01);
}
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
#text-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: white;
  padding: 1rem;
}

/* Arena Overrides */
.arena-container .card {
  border-color: rgba(239, 68, 68, 0.2);
}
.btn-find {
  background: linear-gradient(135deg, #EF4444, #000000);
  border-color: rgba(239, 68, 68, 0.4);
}

/* Infinito & Maratón */
.step-dot.active { border-color: #6366f1; background: #6366f1; }
.btn-primary.marathon { background: linear-gradient(135deg, #dc2626, #ef4444); }
