:root { --bg-base: #09090b; --bg-surface: #121215; --bg-surface-hover: #1e1e22; --accent: #8b5cf6; --accent-glow: rgba(139, 92, 246, 0.4); --text-primary: #ffffff; --text-secondary: #a1a1aa; --radius-md: 12px; --radius-lg: 24px; --radius-full: 9999px; --danger: #ef4444; --success: #22c55e; --bg-amoled: #0a0a0a; /* Añadido de list.css */ --bg-field: #0e0e0f; /* Añadido de list.css */ } body { margin: 0; background-color: var(--bg-base); color: var(--text-primary); font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; } .back-btn { position: fixed; top: 2rem; left: 2rem; z-index: 100; display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.5rem; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-full); color: white; text-decoration: none; font-weight: 600; transition: all 0.2s ease; cursor: pointer; } .back-btn:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(-5px); } .hero-wrapper { position: relative; width: 100%; height: 85vh; overflow: hidden; } .video-background { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.35); width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.6; } .hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, var(--bg-base) 120%), linear-gradient(to top, var(--bg-base) 10%, rgba(9,9,11,0.8) 25%, transparent 60%); z-index: 1; } .content-container { position: relative; z-index: 10; max-width: 1600px; margin: -350px auto 0 auto; padding: 0 3rem 4rem 3rem; display: grid; grid-template-columns: 280px 1fr; gap: 3rem; animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1); } .sidebar { display: flex; flex-direction: column; gap: 2rem; } .poster-card { width: 100%; aspect-ratio: 2/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8); border: 1px solid rgba(255,255,255,0.1); } .poster-card img { width: 100%; height: 100%; object-fit: cover; } .info-grid { background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; } .info-item h4 { margin: 0 0 0.25rem 0; font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; } .info-item span { font-weight: 600; font-size: 1rem; color: var(--text-primary); } .character-list { display: flex; flex-direction: column; gap: 0.75rem; } .character-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; } .char-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; } .main-content { display: flex; flex-direction: column; justify-content: flex-end; } .anime-header { margin-bottom: 2rem; } .anime-title { font-size: 4rem; font-weight: 900; line-height: 1; margin: 0 0 1.5rem 0; text-shadow: 0 4px 30px rgba(0,0,0,0.8); } .meta-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; } .pill { padding: 0.5rem 1.25rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem; } .pill.score { background: rgba(34, 197, 94, 0.2); color: #4ade80; border-color: rgba(34, 197, 94, 0.2); } .action-row { display: flex; gap: 1rem; margin-top: 1rem; } .btn-watch { padding: 1rem 3rem; background: var(--text-primary); color: var(--bg-base); border-radius: var(--radius-full); font-weight: 800; font-size: 1.1rem; border: none; cursor: pointer; display: flex; align-items: center; gap: 0.75rem; transition: transform 0.2s, box-shadow 0.2s; } .btn-watch:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 255, 255, 0.25); } .btn-secondary { padding: 1rem 2rem; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); color: white; border-radius: var(--radius-full); font-weight: 700; font-size: 1rem; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem; } .btn-secondary:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); } .description-box { margin-top: 3rem; font-size: 1.15rem; line-height: 1.8; color: #e4e4e7; max-width: 900px; background: rgba(255,255,255,0.03); padding: 2rem; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.05); } .episodes-section { margin-top: 4rem; } .section-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; } .section-title::before { content: ''; width: 4px; height: 28px; background: var(--accent); border-radius: 2px; } .episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; } .episode-btn { background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 1rem; border-radius: var(--radius-md); cursor: pointer; transition: 0.2s; text-align: center; font-weight: 600; color: var(--text-secondary); } .episode-btn:hover { background: var(--bg-surface-hover); color: white; transform: translateY(-3px); border-color: var(--accent); } @keyframes slideUp { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 1024px) { .content-container { grid-template-columns: 1fr; margin-top: -100px; padding: 0 1.5rem 4rem 1.5rem; } .poster-card { width: 220px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); } .main-content { text-align: center; align-items: center; } .anime-title { font-size: 2.5rem; } .meta-row { justify-content: center; } .sidebar { display: none; } } /* --- ESTILOS DE MODAL (INCLUIDOS DE LIST.CSS) --- */ .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); /* Más oscuro */ backdrop-filter: blur(10px); z-index: 2000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; padding: 1rem; } .modal-overlay.active { display: flex; opacity: 1; } @keyframes modalSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .modal-content { background: var(--bg-amoled); /* AMOLED */ border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); max-width: 900px; /* Ancho para el grid de 3 columnas */ width: 95%; padding: 0; /* padding se moverá al título y cuerpo */ position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.8); max-height: 90vh; display: flex; flex-direction: column; animation: modalSlideUp 0.3s ease; } .modal-content.modal-list { /* Usamos esto para sobrescribir el ancho genérico del modal de descripción */ max-width: 700px; } .modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: 0.2s; z-index: 2001; } .modal-close:hover { background: var(--danger); border-color: var(--danger); } .modal-title { font-size: 1.8rem; font-weight: 800; padding: 1.5rem 2rem 0.5rem; margin-top: 0; margin-bottom: 0; color: var(--text-primary); border-bottom: 1px solid rgba(255,255,255,0.05); } .modal-body { display: flex; flex-direction: column; overflow-y: auto; padding: 0 2rem; flex-grow: 1; } /* GRUPO PRINCIPAL DE CAMPOS (GRID) */ .modal-fields-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; padding: 1.5rem 0; } .form-group { display: flex; flex-direction: column; gap: 0.5rem; } /* Grid layout overrides */ .form-group.notes-group { grid-column: 1 / span 2; } .form-group.checkbox-group { grid-column: 3 / 4; align-self: flex-end; margin-bottom: 0.5rem; flex-direction: row; align-items: center; justify-content: flex-end; gap: 1rem; } .form-group.full-width { grid-column: 1 / -1; } /* Date Input Styling */ .date-group { display: flex; gap: 1rem; } .date-input-pair { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; } .form-group label { font-size: 0.8rem; /* Tamaño más pequeño */ font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; } .form-input { background: var(--bg-field); /* Fondo específico para campos */ border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); padding: 0.8rem 1rem; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: 0.2s; } .form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); } .notes-textarea { resize: vertical; min-height: 100px; } /* Checkbox Styling */ .form-checkbox { width: 18px; height: 18px; border: 1px solid rgba(255,255,255,0.2); background: var(--bg-base); border-radius: 4px; cursor: pointer; -webkit-appearance: none; appearance: none; position: relative; transition: all 0.2s; flex-shrink: 0; } .form-checkbox:checked { background: var(--accent); border-color: var(--accent); } .form-checkbox:checked::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 14px; } /* ACCIONES (Barra inferior pegajosa) */ .modal-actions { display: flex; gap: 1rem; margin-top: 0; justify-content: flex-end; flex-shrink: 0; padding: 1rem 2rem; border-top: 1px solid rgba(255,255,255,0.05); background: var(--bg-amoled); /* Fondo para la barra sticky */ position: sticky; bottom: 0; z-index: 10; } .btn-modal-primary, .btn-modal-secondary, .btn-modal-danger { padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer; transition: transform 0.2s, background 0.2s; flex: none; /* Asegura que no se estiren */ } .btn-modal-primary { background: var(--accent); color: white; } .btn-modal-primary:hover { transform: scale(1.05); } .btn-modal-secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); } .btn-modal-secondary:hover { background: rgba(255,255,255,0.15); } .btn-modal-danger { background: var(--danger); color: white; margin-right: auto; /* Para alinear a la izquierda */ } .btn-modal-danger:hover { opacity: 0.9; } /* Media Queries para el Modal */ @media (max-width: 900px) { .modal-content { max-width: 95%; } .modal-fields-grid { grid-template-columns: repeat(2, 1fr); } .form-group.notes-group { grid-column: 1 / -1; } .form-group.checkbox-group { grid-column: 1 / -1; align-self: auto; justify-content: flex-start; } .modal-actions { padding: 1rem 1.5rem; } .modal-title, .modal-body { padding-left: 1.5rem; padding-right: 1.5rem; } } @media (max-width: 550px) { .modal-content { margin: 0.5rem; width: auto; } .modal-fields-grid { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 0; } .date-group { flex-direction: column; gap: 1rem; } .form-group.notes-group, .form-group.checkbox-group { grid-column: auto; } .modal-actions { flex-direction: column; align-items: stretch; } .btn-modal-danger { margin-right: 0; order: 3; } .btn-modal-secondary { order: 2; } .btn-modal-primary { order: 1; } } .read-more-btn { background: none; border: none; color: #8b5cf6; cursor: pointer; font-weight: 600; padding: 0; margin-top: 0.5rem; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.25rem; } .read-more-btn:hover { text-decoration: underline; } .episodes-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; } .episodes-header-row h2 { margin: 0; font-size: 1.8rem; border-left: 4px solid #8b5cf6; padding-left: 1rem; } .episode-search-wrapper { position: relative; display: flex; align-items: center; } .episode-search-input { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 99px; padding: 0.6rem 1rem; color: white; width: 140px; text-align: center; font-family: inherit; transition: 0.2s; -moz-appearance: textfield; } .episode-search-input:focus { border-color: #8b5cf6; background: rgba(255, 255, 255, 0.1); outline: none; } .episode-search-input::-webkit-outer-spin-button, .episode-search-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .pagination-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.05); } .page-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: white; padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; transition: 0.2s; font-weight: 500; } .page-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.15); border-color: #8b5cf6; } .page-btn:disabled { opacity: 0.4; cursor: not-allowed; } .page-info { color: #a1a1aa; font-size: 0.9rem; font-weight: 500; } /* Asegura que por defecto esté oculto si quitaste el style en línea */ #add-list-modal { display: none; } /* Define cómo se muestra al abrirlo */ #add-list-modal.active { display: flex; opacity: 1; }