:root {
  --bg: #0b1530; --bg-2: #0f1d40;
  --surface: rgba(255,255,255,0.045); --surface-hover: rgba(255,255,255,0.08);
  --line: rgba(255,255,255,0.09);
  --text: #f4f6fb; --body: #d7ddeb; --muted: #9fabc8;
  --orange: #f7931e; --orange-2: #ffb347; --red: #e8303f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image: radial-gradient(900px 500px at 50% -10%, rgba(247,147,30,0.12), transparent 70%),
                    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text); min-height: 100vh; line-height: 1.6; overflow-x: hidden;
}
a { color: inherit; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, calc((100vw - 760px) / 2));
  background: rgba(11,21,48,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brandmini { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.02em; }
.brandmini img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--orange); }
.brandmini b { color: var(--orange); font-weight: 800; }
.top nav { display: flex; gap: 8px; }
.top nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); }
.top nav a:hover { border-color: var(--orange); }
.top nav a.join { background: var(--red); border-color: var(--red); font-weight: 600; }

.article, .list { max-width: 760px; margin: 0 auto; padding: 36px 16px 20px; }
.back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 22px; }
.back:hover { color: var(--orange); }
.date { color: var(--orange-2); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.article h1, .list h1 { font-size: clamp(24px, 5vw, 34px); line-height: 1.25; font-weight: 700; margin: 6px 0 26px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.list h1 { margin-bottom: 6px; }
.lead { color: var(--muted); margin-bottom: 26px; }

.content { color: var(--body); font-size: 16.5px; overflow-wrap: anywhere; }
.content > * + * { margin-top: 14px; }
.content h2, .content h3, .content h4 { color: var(--text); line-height: 1.35; margin-top: 30px; }
.content h2 { font-size: 22px; } .content h3 { font-size: 19px; } .content h4 { font-size: 17px; }
.content strong, .content b { color: var(--text); font-weight: 600; }
.content a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.content a:hover { color: var(--orange); }
.content ul, .content ol { padding-left: 22px; }
.content li + li { margin-top: 8px; }
.content li::marker { color: var(--orange); }
.content blockquote { border-left: 3px solid var(--orange); padding: 6px 0 6px 16px; color: var(--text); font-style: italic; }
.content hr { border: 0; height: 1px; background: var(--line); margin: 28px 0; }
.content img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.content figure { margin: 22px 0; }
.content .video { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin: 22px 0; }
.content .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.posts { display: grid; gap: 12px; }
.post {
  display: block; text-decoration: none; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .18s, background .18s, border-color .18s;
}
.post:hover { transform: translateY(-2px); background: var(--surface-hover); border-color: rgba(247,147,30,0.55); }
.post-date { display: block; color: var(--orange-2); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.post-title { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.35; margin-top: 4px; }
.post-desc { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }

.cta {
  max-width: 728px; margin: 40px auto 0; padding: 22px; border-radius: 20px; text-align: center;
  border: 1.5px solid transparent;
  background: linear-gradient(160deg, rgba(247,147,30,0.16), rgba(15,29,64,0.95) 60%) padding-box,
              linear-gradient(135deg, var(--orange), rgba(247,147,30,0.15)) border-box;
}
@media (max-width: 760px) { .cta { margin-left: 16px; margin-right: 16px; } }
.cta b { display: block; font-size: 17px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.cta-row a { text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 12px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); }
.cta-row a:hover { border-color: var(--orange); }
.cta-row a.red { background: var(--red); border-color: var(--red); }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 16px 40px; }
footer a { text-decoration: none; }
