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

:root {
  --black: #000000;
  --white: #ffffff;
  --off: #888888;
  --border: rgba(255,255,255,0.10);
  --font-title: 'Black Ops One', cursive;
  --accent: #ff5c00;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

.nav-logo a { display: block; line-height: 0; }
.nav-logo img { height: clamp(20px, 4vw, 50px); width: auto; display: block; }

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

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

.page {
  flex: 1;
  padding: 80px 48px 100px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--off);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.post-back:hover { color: var(--white); }

.post-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off);
  margin-bottom: 24px;
}

h1 {
  font-family: var(--font-title);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 48px;
}

.post-cover {
  margin: 0 0 40px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.post-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-content {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
}

.post-content h2 {
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 48px 0 20px;
  line-height: 1.15;
}

.post-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin: 32px 0 16px;
}

.post-content p { margin-bottom: 24px; }

.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content strong { font-weight: 500; color: var(--white); }

.post-content ul, .post-content ol {
  margin: 0 0 24px 1.2em;
}

.post-content li { margin-bottom: 8px; }

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 4px 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left img { height: 28px; width: auto; opacity: 0.35; }
.footer-bottom-right { font-size: 12px; color: rgba(255,255,255,0.22); letter-spacing: 0.04em; }

.footer-legal { display: flex; gap: 20px; font-size: 12px; }
.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

@media (max-width: 768px) {
  nav { padding: 24px; }
  .page { padding: 60px 24px 80px; }
  .footer-bottom { padding: 24px; }
}
