:root {
  --text-fonts: "Poppins", sans-serif;
  --title-fonts: "Lora", serif;
  --big-title-size: 4.8rem;
  --title-size: 3.2rem;
  --title-2-size: 2.4rem;
  --subtitle-size: 2rem;
  --text-size: 1.8rem;
  --text-small-size: 1.6rem;
  --text-tiny-size: 1.4rem;
  --regular: 400;
  --semibold: 600;
  --bold: 700;
  --primary: #daae84;
  --text-secondary: #aeaeae;
  --white: #efefef;
  --background: #1e2730;
  --section-light: #303942;
  --section-medium: #161f28;
  --section-dark: #151c23;
  --primary-hover: #ebbf95;
  --light-border: 1px solid rgba(255, 255, 255, 0.15);
  --gradient-to-top: linear-gradient(180deg, rgba(30, 39, 48, 0.55) 0%, var(--background) 100%);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 10px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--white);
  font-family: var(--text-fonts);
  font-size: var(--text-size);
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu {
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: 10;
  width: calc(100% - 50px);
  max-width: 1100px;
  padding: 1em 5%;
  background: var(--section-medium);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
}

.menu__content,
.menu__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.menu__content {
  position: relative;
}

.menu__brand--mobile {
  display: none;
  align-items: center;
}

.menu__brand-text {
  padding-left: 15px;
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: var(--text-size);
  font-weight: var(--bold);
  line-height: 22px;
}

.menu__logo-image {
  width: 35px;
  height: 35px;
  border-radius: 8px;
}

.menu__item--logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu__link {
  display: block;
  padding: 5px 15px;
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: var(--text-size);
  font-weight: var(--bold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.menu__link.is-active,
.menu__link:hover {
  color: var(--primary-hover);
}

.menu__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--primary);
  background: transparent;
}

.menu__toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu__toggle-icon--close {
  display: none;
}

.menu-open .menu__toggle-icon--open {
  display: none;
}

.menu-open .menu__toggle-icon--close {
  display: block;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 0 20px;
  background-image: var(--gradient-to-top), url("/images/background.png");
  background-size: cover;
  background-position: center;
}

.hero--compact {
  min-height: 320px;
  padding-top: 190px;
  padding-bottom: 56px;
  background: linear-gradient(180deg, rgba(22, 31, 40, 1) 0%, rgba(30, 39, 48, 1) 100%);
}

.hero__content {
  max-width: 700px;
  text-align: center;
}

.hero__title {
  margin-bottom: 24px;
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: var(--big-title-size);
  font-weight: var(--bold);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.hero__description {
  color: var(--primary);
  font-size: var(--subtitle-size);
  line-height: 1.5;
}

.hero--compact .hero__description:empty {
  display: none;
}

.hero__chevron {
  position: absolute;
  bottom: 41px;
}

.hero__chevron svg {
  width: 48px;
  height: 48px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-header,
.archive-shell,
.goals-box,
.post-shell {
  padding: 5rem 6.25rem;
}

.section-header__content,
.archive-shell__content,
.goals-box__content,
.post-shell__content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header__title,
.goals-box__title {
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: var(--title-2-size);
  font-weight: var(--bold);
  letter-spacing: 0.03em;
  line-height: 130%;
  text-transform: uppercase;
}

.section-header__description,
.post-content {
  line-height: 1.8;
}

.section-header__description p + p {
  margin-top: 1.8rem;
}

.button,
.button--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.button {
  background: var(--primary);
  color: var(--section-dark);
  font-size: var(--text-small-size);
  font-weight: var(--bold);
}

.button:hover {
  background: var(--primary-hover);
}

.button--secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-size: var(--text-small-size);
  font-weight: var(--semibold);
}

.button--secondary:hover {
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

.button svg,
.button--secondary svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-actions {
  padding: 0 6.25rem 5rem;
}

.home-actions__content {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.home-panel {
  padding: 0 6.25rem 6.25rem;
}

.home-panel__content {
  max-width: 1200px;
  margin: 0 auto;
}

.home-panel__eyebrow {
  margin-bottom: 16px;
  color: rgba(239, 239, 239, 0.72);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-panel__card {
  min-height: 170px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

.home-panel__card h2 {
  margin-bottom: 12px;
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: 2.2rem;
}

.home-panel__card p {
  line-height: 1.8;
}

.archive-shell {
  padding: 2rem 6.25rem 5rem;
}

.archive-shell__content {
  max-width: 1200px;
  margin: 0 auto;
}

.articles-list {
  padding-bottom: 2rem;
}

.article-card {
  display: block;
  padding: 0;
}

.article-card__content {
  padding: 20px 0;
  background: transparent;
  transition: transform 0.3s;
}

.article-card:hover .article-card__content {
  transform: translateY(-1px);
}

.article-card__title {
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: 2.4rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.article-card__meta {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: var(--text-tiny-size);
}

.article-card__divider {
  color: var(--text-secondary);
}

.articles-list [data-page-item] + [data-page-item] .article-card__content {
  border-top: var(--light-border);
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 18px;
}

.pagination-controls__status {
  min-width: 120px;
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-small-size);
}

.pagination-controls__button {
  min-width: 130px;
  background: transparent;
}

.pagination-controls__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.games-shell {
  padding: 0 0 5rem;
}

.games-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.game-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.game-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(100% - 50px);
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(21, 28, 35, 0.92) 0%, rgba(26, 35, 44, 0.96) 100%);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(218, 174, 132, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(218, 174, 132, 0.35);
  background: linear-gradient(180deg, rgba(24, 32, 40, 0.98) 0%, rgba(30, 39, 48, 1) 100%);
}

.game-card--disabled {
  opacity: 0.72;
  cursor: default;
}

.game-card__content {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.game-card__image,
.game-card__placeholder {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  flex-shrink: 0;
}

.game-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 174, 132, 0.08);
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: 3.2rem;
  box-shadow: inset 0 0 0 1px rgba(218, 174, 132, 0.2);
}

.game-card__copy {
  min-width: 0;
}

.game-card__status {
  margin-bottom: 8px;
  color: rgba(239, 239, 239, 0.72);
  font-size: 1.2rem;
  font-weight: var(--semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-card__name {
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: 2.6rem;
  font-weight: var(--bold);
  line-height: 1.2;
}

.game-card > svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-step__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(218, 174, 132, 0.12);
  color: var(--primary);
  font-family: var(--title-fonts);
  font-size: 1.8rem;
  font-weight: var(--bold);
  box-shadow: inset 0 0 0 1px rgba(218, 174, 132, 0.2);
}

.game-step__line {
  width: 2px;
  height: 52px;
  margin: 12px 0;
  background: linear-gradient(180deg, rgba(218, 174, 132, 0.5) 0%, rgba(218, 174, 132, 0.08) 100%);
}

.goals-box {
  background: var(--section-dark);
}

.goals-box__content {
  padding: 0;
}

.goals-box__list {
  list-style: disc;
  padding-left: 2rem;
}

.goals-box__list li + li {
  margin-top: 10px;
}

.participants-list {
  padding: 0 6.25rem 6.25rem;
}

.participants-list__content {
  max-width: 1200px;
  margin: 0 auto;
}

.participants-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
}

.participant-card__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 0;
  padding: 12px 0;
  border-bottom: var(--light-border);
  background: transparent;
}

.participant-card__identity {
  min-width: 0;
  flex: 1;
}

.participant-card__name {
  color: var(--white);
  font-family: var(--title-fonts);
  font-size: 2rem;
  font-weight: var(--bold);
  line-height: 1.15;
}

.participant-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.participant-card__role {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: var(--semibold);
  line-height: 1.4;
}

.participant-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--text-secondary);
}

.participant-card__time {
  color: var(--text-secondary);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.participant-card__networks {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  justify-content: flex-end;
  min-width: 112px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 5px;
  background: var(--section-light);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.icon-button:hover {
  color: var(--primary);
}

.article-card__meta--post {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

.post-shell__content {
  max-width: 1200px;
}

.post-content p,
.post-content div,
.post-content blockquote,
.post-content ul,
.post-content ol {
  margin-bottom: 1.6rem;
  overflow-wrap: anywhere;
}

.post-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2.5rem auto;
  border-radius: 12px;
}

.post-content iframe,
.post-content table {
  max-width: 100%;
}

.post-content table {
  display: block;
  overflow-x: auto;
}

.post-content a {
  color: var(--primary);
  text-decoration: underline;
}

.site-footer {
  width: 100%;
  margin-top: 25px;
  background: var(--section-medium);
}

.site-footer__text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  color: rgba(239, 239, 239, 0.82);
  font-size: var(--text-small-size);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .home-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .participants-list--grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    max-width: 680px;
  }
}

@media (max-width: 650px) {
  .menu {
    top: 25px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 0.9em 5%;
    transform: none;
  }

  .menu__brand--mobile {
    display: flex;
  }

  .menu__logo-image {
    width: 50px;
    height: 50px;
  }

  .menu__item--logo {
    display: none;
  }

  .menu__toggle {
    display: inline-flex;
  }

  .menu__list {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    padding: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: var(--section-medium);
  }

  .menu__list.is-open {
    display: block;
  }

  .menu__item {
    width: 100%;
  }

  .menu__link {
    width: 100%;
    padding: 20px;
    border-bottom: var(--light-border);
  }

  .menu__item:last-child .menu__link {
    border-bottom: none;
  }

  .hero {
    min-height: 90vh;
  }

  .hero--compact {
    min-height: 260px;
    padding-top: 150px;
  }

  .hero__title {
    font-size: 4rem;
  }

  .section-header,
  .archive-shell,
  .goals-box,
  .post-shell,
  .home-panel {
    padding: 50px;
  }

  .participants-list {
    padding: 0 50px 50px;
  }

  .home-actions {
    padding: 0 50px 50px;
  }

  .home-panel__grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    width: calc(100% - 32px);
    padding: 18px;
    border-radius: 14px;
  }

  .game-card__content {
    align-items: flex-start;
  }

  .game-card__image,
  .game-card__placeholder {
    width: 72px;
    height: 72px;
  }

  .game-card__name {
    font-size: 2.2rem;
  }

  .home-actions__content .button,
  .home-actions__content .button--secondary {
    width: 100%;
  }

  .pagination-controls {
    flex-direction: column;
  }

  .article-card__meta {
    flex-direction: column;
  }

  .article-card__divider,
  .participant-card__dot {
    display: none;
  }

  .participant-card__content {
    align-items: flex-start;
    flex-direction: column;
  }

  .participant-card__networks {
    min-width: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .section-header,
  .archive-shell,
  .goals-box,
  .post-shell,
  .home-panel {
    padding: 30px 20px;
  }

  .participants-list {
    padding: 0 20px 30px;
  }

  .home-actions {
    padding: 0 20px 30px;
  }

  .hero__title {
    font-size: 3.4rem;
  }

  .game-card {
    width: calc(100% - 24px);
    gap: 14px;
    padding: 16px;
  }

  .game-card__name {
    font-size: 2rem;
  }

  .game-card > svg {
    width: 22px;
    height: 22px;
  }
}
