.games-page {
  --games-bg: #18120d;
  --games-panel: #f1e6d2;
  --games-panel-deep: #e5d5ba;
  --games-ink: #32261c;
  --games-muted: #6f6254;
  --games-gold: #b88737;
  --games-red: #7b3f2d;
  min-width: 320px;
  background: var(--games-bg);
  color: var(--games-panel);
}

.games-page .games-header {
  background: rgb(244 237 222 / 0.97);
  border-bottom-color: #bdae93;
}

.games-page .games-header .brand,
.games-page .games-header .desktop-nav a,
.games-page .games-header .header-link {
  color: #3c3025;
}

.games-page .desktop-nav a[aria-current="page"] {
  color: #804c30;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.games-intro {
  padding-block: 76px 58px;
}

.games-kicker {
  color: #c79b56;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.games-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 80px;
  align-items: end;
  margin-top: 24px;
}

.games-intro h1 {
  color: #fff6e8;
  font: 400 clamp(3.2rem, 6vw, 6.8rem) / 0.95 Georgia, "Times New Roman", serif;
  letter-spacing: -0.055em;
}

.games-intro h1 em {
  color: #d09a60;
}

.games-intro-grid > p {
  max-width: 590px;
  padding: 0 0 8px 28px;
  border-left: 1px solid rgb(199 155 86 / 0.52);
  color: #cabdad;
  font: 1.16rem/1.75 Georgia, "Times New Roman", serif;
}

.featured-wrap {
  padding-bottom: 92px;
}

.featured-game {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(330px, 1.05fr) 180px minmax(400px, 0.95fr);
  background: var(--games-panel);
  color: var(--games-ink);
  box-shadow: 0 28px 70px rgb(0 0 0 / 0.3);
}

.featured-photo {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.featured-photo img,
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, rgb(24 18 13 / 0.24));
}

.nearest-label {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 24px;
  padding: 9px 14px;
  background: rgb(242 231 210 / 0.94);
  color: #5b412e;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-date,
.card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--games-red);
  color: #fff1dc;
  text-align: center;
}

.featured-date strong {
  font: 400 6.7rem/0.9 Georgia, "Times New Roman", serif;
  letter-spacing: -0.08em;
}

.date-weekday,
.date-month,
.card-date span {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.date-weekday {
  margin-bottom: 24px;
}

.date-month {
  margin-top: 18px;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(36px, 4vw, 68px);
}

.master-line {
  color: #855339;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-format {
  align-self: flex-start;
  margin-top: 12px;
  padding: 5px 12px;
  border: 1px solid var(--format-color);
  background: var(--format-tint);
  color: var(--format-color);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.5;
}

.game-format-online {
  --format-color: #23616e;
  --format-tint: rgb(35 97 110 / 0.09);
}

.game-format-offline {
  --format-color: var(--games-red);
  --format-tint: rgb(123 63 45 / 0.09);
}

.game-promise {
  max-width: 520px;
  margin-top: 20px;
  font: 400 clamp(2.2rem, 3.3vw, 4rem) / 1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.game-description {
  max-width: 560px;
  margin-top: 25px;
  color: var(--games-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.game-facts,
.card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  padding-block: 18px;
  border-top: 1px solid #cbbda6;
  border-bottom: 1px solid #cbbda6;
}

.game-facts > div + div,
.card-facts > div + div {
  padding-left: 20px;
  border-left: 1px solid #cbbda6;
}

.game-facts dt,
.card-facts dt {
  color: var(--games-muted);
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.game-facts dd,
.card-facts dd {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
}

.game-action,
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.seats-badge {
  color: #46654f;
  font-size: 0.9rem;
  font-weight: 650;
}

.seats-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
}

.seats-urgent {
  color: #9b3c2f;
}

.games-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 54px;
  padding: 13px 22px;
  background: #754831;
  border: 1px solid #5c3524;
  color: #fff8ec;
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 0.2s, transform 0.2s;
}

.games-button:hover {
  background: #5d3525;
  transform: translateY(-2px);
}

.beginner-line {
  margin-top: 18px;
  color: var(--games-muted);
  font-size: 0.85rem;
}

.beginner-line span {
  margin-right: 7px;
  color: #9a6d35;
}

.more-games {
  padding-bottom: 110px;
}

.more-games-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
  padding-top: 36px;
  border-top: 1px solid rgb(199 155 86 / 0.38);
}

.more-games-heading h2 {
  color: #fff6e8;
  font-size: clamp(2.1rem, 3.2vw, 3.8rem);
}

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

.game-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 112px minmax(140px, 0.68fr) minmax(260px, 1fr);
  min-height: 360px;
  background: var(--games-panel);
  color: var(--games-ink);
}

.card-date {
  padding: 20px 10px;
}

.card-date strong {
  margin-block: 16px 12px;
  font: 400 4.2rem/0.9 Georgia, "Times New Roman", serif;
  letter-spacing: -0.08em;
}

.card-photo {
  min-width: 0;
  overflow: hidden;
}

.card-copy {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
}

.card-promise {
  margin-top: 12px;
  font: 400 1.75rem/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.card-facts {
  margin-top: 24px;
  padding-block: 14px;
}

.card-facts > div + div {
  padding-left: 12px;
}

.game-facts > .price-fact,
.card-facts > .price-fact {
  grid-column: 1 / -1;
  border-left: 0;
  border-top: 1px solid #cbbda6;
  margin-top: 14px;
  padding: 14px 0 0;
}

.game-facts > div,
.card-facts > div,
.featured-copy,
.card-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.featured-date .pending-date,
.card-date .pending-date {
  padding-inline: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.card-beginner {
  margin-top: 14px;
  color: var(--games-muted);
  font-size: 0.82rem;
}

.card-action {
  margin-top: auto;
  padding-top: 24px;
}

.card-action a {
  border-bottom: 1px solid currentColor;
  color: #68422e;
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}

.card-action a span {
  margin-left: 12px;
}

.empty-games {
  margin-bottom: 100px;
  padding: 70px;
  background: var(--games-panel);
  color: var(--games-ink);
  text-align: center;
}

.empty-games h2 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.empty-games > p:not(.games-kicker) {
  margin-top: 22px;
  color: var(--games-muted);
}

.empty-games .games-button {
  margin-top: 30px;
}

.games-note {
  background: var(--games-panel-deep);
  color: var(--games-ink);
}

.games-note-inner {
  display: grid;
  grid-template-columns: 0.65fr 1fr 1fr;
  gap: 65px;
  align-items: start;
  padding-block: 72px;
}

.games-note .games-kicker {
  color: #815536;
}

.note-lead {
  font: 400 2.2rem/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.games-note-inner > p:last-child {
  color: #665849;
  line-height: 1.75;
}

.games-footer {
  color: #d9cbbb;
}

.games-footer .brand {
  color: #f2e7d7;
}

.games-footer > p {
  color: #aa9b8c;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgb(217 203 187 / 0.55);
  padding-block: 7px;
  font-size: 0.9rem;
}

@media (max-width: 1280px) {
  .featured-game {
    grid-template-columns: minmax(300px, 0.9fr) 150px minmax(390px, 1.1fr);
  }

  .featured-copy {
    padding-inline: 38px;
  }

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

  .game-card {
    grid-template-columns: 130px minmax(220px, 0.7fr) minmax(340px, 1fr);
  }
}

@media (max-width: 900px) {
  .games-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .games-intro-grid > p {
    max-width: 680px;
  }

  .featured-game {
    grid-template-columns: 132px 1fr;
  }

  .featured-photo {
    grid-column: 1 / -1;
    min-height: 0;
    aspect-ratio: 1.9;
  }

  .featured-date {
    min-height: 430px;
  }

  .featured-copy {
    min-height: 430px;
  }

  .game-card {
    grid-template-columns: 112px 1fr;
  }

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

  .card-copy {
    grid-column: 1 / -1;
  }

  .games-note-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 50px;
  }

  .games-note-inner > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .games-page .games-header .brand small {
    display: none;
  }

  .games-page .games-header .header-link {
    max-width: 118px;
    white-space: normal;
    text-align: right;
    line-height: 1.3;
  }

  .games-page .games-header .header-link span {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .games-intro {
    padding-block: 48px 36px;
  }

  .games-intro h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .games-intro-grid {
    gap: 26px;
  }

  .games-intro-grid > p {
    padding-left: 18px;
    font-size: 1.02rem;
  }

  .featured-wrap {
    width: 100%;
    padding-bottom: 70px;
  }

  .featured-game {
    grid-template-columns: 102px 1fr;
  }

  .featured-photo {
    aspect-ratio: 1.42;
  }

  .nearest-label {
    left: 15px;
    top: 15px;
  }

  .featured-date,
  .featured-copy {
    min-height: 0;
  }

  .featured-date {
    justify-content: flex-start;
    padding-top: 42px;
  }

  .featured-date strong {
    font-size: 4.7rem;
  }

  .date-weekday {
    margin-bottom: 18px;
    font-size: 0.64rem;
  }

  .date-month {
    margin-top: 13px;
    font-size: 0.64rem;
  }

  .featured-copy {
    padding: 36px 22px 34px;
  }

  .game-promise {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .game-description {
    font-size: 0.95rem;
  }

  .game-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .game-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .game-facts > div + div {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid #d2c4ae;
  }

  .game-action {
    align-items: stretch;
    flex-direction: column;
  }

  .games-button {
    width: 100%;
  }

  .more-games {
    padding-bottom: 70px;
  }

  .more-games-heading {
    display: block;
  }

  .more-games-heading h2 {
    margin-top: 15px;
  }

  .game-card {
    grid-template-columns: 96px 1fr;
  }

  .card-photo {
    min-height: 220px;
  }

  .card-copy {
    padding: 28px 22px 25px;
  }

  .card-facts {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .card-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .card-facts > div + div {
    padding: 9px 0 0;
    border-left: 0;
    border-top: 1px solid #d2c4ae;
  }

  .card-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-facts > .price-fact,
  .card-facts > .price-fact {
    display: block;
    margin-top: 0;
  }

  .games-note-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 52px;
  }

  .games-note-inner > p:last-child {
    grid-column: auto;
  }

  .empty-games {
    width: calc(100% - 40px);
    margin-bottom: 70px;
    padding: 45px 24px;
  }
}

@media (max-width: 420px) {
  .games-page .games-header .brand span {
    font-size: 1.08rem;
  }

  .games-page .games-header .header-link {
    font-size: 0.72rem;
  }

  .featured-game {
    grid-template-columns: 84px 1fr;
  }

  .featured-copy {
    padding-inline: 18px;
  }

  .featured-date strong {
    font-size: 4rem;
  }

  .game-card {
    grid-template-columns: 82px 1fr;
  }

  .card-date strong {
    font-size: 3.5rem;
  }

  .card-date span {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .games-button {
    transition: none;
  }
}
