/*
 Theme Name:   Woodmart Child - NoviasVirtuales
 Description:  NoviasVirtuales Premium Theme
 Author:       NoviasVirtuales Team
 Template:     woodmart
 Version:      2.0.0
 Text Domain:  noviasvirtuales
*/

/* =============================================================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ============================================================================= */
:root {
    /* Colores Principales */
    --primary-color: #FF006E;
    --secondary-color: #8338EC;
    --accent-color: #FFD700;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    
    /* Fondos */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --bg-hover: #2a2a2a;
    
    /* Gradientes */
    --gradient-main: linear-gradient(135deg, #FF006E, #8338EC);
    --gradient-hover: linear-gradient(135deg, #FF4458, #FF6B9D);
    --gradient-premium: linear-gradient(135deg, #FFD700, #FFA000);
    --gradient-dark: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    
    /* Textos */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    
    /* Efectos */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(255, 0, 110, 0.3);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Espaciados */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

/* =============================================================================
   RESET Y BASE
   ============================================================================= */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-primary) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Selección de texto */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* =============================================================================
   TIPOGRAFÍA
   ============================================================================= */
h1, h2, h3, h4, h5, h6, .title {
    line-height: 1.2em;
    font-weight: 700;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Títulos con gradiente */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================================================
   NAVEGACIÓN PRINCIPAL
   ============================================================================= */
.main-header {
    position: fixed !important;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: transform var(--transition-normal);
}

.main-header.hidden {
    transform: translateY(-100%);
}

.whb-main-header {
    background: transparent !important;
}

/* Logo personalizado */
.site-logo {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
}

.site-logo a {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Barra de búsqueda mejorada */
.search-form {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.searchform input[type="text"] {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-full) !important;
    padding: 12px 50px 12px 20px !important;
    color: var(--text-primary) !important;
    transition: all var(--transition-normal);
    font-size: 16px;
}

.searchform input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.2) !important;
}

.searchform button {
    background: var(--gradient-main) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Menú de navegación */
.wd-nav > li > a {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.wd-nav > li > a:hover {
    color: var(--primary-color) !important;
}

/* Botón Crear IA */
.create-ai-button {
    background: var(--gradient-main) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 10px 24px !important;
    color: white !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all var(--transition-normal) !important;
}

.create-ai-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.4) !important;
}

/* Display de Tokens */
.tokens-display {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent-color);
}

.tokens-display .token-icon {
    font-size: 1.1rem;
}

/* =============================================================================
   PÁGINA PRINCIPAL
   ============================================================================= */
.main-page-wrapper {
    padding-top: 80px !important;
    background-color: var(--bg-dark);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: var(--spacing-2xl) 0;
    background: var(--gradient-main);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23000000" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

/* =============================================================================
   GRID DE MODELOS
   ============================================================================= */
.modelos-grid-container {
    padding: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    animation: fadeIn var(--transition-slow) ease;
}

/* Card de Modelo */
.modelo-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modelo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hover);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.modelo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
}

.modelo-card:hover::before {
    opacity: 0.3;
}

/* Imagen del modelo */
.modelo-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.modelo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow) ease;
}

.modelo-card:hover .modelo-image {
    transform: scale(1.1);
}

/* Badge Online */
.online-status {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    animation: pulse 2s infinite;
}

.online-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Información del modelo */
.modelo-info {
    position: relative;
    padding: var(--spacing-lg);
    z-index: 2;
}

.modelo-nombre {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.modelo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Acciones del modelo */
.modelo-actions {
    display: flex;
    gap: var(--spacing-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.modelo-card:hover .modelo-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 10px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.action-btn.primary {
    background: var(--gradient-main);
    border: none;
}

.action-btn.primary:hover {
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

/* =============================================================================
   CHAT INTERFACE
   ============================================================================= */
.chat-modal {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 400px;
    height: 600px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0);
    opacity: 0;
    transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.chat-modal.active {
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background: var(--gradient-main);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.chat-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.chat-model-info {
    flex: 1;
}

.chat-model-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.chat-status {
    font-size: 0.85rem;
    opacity: 0.9;
    color: white;
}

.chat-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.chat-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mensajes del chat */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background: var(--bg-darker);
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    animation: messageIn var(--transition-normal) ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    align-self: flex-end;
    background: var(--gradient-main);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 4px;
}

/* Indicador de escritura */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Input del chat */
.chat-input-container {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: var(--spacing-sm);
    background: var(--bg-card);
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 16px;
    color: white;
    resize: none;
    max-height: 100px;
    font-family: inherit;
}

.chat-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.chat-send-btn {
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* =============================================================================
   PÁGINA SINGLE MODELO
   ============================================================================= */
.single-modelo-page {
    padding-top: 80px;
    background: var(--bg-dark);
    min-height: 100vh;
}

.modelo-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
}

.modelo-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    opacity: 0.5;
}

.modelo-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.modelo-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-2xl);
    max-width: 1400px;
    margin: 0 auto;
}

.modelo-profile {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-xl);
}

.modelo-avatar {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    border: 4px solid white;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.modelo-hero-info h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.modelo-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* Tabs de contenido */
.modelo-tabs {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-xl);
}

.tab-btn {
    background: none;
    border: none;
    padding: var(--spacing-lg) 0;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
}

/* Contenido del modelo */
.modelo-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

/* Galería de imágenes */
.modelo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.unlock-badge {
    background: var(--gradient-premium);
    color: var(--bg-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Sidebar del modelo */
.modelo-sidebar {
    position: sticky;
    top: 160px;
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-cta {
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.chat-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.4);
}

/* Stats del modelo */
.modelo-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* =============================================================================
   FORMULARIOS Y AUTH
   ============================================================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: var(--spacing-xl);
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.auth-box {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.2);
}

/* =============================================================================
   BOTONES
   ============================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* =============================================================================
   MODALES
   ============================================================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalIn var(--transition-normal) ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

.modal-footer {
    padding: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

/* =============================================================================
   UTILIDADES
   ============================================================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.fade-in {
    animation: fadeIn var(--transition-slow) ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp var(--transition-normal) ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1200px) {
    .modelos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .modelo-content {
        grid-template-columns: 1fr;
    }
    
    .modelo-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Navegación móvil */
    .search-form {
        display: none;
    }
    
    .create-ai-button {
        padding: 8px 16px !important;
    }
    
    /* Grid móvil */
    .modelos-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--spacing-md);
    }
    
    .modelo-image-wrapper {
        height: 220px;
    }
    
    .modelo-info {
        padding: var(--spacing-md);
    }
    
    .modelo-nombre {
        font-size: 1rem;
    }
    
    /* Chat móvil */
    .chat-modal {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    /* Hero móvil */
    .modelo-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .modelo-avatar {
        width: 120px;
        height: 120px;
    }
    
    .modelo-hero-info h1 {
        font-size: 2rem;
    }
    
    /* Auth móvil */
    .auth-box {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 480px) {
    .modelos-grid {
        grid-template-columns: 1fr;
    }
    
    .modelo-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* =============================================================================
   ANIMACIONES ESPECIALES
   ============================================================================= */
.parallax {
    position: relative;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Efecto Glitch */
@keyframes glitch {
    0%, 100% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 110, 0.75),
            -0.05em -0.025em 0 rgba(131, 56, 236, 0.75),
            0.025em 0.05em 0 rgba(255, 215, 0, 0.75);
    }
    14% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 110, 0.75),
            -0.05em -0.025em 0 rgba(131, 56, 236, 0.75),
            0.025em 0.05em 0 rgba(255, 215, 0, 0.75);
    }
    15% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 110, 0.75),
            0.025em 0.025em 0 rgba(131, 56, 236, 0.75),
            -0.05em -0.05em 0 rgba(255, 215, 0, 0.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 110, 0.75),
            0.025em 0.025em 0 rgba(131, 56, 236, 0.75),
            -0.05em -0.05em 0 rgba(255, 215, 0, 0.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 110, 0.75),
            0.05em 0 0 rgba(131, 56, 236, 0.75),
            0 -0.05em 0 rgba(255, 215, 0, 0.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 110, 0.75),
            0.05em 0 0 rgba(131, 56, 236, 0.75),
            0 -0.05em 0 rgba(255, 215, 0, 0.75);
    }
}

.glitch {
    animation: glitch 1s infinite;
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
    background: var(--bg-darker) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-2xl);
}

.copyrights-wrapper {
    background: transparent !important;
    color: var(--text-secondary) !important;
}

.copyrights-wrapper a {
    color: var(--primary-color) !important;
}

/* Fin del archivo style.css */

/* =============================================================================
   CORRECCIONES DE DISEÑO PARA NOVIAS VIRTUALES
   ============================================================================= */

/* Reset de estilos que pueden estar causando conflictos */
body.woodmart-ajax-shop-on .site-content,
body .site-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Asegurar que el contenido principal se muestre correctamente */
.site-content {
    min-height: 400px;
}

.site-content .entry-content {
    padding: 20px 0;
}

/* Corregir el menú lateral de Woodmart */
.whb-sticked .whb-main-header {
    z-index: 1000;
}

/* Corregir sidebar de Woodmart */
.sidebar-container {
    z-index: 100;
}

/* Asegurar que el contenido de las páginas se muestre */
.page-template-default .site-content,
.page .site-content,
.single .site-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Corregir el ancho del contenido */
.container {
    max-width: 100%;
    width: 100%;
}

/* Específico para el contenido de Woodmart */
.woodmart-content-layout-full-width .site-content {
    max-width: 100%;
}

/* Corregir el ancho del contenido en móviles */
@media (max-width: 768px) {
    .site-content {
        padding: 0 15px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Asegurar que los modales de chat aparezcan sobre todo */
.chat-modal {
    z-index: 99999 !important;
}

/* Restaurar estilos del header de Woodmart */
.whb-header {
    position: relative;
    z-index: 300;
}

/* Asegurar que el contenido no esté oculto */
main, 
.main-page-wrapper,
.page-wrapper {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}