@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #120201;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4px;
}

/* ── HERO ── */
.hero { position: relative; width: 100%; min-height: 70vh; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; background: #120201; }
.hero-bg { position: absolute; inset: 0; background-color: #e11e16; }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center 20%; mix-blend-mode: darken; opacity: 0.85; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #120201 0%, rgba(18,2,1,0.95) 10%, rgba(18,2,1,0.5) 40%, rgba(18,2,1,0) 100%); }
.hero-content { position: relative; z-index: 10; width: 100%; padding: 4rem 5% 0.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }

.hero-title-fallback {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  min-height: 100px;
  width: 70%;
  line-height: 50px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  margin-top: -6.7rem;
}

.hero-meta-pills {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: -1rem;
}

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.60rem 0.7rem;
  border-radius: 5px;
  color: rgba(0, 0, 0, 0.9);
  background: #ffb7b5;
  text-decoration: none;
}
a.pill { cursor: pointer; }
a.pill:hover { background: #e11e16; color: #fff; }

.pill-outline {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  color: rgb(255, 255, 255);
  font-size: 0.75rem;
  border: none;
  border-left: 2px solid #ffb7b5;
  padding: 0.60rem 0.7rem;
}

/* ── CONTENT WRAPPER ── */
.changelog-content-wrapper {
  padding: 1rem 5% 3rem;
  margin-top: -11rem;
  position: relative;
  z-index: 3;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  min-height: 30vh;
}

.changelog-content {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 15px;
}

.changelog-opening {
  margin-bottom: 2rem;
}

.changelog-opening p {
  margin-bottom: 1rem;
}

/* ── UPDATES LIST ── */
.changelog-updates {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.changelog-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-tag {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  margin-top: 0.15rem;
}

.changelog-tag-new {
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
  border: 1px solid rgba(46,204,113,0.3);
}

.changelog-tag-improvement {
  background: rgba(52,152,219,0.15);
  color: #3498db;
  border: 1px solid rgba(52,152,219,0.3);
}

.changelog-tag-fix {
  background: rgba(241,196,15,0.15);
  color: #f1c40f;
  border: 1px solid rgba(241,196,15,0.3);
}

.changelog-tag-beta {
  background: rgba(155,89,182,0.15);
  color: #9b59b6;
  border: 1px solid rgba(155,89,182,0.3);
}

.changelog-text {
  font-size: 0.85rem;
  line-height: 15px;
  color: rgba(255,255,255,0.8);
}

/* ── CLOSING ── */
.changelog-closing {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ── NAVIGATION ── */
.changelog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

.changelog-nav-link {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ── CHANGELOG INDEX LIST ── */
.changelog-index-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.changelog-index-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
}

.changelog-index-item:last-child {
  border-bottom: none;
}

.changelog-index-item:hover {
  color: #ffb7b5;
  background: rgba(255,255,255,0.03);
}

.changelog-index-version {
  font-size: 1rem;
  font-weight: 600;
  color: #ffb7b5;
  min-width: 60px;
  flex-shrink: 0;
}

.changelog-index-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  min-width: 120px;
  flex-shrink: 0;
}

.changelog-index-overview {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}