:root { --background-color: #0D1117; --surface-color: #161B22; --border-color: #30363D; --primary-color: #58A6FF; --primary-hover-color: #79B8FF; --text-primary: #C9D1D9; --text-secondary: #8B949E; --green-glow: rgba(35, 134, 54, 0.5); } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'Poppins', sans-serif; background-color: var(--background-color); color: var(--text-primary); width: 100%; min-height: 100vh; display: flex; flex-direction: column; align-items: center; } /* --- Contenedor Principal y Header --- */ .app-container { width: 100%; max-width: 1200px; padding: 20px; opacity: 0; transform: translateY(20px); animation: fadeIn 0.8s 0.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; } @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } } .app-header { display: flex; align-items: center; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; } .app-header .logo { width: 40px; height: 40px; background: linear-gradient(45deg, var(--primary-color), #a258ff); border-radius: 10px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; } .app-header .logo svg { width: 24px; height: 24px; color: white; } .app-header .app-title { font-size: 26px; font-weight: 700; background: linear-gradient(45deg, var(--primary-color), #a258ff); -webkit-background-clip: text; background-clip: text; color: transparent; } /* --- Navegación --- */ .app-nav { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); } .nav-button { padding: 10px 20px; background: none; border: none; color: var(--text-secondary); font-size: 16px; font-weight: 500; cursor: pointer; border-bottom: 3px solid transparent; transition: color 0.2s, border-color 0.2s; } .nav-button:hover { color: var(--text-primary); } .nav-button.active { color: var(--primary-color); border-bottom-color: var(--primary-color); } /* --- Paneles de Contenido --- */ .content-pane { display: none; animation: contentFadeIn 0.5s ease; } .content-pane.active { display: block; } @keyframes contentFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* --- Layout Principal --- */ .main-layout { display: grid; gap: 25px; } @media (min-width: 1024px) { .main-layout { grid-template-columns: 420px 1fr; align-items: start; } } /* --- Tarjetas de Sección --- */ .card { background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 25px 30px; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .info-cards { grid-column: 1 / -1; display: grid; gap: 25px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } .card-header { margin-bottom: 20px; } .card-header h2 { font-size: 20px; font-weight: 600; color: var(--text-primary); } .card-header h2 svg { width: 20px; height: 20px; margin-right: 8px; vertical-align: -3px; color: var(--primary-color); } .card-header p { font-size: 14px; color: var(--text-secondary); } .card a { color: var(--primary-hover-color); text-decoration: none; font-weight: 500; } .card a:hover { text-decoration: underline; } .card code { background-color: var(--background-color); padding: 2px 6px; border-radius: 4px; font-family: monospace; color: var(--primary-hover-color); } /* --- Lista de Servidores con Favicon --- */ .server-list { list-style-type: none; padding-left: 0; } .server-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; } .server-list img { width: 20px; height: 20px; border-radius: 4px; } .server-list a { font-size: 16px; font-weight: 500; } /* --- Formulario y Controles --- */ .input-group { display: flex; flex-direction: column; gap: 10px; } label { font-weight: 500; font-size: 14px; color: var(--text-secondary); } input[type="url"], textarea { width: 100%; padding: 12px 16px; background-color: var(--background-color); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 8px; font-size: 15px; font-family: 'Poppins', sans-serif; transition: border-color 0.2s, box-shadow 0.2s; } input[type="url"]:focus, textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3); } textarea { resize: vertical; min-height: 100px; } .action-button { width: 100%; padding: 14px; margin-top: 10px; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 16px; background-color: var(--primary-color); color: var(--background-color); transition: background-color 0.2s, transform 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px; } .action-button:hover { background-color: var(--primary-hover-color); transform: translateY(-2px); } /* --- Sección de Resultados y Vista Previa --- */ #results-section { display: none; margin-bottom: 0; } .results-grid { display: grid; grid-template-columns: 1fr; gap: 25px; } @media (min-width: 500px) { .results-grid { grid-template-columns: 1fr 1fr; } .preview-container { grid-column: 1 / -1; } } .output-group { position: relative; } .copy-button { position: absolute; top: 10px; right: 10px; padding: 5px 10px; background-color: var(--border-color); border: 1px solid var(--border-color); color: var(--text-secondary); cursor: pointer; font-weight: 500; font-size: 12px; border-radius: 6px; transition: all 0.2s; } .copy-button:hover { background-color: #30363d; color: var(--text-primary); } .preview-container { grid-column: 1 / -1; } #preview-iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--border-color); border-radius: 8px; background-color: #000; } /* --- Reproductor a Pantalla Completa --- */ #full-video-player { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; background-color: #000; } #full-video-player iframe { width: 100%; height: 100%; border: none; } /* --- Notificaciones --- */ .notification { position: fixed; top: 25px; left: 50%; transform: translateX(-50%); padding: 12px 25px; border-radius: 8px; background: #22c55e; color: white; border: 1px solid var(--border-color); box-shadow: 0 4px 20px var(--green-glow); z-index: 2000; font-size: 15px; font-weight: 500; animation: slide-in-out 3s cubic-bezier(0.25, 1, 0.5, 1) forwards; } @keyframes slide-in-out { 0% { transform: translate(-50%, -80px); opacity: 0; } 15% { transform: translate(-50%, 0); opacity: 1; } 85% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, -80px); opacity: 0; } } /* --- NUEVO: Estilo para la insignia de versión --- */ .version-badge { display: inline-block; margin-top: 15px; background-color: var(--border-color); color: var(--text-secondary); padding: 5px 12px; font-size: 12px; font-weight: 600; border-radius: 20px; /* Forma de píldora */ letter-spacing: 0.5px; border: 1px solid #444c56; } /* --- Responsividad --- */ @media (max-width: 1023px) { .app-container { padding: 15px; } .app-header .app-title { font-size: 22px; } .card { padding: 20px; } }