*{margin:0;padding:0;box-sizing:border-box}body{margin:0;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;min-height:100vh}*:focus{outline:2px solid #667eea;outline-offset:2px}:root[data-theme=light]{--bg-primary: #ffffff;--bg-secondary: #f9f9f9;--bg-tertiary: #f1f1f1;--text-primary: #0f0f0f;--text-secondary: #606060;--text-tertiary: #909090;--border-light: #e0e0e0;--border-medium: #ccc;--shadow: rgba(0, 0, 0, .1);--youtube-red: #ff0000;--youtube-red-hover: #cc0000;--success: #00aa00;--warning: #ff9500;--error: #ff4444;--gradient-1: #ffffff;--gradient-2: #f8f9fa;--gradient-3: #e9ecef;--gradient-4: #dee2e6}:root[data-theme=dark]{--bg-primary: #0f0f0f;--bg-secondary: #1f1f1f;--bg-tertiary: #282828;--text-primary: #ffffff;--text-secondary: #aaaaaa;--text-tertiary: #717171;--border-light: #303030;--border-medium: #404040;--shadow: rgba(0, 0, 0, .3);--youtube-red: #ff0000;--youtube-red-hover: #ff3333;--success: #00dd00;--warning: #ffbb33;--error: #ff6666;--gradient-1: #000000;--gradient-2: #0a0a0a;--gradient-3: #1a1a1a;--gradient-4: #2a2a2a}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,sans-serif;background-color:var(--bg-secondary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}.app{min-height:100vh;background:linear-gradient(-45deg,var(--gradient-1),var(--gradient-2),var(--gradient-3),var(--gradient-4));background-size:400% 400%;animation:gradientShift 15s ease infinite;display:flex;align-items:center;justify-content:center;padding:20px;position:relative}.app:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 80%,rgba(255,0,0,.1) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(255,0,0,.05) 0%,transparent 50%);pointer-events:none}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.container{background:var(--bg-primary);border-radius:16px;box-shadow:0 20px 60px var(--shadow);padding:40px;width:100%;max-width:650px;animation:slideUp .6s ease-out;border:1px solid var(--border-light);position:relative;z-index:1}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.header{margin-bottom:40px}.header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.logo{display:flex;align-items:center;gap:12px}.logo h1{margin:0;font-size:2.2rem;font-weight:700;color:var(--text-primary)}.theme-toggle{background:var(--bg-secondary);border:2px solid var(--border-medium);border-radius:12px;padding:10px;cursor:pointer;transition:all .4s cubic-bezier(.4,0,.2,1);color:var(--text-secondary);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.theme-toggle:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:var(--youtube-red);border-radius:50%;transition:all .6s ease;transform:translate(-50%,-50%);z-index:-1;opacity:.1}.theme-toggle:hover{background:var(--bg-tertiary);border-color:var(--youtube-red);color:var(--youtube-red);transform:scale(1.05)}.theme-toggle:hover:before{width:100%;height:100%}.theme-toggle:active{transform:scale(.95)}.subtitle{color:var(--text-secondary);font-size:1.1rem;margin:0;line-height:1.5;text-align:center}.form-section{margin-bottom:30px}.input-group{margin-bottom:20px}.input-group label{display:block;margin-bottom:12px;font-weight:600;color:var(--text-primary);font-size:1rem}.url-input{width:100%;padding:18px;border:2px solid var(--border-light);border-radius:12px;font-size:1rem;transition:all .3s ease;background:var(--bg-secondary);color:var(--text-primary);font-family:Monaco,Consolas,monospace}.url-input:focus{outline:none;border-color:var(--youtube-red);background:var(--bg-primary);box-shadow:0 0 0 3px #ff00001a}.url-input::placeholder{color:var(--text-tertiary)}.help-text{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:.9rem;color:var(--text-secondary);line-height:1.4}.generate-btn{width:100%;padding:18px;background:linear-gradient(135deg,var(--youtube-red) 0%,#cc0000 100%);color:#fff;border:none;border-radius:12px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden;text-transform:uppercase;letter-spacing:.5px}.generate-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #ff00004d;background:linear-gradient(135deg,var(--youtube-red-hover) 0%,#990000 100%)}.generate-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.result-section{background:var(--bg-secondary);border:1px solid var(--border-light);border-radius:12px;padding:24px;margin-bottom:30px;animation:fadeIn .5s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.result-section h3{margin:0 0 16px;color:var(--text-primary);font-size:1.2rem;font-weight:600}.url-display{margin-bottom:20px}.result-input{width:100%;padding:14px 16px;border:1px solid var(--border-medium);border-radius:8px;font-size:.9rem;background:var(--bg-primary);color:var(--text-primary);font-family:Monaco,Consolas,monospace}.action-buttons{display:flex;gap:12px;flex-wrap:wrap}.action-buttons button{flex:1;min-width:130px;padding:14px 18px;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.open-btn{background:var(--success);color:#fff}.open-btn:hover{background:#080;transform:translateY(-1px);box-shadow:0 4px 12px #00aa004d}.copy-btn{background:var(--text-secondary);color:#fff}.copy-btn:hover{background:var(--text-tertiary);transform:translateY(-1px);box-shadow:0 4px 12px #7171714d}.reset-btn{background:var(--error);color:#fff}.reset-btn:hover{background:#d33;transform:translateY(-1px);box-shadow:0 4px 12px #ff44444d}.footer{text-align:center;padding-top:24px;border-top:1px solid var(--border-light)}.how-to-find{background:var(--bg-secondary);border:1px solid var(--border-light);border-radius:12px;padding:20px;margin-bottom:20px;text-align:left}.how-to-find h4{margin:0 0 14px;color:var(--youtube-red);font-size:1.1rem;font-weight:700}.how-to-find ul{margin:0 0 14px;padding-left:20px;color:var(--text-secondary);font-size:.95rem;line-height:1.7}.how-to-find ol{margin:0;padding-left:20px;color:var(--text-secondary);font-size:.95rem;line-height:1.7}.how-to-find li{margin-bottom:6px}.how-to-find li strong{color:var(--text-primary)}.how-to-find p{margin:0;color:var(--text-tertiary);font-size:.9rem;font-style:italic}.footer p{margin:0;color:var(--text-secondary);font-size:.95rem;line-height:1.6}.footer strong{color:var(--text-primary)}@media (max-width: 640px){.container{padding:24px;margin:10px}.logo h1{font-size:1.8rem}.header-top{flex-direction:column;gap:16px;text-align:center}.action-buttons{flex-direction:column}.action-buttons button{min-width:auto}}*:focus{outline:2px solid var(--youtube-red);outline-offset:2px}button:focus,input:focus{outline:none}.reddit-link{font-weight:700;color:#1a73e8;text-decoration:underline;transition:color .2s ease}.reddit-link:hover{color:#0d47a1}.dark .reddit-link{color:#64b5f6}.dark .reddit-link:hover{color:#90caf9}.github-link{position:fixed;bottom:20px;left:20px;z-index:1000;display:flex;align-items:center;justify-content:center;width:60px;height:60px;background-color:#1f2937;color:#fff;border-radius:10px;text-decoration:none;transition:all .3s ease;box-shadow:0 2px 4px #0000001a;overflow:hidden}.github-link:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.github-link:hover:before{left:100%}.github-link:hover{box-shadow:0 4px 8px #00000026}.dark .github-link,.dark .github-link:hover{background-color:#374151}
