/* =========================================================
   PovkaWorld — стили сайта
   Цветовая палитра: чёрный / белый / синий / фиолетовый
   ========================================================= */

:root {
  --bg: #08080d;
  --surface: #121219;
  --border: rgba(255, 255, 255, 0.09);

  --text: #f5f5f7;
  --muted: #9aa0ac;

  --blue: #3b82f6;
  --purple: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, var(--blue), var(--purple));

  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ---------------------- Шапка ---------------------- */

.header {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 13, 0.75);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo__bolt {
  color: var(--purple);
}

.nav__link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

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

/* ---------------------- Hero ---------------------- */

.hero {
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__title .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ---------------------- Кнопки ---------------------- */

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--blue);
}

/* ---------------------- Блок загрузки ---------------------- */

.upload {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn--upload {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--muted);
}

.btn--upload:hover {
  border-color: var(--purple);
  color: var(--text);
}

.upload__status {
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.2em;
}

/* ---------------------- Подвал ---------------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}

.footer__inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__inner a {
  color: var(--blue);
  font-weight: 600;
}

.footer__inner a:hover {
  text-decoration: underline;
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: var(--text);
}

/* ---------------------- Адаптивность ---------------------- */

@media (max-width: 600px) {
  .header__inner {
    padding: 14px 18px;
  }

  .hero {
    padding: 64px 18px 48px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
