* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(255, 180, 70, 0.18), transparent 35%),
    linear-gradient(180deg, #160b22 0%, #0c0712 100%);
  color: #f7ead2;
}

/* Верхнее меню */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 7, 18, 0.92);
  border-bottom: 1px solid rgba(255, 206, 126, 0.25);
  backdrop-filter: blur(10px);
}

.nav-logo {
  color: #ffd27a;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 0 12px rgba(255, 174, 58, 0.35);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #f3dfbd;
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #ffd27a;
}

/* Главный экран */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255, 196, 87, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(65, 31, 88, 0.8), rgba(16, 8, 24, 0.95));
  border-bottom: 1px solid rgba(255, 206, 126, 0.25);
}

.hero-content {
  max-width: 900px;
}

.eyebrow {
  color: #d9a441;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 15px;
}

h1 {
  margin: 0;
  font-size: 64px;
  color: #ffd27a;
  text-shadow: 0 0 20px rgba(255, 174, 58, 0.4);
}

.hero-text {
  max-width: 700px;
  margin: 25px auto;
  font-size: 22px;
  line-height: 1.5;
  color: #f3dfbd;
}

.main-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* Общие кнопки */

.button {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid #d9a441;
  border-radius: 12px;
  background: rgba(255, 190, 90, 0.12);
  color: #ffe1a3;
  text-decoration: none;
  font-size: 18px;
  transition: 0.2s;
}

.button:hover {
  background: rgba(255, 190, 90, 0.25);
  transform: translateY(-2px);
}

.button.big {
  margin-top: 15px;
  font-size: 20px;
}

.game-button {
  margin-top: 18px;
  font-size: 16px;
  padding: 10px 14px;
}

/* Основная область */

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 50px 0;
}

.section {
  margin-bottom: 50px;
  padding: 30px;
  border: 1px solid rgba(255, 206, 126, 0.2);
  border-radius: 20px;
  background: rgba(24, 13, 34, 0.75);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

.section h2 {
  margin-top: 0;
  font-size: 34px;
  color: #ffd27a;
}

.section p {
  font-size: 19px;
  line-height: 1.5;
  color: #ead7b7;
}

/* Приветственный блок */

.welcome-panel {
  text-align: center;
}

.welcome-panel p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hub-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.hub-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 145, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 214, 145, 0.12), rgba(255, 214, 145, 0.04));
  color: #f7ead2;
  text-decoration: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 122, 0.65);
  box-shadow: 0 0 24px rgba(255, 174, 58, 0.16);
}

.hub-icon {
  display: block;
  font-size: 34px;
  margin-bottom: 12px;
}

.hub-card h3 {
  margin: 0 0 10px;
  color: #ffd27a;
  font-size: 22px;
}

.hub-card p {
  margin: 0;
  color: #ead7b7;
  font-size: 16px;
  line-height: 1.4;
}

.soon {
  opacity: 0.75;
}

/* Фильтры */

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0 12px;
}

.filter-button {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 145, 0.28);
  background: rgba(255, 210, 122, 0.08);
  color: #ffe1a3;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.filter-button:hover {
  background: rgba(255, 210, 122, 0.18);
  transform: translateY(-2px);
}

.filter-button.active {
  background: rgba(255, 210, 122, 0.25);
  border-color: rgba(255, 210, 122, 0.7);
  color: #ffd27a;
}

.games-counter {
  margin: 0 0 20px;
  color: #d9a441;
  font-size: 16px;
}

/* Карточки игр */

.game-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.game-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 214, 145, 0.08);
  border: 1px solid rgba(255, 214, 145, 0.22);
}

.game-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.game-type {
  color: #d9a441;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin: 0 0 10px;
}

.game-card h3 {
  color: #ffd27a;
  margin: 0 0 12px;
  font-size: 24px;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.game-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 210, 122, 0.11);
  border: 1px solid rgba(255, 214, 145, 0.18);
  color: #ffe1a3;
  font-size: 14px;
}

/* Статусы */

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid rgba(255, 214, 145, 0.25);
}

.status-open {
  color: #dfffd8;
  background: rgba(76, 175, 80, 0.16);
  border-color: rgba(126, 255, 137, 0.28);
}

.status-closed {
  color: #ffd6d6;
  background: rgba(190, 50, 50, 0.18);
  border-color: rgba(255, 130, 130, 0.3);
}

.status-soon {
  color: #d9ecff;
  background: rgba(80, 150, 255, 0.16);
  border-color: rgba(130, 180, 255, 0.3);
}

.status-default {
  color: #ffe1a3;
  background: rgba(255, 210, 122, 0.12);
}

/* Запись */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 25px 0;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 214, 145, 0.08);
  border: 1px solid rgba(255, 214, 145, 0.18);
}

.step span {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 210, 122, 0.22);
  color: #ffd27a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step p {
  margin: 0;
  font-size: 17px;
}

/* Расписание */

.schedule-box {
  margin-top: 25px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 145, 0.22);
}

.schedule-row {
  display: grid;
  grid-template-columns: 120px 1fr 120px 150px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 214, 145, 0.14);
  background: rgba(255, 214, 145, 0.06);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row strong {
  color: #ffd27a;
}

.schedule-head {
  background: rgba(255, 210, 122, 0.13);
}

.schedule-head span,
.schedule-head strong {
  color: #ffd27a;
  font-weight: bold;
}

/* Календарь */

.calendar-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 18px;
}

.calendar-header h3 {
  margin: 0;
  color: #ffd27a;
  font-size: 28px;
  text-align: center;
}

.calendar-nav-button {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 214, 145, 0.28);
  background: rgba(255, 210, 122, 0.08);
  color: #ffe1a3;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}

.calendar-nav-button:hover {
  background: rgba(255, 210, 122, 0.18);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center;
  color: #ffd27a;
  font-weight: bold;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  min-height: 130px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 214, 145, 0.18);
  background: rgba(255, 214, 145, 0.05);
}

.calendar-empty {
  opacity: 0.25;
  border-style: dashed;
}

.calendar-day-number {
  color: #ffd27a;
  font-size: 20px;
  font-weight: bold;
}

.calendar-day-label {
  margin: 6px 0 10px;
  font-size: 13px;
  color: #d9a441;
}

.free-day {
  border-color: rgba(126, 255, 137, 0.16);
}

.busy-day {
  background: rgba(255, 210, 122, 0.11);
  border-color: rgba(255, 210, 122, 0.42);
}

.calendar-game {
  margin-top: 8px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(12, 7, 18, 0.65);
  border: 1px solid rgba(255, 214, 145, 0.16);
}

.calendar-game strong {
  display: block;
  color: #f7ead2;
  font-size: 13px;
  line-height: 1.3;
}

.calendar-game span {
  display: inline-flex;
  margin-top: 5px;
  font-size: 12px;
}

.open-date-box {
  margin-top: 30px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 214, 145, 0.06);
  border: 1px solid rgba(255, 214, 145, 0.18);
}

.open-date-box h3 {
  margin-top: 0;
  color: #ffd27a;
  font-size: 24px;
}

.open-date-game {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(12, 7, 18, 0.55);
  border: 1px solid rgba(255, 214, 145, 0.16);
}

.open-date-game strong {
  color: #ffd27a;
}

.open-date-game p {
  margin: 6px 0 0;
  font-size: 15px;
}

/* Кабинет */

.profile-preview {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 25px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 214, 145, 0.08);
  border: 1px solid rgba(255, 214, 145, 0.22);
}

.avatar-placeholder {
  min-width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 145, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd27a;
  font-size: 42px;
  background: rgba(255, 210, 122, 0.1);
}

.profile-preview h3 {
  margin: 0 0 10px;
  color: #ffd27a;
}

/* Социальные ссылки */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social {
  padding: 15px 24px;
  border-radius: 12px;
  border: 1px solid #d9a441;
  font-size: 18px;
  font-family: inherit;
  text-decoration: none;
  color: #ffe1a3;
  background: rgba(255, 190, 90, 0.12);
  cursor: pointer;
}

.social:hover {
  background: rgba(255, 190, 90, 0.25);
}

/* Пустые сообщения */

.empty-message {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 214, 145, 0.35);
  color: #f4d49a;
  text-align: center;
  font-size: 20px;
  background: rgba(255, 214, 145, 0.05);
}

/* Подвал */

.footer {
  padding: 25px;
  text-align: center;
  color: #bfa77a;
  border-top: 1px solid rgba(255, 206, 126, 0.2);
}

/* Адаптация под маленькие экраны */

@media (max-width: 950px) {
  .hub-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-grid,
  .calendar-weekdays {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-weekdays {
    display: none;
  }

  .calendar-header {
    flex-direction: column;
  }
}

@media (max-width: 850px) {
  .game-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .game-card-top {
    flex-direction: column;
  }

  .profile-preview {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 18px;
  }

  .section {
    padding: 22px;
  }

  .hub-cards {
    grid-template-columns: 1fr;
  }

  .top-nav {
    padding: 12px 18px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 14px;
  }

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

  .open-date-game {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ============================= */
/* v1.5 — оптимизация под телефоны */
/* ============================= */

section {
  scroll-margin-top: 90px;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1100px) {
  .container {
    width: 94%;
  }

  .game-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .top-nav {
    position: sticky;
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px;
  }

  .nav-logo {
    font-size: 20px;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .nav-links a {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 210, 122, 0.08);
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 70px 18px 55px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .hero-text {
    font-size: 18px;
    line-height: 1.45;
  }

  .main-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .main-buttons .button {
    width: 100%;
    text-align: center;
  }

  .container {
    width: 94%;
    padding: 30px 0;
  }

  .section {
    padding: 22px;
    margin-bottom: 30px;
    border-radius: 18px;
  }

  .section h2 {
    font-size: 28px;
  }

  .section p {
    font-size: 17px;
  }

  .hub-cards {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: auto;
    padding: 20px;
  }

  .filter-panel {
    gap: 8px;
  }

  .filter-button {
    flex: 1 1 auto;
    min-width: 130px;
    padding: 11px 12px;
    font-size: 14px;
  }

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

  .game-card {
    padding: 20px;
  }

  .game-card-top {
    flex-direction: column;
    gap: 8px;
  }

  .game-meta {
    gap: 7px;
  }

  .game-meta span {
    font-size: 13px;
  }

  .game-button {
    width: 100%;
    text-align: center;
  }

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

  .schedule-box {
    overflow-x: auto;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px;
  }

  .calendar-header {
    flex-direction: column;
    align-items: stretch;
  }

  .calendar-header h3 {
    order: -1;
    font-size: 26px;
  }

  .calendar-nav-button {
    width: 100%;
    min-height: 44px;
  }

  .calendar-weekdays {
    display: none;
  }

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

  .calendar-day {
    min-height: auto;
  }

  .calendar-game {
    padding: 10px;
  }

  .open-date-game {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-preview {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    flex-direction: column;
  }

  .social {
    width: 100%;
    text-align: center;
  }

  .footer {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .section {
    padding: 18px;
  }

  .section h2 {
    font-size: 25px;
  }

  .button,
  .social {
    font-size: 16px;
  }

  .hub-icon {
    font-size: 30px;
  }

  .game-card h3 {
    font-size: 22px;
  }

  .status-badge {
    font-size: 12px;
  }
}
/* ============================= */
/* v1.8.1 — живой фон на всех устройствах */
/* ============================= */

.tavern-layer {
  transform: translate(0, 0) scale(1.03);
}

@media (max-width: 768px) {
  .tavern-layer {
    transform: translate(0, 0) scale(1.03) !important;
  }
}
/* ============================= */
/* v1.8.2 — исправление интерактивного фона */
/* ============================= */

.tavern-layer {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1.08) !important;
  transition: none !important;
}

.tavern-fire {
  animation:
    tavernFirePulse 1.8s ease-in-out infinite,
    tavernFireMove 5s ease-in-out infinite;
}

.tavern-sparks {
  opacity: 1;
  animation: tavernSparks 6s linear infinite;
}

@keyframes tavernFireMove {
  0%, 100% {
    filter: blur(1px) brightness(1);
  }

  50% {
    filter: blur(2px) brightness(1.25);
  }
}
/* ============================= */
/* v1.9 — статичная тавернная картинка */
/* ============================= */

.tavern-background {
  background:
    linear-gradient(
      180deg,
      rgba(10, 4, 4, 0.28) 0%,
      rgba(10, 4, 4, 0.52) 55%,
      rgba(10, 4, 4, 0.82) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(255, 190, 90, 0.12),
      rgba(0, 0, 0, 0.45) 65%
    ),
    url("images/tavern-bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tavern-layer {
  display: none !important;
}

.tavern-hero {
  background: #120709;
}

.tavern-content {
  background:
    linear-gradient(
      180deg,
      rgba(26, 12, 8, 0.70),
      rgba(9, 4, 5, 0.62)
    );

  border: 1px solid rgba(255, 210, 122, 0.32);
  box-shadow:
    0 0 70px rgba(255, 130, 40, 0.16),
    0 18px 90px rgba(0, 0, 0, 0.58);
}

/* На телефоне фон остаётся красивым и не ломает страницу */
@media (max-width: 768px) {
  .tavern-background {
    background-position: center top;
  }

  .tavern-content {
    background:
      linear-gradient(
        180deg,
        rgba(26, 12, 8, 0.78),
        rgba(9, 4, 5, 0.72)
      );
  }
}
/* ============================= */
/* v1.9.2 — фон-картинка напрямую на главном экране */
/* ============================= */

.tavern-hero {
  background:
    linear-gradient(
      180deg,
      rgba(10, 4, 4, 0.20) 0%,
      rgba(10, 4, 4, 0.45) 55%,
      rgba(10, 4, 4, 0.82) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(255, 190, 90, 0.10),
      rgba(0, 0, 0, 0.48) 70%
    ),
    url("images/tavern-bg.png") !important;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Старые декоративные интерактивные слои убираем, чтобы они не перекрывали картинку */
.tavern-background {
  display: none !important;
}
/* ============================= */
/* v2.0 — раздел “Я новичок” */
/* ============================= */

.newbie-guide {
  overflow: hidden;
}

.newbie-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.newbie-step {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.10), rgba(70, 32, 18, 0.22));
  border: 1px solid rgba(255, 210, 122, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 170, 0.07),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.newbie-step span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #ffd27a;
  font-size: 20px;
  font-weight: bold;
  background: rgba(255, 210, 122, 0.18);
  border: 1px solid rgba(255, 210, 122, 0.42);
  box-shadow: 0 0 18px rgba(255, 150, 55, 0.18);
}

.newbie-step h3 {
  margin: 0 0 10px;
  color: #ffd27a;
  font-size: 22px;
}

.newbie-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.newbie-note {
  margin: 30px 0 24px;
  padding: 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.09), rgba(43, 22, 15, 0.34));
  border: 1px solid rgba(255, 210, 122, 0.26);
}

.newbie-note h3 {
  margin-top: 0;
  color: #ffd27a;
  font-size: 24px;
}

.newbie-note ul {
  margin: 16px 0;
  padding-left: 24px;
  color: #f0d6ad;
  font-size: 18px;
  line-height: 1.6;
}

.newbie-note li::marker {
  color: #ffd27a;
}

.newbie-note p {
  margin-bottom: 0;
}

@media (max-width: 950px) {
  .newbie-path {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .newbie-path {
    grid-template-columns: 1fr;
  }

  .newbie-step {
    padding: 18px;
  }

  .newbie-note {
    padding: 18px;
  }

  .newbie-note ul {
    font-size: 16px;
  }
}
/* ============================= */
/* v2.1 — карточки игр как объявления */
/* ============================= */

.notice-board-section {
  background:
    linear-gradient(180deg, rgba(53, 28, 16, 0.90), rgba(19, 8, 6, 0.88));
}

.notice-board-section h2::before {
  content: "📌 ";
}

.notice-board-section .game-list {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(92, 50, 27, 0.42), rgba(43, 22, 14, 0.56)),
    repeating-linear-gradient(
      90deg,
      rgba(82, 42, 22, 0.88) 0px,
      rgba(82, 42, 22, 0.88) 34px,
      rgba(66, 33, 18, 0.88) 34px,
      rgba(66, 33, 18, 0.88) 68px
    );
  border: 1px solid rgba(255, 210, 122, 0.25);
  box-shadow:
    inset 0 0 35px rgba(0, 0, 0, 0.42),
    0 18px 45px rgba(0, 0, 0, 0.28);
}

.notice-board-section .game-list::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 220, 150, 0.18);
  pointer-events: none;
}

.notice-board-section .game-card {
  position: relative;
  overflow: visible;
  padding: 26px 22px 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(180deg, #f3d49a 0%, #d9ad65 100%);
  border: 1px solid rgba(92, 48, 20, 0.55);
  color: #2b160f;
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.34),
    inset 0 0 28px rgba(96, 46, 18, 0.14);
  transform: rotate(-0.6deg);
}

.notice-board-section .game-card:nth-child(2n) {
  transform: rotate(0.8deg);
}

.notice-board-section .game-card:nth-child(3n) {
  transform: rotate(-1deg);
}

.notice-board-section .game-card:hover {
  transform: translateY(-5px) rotate(0deg);
  border-color: rgba(255, 235, 170, 0.9);
  box-shadow:
    0 0 24px rgba(255, 190, 90, 0.20),
    0 18px 32px rgba(0, 0, 0, 0.38),
    inset 0 0 28px rgba(96, 46, 18, 0.12);
}

.notice-board-section .game-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff1bd, #b66a24 48%, #5b260f 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.42),
    0 0 12px rgba(255, 190, 90, 0.28);
}

.notice-board-section .game-card h3 {
  margin-top: 10px;
  color: #3a1c0d;
  text-shadow: none;
}

.notice-board-section .game-card p {
  color: #4a2a14;
}

.notice-board-section .game-type {
  color: #7b4219;
  font-weight: bold;
}

.notice-board-section .game-meta span {
  background: rgba(83, 39, 14, 0.10);
  border-color: rgba(83, 39, 14, 0.20);
  color: #3a1c0d;
}

.notice-board-section .game-button {
  background:
    linear-gradient(180deg, rgba(72, 35, 16, 0.92), rgba(37, 16, 8, 0.94));
  border-color: rgba(255, 210, 122, 0.55);
  color: #ffe4aa;
}

.notice-board-section .game-button:hover {
  background:
    linear-gradient(180deg, rgba(100, 49, 20, 0.96), rgba(49, 19, 8, 0.96));
}

.notice-board-section .status-badge {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.notice-board-section .status-open {
  color: #1d4b19;
  background: rgba(121, 202, 103, 0.28);
  border-color: rgba(32, 105, 32, 0.22);
}

.notice-board-section .status-closed {
  color: #7a1818;
  background: rgba(190, 50, 50, 0.20);
  border-color: rgba(126, 25, 25, 0.22);
}

.notice-board-section .empty-message {
  position: relative;
  z-index: 1;
  background: rgba(243, 212, 154, 0.88);
  color: #3a1c0d;
  border-color: rgba(83, 39, 14, 0.26);
}

@media (max-width: 768px) {
  .notice-board-section .game-list {
    padding: 18px;
  }

  .notice-board-section .game-card,
  .notice-board-section .game-card:nth-child(2n),
  .notice-board-section .game-card:nth-child(3n) {
    transform: none;
  }

  .notice-board-section .game-card:hover {
    transform: translateY(-3px);
  }
}
/* ============================= */
/* v2.2 — картинки анонсов в карточках игр */
/* ============================= */

.game-card-content {
  position: relative;
  z-index: 1;
}

.game-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(12, 7, 18, 0.75);
  border-bottom: 1px solid rgba(255, 210, 122, 0.26);
}

.game-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.notice-board-section .game-card.has-image {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(28, 12, 8, 0.94), rgba(10, 4, 4, 0.96));
  border: 1px solid rgba(255, 210, 122, 0.34);
  color: #f7ead2;
}

.notice-board-section .game-card.has-image::before {
  display: none;
}

.notice-board-section .game-card.has-image .game-card-content {
  padding: 20px;
}

.notice-board-section .game-card.has-image h3 {
  color: #ffd27a;
  text-shadow: 0 0 14px rgba(255, 150, 55, 0.25);
}

.notice-board-section .game-card.has-image p {
  color: #f0d6ad;
}

.notice-board-section .game-card.has-image .game-type {
  color: #d9a441;
}

.notice-board-section .game-card.has-image .game-meta span {
  background: rgba(255, 210, 122, 0.11);
  border-color: rgba(255, 214, 145, 0.18);
  color: #ffe1a3;
}

.notice-board-section .game-card.has-image .game-button {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .game-image-wrap {
    aspect-ratio: 16 / 10;
  }
}
/* ============================= */
/* v2.3 — картинка анонса как фон карточки */
/* ============================= */

/* Старый отдельный блок картинки больше не нужен */
.game-image-wrap {
  display: none !important;
}

/* Карточка с картинкой теперь сама становится обложкой */
.notice-board-section .game-card.has-image {
  min-height: 620px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 18px;

  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.18) 38%,
      rgba(0, 0, 0, 0.78) 74%,
      rgba(0, 0, 0, 0.92) 100%
    ),
    var(--game-image-url);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: 1px solid rgba(255, 210, 122, 0.38);
  color: #f7ead2;
}

/* Убираем кнопку-гвоздик у карточек с картинкой */
.notice-board-section .game-card.has-image::before {
  display: none;
}

/* Текстовая зона поверх картинки */
.notice-board-section .game-card.has-image .game-card-content {
  width: 100%;
  padding: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(12, 5, 5, 0.10) 0%,
      rgba(12, 5, 5, 0.62) 35%,
      rgba(12, 5, 5, 0.88) 100%
    );
  backdrop-filter: blur(2px);
  border-top: 1px solid rgba(255, 210, 122, 0.22);
}

/* Название поверх картинки */
.notice-board-section .game-card.has-image h3 {
  color: #ffd27a;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(255, 150, 55, 0.35);
}

/* Описание поверх картинки */
.notice-board-section .game-card.has-image p {
  color: #f7dfba;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

/* Тип игры */
.notice-board-section .game-card.has-image .game-type {
  color: #ffd27a;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

/* Метки дата/время/мастер */
.notice-board-section .game-card.has-image .game-meta span {
  background: rgba(0, 0, 0, 0.46);
  border-color: rgba(255, 214, 145, 0.24);
  color: #ffe1a3;
  backdrop-filter: blur(3px);
}

/* Кнопка записи */
.notice-board-section .game-card.has-image .game-button {
  width: 100%;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.26), rgba(122, 48, 22, 0.42));
  border-color: rgba(255, 210, 122, 0.62);
  box-shadow: 0 0 18px rgba(255, 150, 55, 0.18);
}

/* Статус на картинке */
.notice-board-section .game-card.has-image .status-badge {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(3px);
}

/* На телефоне карточка ниже, чтобы не была огромной */
@media (max-width: 768px) {
  .notice-board-section .game-card.has-image {
    min-height: 520px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .notice-board-section .game-card.has-image {
    min-height: 470px;
  }
}
/* ============================= */
/* v2.4 — раскрывающиеся разделы */
/* ============================= */

.accordion-section {
  padding: 0;
  overflow: hidden;
}

.accordion-title {
  width: 100%;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: none;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.12), rgba(70, 32, 18, 0.20));
  color: #ffd27a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  text-align: left;
  cursor: pointer;
  text-shadow: 0 0 18px rgba(255, 130, 40, 0.22);
}

.accordion-title:hover {
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.18), rgba(100, 45, 20, 0.26));
}

.accordion-icon {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffe1a3;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 210, 122, 0.32);
  transition: 0.25s;
}

.accordion-body {
  display: none;
  padding: 0 30px 30px;
}

.accordion-section.open .accordion-body {
  display: block;
}

.accordion-section.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-section.open {
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 170, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(255, 150, 55, 0.06);
}

/* Чтобы у разделов внутри аккордеона не было лишнего верхнего отступа */
.accordion-body > p:first-child {
  margin-top: 0;
  padding-top: 24px;
}

/* Доска объявлений внутри раскрывающегося блока */
.accordion-body .filter-panel {
  margin-top: 24px;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .accordion-title {
    padding: 20px;
    font-size: 26px;
  }

  .accordion-body {
    padding: 0 20px 22px;
  }

  .accordion-icon {
    min-width: 36px;
    height: 36px;
  }
}

@media (max-width: 420px) {
  .accordion-title {
    font-size: 23px;
  }
}
/* ============================= */
/* v2.5 — оптимизация под телефоны и разные экраны */
/* ============================= */

/* Общая защита от горизонтальной прокрутки */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* Удобные нажатия пальцем */
a,
button {
  touch-action: manipulation;
}

.button,
.social,
.filter-button,
.calendar-nav-button,
.accordion-title {
  min-height: 44px;
}

/* Чтобы якоря не прятались под верхним меню */
section {
  scroll-margin-top: 90px;
}

/* Большие планшеты и небольшие ноутбуки */
@media (max-width: 1100px) {
  .container {
    width: 94%;
  }

  .hub-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .notice-board-section .game-card.has-image {
    min-height: 560px;
  }

  .calendar-grid,
  .calendar-weekdays {
    grid-template-columns: repeat(4, 1fr);
  }

  .calendar-weekdays {
    display: none;
  }
}

/* Планшеты и телефоны */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .top-nav {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
  }

  .nav-logo {
    text-align: center;
    font-size: 19px;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 210, 122, 0.08);
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 72px 14px 48px;
  }

  .tavern-hero {
    background-position: center top !important;
  }

  .tavern-content {
    width: 100%;
    padding: 22px;
    border-radius: 20px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .main-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .main-buttons .button {
    width: 100%;
    text-align: center;
  }

  .container {
    width: 94%;
    padding: 28px 0;
  }

  .section {
    margin-bottom: 24px;
    border-radius: 18px;
  }

  .accordion-title {
    padding: 18px;
    font-size: 24px;
    line-height: 1.15;
  }

  .accordion-icon {
    min-width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .accordion-body {
    padding: 0 16px 20px;
  }

  .accordion-body > p:first-child {
    padding-top: 18px;
  }

  .section p {
    font-size: 16px;
    line-height: 1.45;
  }

  .hub-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hub-card {
    min-height: auto;
    padding: 18px;
  }

  .hub-card h3 {
    font-size: 21px;
  }

  .hub-card p {
    font-size: 15px;
  }

  .filter-panel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }

  .filter-button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 13px;
    font-size: 14px;
  }

  .game-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .notice-board-section .game-list {
    padding: 14px;
    border-radius: 18px;
  }

  .notice-board-section .game-card {
    transform: none !important;
  }

  .notice-board-section .game-card:hover {
    transform: translateY(-3px) !important;
  }

  .notice-board-section .game-card.has-image {
    min-height: 520px;
    background-position: center;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    padding: 18px;
    background:
      linear-gradient(
        180deg,
        rgba(12, 5, 5, 0.12) 0%,
        rgba(12, 5, 5, 0.68) 32%,
        rgba(12, 5, 5, 0.94) 100%
      );
  }

  .game-card h3 {
    font-size: 23px;
    line-height: 1.15;
  }

  .game-card p {
    font-size: 15px;
    line-height: 1.4;
  }

  .game-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .game-meta {
    gap: 7px;
  }

  .game-meta span {
    font-size: 13px;
    line-height: 1.25;
  }

  .game-button {
    width: 100%;
    text-align: center;
  }

  .newbie-path {
    grid-template-columns: 1fr;
  }

  .newbie-step {
    padding: 18px;
  }

  .newbie-note {
    padding: 18px;
  }

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

  .step {
    padding: 16px;
  }

  .schedule-box {
    overflow: hidden;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px;
  }

  .schedule-head {
    display: none;
  }

  .calendar-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .calendar-header h3 {
    order: -1;
    font-size: 24px;
  }

  .calendar-nav-button {
    width: 100%;
  }

  .calendar-weekdays {
    display: none;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calendar-day {
    min-height: auto;
    padding: 14px;
  }

  .calendar-game {
    padding: 10px;
  }

  .open-date-box {
    padding: 18px;
  }

  .open-date-game {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .profile-preview {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }

  .avatar-placeholder {
    min-width: 78px;
    width: 78px;
    height: 78px;
    font-size: 34px;
  }

  .social-links {
    flex-direction: column;
  }

  .social {
    width: 100%;
    text-align: center;
  }

  .footer {
    padding: 20px 14px;
    font-size: 14px;
  }

  /* На телефоне уменьшаем тяжёлые эффекты */
  .tavern-content,
  .game-card,
  .hub-card,
  .section {
    backdrop-filter: none;
  }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
  .top-nav {
    padding: 9px 10px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 8px 10px;
  }

  .hero {
    padding: 58px 12px 38px;
  }

  .tavern-content {
    padding: 18px;
  }

  h1 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 15px;
  }

  .button,
  .social {
    font-size: 16px;
    padding: 12px 16px;
  }

  .accordion-title {
    padding: 16px;
    font-size: 22px;
  }

  .accordion-body {
    padding: 0 14px 18px;
  }

  .notice-board-section .game-list {
    padding: 10px;
  }

  .notice-board-section .game-card.has-image {
    min-height: 460px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    padding: 16px;
  }

  .game-card h3 {
    font-size: 21px;
  }

  .game-card p {
    font-size: 14px;
  }

  .game-type {
    font-size: 12px;
  }

  .status-badge {
    font-size: 12px;
    padding: 6px 9px;
  }

  .game-meta span {
    font-size: 12px;
  }

  .section p {
    font-size: 15px;
  }

  .newbie-step h3,
  .hub-card h3 {
    font-size: 20px;
  }
}

/* Очень узкие экраны */
@media (max-width: 360px) {
  h1 {
    font-size: 28px;
  }

  .accordion-title {
    font-size: 20px;
  }

  .notice-board-section .game-card.has-image {
    min-height: 420px;
  }

  .game-card h3 {
    font-size: 19px;
  }

  .button,
  .social,
  .filter-button {
    font-size: 14px;
  }
}
/* ============================= */
/* v2.6 — фиксированный текст на анонсах */
/* ============================= */

/* Карточка с картинкой: текст всегда закреплён внизу */
.notice-board-section .game-card.has-image {
  position: relative;
  min-height: 620px;
  display: block;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.16) 38%,
      rgba(0, 0, 0, 0.56) 68%,
      rgba(0, 0, 0, 0.92) 100%
    ),
    var(--game-image-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Нижняя текстовая плашка */
.notice-board-section .game-card.has-image .game-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  padding: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(8, 3, 3, 0.18) 0%,
      rgba(8, 3, 3, 0.78) 34%,
      rgba(8, 3, 3, 0.96) 100%
    );

  border-top: 1px solid rgba(255, 210, 122, 0.28);
  backdrop-filter: blur(3px);
}

/* Верхняя строка внутри карточки */
.notice-board-section .game-card.has-image .game-card-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

/* Название фиксированное и читаемое */
.notice-board-section .game-card.has-image h3 {
  margin: 0 0 12px;
  color: #ffd27a;
  font-size: 24px;
  line-height: 1.15;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(255, 150, 55, 0.42);
}

/* Тип игры */
.notice-board-section .game-card.has-image .game-type {
  margin: 0;
  color: #ffe1a3;
  font-weight: bold;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(255, 190, 90, 0.34);
}

/* Раскрывающийся логлайн */
.game-description-details {
  margin: 0 0 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 210, 122, 0.22);
  overflow: hidden;
}

.game-description-details summary {
  padding: 10px 12px;
  color: #ffe1a3;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.game-description-details summary::-webkit-details-marker {
  display: none;
}

.game-description-details summary::after {
  content: " ⌄";
  color: #ffd27a;
}

.game-description-details[open] summary::after {
  content: " ⌃";
}

.game-description-details p {
  margin: 0;
  padding: 0 12px 12px;
  color: #f7dfba;
  font-size: 15px;
  line-height: 1.4;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95);
}

/* Метки даты и информации */
.notice-board-section .game-card.has-image .game-meta {
  margin-top: 12px;
}

.notice-board-section .game-card.has-image .game-meta span {
  background: rgba(0, 0, 0, 0.58);
  border-color: rgba(255, 214, 145, 0.30);
  color: #ffe1a3;
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.30);
}

/* Кнопка записи */
.notice-board-section .game-card.has-image .game-button {
  width: 100%;
  margin-top: 16px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.30), rgba(122, 48, 22, 0.54));
  border-color: rgba(255, 210, 122, 0.72);
  box-shadow:
    0 0 18px rgba(255, 150, 55, 0.24),
    inset 0 1px 0 rgba(255, 235, 190, 0.12);
}

/* ============================= */
/* v2.6 — яркий статус набора */
/* ============================= */

.status-badge {
  font-weight: bold;
  letter-spacing: 0.3px;
  text-shadow: none;
}

/* Набор открыт — яркий зелёный огонёк */
.status-open {
  color: #062d0a !important;
  background:
    linear-gradient(180deg, #baff8f 0%, #45d651 100%) !important;
  border-color: rgba(196, 255, 158, 0.95) !important;
  box-shadow:
    0 0 12px rgba(83, 255, 91, 0.75),
    0 0 24px rgba(83, 255, 91, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

/* Мест нет — яркий красный огонёк */
.status-closed {
  color: #fff2f2 !important;
  background:
    linear-gradient(180deg, #ff6b6b 0%, #b51414 100%) !important;
  border-color: rgba(255, 160, 160, 0.95) !important;
  box-shadow:
    0 0 12px rgba(255, 70, 70, 0.75),
    0 0 24px rgba(255, 70, 70, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* На картинках статус ещё заметнее */
.notice-board-section .game-card.has-image .status-badge {
  padding: 8px 12px;
  font-size: 13px;
  border-width: 2px;
  text-transform: uppercase;
}

/* Бумажные карточки тоже получают раскрывающийся логлайн */
.notice-board-section .game-card:not(.has-image) .game-description-details {
  background: rgba(83, 39, 14, 0.12);
  border-color: rgba(83, 39, 14, 0.20);
}

.notice-board-section .game-card:not(.has-image) .game-description-details summary {
  color: #3a1c0d;
}

.notice-board-section .game-card:not(.has-image) .game-description-details p {
  color: #4a2a14;
  text-shadow: none;
}

/* Телефоны */
@media (max-width: 768px) {
  .notice-board-section .game-card.has-image {
    min-height: 540px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    padding: 18px;
  }

  .notice-board-section .game-card.has-image h3 {
    font-size: 23px;
  }

  .game-description-details p {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .notice-board-section .game-card.has-image {
    min-height: 500px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    padding: 16px;
  }

  .notice-board-section .game-card.has-image h3 {
    font-size: 21px;
  }

  .notice-board-section .game-card.has-image .status-badge {
    font-size: 11px;
    padding: 7px 9px;
  }
}
/* ============================= */
/* v2.7 — чистый главный экран + закреплённое меню */
/* ============================= */

/* Убираем лишний нижний отступ, который раньше был нужен под кнопки */
.tavern-content .hero-text {
  margin-bottom: 0;
}

/* На компьютере верхнее меню всегда едет вместе со страницей */
@media (min-width: 769px) {
  .top-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    background:
      linear-gradient(180deg, rgba(20, 8, 14, 0.96), rgba(10, 4, 8, 0.92));

    backdrop-filter: blur(12px);
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.38),
      0 0 18px rgba(255, 150, 55, 0.08);
  }

  /* Чтобы главный экран не залезал под закреплённое меню */
  .tavern-hero {
    padding-top: 86px;
  }

  /* Навигация справа выглядит аккуратнее */
  .nav-links {
    align-items: center;
  }

  .nav-links a {
    padding: 8px 10px;
    border-radius: 999px;
  }

  .nav-links a:hover {
    background: rgba(255, 210, 122, 0.10);
  }
}

/* На телефонах оставляем уже удобную мобильную логику */
@media (max-width: 768px) {
  .top-nav {
    position: sticky !important;
    top: 0;
    z-index: 9999;
  }

  .tavern-hero {
    padding-top: 72px;
  }
}
/* ============================= */
/* v2.8 — юридический подвал */
/* ============================= */

.footer {
  padding: 34px 18px;
  border-top: 1px solid rgba(255, 210, 122, 0.24);
  background:
    linear-gradient(180deg, rgba(24, 10, 8, 0.94), rgba(8, 3, 4, 0.98));
  color: #cdb98f;
}

.footer-inner {
  width: min(1100px, 94%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  text-align: left;
}

.footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #cdb98f;
}

.footer-brand {
  color: #ffd27a !important;
  font-size: 16px !important;
  font-weight: bold;
}

.footer-note {
  color: #bfa77a !important;
  font-size: 13px !important;
}

@media (max-width: 768px) {
  .footer {
    padding: 28px 14px;
  }

  .footer-inner {
    width: 94%;
  }

  .footer p {
    font-size: 13px;
  }

  .footer-brand {
    font-size: 15px !important;
  }
}
/* ============================= */
/* v2.11 — выпадающие фильтры */
/* ============================= */

.dropdown-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
  align-items: end;
}

.filter-field {
  display: grid;
  gap: 7px;
}

.filter-field span {
  color: #ffd27a;
  font-size: 14px;
  font-weight: bold;
}

.filter-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;

  color: #ffe1a3;
  background:
    linear-gradient(180deg, rgba(45, 18, 12, 0.96), rgba(14, 6, 8, 0.96));

  border: 1px solid rgba(255, 210, 122, 0.38);
  outline: none;

  font-size: 15px;
  cursor: pointer;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 235, 190, 0.08);
}

.filter-field select:focus {
  border-color: rgba(255, 210, 122, 0.82);
  box-shadow:
    0 0 0 3px rgba(255, 210, 122, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.24);
}

.filter-field option {
  color: #1a0b08;
  background: #f3d49a;
}

.filter-reset-button {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;

  color: #ffd27a;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 210, 122, 0.34);

  font-weight: bold;
  cursor: pointer;
}

.filter-reset-button:hover {
  background: rgba(255, 210, 122, 0.12);
  border-color: rgba(255, 210, 122, 0.62);
}

@media (max-width: 900px) {
  .dropdown-filter-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .dropdown-filter-panel {
    grid-template-columns: 1fr;
  }

  .filter-field select,
  .filter-reset-button {
    width: 100%;
  }
}
/* ============================= */
/* v2.12 — закреплённое меню на телефоне */
/* ============================= */

/* Теперь верхнее меню закреплено и на телефонах тоже */
@media (max-width: 768px) {
  .top-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;

    background:
      linear-gradient(180deg, rgba(20, 8, 14, 0.98), rgba(10, 4, 8, 0.94));

    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.45),
      0 0 18px rgba(255, 150, 55, 0.10);
  }

  /* Чтобы главный экран не залезал под меню */
  .hero,
  .tavern-hero {
    padding-top: 118px !important;
  }

  /* Чтобы при нажатии на пункты меню разделы не прятались под верхней панелью */
  section {
    scroll-margin-top: 118px;
  }
}

/* Для совсем маленьких телефонов меню чуть компактнее */
@media (max-width: 420px) {
  .top-nav {
    padding: 8px 10px;
  }

  .nav-logo {
    font-size: 17px;
  }

  .nav-links a {
    font-size: 12px;
    padding: 7px 9px;
  }

  .hero,
  .tavern-hero {
    padding-top: 108px !important;
  }

  section {
    scroll-margin-top: 108px;
  }
}
/* ============================= */
/* v2.13 — дайджесты */
/* ============================= */

.digest-section {
  position: relative;
}

.digest-picker {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  margin-bottom: 18px;
}

.digest-picker label {
  color: #ffd27a;
  font-weight: bold;
}

.digest-picker select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;

  color: #ffe1a3;
  background:
    linear-gradient(180deg, rgba(45, 18, 12, 0.96), rgba(14, 6, 8, 0.96));

  border: 1px solid rgba(255, 210, 122, 0.38);
  outline: none;
  font-size: 16px;
  cursor: pointer;
}

.digest-picker option {
  color: #1a0b08;
  background: #f3d49a;
}

.digest-preview {
  margin-top: 16px;
}

.digest-card {
  padding: 22px;
  border-radius: 18px;

  background:
    linear-gradient(180deg, rgba(36, 14, 10, 0.92), rgba(12, 5, 7, 0.96));

  border: 1px solid rgba(255, 210, 122, 0.28);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 235, 190, 0.08);
}

.digest-category {
  margin: 0 0 8px;
  color: #d9a441;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

.digest-card h3 {
  margin: 0 0 10px;
  color: #ffd27a;
  font-size: 26px;
}

.digest-date {
  color: #ffe1a3;
}

.digest-button {
  margin-top: 12px;
}

.digest-empty {
  color: #cdb98f;
  font-style: italic;
}

@media (max-width: 768px) {
  .digest-card {
    padding: 18px;
  }

  .digest-card h3 {
    font-size: 22px;
  }
}

/* ============================= */
/* v3.0 — отдельные страницы и главная */
/* ============================= */

.page-hero {
  min-height: 46vh;
}

.page-hero .tavern-content {
  max-width: 960px;
}

.home-cards,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.schedule-actions {
  margin: 18px 0 22px;
}

#about h3,
#games-service h3 {
  color: #ffd27a;
  font-size: 24px;
}

.about-social-links {
  margin-top: 18px;
}

.service-card {
  min-height: 180px;
  padding: 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.10), rgba(70, 32, 18, 0.22));
  border: 1px solid rgba(255, 210, 122, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 170, 0.07),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.service-card h3 {
  margin-top: 0;
}

.service-card p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .home-cards,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
  }
}

/* ============================= */
/* v2.15 — понятные места в карточках игр */
/* ============================= */

.game-seats-card {
  margin-top: 14px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 210, 122, 0.28);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 235, 190, 0.08);
}

.game-seats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.game-seats-title {
  color: #ffd27a;
  font-weight: bold;
  font-size: 15px;
}

.game-seats-status {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.game-seats-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.game-seats-numbers div {
  padding: 9px 7px;
  border-radius: 11px;
  text-align: center;
  background: rgba(255, 210, 122, 0.10);
  border: 1px solid rgba(255, 210, 122, 0.16);
}

.game-seats-numbers strong {
  display: block;
  color: #ffe1a3;
  font-size: 21px;
  line-height: 1;
}

.game-seats-numbers span {
  display: block;
  margin-top: 5px;
  color: #e8c98b;
  font-size: 12px;
}

.game-seats-bar {
  height: 9px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 210, 122, 0.16);
}

.game-seats-bar-fill {
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #ffd27a, #ff8a3d);
}

.game-seats-card.seats-open .game-seats-status {
  color: #062d0a;
  background: linear-gradient(180deg, #baff8f, #45d651);
  box-shadow: 0 0 10px rgba(83, 255, 91, 0.45);
}

.game-seats-card.seats-low .game-seats-status {
  color: #3a1c00;
  background: linear-gradient(180deg, #ffe08a, #ff9f2f);
  box-shadow: 0 0 10px rgba(255, 179, 64, 0.48);
}

.game-seats-card.seats-full .game-seats-status {
  color: #fff2f2;
  background: linear-gradient(180deg, #ff6b6b, #b51414);
  box-shadow: 0 0 10px rgba(255, 70, 70, 0.52);
}

.game-seats-card.seats-unknown .game-seats-status {
  color: #ffe1a3;
  background: rgba(255, 210, 122, 0.14);
  border: 1px solid rgba(255, 210, 122, 0.26);
}

.notice-board-section .game-card:not(.has-image) .game-seats-card {
  background: rgba(83, 39, 14, 0.12);
  border-color: rgba(83, 39, 14, 0.20);
}

.notice-board-section .game-card:not(.has-image) .game-seats-title {
  color: #3a1c0d;
}

.notice-board-section .game-card:not(.has-image) .game-seats-numbers div {
  background: rgba(83, 39, 14, 0.10);
  border-color: rgba(83, 39, 14, 0.18);
}

.notice-board-section .game-card:not(.has-image) .game-seats-numbers strong {
  color: #3a1c0d;
}

.notice-board-section .game-card:not(.has-image) .game-seats-numbers span {
  color: #6b3a19;
}

.notice-board-section .game-card:not(.has-image) .game-seats-bar {
  background: rgba(83, 39, 14, 0.18);
}

@media (max-width: 420px) {
  .game-seats-numbers {
    gap: 6px;
  }

  .game-seats-numbers div {
    padding: 8px 5px;
  }

  .game-seats-numbers strong {
    font-size: 18px;
  }

  .game-seats-numbers span {
    font-size: 11px;
  }

  .game-seats-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================= */
/* v2.17 — компактный календарь на телефоне */
/* ============================= */

.open-games-day {
  background:
    linear-gradient(180deg, rgba(83, 255, 91, 0.16), rgba(20, 80, 28, 0.20));
  border-color: rgba(126, 255, 137, 0.55);
}

.full-games-day {
  background:
    linear-gradient(180deg, rgba(255, 70, 70, 0.16), rgba(110, 20, 20, 0.22));
  border-color: rgba(255, 120, 120, 0.58);
}

.mixed-games-day {
  background:
    linear-gradient(135deg, rgba(83, 255, 91, 0.16), rgba(255, 70, 70, 0.18));
  border-color: rgba(255, 210, 122, 0.62);
}

.calendar-mobile-dots {
  display: none;
}

.calendar-dot,
.calendar-dot-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-dot-more {
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  color: #1a0b08;
  background: #ffd27a;
  font-size: 10px;
  font-weight: bold;
}

@media (max-width: 768px) {
  #calendar .accordion-body {
    padding-left: 10px;
    padding-right: 10px;
  }

  #calendar .calendar-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 12px;
  }

  #calendar .calendar-header h3 {
    order: -1;
    font-size: 22px;
  }

  #calendar .calendar-nav-button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 14px;
  }

  #calendar .calendar-weekdays {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px;
    margin-bottom: 5px;
  }

  #calendar .calendar-weekdays span {
    font-size: 11px;
    opacity: 0.85;
  }

  #calendar .calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
  }

  #calendar .calendar-day {
    position: relative;
    min-height: 43px !important;
    padding: 5px 3px !important;
    border-radius: 9px;
    text-align: center;
  }

  #calendar .calendar-empty {
    opacity: 0.22;
  }

  #calendar .calendar-day-number {
    font-size: 14px;
    line-height: 1;
  }

  #calendar .calendar-day-label {
    display: none;
  }

  #calendar .calendar-game {
    display: none;
  }

  #calendar .calendar-mobile-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    margin-top: 6px;
    min-height: 8px;
  }

  #calendar .free-day {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 214, 145, 0.13);
  }

  #calendar .open-games-day {
    background:
      radial-gradient(circle at center, rgba(125, 255, 106, 0.24), rgba(15, 60, 24, 0.30));
    border-color: rgba(125, 255, 106, 0.68);
    box-shadow: 0 0 10px rgba(125, 255, 106, 0.18);
  }

  #calendar .full-games-day {
    background:
      radial-gradient(circle at center, rgba(255, 91, 91, 0.25), rgba(80, 14, 14, 0.34));
    border-color: rgba(255, 91, 91, 0.68);
    box-shadow: 0 0 10px rgba(255, 91, 91, 0.18);
  }

  #calendar .mixed-games-day {
    background:
      linear-gradient(135deg, rgba(125, 255, 106, 0.22), rgba(255, 91, 91, 0.24));
    border-color: rgba(255, 210, 122, 0.70);
    box-shadow: 0 0 10px rgba(255, 210, 122, 0.18);
  }

  #calendar .open-date-box {
    margin-top: 18px;
    padding: 14px;
  }

  #calendar .open-date-box h3 {
    font-size: 20px;
  }

  #calendar .open-date-box p {
    font-size: 14px;
  }

  #calendar .calendar-grid::after {
    content: "Зелёный — есть места • Красный — мест нет • Серый — свободно";
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #e8c98b;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 210, 122, 0.16);
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }
}

@media (max-width: 420px) {
  #calendar .calendar-grid,
  #calendar .calendar-weekdays {
    gap: 3px !important;
  }

  #calendar .calendar-day {
    min-height: 39px !important;
    border-radius: 8px;
  }

  #calendar .calendar-day-number {
    font-size: 13px;
  }

  #calendar .calendar-dot-more {
    min-width: 14px;
    height: 14px;
    font-size: 9px;
  }
}

/* ============================= */
/* v2.18 — раскрывающийся список игр в календаре */
/* ============================= */

.calendar-day-toggle {
  width: 100%;
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.calendar-day-toggle:focus-visible {
  outline: 2px solid rgba(255, 210, 122, 0.85);
  outline-offset: 3px;
  border-radius: 10px;
}

.calendar-day-games-mini {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 210, 122, 0.18);
}

.calendar-day-open .calendar-day-games-mini {
  display: grid;
  gap: 8px;
}

.calendar-mini-game {
  display: grid;
  gap: 5px;
  padding: 9px;
  border-radius: 11px;
  text-decoration: none;
  background: rgba(12, 7, 18, 0.62);
  border: 1px solid rgba(255, 214, 145, 0.16);
}

.calendar-mini-game:hover {
  background: rgba(255, 210, 122, 0.10);
}

.calendar-mini-game strong {
  color: #ffd27a;
  font-size: 13px;
  line-height: 1.25;
}

.calendar-mini-game-info {
  color: #e8c98b;
  font-size: 12px;
  line-height: 1.3;
}

.calendar-mini-empty {
  padding: 9px;
  border-radius: 11px;
  color: #cdb98f;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 214, 145, 0.18);
}

@media (max-width: 768px) {
  #calendar .calendar-day-toggle {
    text-align: center;
  }

  #calendar .calendar-day-open {
    grid-column: 1 / -1;
    min-height: auto !important;
    padding: 10px !important;
    text-align: left;
  }

  #calendar .calendar-day-open .calendar-day-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
  }

  #calendar .calendar-day-open .calendar-day-number {
    font-size: 18px;
  }

  #calendar .calendar-day-open .calendar-day-label {
    display: block;
    margin: 0;
    font-size: 13px;
  }

  #calendar .calendar-day-open .calendar-mobile-dots {
    margin-top: 0;
  }

  #calendar .calendar-day-games-mini {
    margin-top: 9px;
    padding-top: 9px;
  }

  #calendar .calendar-mini-game {
    padding: 10px;
  }

  #calendar .calendar-mini-game strong {
    font-size: 14px;
  }

  #calendar .calendar-mini-game-info {
    font-size: 12px;
  }

  #calendar .calendar-mini-game .status-badge {
    width: fit-content;
    font-size: 11px;
    padding: 6px 8px;
  }

  #calendar .calendar-mini-empty {
    font-size: 13px;
  }
}

/* ============================= */
/* v2.19 — солнце и луна в мобильном календаре */
/* ============================= */

.calendar-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  line-height: 1;
  font-weight: bold;
}

.calendar-dot-open {
  color: #062d0a;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #baff8f 24%, #45d651 100%);
  box-shadow:
    0 0 8px rgba(83, 255, 91, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.calendar-dot-full {
  color: #fff2f2;
  background:
    radial-gradient(circle at 35% 30%, #ffd0d0 0%, #ff6b6b 28%, #b51414 100%);
  box-shadow:
    0 0 8px rgba(255, 70, 70, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.calendar-dot-sun {
  font-size: 11px;
}

.calendar-dot-moon {
  font-size: 14px;
}

#calendar .calendar-mobile-dots {
  gap: 4px;
}

@media (max-width: 768px) {
  #calendar .calendar-grid::after {
    content: "☀ — дневная игра • ☾ — вечерняя игра • зелёный — есть места • красный — мест нет";
  }
}

@media (max-width: 420px) {
  #calendar .calendar-dot {
    width: 15px;
    height: 15px;
  }

  #calendar .calendar-dot-sun {
    font-size: 10px;
  }

  #calendar .calendar-dot-moon {
    font-size: 13px;
  }
}

/* ============================= */
/* v2.20 — кликабельные статусы в расписании */
/* ============================= */

.schedule-status-link {
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.schedule-status-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.schedule-status-link:active {
  transform: translateY(0);
}

.schedule-status-link:focus-visible {
  outline: 2px solid rgba(255, 210, 122, 0.9);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .schedule-status-link {
    width: 100%;
    min-height: 42px;
  }
}

/* ============================= */
/* v3.0.1 — правки страниц, якорей и клубной стилистики */
/* ============================= */

.accordion-title-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.accordion-title-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 235, 185, 0.32), rgba(255, 150, 55, 0.12));
  border: 1px solid rgba(255, 210, 122, 0.34);
  box-shadow: 0 0 18px rgba(255, 150, 55, 0.14);
  font-size: 22px;
  text-shadow: none;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.home-cards .hub-card {
  background:
    linear-gradient(180deg, rgba(62, 28, 16, 0.76), rgba(19, 8, 6, 0.86));
  border-color: rgba(255, 210, 122, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 170, 0.06),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.home-cards .hub-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 14px;
  color: #ffd27a;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 235, 185, 0.35), rgba(255, 150, 55, 0.12));
  border: 1px solid rgba(255, 210, 122, 0.36);
  box-shadow: 0 0 22px rgba(255, 150, 55, 0.16);
  font-size: 28px;
}

.about-tavern-box,
.service-placeholder {
  margin-top: 22px;
  padding: 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.10), rgba(44, 18, 10, 0.34));
  border: 1px solid rgba(255, 210, 122, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.22);
}

.about-tavern-box h3,
.service-placeholder h3 {
  margin-top: 0;
  color: #ffd27a;
}

.about-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  padding: 12px 14px;
  border-radius: 12px;
  color: #f0d6ad;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 210, 122, 0.14);
}

.placeholder-mark {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #ffd27a;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 235, 185, 0.34), rgba(255, 150, 55, 0.12));
  border: 1px solid rgba(255, 210, 122, 0.36);
  box-shadow: 0 0 30px rgba(255, 150, 55, 0.18);
  font-size: 46px;
}

.service-placeholder {
  text-align: center;
}

.service-placeholder p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .home-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-cards {
    grid-template-columns: 1fr;
  }

  .accordion-title-main {
    gap: 9px;
  }

  .accordion-title-icon {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .home-cards .hub-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

/* ============================= */
/* v3.1 — компактное меню с выпадающим разделом */
/* ============================= */

.compact-nav {
  min-height: 64px;
  padding: 10px 28px !important;
  gap: 18px;
}

.compact-nav .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-menu-toggle {
  display: none;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffd27a;
  background: rgba(255, 210, 122, 0.10);
  border: 1px solid rgba(255, 210, 122, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.compact-nav .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.compact-nav .nav-link,
.compact-nav .nav-dropdown-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #f3dfbd;
  background: rgba(255, 210, 122, 0.06);
  border: 1px solid rgba(255, 210, 122, 0.12);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.compact-nav .nav-link:hover,
.compact-nav .nav-dropdown-toggle:hover,
.compact-nav .nav-dropdown.open .nav-dropdown-toggle {
  color: #ffd27a;
  background: rgba(255, 210, 122, 0.14);
  border-color: rgba(255, 210, 122, 0.34);
  transform: translateY(-1px);
}

.compact-nav .nav-dropdown {
  position: relative;
}

.compact-nav .nav-dropdown-toggle span {
  transition: transform 0.18s ease;
}

.compact-nav .nav-dropdown.open .nav-dropdown-toggle span,
.compact-nav .nav-dropdown:hover .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

.compact-nav .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10020;
  width: 270px;
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(38, 16, 14, 0.98), rgba(10, 4, 8, 0.98));
  border: 1px solid rgba(255, 210, 122, 0.28);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 235, 190, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.compact-nav .nav-dropdown.open .nav-dropdown-menu,
.compact-nav .nav-dropdown:hover .nav-dropdown-menu,
.compact-nav .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.compact-nav .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #f3dfbd;
  text-decoration: none;
  background: rgba(255, 210, 122, 0.06);
  border: 1px solid transparent;
  font-size: 15px;
}

.compact-nav .nav-dropdown-menu a:hover,
.compact-nav .nav-dropdown-menu a.current-page {
  color: #ffd27a;
  background: rgba(255, 210, 122, 0.14);
  border-color: rgba(255, 210, 122, 0.24);
}

.compact-nav .nav-dropdown-menu a span {
  width: 24px;
  text-align: center;
}

@media (max-width: 980px) and (min-width: 769px) {
  .compact-nav {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .compact-nav .nav-logo {
    font-size: 18px;
  }

  .compact-nav .nav-link,
  .compact-nav .nav-dropdown-toggle {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .compact-nav {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 9px 12px !important;
  }

  .compact-nav .nav-logo {
    justify-content: flex-start;
    text-align: left;
    font-size: 18px;
  }

  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .compact-nav .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    display: none !important;
    padding: 10px;
    margin-top: 8px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(40, 17, 14, 0.98), rgba(13, 5, 9, 0.98));
    border: 1px solid rgba(255, 210, 122, 0.22);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
  }

  .compact-nav.nav-open .nav-links {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compact-nav .nav-link,
  .compact-nav .nav-dropdown-toggle {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 15px;
    background: rgba(255, 210, 122, 0.08);
    border-color: rgba(255, 210, 122, 0.16);
  }

  .compact-nav .nav-dropdown {
    width: 100%;
  }

  .compact-nav .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 7px;
    padding: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.24);
    background: rgba(0, 0, 0, 0.22);
  }

  .compact-nav .nav-dropdown:hover .nav-dropdown-menu,
  .compact-nav .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
  }

  .compact-nav .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }

  .compact-nav .nav-dropdown-menu a {
    min-height: 42px;
    padding: 10px 12px;
  }

  .hero,
  .tavern-hero {
    padding-top: 88px !important;
  }

  section {
    scroll-margin-top: 88px;
  }
}

@media (max-width: 420px) {
  .compact-nav {
    padding: 8px 10px !important;
  }

  .compact-nav .nav-logo {
    font-size: 16px;
  }

  .nav-menu-toggle {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero,
  .tavern-hero {
    padding-top: 78px !important;
  }

  section {
    scroll-margin-top: 78px;
  }
}


/* ============================= */
/* v3.2 — публичная полировка таверны */
/* ============================= */

.public-news-section,
.about-public-section,
.service-public-section,
.profile-public-section {
  position: relative;
}

.news-bulletin,
.service-hero-card,
.polished-profile-preview {
  margin-top: 22px;
  padding: 24px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(55, 22, 14, 0.86), rgba(14, 6, 8, 0.94));
  border: 1px solid rgba(255, 210, 122, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.10),
    0 16px 38px rgba(0, 0, 0, 0.26),
    0 0 26px rgba(255, 150, 55, 0.07);
}

.news-bulletin h3,
.service-hero-card h3,
.polished-profile-preview h3 {
  margin: 0 0 10px;
  color: #ffd27a;
  font-size: 26px;
}

.news-bulletin p:last-child,
.service-hero-card p:last-child,
.polished-profile-preview p:last-child {
  margin-bottom: 0;
}

.news-kicker {
  margin: 0 0 8px !important;
  color: #d9a441 !important;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px !important;
  font-weight: bold;
}

.tavern-home-cards .hub-card {
  position: relative;
  overflow: hidden;
}

.tavern-home-cards .hub-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 122, 0.42), transparent);
}

.tavern-feature-grid,
.service-format-grid,
.profile-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.feature-card {
  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.09), rgba(35, 14, 9, 0.44));
  border: 1px solid rgba(255, 210, 122, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 235, 190, 0.06);
}

.feature-card span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #ffd27a;
  background: radial-gradient(circle at 35% 25%, rgba(255, 235, 185, 0.30), rgba(255, 150, 55, 0.11));
  border: 1px solid rgba(255, 210, 122, 0.34);
  box-shadow: 0 0 18px rgba(255, 150, 55, 0.14);
  font-size: 24px;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: #ffd27a;
  font-size: 21px;
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.about-list strong {
  color: #ffd27a;
}

.service-hero-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

.service-hero-card .placeholder-mark {
  margin: 0;
}

.service-step-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 24px;
  color: #f0d6ad;
  font-size: 18px;
  line-height: 1.5;
}

.service-step-list li::marker {
  color: #ffd27a;
  font-weight: bold;
}

.profile-feature-grid {
  margin-bottom: 0;
}

.polished-profile-preview .avatar-placeholder {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 235, 185, 0.26), rgba(255, 150, 55, 0.10));
}

@media (max-width: 900px) {
  .tavern-feature-grid,
  .service-format-grid,
  .profile-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-hero-card .placeholder-mark {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .news-bulletin,
  .service-hero-card,
  .polished-profile-preview,
  .feature-card {
    padding: 18px;
  }

  .news-bulletin h3,
  .service-hero-card h3,
  .polished-profile-preview h3 {
    font-size: 22px;
  }

  .feature-card h3 {
    font-size: 20px;
  }
}


/* ============================= */
/* v3.2.1 — полировка главного текста и заглушек */
/* ============================= */

.tavern-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
}

.tavern-content h1 {
  letter-spacing: 0.02em;
  text-shadow:
    0 0 20px rgba(255, 180, 70, 0.28),
    0 6px 30px rgba(0, 0, 0, 0.45);
}

.tavern-content .hero-text {
  max-width: 820px;
  margin-top: 22px;
  color: #f6e5c5;
  font-size: 24px;
  line-height: 1.6;
  font-style: italic;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.news-bulletin h3 {
  font-size: 30px;
}

.placeholder-illustration {
  display: block;
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  border: 1px solid rgba(255, 210, 122, 0.26);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 150, 55, 0.08);
  background: rgba(8, 5, 8, 0.7);
}

.service-hero-card--illustrated {
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
}

.polished-profile-preview--illustrated {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 20px;
  align-items: center;
}

.profile-placeholder-illustration {
  max-width: 320px;
}

@media (max-width: 900px) {
  .service-hero-card--illustrated,
  .polished-profile-preview--illustrated {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .placeholder-illustration {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .tavern-content .hero-text {
    font-size: 19px;
    line-height: 1.55;
  }
}

@media (max-width: 520px) {
  .tavern-content .hero-text {
    font-size: 17px;
  }

  .news-bulletin h3 {
    font-size: 24px;
  }

  .placeholder-illustration {
    max-width: 100%;
  }
}


/* ============================= */
/* v3.3 — живые новости из Google Таблицы */
/* ============================= */

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}

.news-list .news-bulletin {
  margin-top: 0;
}

.news-bulletin-featured {
  border-color: rgba(255, 210, 122, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.30),
    0 0 30px rgba(255, 150, 55, 0.10);
}

.news-button {
  margin-top: 12px;
  font-size: 15px;
  padding: 10px 16px;
}

.news-empty-card {
  opacity: 0.95;
}

@media (min-width: 900px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-list .news-bulletin-featured:first-child {
    grid-column: 1 / -1;
  }
}

/* ============================= */
/* v3.4 — полноценная страница “Игры под ключ” */
/* ============================= */

.service-sales-section .accordion-body > p:first-child {
  padding-top: 0;
}

.service-main-offer {
  margin-top: 18px;
  margin-bottom: 24px;
}

.service-main-offer h3 {
  font-size: 30px;
}

.service-main-offer p {
  font-size: 18px;
}

.service-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.service-secondary-button {
  font-size: 16px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.22);
}

.service-audience-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.service-section-box {
  margin-top: 26px;
}

.service-section-box h3 {
  margin-top: 0;
  color: #ffd27a;
  font-size: 26px;
}

.service-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.service-offer-card {
  padding: 18px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.08), rgba(24, 10, 8, 0.50));
  border: 1px solid rgba(255, 210, 122, 0.20);
}

.service-offer-card strong {
  display: block;
  color: #ffd27a;
  font-size: 19px;
  margin-bottom: 8px;
}

.service-offer-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.service-process-list {
  margin-top: 18px;
}

.service-process-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 210, 122, 0.06);
  border: 1px solid rgba(255, 210, 122, 0.14);
}

.service-process-list strong {
  color: #ffd27a;
}

.service-price-card {
  margin-top: 26px;
  padding: 26px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(64, 24, 14, 0.88), rgba(13, 5, 7, 0.96));
  border: 1px solid rgba(255, 210, 122, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.10),
    0 16px 38px rgba(0, 0, 0, 0.25),
    0 0 28px rgba(255, 150, 55, 0.08);
}

.service-price-card h3 {
  margin: 0 0 10px;
  color: #ffd27a;
  font-size: 28px;
}

.service-price-card p:last-child {
  margin-bottom: 0;
}

.service-request-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 24px;
  color: #f0d6ad;
  font-size: 18px;
  line-height: 1.5;
}

.service-request-list li::marker {
  color: #ffd27a;
}

.service-final-call {
  margin-top: 28px;
  padding: 28px;
  border-radius: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.12), rgba(45, 18, 12, 0.50));
  border: 1px solid rgba(255, 210, 122, 0.30);
  box-shadow: inset 0 1px 0 rgba(255, 235, 190, 0.08);
}

.service-final-call h3 {
  margin: 0 0 10px;
  color: #ffd27a;
  font-size: 30px;
}

.service-final-call p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .service-audience-grid,
  .service-offer-grid {
    grid-template-columns: 1fr;
  }

  .service-cta-row {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .service-main-offer h3,
  .service-price-card h3,
  .service-final-call h3 {
    font-size: 23px;
  }

  .service-main-offer p,
  .service-request-list,
  .service-step-list {
    font-size: 16px;
  }

  .service-final-call,
  .service-price-card {
    padding: 20px;
  }

  .service-cta-row .button {
    width: 100%;
    text-align: center;
  }
}


/* ============================= */
/* v3.4.2 — персональные иллюстрации */
/* ============================= */

.profile-hero {
  background:
    linear-gradient(180deg, rgba(10, 4, 4, 0.22) 0%, rgba(10, 4, 4, 0.48) 55%, rgba(10, 4, 4, 0.84) 100%),
    radial-gradient(circle at center, rgba(255, 190, 90, 0.10), rgba(0, 0, 0, 0.48) 70%),
    url("images/profile-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.service-main-offer .placeholder-illustration,
.profile-placeholder-illustration {
  object-fit: cover;
}

.service-main-offer .placeholder-illustration {
  max-width: 420px;
}

.profile-placeholder-illustration {
  max-width: 420px;
}

@media (max-width: 900px) {
  .service-main-offer .placeholder-illustration,
  .profile-placeholder-illustration {
    max-width: 100%;
  }
}


/* ============================= */
/* v3.5 — красивый Кабинет игрока */
/* ============================= */

.profile-showcase-section {
  overflow: hidden;
}

.profile-welcome-card {
  margin-bottom: 28px;
}

.profile-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.profile-secondary-button {
  font-size: 18px;
}

.profile-dashboard-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.6fr);
  gap: 18px;
  margin: 28px 0;
}

.profile-player-card,
.profile-roadmap-card {
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(47, 21, 16, 0.90), rgba(13, 6, 8, 0.96));
  border: 1px solid rgba(255, 210, 122, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.profile-player-card {
  text-align: center;
}

.profile-avatar-ring {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 14px;
  border-radius: 50%;
  font-size: 42px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 235, 185, 0.32), rgba(255, 150, 55, 0.10)),
    linear-gradient(180deg, rgba(255, 210, 122, 0.15), rgba(40, 15, 10, 0.5));
  border: 1px solid rgba(255, 210, 122, 0.42);
  box-shadow:
    0 0 24px rgba(255, 150, 55, 0.18),
    inset 0 1px 0 rgba(255, 235, 190, 0.14);
}

.profile-player-card h3,
.profile-roadmap-card h3 {
  margin: 0 0 8px;
  color: #ffd27a;
  font-size: 26px;
}

.profile-rank {
  margin: 0 0 18px !important;
  color: #e7c78d !important;
  font-size: 16px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.profile-stats-grid div {
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255, 210, 122, 0.08);
  border: 1px solid rgba(255, 210, 122, 0.16);
}

.profile-stats-grid strong {
  display: block;
  color: #ffd27a;
  font-size: 24px;
  line-height: 1;
}

.profile-stats-grid span {
  display: block;
  margin-top: 5px;
  color: #f0d6ad;
  font-size: 13px;
}

.profile-mini-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.profile-mini-list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 210, 122, 0.07);
  border: 1px solid rgba(255, 210, 122, 0.14);
}

.profile-mini-list span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 210, 122, 0.10);
  border: 1px solid rgba(255, 210, 122, 0.22);
  font-size: 22px;
}

.profile-mini-list h4 {
  margin: 0 0 5px;
  color: #ffd27a;
  font-size: 18px;
}

.profile-mini-list p {
  margin: 0;
  color: #ead7b7;
  font-size: 15px;
  line-height: 1.4;
}

.profile-feature-grid-expanded {
  grid-template-columns: repeat(3, 1fr);
}

.profile-status-box {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .profile-dashboard-preview,
  .profile-feature-grid-expanded {
    grid-template-columns: 1fr;
  }

  .profile-cta-row {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .profile-player-card,
  .profile-roadmap-card {
    padding: 18px;
  }

  .profile-stats-grid {
    grid-template-columns: 1fr;
  }

  .profile-mini-list > div {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-mini-list span {
    margin: 0 auto;
  }
}


/* ============================= */
/* v3.6 — большое окно описания игры */
/* ============================= */

.game-description-button {
  align-self: flex-start;
  margin: 4px 0 12px;
  padding: 10px 15px;
  font-size: 16px;
}

body.modal-open {
  overflow: hidden;
}

.game-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.game-modal-overlay[hidden] {
  display: none;
}

.game-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 190, 90, 0.10), transparent 42%),
    rgba(4, 2, 4, 0.74);
  backdrop-filter: blur(7px);
}

.game-modal {
  --modal-game-image-url: url("images/tavern-bg.png");

  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 820px);
  overflow: hidden auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 210, 122, 0.38);
  background:
    linear-gradient(180deg, rgba(29, 12, 10, 0.96), rgba(9, 4, 6, 0.98));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    0 0 40px rgba(255, 150, 55, 0.12),
    inset 0 1px 0 rgba(255, 235, 190, 0.10);
}

.game-modal::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6, 2, 4, 0.34), rgba(6, 2, 4, 0.84)),
    var(--modal-game-image-url);
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  transform: scale(1.08);
  animation: gameModalDrift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

.game-modal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(26, 10, 8, 0.42), rgba(8, 3, 5, 0.86));
  pointer-events: none;
}

.game-modal-inner {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.game-modal-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 18px 18px 0 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 122, 0.42);
  background: rgba(8, 3, 5, 0.78);
  color: #ffd27a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.game-modal-close:hover,
.game-modal-close:focus-visible {
  background: rgba(255, 210, 122, 0.16);
  outline: none;
}

.game-modal-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.game-modal-kicker > span:first-child {
  color: #d9a441;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  font-weight: bold;
}

.game-modal h2 {
  margin: 0;
  color: #ffd27a;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  text-shadow:
    0 0 22px rgba(255, 150, 55, 0.18),
    0 6px 28px rgba(0, 0, 0, 0.44);
}

.game-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.game-modal-meta span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 210, 122, 0.09);
  border: 1px solid rgba(255, 210, 122, 0.18);
  color: #f3dfbd;
  font-size: 15px;
}

.game-modal-description {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(8, 3, 5, 0.52);
  border: 1px solid rgba(255, 210, 122, 0.18);
  color: #f7ead2;
  font-size: 19px;
  line-height: 1.65;
  white-space: normal;
}

.game-modal-description a {
  color: #ffd27a;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.game-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@keyframes gameModalDrift {
  0% {
    transform: scale(1.08) translate3d(-10px, -6px, 0);
    filter: brightness(0.95) saturate(1);
  }

  100% {
    transform: scale(1.16) translate3d(14px, 10px, 0);
    filter: brightness(1.10) saturate(1.08);
  }
}

@media (max-width: 768px) {
  .game-modal-overlay {
    padding: 12px;
  }

  .game-modal {
    max-height: 90vh;
    border-radius: 22px;
  }

  .game-modal-inner {
    padding: 24px 18px 22px;
  }

  .game-modal-close {
    top: 12px;
    width: 40px;
    height: 40px;
    margin: 12px 12px 0 0;
    font-size: 26px;
  }

  .game-modal-description {
    padding: 18px;
    font-size: 17px;
    line-height: 1.58;
  }

  .game-modal-actions .button {
    width: 100%;
    text-align: center;
  }
}


/* ============================= */
/* v3.6.1 — безопасная оптимизация под устройства */
/* Основа: стабильная v3.6, без перестройки карточек */
/* ============================= */

html,
body {
  width: 100%;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* На планшетах и не очень широких экранах карточки не должны сжиматься в три тесные колонки */
@media (max-width: 1120px) {
  .game-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .container {
    width: 94%;
  }
}

/* Телефон: делаем всё одной колонкой и убираем причины горизонтального вылета */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 28px 12px;
  }

  .section {
    padding: 20px 14px;
  }

  .dropdown-filter-panel {
    grid-template-columns: 1fr !important;
  }

  .filter-field,
  .filter-field select,
  .filter-reset-button {
    width: 100%;
    min-width: 0;
  }

  .notice-board-section .game-list,
  .game-list {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .notice-board-section .game-card,
  .game-card {
    max-width: 100%;
  }

  .notice-board-section .game-card.has-image {
    min-height: 520px;
  }

  .game-card-content {
    min-width: 0;
  }

  .game-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .game-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.25;
  }

  .game-description-button,
  .game-button {
    width: 100%;
    text-align: center;
  }

  .game-seats-numbers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-seats-numbers div {
    min-width: 0;
  }
}

/* Маленький телефон: информация в одну колонку, чтобы ничего не упиралось в края */
@media (max-width: 420px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section {
    padding: 18px 12px;
  }

  .game-meta {
    grid-template-columns: 1fr;
  }

  .notice-board-section .game-card.has-image {
    min-height: 500px;
  }

  .game-seats-numbers strong {
    font-size: 18px;
  }

  .game-seats-numbers span {
    font-size: 11px;
  }
}

/* На сенсорных устройствах убираем лишние hover-сдвиги, чтобы карточки не прыгали */
@media (hover: none) {
  .notice-board-section .game-card:hover,
  .notice-board-section .game-card.has-image:hover {
    transform: none;
  }
}


/* ============================= */
/* v3.6.2 — упрощённые карточки анонсов */
/* Основа: стабильная v3.6.1 */
/* ============================= */

/* На карточке остаётся только: тип, название, количество мест, описание, наличие мест */
.game-card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.game-card-top {
  margin-bottom: 0;
}

.game-type {
  margin: 0;
}

.game-card h3 {
  margin-bottom: 0;
}

.game-card-seats-summary {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.40);
  border: 1px solid rgba(255, 210, 122, 0.25);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 235, 190, 0.08);
}

.game-card-seats-summary span {
  display: block;
  margin-bottom: 6px;
  color: #ffd27a;
  font-size: 14px;
  font-weight: bold;
}

.game-card-seats-summary strong {
  display: block;
  color: #ffe1a3;
  font-size: 22px;
  line-height: 1.1;
}

.notice-board-section .game-card:not(.has-image) .game-card-seats-summary {
  background: rgba(83, 39, 14, 0.10);
  border-color: rgba(83, 39, 14, 0.18);
}

.notice-board-section .game-card:not(.has-image) .game-card-seats-summary span,
.notice-board-section .game-card:not(.has-image) .game-card-seats-summary strong {
  color: #3a1c0d;
}

.game-card-bottom {
  display: flex;
  margin-top: auto;
}

.game-card-bottom .game-seats-status {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  align-items: center;
  text-align: center;
  font-size: 14px;
}

.game-card-bottom .seats-open {
  color: #062d0a;
  background: linear-gradient(180deg, #baff8f, #45d651);
  box-shadow: 0 0 10px rgba(83, 255, 91, 0.45);
}

.game-card-bottom .seats-low {
  color: #3a1c00;
  background: linear-gradient(180deg, #ffe08a, #ff9f2f);
  box-shadow: 0 0 10px rgba(255, 179, 64, 0.48);
}

.game-card-bottom .seats-full {
  color: #fff2f2;
  background: linear-gradient(180deg, #ff6b6b, #b51414);
  box-shadow: 0 0 10px rgba(255, 70, 70, 0.52);
}

.game-card-bottom .seats-unknown {
  color: #ffe1a3;
  background: rgba(255, 210, 122, 0.14);
  border: 1px solid rgba(255, 210, 122, 0.26);
}

/* У карточек с картинкой оставляем арт видимым, а текст — коротким */
.notice-board-section .game-card.has-image {
  min-height: 520px;
}

.notice-board-section .game-card.has-image .game-card-content {
  min-height: 520px;
  justify-content: flex-end;
}

.notice-board-section .game-card.has-image .game-card-seats-summary {
  background: rgba(0, 0, 0, 0.52);
  border-color: rgba(255, 210, 122, 0.28);
  backdrop-filter: blur(3px);
}

/* Кнопка описания теперь главный переход к полной информации */
.game-description-button {
  width: 100%;
  min-height: 44px;
  margin: 0;
  text-align: center;
}

/* В модальном окне вся информация показывается аккуратной сеткой */
.game-modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.game-modal-info-grid div {
  padding: 12px 13px;
  border-radius: 15px;
  background: rgba(8, 3, 5, 0.48);
  border: 1px solid rgba(255, 210, 122, 0.18);
}

.game-modal-info-grid span {
  display: block;
  margin-bottom: 5px;
  color: #d9a441;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-modal-info-grid strong {
  display: block;
  color: #f7ead2;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.game-modal-description h3 {
  margin: 0 0 12px;
  color: #ffd27a;
  font-size: 26px;
}

@media (max-width: 768px) {
  .notice-board-section .game-card.has-image {
    min-height: 470px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    min-height: 470px;
  }

  .game-card-seats-summary strong {
    font-size: 20px;
  }

  .game-modal-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .notice-board-section .game-card.has-image {
    min-height: 430px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    min-height: 430px;
  }
}


/* ============================= */
/* v3.6.3 — нижний блок карточки и ползунок мест */
/* Основа: стабильная v3.6.2 */
/* ============================= */

.game-card-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.game-card-spacer {
  flex: 1 1 auto;
  min-height: 150px;
}

.game-card-bottom-panel {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

/* Возвращаем красивый блок мест именно в нижнюю часть карточки */
.game-card-bottom-panel .game-seats-card {
  margin-top: 0;
}

.game-card-bottom-panel .game-seats-bar {
  height: 10px;
}

.game-card-bottom-panel .game-seats-bar-fill {
  box-shadow:
    0 0 12px rgba(255, 190, 90, 0.36),
    0 0 22px rgba(255, 128, 55, 0.20);
}

/* Убираем старый компактный блок из v3.6.2, если где-то остался */
.game-card-seats-summary {
  display: none;
}

/* У карточек с картинкой нижний блок работает как аккуратная панель поверх арта */
.notice-board-section .game-card.has-image .game-card-bottom-panel {
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 4, 4, 0.18), rgba(10, 4, 4, 0.72));
  border: 1px solid rgba(255, 210, 122, 0.18);
  backdrop-filter: blur(2px);
}

.notice-board-section .game-card.has-image .game-card-content {
  justify-content: stretch;
}

.notice-board-section .game-card.has-image .game-seats-card {
  background: rgba(0, 0, 0, 0.54);
  border-color: rgba(255, 210, 122, 0.26);
}

/* Кнопка описания остаётся в нижнем блоке и не прыгает */
.game-card-bottom-panel .game-description-button {
  width: 100%;
  min-height: 44px;
  margin: 0;
}

/* Индикатор наличия мест закреплён самым нижним элементом */
.game-card-bottom {
  margin-top: 0;
}

.game-card-bottom .game-seats-status {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  align-items: center;
  text-align: center;
  font-size: 14px;
}

/* На телефоне не создаём огромную пустоту внутри карточки */
@media (max-width: 768px) {
  .game-card-spacer {
    min-height: 90px;
  }

  .notice-board-section .game-card.has-image {
    min-height: 540px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    min-height: 540px;
  }

  .notice-board-section .game-card.has-image .game-card-bottom-panel {
    padding: 10px;
  }
}

@media (max-width: 420px) {
  .game-card-spacer {
    min-height: 70px;
  }

  .notice-board-section .game-card.has-image {
    min-height: 500px;
  }

  .notice-board-section .game-card.has-image .game-card-content {
    min-height: 500px;
  }
}


/* ============================= */
/* v3.6.4 — название прикреплено к блоку мест */
/* ============================= */

.game-card-bottom-panel h3 {
  margin: 0 0 2px;
}

/* Верх карточки теперь служит только для типа игры, а название живёт рядом с местами */
.game-card-content > h3 {
  display: none;
}

.notice-board-section .game-card.has-image .game-card-bottom-panel h3 {
  color: #ffd27a;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(255, 150, 55, 0.35);
}

.notice-board-section .game-card:not(.has-image) .game-card-bottom-panel h3 {
  color: #3a1c0d;
  text-shadow: none;
}

/* Чуть больше воздуха сверху, чтобы картинку было видно */
.game-card-spacer {
  min-height: 190px;
}

@media (max-width: 768px) {
  .game-card-spacer {
    min-height: 120px;
  }
}

@media (max-width: 420px) {
  .game-card-spacer {
    min-height: 90px;
  }
}


/* ============================= */
/* v3.6.5 — тип игры рядом с названием */
/* ============================= */

.game-card-top {
  display: none;
}

.game-card-bottom-panel .game-type-bottom {
  margin: 0 0 2px;
  align-self: flex-start;
}

.notice-board-section .game-card.has-image .game-card-bottom-panel .game-type-bottom {
  color: #f2d59a;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.82),
    0 0 14px rgba(255, 170, 70, 0.22);
}

.notice-board-section .game-card:not(.has-image) .game-card-bottom-panel .game-type-bottom {
  color: #6d3816;
  text-shadow: none;
}

.game-card-bottom-panel {
  align-content: end;
}


/* ============================= */
/* v3.7.0 — новости полотнами на главной */
/* ============================= */

.news-canvas-section {
  overflow: hidden;
}

.news-canvas-section > h2 {
  display: block;
  margin-top: 0;
  margin-bottom: 12px;
  color: #ffd27a;
  font-size: 38px;
}

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

.news-canvas {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.20), transparent 38%),
    radial-gradient(circle at bottom right, rgba(119, 64, 255, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(55, 22, 14, 0.92), rgba(12, 5, 9, 0.96));
  border: 1px solid rgba(255, 210, 122, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.10),
    0 16px 38px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(255, 150, 55, 0.07);
}

.news-canvas::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 210, 122, 0.18);
  pointer-events: none;
}

.news-canvas-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 122, 0.20), transparent 68%);
  filter: blur(2px);
  opacity: 0.9;
}

.news-canvas-featured {
  grid-column: 1 / -1;
  min-height: 300px;
  grid-template-columns: 96px 1fr;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(8, 3, 5, 0.70), rgba(8, 3, 5, 0.24)),
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.26), transparent 42%),
    radial-gradient(circle at bottom right, rgba(119, 64, 255, 0.18), transparent 46%),
    url("images/tavern-bg.png");
  background-size: cover;
  background-position: center;
}

.news-canvas-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffd27a;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 235, 185, 0.34), rgba(255, 150, 55, 0.10)),
    rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 210, 122, 0.38);
  box-shadow:
    0 0 24px rgba(255, 150, 55, 0.16),
    inset 0 1px 0 rgba(255, 235, 190, 0.14);
  font-size: 30px;
}

.news-canvas-featured .news-canvas-icon {
  width: 82px;
  height: 82px;
  font-size: 38px;
}

.news-canvas-content {
  position: relative;
  z-index: 1;
}

.news-canvas h3 {
  margin: 0 0 10px;
  color: #ffd27a;
  font-size: 28px;
  line-height: 1.15;
  text-shadow:
    0 0 20px rgba(255, 150, 55, 0.16),
    0 4px 22px rgba(0, 0, 0, 0.40);
}

.news-canvas-featured h3 {
  font-size: clamp(34px, 4vw, 52px);
  max-width: 780px;
}

.news-canvas p {
  margin: 0;
  color: #f3dfbd;
  font-size: 18px;
  line-height: 1.55;
}

.news-canvas .news-kicker {
  margin-bottom: 10px !important;
}

.news-canvas .news-button {
  margin-top: 18px;
}

.news-canvas-empty {
  grid-column: 1 / -1;
}

/* Новости теперь не аккордеон, но остальные разделы остаются раскрывающимися */
.no-accordion .accordion-title,
.no-accordion .accordion-body {
  display: contents;
}

@media (max-width: 900px) {
  .news-canvas-list {
    grid-template-columns: 1fr;
  }

  .news-canvas,
  .news-canvas-featured {
    grid-column: auto;
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .news-canvas-section > h2 {
    font-size: 30px;
  }

  .news-canvas,
  .news-canvas-featured {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .news-canvas-icon,
  .news-canvas-featured .news-canvas-icon {
    width: 62px;
    height: 62px;
    font-size: 28px;
  }

  .news-canvas h3,
  .news-canvas-featured h3 {
    font-size: 28px;
  }

  .news-canvas p {
    font-size: 16px;
  }
}


/* ============================= */
/* v3.7.1 — кликабельные игры с открытой датой */
/* ============================= */

.open-date-game-link {
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.open-date-game-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 0 14px rgba(255, 210, 122, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.20);
}

.open-date-game-link:focus-visible {
  outline: 3px solid rgba(255, 210, 122, 0.42);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .open-date-game-link {
    width: 100%;
    min-height: 42px;
  }
}


/* ============================= */
/* v3.7.2 — страница “Сводка от Гарда” */
/* ============================= */

.gard-report-nav {
  color: #ffd27a !important;
  border: 1px solid rgba(255, 210, 122, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.13), rgba(76, 32, 18, 0.20));
}

.gard-report-nav:hover,
.gard-report-nav.current-page {
  color: #fff0c2 !important;
  border-color: rgba(255, 210, 122, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 210, 122, 0.24), rgba(116, 54, 22, 0.34));
  box-shadow: 0 0 18px rgba(255, 150, 55, 0.14);
}

.gard-report-section {
  overflow: hidden;
}

.gard-report-heading {
  max-width: 850px;
  margin: 0 auto 28px;
  text-align: center;
}

.gard-report-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 56px);
}

.gard-newspaper {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(116, 64, 255, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(72, 33, 15, 0.90), rgba(15, 6, 8, 0.96));
  border: 1px solid rgba(255, 210, 122, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.10),
    0 20px 55px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(255, 150, 55, 0.08);
}

.gard-newspaper::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(255, 210, 122, 0.18);
  border-radius: 22px;
  pointer-events: none;
}

.gard-newspaper-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 210, 122, 0.22);
}

.gard-newspaper-label {
  margin: 0 0 8px;
  color: #d9a441;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 13px;
}

.gard-newspaper-header h3 {
  margin: 0;
  color: #ffd27a;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 0.95;
  text-shadow:
    0 0 22px rgba(255, 150, 55, 0.18),
    0 5px 24px rgba(0, 0, 0, 0.36);
}

.gard-newspaper-stamp {
  min-width: 150px;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  color: #ffe1a3;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 210, 122, 0.26);
  text-align: center;
}

.gard-newspaper-stamp span {
  font-size: 34px;
}

.gard-newspaper-stamp strong {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.gard-newspaper-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 22px;
  margin-bottom: 22px;
}

.gard-lead-story,
.gard-omens-card,
.gard-report-note,
.gard-newspaper-footer {
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 210, 122, 0.18);
}

.gard-lead-story {
  padding: clamp(22px, 3vw, 34px);
}

.gard-lead-story h4 {
  margin: 0 0 14px;
  color: #ffd27a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.gard-lead-story p,
.gard-omens-card li,
.gard-report-note p,
.gard-newspaper-footer p {
  color: #f3dfbd;
  line-height: 1.55;
}

.gard-omens-card {
  padding: 24px;
}

.gard-omens-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.gard-omens-card li + li {
  margin-top: 12px;
}

.gard-report-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gard-report-note {
  padding: 22px;
}

.gard-report-note span {
  font-size: 34px;
}

.gard-report-note h4 {
  margin: 12px 0 8px;
  color: #ffd27a;
  font-size: 23px;
}

.gard-report-note p {
  margin: 0;
}

.gard-newspaper-footer {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 18px 22px;
}

.gard-newspaper-footer p {
  margin: 0;
  font-style: italic;
}

@media (max-width: 900px) {
  .gard-newspaper-header,
  .gard-newspaper-main {
    grid-template-columns: 1fr;
  }

  .gard-newspaper-header {
    flex-direction: column;
  }

  .gard-report-grid {
    grid-template-columns: 1fr;
  }

  .gard-newspaper-stamp {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .gard-report-nav {
    padding: 7px 9px;
  }

  .gard-newspaper {
    padding: 20px;
    border-radius: 22px;
  }

  .gard-newspaper::before {
    inset: 10px;
  }
}


/* ============================= */
/* v3.7.3 — Сводка Гарда: только титульник */
/* ============================= */

.gard-title-only-container {
  max-width: 980px;
}

.gard-title-only-section {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gard-title-only-card {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 122, 0.24), transparent 38%),
    radial-gradient(circle at bottom right, rgba(116, 64, 255, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(72, 33, 15, 0.90), rgba(15, 6, 8, 0.96));
  border: 1px solid rgba(255, 210, 122, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(255, 150, 55, 0.08);
}

.gard-title-only-card h2 {
  margin: 0 0 16px;
  color: #ffd27a;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  text-shadow:
    0 0 22px rgba(255, 150, 55, 0.18),
    0 6px 28px rgba(0, 0, 0, 0.40);
}

.gard-title-only-card p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #f3dfbd;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.55;
}

.gard-title-only-stamp {
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #ffe1a3;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 210, 122, 0.28);
  box-shadow: 0 0 18px rgba(255, 150, 55, 0.10);
}

.gard-title-only-stamp span {
  font-size: 24px;
}

.gard-title-only-stamp strong {
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .gard-title-only-section {
    min-height: 340px;
  }

  .gard-title-only-card {
    padding: 26px 18px;
    border-radius: 24px;
  }

  .gard-title-only-stamp {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
    text-align: center;
  }
}
