* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: #f8f9fa;
color: #333;
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
}

.navbar {
background: #fff;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
position: sticky;
top: 0;
z-index: 100;
}

.nav-container {
max-width: 1000px;
margin: 0 auto;
padding: 0 20px;
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
font-size: 18px;
font-weight: 600;
color: #2563eb;
text-decoration: none;
display: flex;
align-items: center;
gap: 10px;
}

.logo svg {
flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid #e2e8f0;
}

.lang-switch a {
  color: #94a3b8 !important;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f1f5f9;
}

.lang-switch a.active {
  background: #2563eb;
  color: #fff !important;
}

.lang-switch a:hover {
  background: #e2e8f0;
  color: #64748b !important;
}

.lang-switch a.active:hover {
  background: #2563eb;
  color: #fff !important;
}

.privacy-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #065f46;
  font-size: 14px;
}

.privacy-banner svg {
  flex-shrink: 0;
  color: #10b981;
}

.footer .privacy-link {
  color: #10b981;
  font-weight: 500;
}

.nav-links a {
color: #64748b;
text-decoration: none;
font-size: 14px;
font-weight: 500;
display: flex;
align-items: center;
gap: 6px;
transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
color: #2563eb;
}

.main-content {
flex: 1;
max-width: 960px;
margin: 0 auto;
padding: 40px 24px;
width: 100%;
}

.input-section {
margin-bottom: 32px;
}

.input-wrapper {
display: flex;
gap: 12px;
background: #fff;
padding: 20px;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.input-wrapper input {
flex: 1;
padding: 14px 18px;
border: 2px solid #e2e8f0;
border-radius: 10px;
font-size: 15px;
outline: none;
transition: all 0.2s ease;
}

.input-wrapper input:focus {
border-color: #2563eb;
background: #f8faff;
}

.input-wrapper button {
padding: 14px 28px;
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
color: #fff;
border: none;
border-radius: 10px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 8px;
}

.input-wrapper button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.player-section {
margin-bottom: 36px;
}

.player-container {
background: #000;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

#video-player {
width: 100%;
display: block;
background: #000;
aspect-ratio: 16/9;
}

.about-section {
background: #fff;
padding: 28px 32px;
border-radius: 16px;
box-shadow: 0 2px 16px rgba(0,0,0,0.04);
margin-bottom: 20px;
}

.about-section h2 {
font-size: 17px;
font-weight: 600;
margin-bottom: 14px;
color: #1e293b;
display: flex;
align-items: center;
gap: 10px;
}

.about-section h2 svg {
color: #2563eb;
flex-shrink: 0;
}

.about-section p {
color: #475569;
font-size: 14px;
margin-bottom: 14px;
line-height: 1.7;
}

.about-section ul {
list-style: none;
padding-left: 0;
}

.about-section li {
color: #475569;
font-size: 14px;
margin-bottom: 10px;
padding-left: 20px;
position: relative;
line-height: 1.7;
}

.about-section li::before {
content: "";
position: absolute;
left: 0;
top: 10px;
width: 6px;
height: 6px;
background: #2563eb;
border-radius: 50%;
}

.about-section a {
color: #2563eb;
text-decoration: none;
font-weight: 500;
}

.about-section a:hover {
text-decoration: underline;
}

.about-section strong {
color: #1e293b;
}

.footer {
background: #fff;
padding: 24px;
text-align: center;
border-top: 1px solid #e2e8f0;
margin-top: auto;
}

.footer p {
color: #94a3b8;
font-size: 13px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}

.footer .version {
background: #f1f5f9;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
color: #64748b;
}

.help-content {
padding-top: 24px;
}

.help-title {
font-size: 26px;
font-weight: 600;
margin-bottom: 28px;
color: #1e293b;
display: flex;
align-items: center;
gap: 12px;
}

.help-layout {
display: flex;
gap: 24px;
}

.help-article {
flex: 1;
background: #fff;
padding: 36px;
border-radius: 16px;
box-shadow: 0 2px 16px rgba(0,0,0,0.04);
min-height: 520px;
}

.help-article h2 {
font-size: 22px;
margin-bottom: 20px;
color: #1e293b;
}

.help-article h3 {
font-size: 16px;
margin: 24px 0 12px;
color: #334155;
font-weight: 600;
}

.help-article h4 {
font-size: 15px;
margin: 18px 0 10px;
color: #475569;
font-weight: 600;
}

.help-article p {
color: #475569;
margin-bottom: 12px;
font-size: 14px;
line-height: 1.8;
}

.help-article ul {
margin: 12px 0;
padding-left: 22px;
color: #475569;
}

.help-article li {
margin-bottom: 8px;
font-size: 14px;
line-height: 1.7;
}

.help-article ol {
margin: 12px 0;
padding-left: 22px;
color: #475569;
}

.help-article ol li {
margin-bottom: 8px;
font-size: 14px;
line-height: 1.7;
}

.help-article pre {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 14px;
overflow-x: auto;
margin: 14px 0;
font-size: 13px;
color: #475569;
}

.help-placeholder {
text-align: center;
padding: 60px 20px;
color: #94a3b8;
}

.help-placeholder svg {
margin-bottom: 16px;
opacity: 0.5;
}

.help-placeholder p {
margin-bottom: 8px;
font-size: 15px;
}

.help-sidebar {
width: 260px;
flex-shrink: 0;
}

.help-menu {
list-style: none;
background: #fff;
border-radius: 12px;
padding: 6px;
box-shadow: 0 2px 12px rgba(0,0,0,0.04);
max-height: 600px;
overflow-y: auto;
}

.help-menu::-webkit-scrollbar {
width: 4px;
}

.help-menu::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}

.help-menu li a {
display: block;
padding: 10px 12px;
color: #64748b;
text-decoration: none;
border-radius: 8px;
font-size: 12px;
transition: all 0.2s ease;
line-height: 1.4;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.help-menu li a:hover {
background: #f1f5f9;
color: #2563eb;
}

.help-menu li.active a {
background: #eff6ff;
color: #2563eb;
font-weight: 500;
}

.about-content {
padding-top: 24px;
}

.about-content h1 {
font-size: 30px;
font-weight: 600;
margin-bottom: 32px;
color: #1e293b;
display: flex;
align-items: center;
gap: 14px;
}

.about-content h1 svg {
color: #2563eb;
}

.about-content .about-section {
padding: 26px 30px;
}

@media (max-width: 768px) {
.help-layout {
flex-direction: column;
}

.help-sidebar {
width: 100%;
order: -1;
}

.help-menu {
max-height: none;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}

.help-menu li a {
white-space: normal;
}

.nav-links {
gap: 18px;
}

.nav-links a {
font-size: 13px;
}

.logo {
font-size: 16px;
}

.about-content h1 {
font-size: 24px;
}

.input-wrapper {
flex-direction: column;
}

.input-wrapper button {
justify-content: center;
}

.help-article {
padding: 24px;
}
}