:root {
  --bg: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-card: #212121;
  --bg-hover: #2a2a2a;
  --text: #f1f1f1;
  --text-muted: #aaaaaa;
  --accent: #ff0000;
  --accent-hover: #cc0000;
  --border: #303030;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--bg-hover);
}

.nav a.active {
  color: var(--accent);
}

/* Main */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 48px 20px 56px;
  background: linear-gradient(180deg, #1a1a1a 0%, transparent 100%);
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}

/* Section titles */
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #555;
}

.duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-info {
  padding: 14px 16px 18px;
}

.video-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Upload form */
.upload-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 2px dashed var(--border);
  text-align: center;
}

.upload-box h2 {
  margin-bottom: 8px;
}

.upload-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.file-drop {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 40px 20px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-drop:hover {
  border-color: var(--accent);
  background: rgba(255, 0, 0, 0.05);
}

.file-drop .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* About / Contact */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-hover);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--text);
}

/* Badge */
.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.coming-soon {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.coming-soon .big {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}
