Changed around line 1
+ :root {
+ --primary-color: #6366f1;
+ --secondary-color: #4f46e5;
+ --bg-color: #f8fafc;
+ --text-color: #1e293b;
+ --border-radius: 12px;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: system-ui, -apple-system, sans-serif;
+ background: var(--bg-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background: white;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ padding: 1rem;
+ }
+
+ header h1 {
+ font-size: 1.5rem;
+ color: var(--primary-color);
+ text-align: center;
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 2rem;
+ }
+
+ .hero {
+ text-align: center;
+ margin: 3rem 0;
+ }
+
+ .hero h2 {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+
+ .input-section {
+ margin: 2rem 0;
+ }
+
+ .input-group {
+ display: flex;
+ gap: 1rem;
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ input[type="url"] {
+ flex: 1;
+ padding: 1rem;
+ border: 2px solid #e2e8f0;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ transition: border-color 0.3s ease;
+ }
+
+ input[type="url"]:focus {
+ outline: none;
+ border-color: var(--primary-color);
+ }
+
+ select {
+ padding: 1rem;
+ border: 2px solid #e2e8f0;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ background: white;
+ cursor: pointer;
+ }
+
+ button {
+ padding: 1rem 2rem;
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ cursor: pointer;
+ transition: transform 0.2s ease, background-color 0.2s ease;
+ }
+
+ button:hover {
+ background: var(--secondary-color);
+ transform: translateY(-2px);
+ }
+
+ .video-container {
+ margin-top: 3rem;
+ background: white;
+ padding: 2rem;
+ border-radius: var(--border-radius);
+ box-shadow: 0 4px 20px rgba(0,0,0,0.1);
+ }
+
+ #videoPlayer {
+ aspect-ratio: 16/9;
+ background: #000;
+ border-radius: var(--border-radius);
+ margin-bottom: 1rem;
+ }
+
+ #subtitles {
+ min-height: 100px;
+ padding: 1rem;
+ background: #f1f5f9;
+ border-radius: var(--border-radius);
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ margin-top: 4rem;
+ color: #64748b;
+ }
+
+ @media (max-width: 768px) {
+ .input-group {
+ flex-direction: column;
+ }
+
+ .hero h2 {
+ font-size: 2rem;
+ }
+
+ main {
+ padding: 1rem;
+ }
+ }