.header{background:var(--bg-secondary);box-shadow:var(--shadow);padding:1.5rem 0;position:sticky;top:0;z-index:100;background:#fffffff2;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform}[data-theme=dark] .header{background:#1e293bf2}.header-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center}.header-brand{display:flex;align-items:center;gap:1rem;cursor:pointer}.header-logo{width:48px;height:48px;object-fit:contain;border-radius:.75rem;transition:transform .3s ease;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform}.header-brand:hover .header-logo{transform:scale3d(1.05,1.05,1)}.header-brand-text h1{font-size:1.75rem;font-weight:700;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-hover) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.header-subtitle{font-size:.875rem;color:var(--text-secondary);margin-top:.25rem}.header-actions{display:flex;gap:1rem;align-items:center}.icon-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem;background:var(--bg-tertiary);border-radius:.5rem;color:var(--text-primary);font-size:1rem;transition:var(--transition);border:2px solid transparent;min-width:44px;min-height:44px;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:background-color,transform}.icon-button:hover{background:var(--primary);color:#fff;border-color:var(--primary-hover);transform:translateY(-1px)}.icon-button:active{transform:translateY(0)}.language-selector-wrapper{position:relative}.language-selector{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--bg-tertiary);border:2px solid transparent;border-radius:.5rem;cursor:pointer;transition:var(--transition);min-width:140px;-webkit-user-select:none;user-select:none;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:border-color,background-color}.language-selector:hover{border-color:var(--primary);background:var(--bg-secondary)}.language-selector:active{transform:scale(.98)}.language-flag{width:32px;height:20px;object-fit:cover;border-radius:.25rem;box-shadow:0 2px 4px #0000001a;flex-shrink:0}.language-label{color:var(--text-primary);font-size:.875rem;font-weight:600;flex:1}.language-arrow{color:var(--text-secondary);transition:transform .3s ease;flex-shrink:0}.language-arrow.open{transform:rotate(180deg)}.language-dropdown{position:absolute;top:calc(100% + .5rem);left:0;right:0;background:var(--bg-secondary);border:2px solid var(--primary);border-radius:.5rem;box-shadow:0 4px 12px #00000026;overflow:hidden;z-index:1000;animation:slideDown .2s ease;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:opacity,transform}@keyframes slideDown{0%{opacity:0;transform:translate3d(0,-10px,0)}to{opacity:1;transform:translateZ(0)}}.language-option{display:flex;align-items:center;gap:.5rem;padding:.625rem .75rem;cursor:pointer;transition:background-color .2s ease;color:var(--text-primary);font-size:.875rem;font-weight:600;-webkit-tap-highlight-color:transparent}.language-option:hover{background:var(--bg-tertiary)}.language-option:active{opacity:.8}.language-option.active{background:var(--primary);color:#fff}.language-option.active .language-flag{box-shadow:0 2px 8px #0003}@media(max-width:968px){.header-container{padding:0 1.5rem}.header-brand-text h1{font-size:1.5rem}.language-selector{min-width:130px}.language-label{font-size:.813rem}}@media(max-width:768px){.header{padding:1rem 0}.header-container{padding:0 1rem}.header-logo{width:40px;height:40px}.header-brand-text h1{font-size:1.25rem;white-space:nowrap}.header-subtitle{font-size:.75rem}.icon-button{padding:.5rem;min-width:40px;min-height:40px}.icon-button .button-text{display:none}.language-selector{min-width:110px;padding:.5rem .625rem}.language-flag{width:28px;height:18px}.language-label{font-size:.75rem}}@media(max-width:480px){.header{padding:.75rem 0}.header-container{padding:0 .75rem;gap:.5rem}.header-brand{gap:.5rem;flex:1;min-width:0}.header-logo{width:36px;height:36px;flex-shrink:0}.header-brand-text{min-width:0;overflow:hidden}.header-brand-text h1{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-subtitle{display:none}.header-actions{gap:.5rem;flex-shrink:0}.icon-button{padding:.5rem;min-width:36px;min-height:36px}.icon-button svg{width:18px;height:18px}.language-selector{min-width:90px;padding:.4rem .5rem}.language-flag{width:24px;height:16px}.language-label{font-size:.688rem;display:none}.language-arrow{display:block}.language-dropdown{right:0;left:auto;min-width:140px}}@media(max-width:360px){.header-container{padding:0 .5rem}.header-brand-text h1{font-size:.875rem}.icon-button{min-width:32px;min-height:32px;padding:.375rem}.icon-button svg{width:16px;height:16px}.language-selector{min-width:44px;padding:.375rem}.language-flag{width:20px;height:14px}}.footer{background:var(--bg-secondary);border-top:1px solid var(--border-color);padding:2rem 0;margin-top:auto}.footer-container{max-width:1200px;margin:0 auto;padding:0 2rem}.footer-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.copyright{color:var(--text-secondary);font-size:.875rem;margin:0}.footer-links{display:flex;align-items:center;gap:1rem}.footer-link{color:var(--text-secondary);text-decoration:none;font-size:.875rem;transition:var(--transition)}.footer-link:hover{color:var(--primary)}.separator{color:var(--text-tertiary);font-size:.75rem}.footer-tech{text-align:center;color:var(--text-tertiary);font-size:.75rem;margin:0}@media(max-width:768px){.footer{padding:1.5rem 0}.footer-container{padding:0 1rem}.footer-content{flex-direction:column;text-align:center}.footer-links{flex-direction:column;gap:.5rem}.separator{display:none}.copyright,.footer-tech{font-size:.813rem}}@media(max-width:480px){.footer{padding:1rem 0}.footer-container{padding:0 .75rem}.copyright,.footer-link,.footer-tech{font-size:.75rem}.footer-content{gap:.75rem;margin-bottom:.75rem}}.language-select-container{max-width:1200px;margin:0 auto;padding:3rem 2rem;min-height:calc(100vh - 200px)}.language-select-header{text-align:center;margin-bottom:4rem}.language-select-icon{display:flex;align-items:center;justify-content:center;width:120px;height:120px;margin:0 auto 2rem;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-hover) 100%);border-radius:2rem;color:#fff;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform}.language-select-header h1{font-size:3rem;font-weight:800;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-hover) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:1rem}.language-select-subtitles{display:flex;align-items:center;justify-content:center;gap:.75rem;flex-wrap:wrap}.lang-subtitle{font-size:.938rem;color:var(--text-secondary);margin:0}.language-select-subtitles .separator{font-size:.938rem;color:var(--text-tertiary)}.language-options-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem;margin-top:2rem}.language-option-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:3rem 2rem;background:var(--card-bg);border:2px solid var(--border-color);border-radius:1.5rem;cursor:pointer;color:var(--text-primary);box-shadow:0 10px 30px #0000001a;transition:var(--transition);-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform,box-shadow,border-color;-webkit-tap-highlight-color:transparent;-webkit-backface-visibility:hidden;backface-visibility:hidden}.language-option-card:hover{border-color:var(--primary);box-shadow:0 20px 40px #00000026}.language-option-card:active{transform:scale(.98)}.language-flag-large{max-width:120px;max-height:80px;width:auto;height:auto;object-fit:contain;border-radius:.5rem;box-shadow:0 4px 12px #0000001a;flex-shrink:0}.language-card-info{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center}.language-native-name{font-size:1.75rem;font-weight:700;color:var(--text-primary)}.language-english-name{font-size:1rem;color:var(--text-secondary)}@media(max-width:768px){.language-select-container{padding:2rem 1rem}.language-select-header{margin-bottom:3rem}.language-select-icon{width:100px;height:100px;margin-bottom:1.5rem}.language-select-icon svg{width:56px;height:56px}.language-select-header h1{font-size:2rem}.lang-subtitle{font-size:.875rem}.language-options-grid{grid-template-columns:1fr;gap:1.5rem}.language-option-card{padding:2.5rem 2rem}.language-flag-large{max-width:105px;max-height:70px}.language-native-name{font-size:1.5rem}}@media(max-width:480px){.language-select-container{padding:1.5rem .75rem}.language-select-header{margin-bottom:2rem}.language-select-icon{width:80px;height:80px;margin-bottom:1.25rem}.language-select-icon svg{width:48px;height:48px}.language-select-header h1{font-size:1.75rem}.lang-subtitle{font-size:.813rem}.language-options-grid{gap:1.25rem}.language-option-card{padding:2rem 1.5rem}.language-flag-large{max-width:90px;max-height:60px}.language-native-name{font-size:1.375rem}.language-english-name{font-size:.938rem}}@media(max-width:360px){.language-select-container{padding:1rem .5rem}.language-select-icon{width:70px;height:70px}.language-select-icon svg{width:40px;height:40px}.language-select-header h1{font-size:1.5rem}.lang-subtitle{font-size:.75rem}.language-option-card{padding:1.75rem 1.25rem}.language-flag-large{max-width:75px;max-height:50px}.language-native-name{font-size:1.25rem}.language-english-name{font-size:.875rem}}:root{--bg-primary: #f8f9fa;--bg-secondary: #ffffff;--bg-tertiary: #e9ecef;--text-primary: #212529;--text-secondary: #6c757d;--text-tertiary: #adb5bd;--border-color: #dee2e6;--shadow: 0 2px 8px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);--primary: #2563eb;--primary-hover: #1d4ed8;--primary-light: #dbeafe;--primary-dark: #1e40af;--success: #10b981;--warning: #f59e0b;--error: #ef4444;--transition: all .3s cubic-bezier(.4, 0, .2, 1)}[data-theme=dark]{--bg-primary: #0f172a;--bg-secondary: #1e293b;--bg-tertiary: #334155;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-tertiary: #64748b;--border-color: #334155;--shadow: 0 2px 8px rgba(0, 0, 0, .3);--shadow-lg: 0 8px 32px rgba(0, 0, 0, .5);--primary: #3b82f6;--primary-hover: #60a5fa;--primary-light: #1e3a8a;--primary-dark: #2563eb}*{margin:0;padding:0;box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-primary);color:var(--text-primary);transition:var(--transition);-webkit-tap-highlight-color:transparent;-webkit-overflow-scrolling:touch}#root{min-height:100vh}.app{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-tertiary)}::-webkit-scrollbar-thumb{background:var(--text-tertiary);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}::selection{background-color:var(--primary-light);color:var(--text-primary)}button{font-family:inherit;cursor:pointer;border:none;outline:none}input,select,textarea{font-family:inherit;outline:none}@keyframes fadeIn{0%{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes slideIn{0%{opacity:0;transform:translate3d(-20px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.fade-in{animation:fadeIn .5s ease-out;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:opacity,transform}.slide-in{animation:slideIn .5s ease-out;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:opacity,transform}button,a,.clickable{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}button:active,.hover-lift:hover,.hover-lift:active{-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform}
