/* ============================================
   PROVIWEB - VENUES MODULE THEME
   Estilo consistente con el tema PROVIWEB
   ============================================ */

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Variables - Exactamente igual que home.html */
:root {
    --bg-primary: #0f0f13;
    --bg-secondary: #16161d;
    --bg-card: rgba(30, 30, 40, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent-purple: #a855f7;
    --accent-blue: #007BFF;
    --accent-pink: #007BFF;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #007BFF 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #007BFF 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(168,85,247,0.15);
    --shadow-glow-gold: 0 0 40px rgba(245,158,11,0.2);
}

/* Reset y base */
* { margin: 0; padding: 0; box-sizing: border-box; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 999px; }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gradient-secondary); }

html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary); 
    color: var(--text-primary); 
    -webkit-font-smoothing: antialiased; 
    line-height: 1.6;
    min-height: 100vh; 
    position: relative; 
    overflow-x: hidden;
}

/* Fondo aurora - igual que home.html */
body::before {
    content: ''; 
    position: fixed; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 20% 20%, rgba(168,85,247,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(0,123,255,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(6,182,212,0.08) 0%, transparent 60%);
    z-index: -2; 
    animation: auroraMove 20s ease-in-out infinite;
}

@keyframes auroraMove {
    0%, 100% { transform: translate(0,0) scale(1); opacity: 1; }
    33% { transform: translate(2%,-2%) scale(1.05); opacity: 0.9; }
    66% { transform: translate(-1%,1%) scale(0.98); opacity: 1; }
}

body::after {
    content: ''; 
    position: fixed; 
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(168,85,247,0.3) 0%, transparent 2px),
                      radial-gradient(circle at 60% 70%, rgba(0,123,255,0.3) 0%, transparent 2px),
                      radial-gradient(circle at 80% 20%, rgba(6,182,212,0.3) 0%, transparent 1.5px);
    z-index: -1; 
    animation: particlesFloat 15s ease-in-out infinite; 
    pointer-events: none;
}

@keyframes particlesFloat { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); } 
}

/* ============================================
   HEADER
   ============================================ */
.venues-header { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 24px; 
    background: rgba(22,22,29,0.85); 
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid var(--border-glass); 
    position: fixed; 
    top: 0; left: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1); 
    transition: var(--transition); 
    gap: 12px; 
}

.venues-header:hover { 
    box-shadow: 0 8px 40px rgba(168,85,247,0.15), inset 0 1px 0 rgba(255,255,255,0.15); 
    border-color: rgba(168,85,247,0.3); 
}

.venues-header .brand { 
    font-weight: 700; 
    font-size: 20px; 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    letter-spacing: -0.5px; 
    flex-shrink: 0; 
    white-space: nowrap; 
    transition: all 0.3s ease; 
    text-decoration: none;
}

.venues-header .brand:hover { 
    transform: scale(1.05); 
    filter: drop-shadow(0 0 8px rgba(168,85,247,0.5)); 
}

.venues-nav { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    flex-shrink: 0; 
    margin-left: auto; 
}

.venues-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(168,85,247,0.45);
    background: rgba(168,85,247,0.18);
    color: #e9d5ff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    line-height: 1.2;
    white-space: nowrap;
    transition: var(--transition);
}

.venues-nav a:hover {
    background: rgba(168,85,247,0.28);
    border-color: rgba(168,85,247,0.75);
    color: #fff;
    transform: translateY(-1px);
}

.venues-nav a.secondary {
    background: rgba(255,255,255,0.05);
    border-color: var(--border-glass);
    color: var(--text-secondary);
}

.venues-nav a.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(168,85,247,0.5);
    color: var(--text-primary);
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(168,85,247,0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168,85,247,0.5);
}

.btn--secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn--secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(168,85,247,0.4);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-purple);
}

.btn--gold {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.5);
}

.btn--small {
    padding: 8px 14px;
    font-size: 13px;
}

.btn--large {
    padding: 16px 28px;
    font-size: 16px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 40px rgba(168,85,247,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
    border-color: rgba(168,85,247,0.3);
}

.card--hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168,85,247,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ============================================
   BADGES Y SELLOS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--pro {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: white;
    box-shadow: 0 2px 8px rgba(168,85,247,0.4);
}

.badge--atlas {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}

.badge--verified {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.badge--live {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   FORMULARIOS
   ============================================ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-label .required {
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(168,85,247,0.2);
    background: rgba(255,255,255,0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hidden { display: none !important; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grid utilities */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 968px) {
    .grid--2,
    .grid--3,
    .grid--4 { grid-template-columns: 1fr; }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* Margin utilities */
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* ============================================
   PLAN LIMIT INDICATOR
   ============================================ */
.plan-limit {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-glass);
}

.plan-limit__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.plan-limit__label {
    font-size: 13px;
    color: var(--text-secondary);
}

.plan-limit__value {
    font-size: 13px;
    font-weight: 600;
}

.plan-limit__value--warning {
    color: #f59e0b;
}

.plan-limit__value--danger {
    color: #ef4444;
}

.plan-limit__bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.plan-limit__fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.plan-limit__fill--warning {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

/* ============================================
   PRO FEATURE LOCKED
   ============================================ */
.pro-feature-locked {
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}

.pro-feature-locked::after {
    content: '⭐ PRO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(168,85,247,0.4);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
