:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f7f7;
  background: #030303;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 22, 22, 0.06) 0 1px, transparent 1px 100%) 0 0 / 160px 160px,
    linear-gradient(0deg, rgba(255, 22, 22, 0.05) 0 1px, transparent 1px 100%) 0 0 / 160px 160px,
    radial-gradient(circle at 78% 8%, rgba(255, 0, 0, 0.2), transparent 28rem),
    #030303;
}

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

.blog-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 88px;
  padding: 0.7rem clamp(1rem, 4vw, 3.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 3, 3, 0.9);
  backdrop-filter: blur(18px);
}

.blog-logo {
  display: block;
  width: 112px;
  height: 70px;
}

.blog-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.blog-header nav a,
.blog-footer nav a {
  color: #d8d8d8;
  transition: color 180ms ease;
}

.blog-header nav a:hover,
.blog-footer nav a:hover {
  color: #ff2828;
}

.blog-header nav a[aria-current="page"] {
  color: #ff3636;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border: 1px solid #e31111;
  border-radius: 6px;
  background: linear-gradient(135deg, #f61919, #c90404);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(255, 0, 0, 0.22);
}

.blog-hero,
.cluster-hero,
.cluster-grid,
.breadcrumbs,
.blog-grid,
.article-layout,
.related-guides,
.blog-cta,
.blog-footer {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1.2rem clamp(1rem, 4vw, 2rem) 0;
  color: #8d8d8d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.breadcrumbs a {
  color: #bdbdbd;
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: #ff2929;
}

.breadcrumbs span[aria-hidden="true"] {
  color: #ff2929;
}

.blog-hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem) 3rem;
}

.cluster-hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem) 2.5rem;
}

.cluster-hero h1 {
  max-width: 1040px;
}

.cluster-hero > p:last-child {
  max-width: 800px;
  margin: 1.35rem 0 0;
  color: #c8c8c8;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem) 4rem;
}

.cluster-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  min-height: 220px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(255, 28, 28, 0.09), rgba(255, 255, 255, 0.025));
  transition: border-color 180ms ease, transform 180ms ease;
}

.cluster-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 31, 31, 0.72);
}

.cluster-card b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #ff2929;
  border-radius: 50%;
  color: #ff2929;
}

.cluster-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1;
}

.cluster-card p {
  margin: 0.8rem 0 1rem;
  color: #bcbcbc;
  line-height: 1.65;
}

.cluster-card strong {
  color: #ff2929;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #ff2929;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
}

h1 span,
.article-body h2 {
  color: #ff2525;
}

.blog-hero > p:last-child {
  max-width: 760px;
  margin: 1.35rem 0 0;
  color: #c8c8c8;
  font-size: 1.1rem;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem) 4rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 28, 28, 0.09), rgba(255, 255, 255, 0.025));
  transition: border-color 180ms ease, transform 180ms ease;
}

.post-card.cluster-feature {
  grid-column: 1 / -1;
  min-height: 260px;
  background: linear-gradient(120deg, rgba(255, 28, 28, 0.17), rgba(255, 255, 255, 0.025));
}

.post-card.cluster-feature h2 {
  max-width: 850px;
}

.post-card.cluster-feature p {
  max-width: 760px;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 31, 31, 0.72);
}

.post-card time,
.article-meta {
  color: #929292;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card h2 {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.post-card p {
  margin: 1rem 0 1.5rem;
  color: #bcbcbc;
  line-height: 1.65;
}

.post-card strong {
  margin-top: auto;
  color: #ff2929;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.article-body {
  min-width: 0;
}

.article-body h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.article-deck {
  max-width: 780px;
  margin: 1.35rem 0 2rem;
  color: #cecece;
  font-size: 1.18rem;
  line-height: 1.65;
}

.article-body h2 {
  margin: 2.8rem 0 0.8rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
}

.article-body h3 {
  margin: 2rem 0 0.7rem;
  font-family: inherit;
  font-size: 1.2rem;
  text-transform: none;
}

.article-body p,
.article-body li {
  color: #c4c4c4;
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3rem;
}

.article-body li + li {
  margin-top: 0.55rem;
}

.article-body a {
  color: #ff4848;
  text-decoration: underline;
  text-decoration-color: rgba(255, 72, 72, 0.45);
  text-underline-offset: 0.2em;
}

.article-body a.button {
  color: #fff;
  text-decoration: none;
}

.article-note {
  margin: 2rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid #ff2929;
  background: rgba(255, 30, 30, 0.06);
}

.related-guides {
  padding: 0 clamp(1rem, 4vw, 2rem) 4rem;
}

.related-guides h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.related-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-guide-grid a {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, transform 180ms ease;
}

.related-guide-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 31, 31, 0.72);
}

.related-guide-grid strong {
  color: #fff;
}

.related-guide-grid p {
  margin: 0.7rem 0 1rem;
  color: #aaa;
  line-height: 1.55;
}

.related-guide-grid span {
  margin-top: auto;
  color: #ff2929;
  font-weight: 800;
}

.article-aside {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 1.25rem;
  border: 1px solid rgba(255, 32, 32, 0.45);
  border-radius: 8px;
  background: rgba(255, 20, 20, 0.06);
}

.article-aside strong {
  display: block;
  margin-bottom: 0.6rem;
  color: #fff;
}

.article-aside p {
  margin: 0 0 1rem;
  color: #aaa;
  line-height: 1.55;
}

.blog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 1.8rem 2rem;
  border: 1px solid #ff1c1c;
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(255, 16, 16, 0.12), rgba(255, 16, 16, 0.025));
}

.blog-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.blog-cta p {
  margin: 0.5rem 0 0;
  color: #bbb;
}

.blog-footer {
  display: grid;
  grid-template-columns: 140px 1fr auto auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: none;
  min-height: 72px;
  margin-inline: 0;
  padding: 1.5rem 3.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #888;
  font-size: 0.82rem;
}

.blog-footer p {
  margin: 0;
  color: #a8a8a8;
}

.blog-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2.4rem;
}

.blog-footer small {
  white-space: nowrap;
}

.footer-logo {
  display: block;
  width: 92px;
  height: 58px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.discord-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.discord-footer-link img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}


@media (max-width: 900px) {
  .blog-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
  }

  .blog-header .button {
    display: none;
  }

  .blog-header nav {
    flex-wrap: wrap;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cluster-grid,
  .related-guide-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    min-height: 260px;
  }

  .post-card.cluster-feature {
    grid-column: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .blog-cta {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-inline: 1rem;
  }

  .blog-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-inline: 0;
    padding-inline: 1.5rem;
  }
}

@media (max-width: 560px) {
  .blog-header nav {
    gap: 0.75rem 1rem;
    font-size: 0.88rem;
  }

  .blog-hero {
    padding-top: 3rem;
  }

  .blog-cta .button {
    width: 100%;
  }
}
