.page-bonuses .bonus-h1 {
  margin: 6px 0 14px;
  font-size: 34px;
  line-height: 1.1;
}

.btools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 8px;
  flex-wrap: wrap;
}

.promo-btn,
.filter-btn,
.btabs button,
.promo-panel button,
.filter-menu button {
  font: inherit;
  cursor: pointer;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #2a3140;
  color: #fff;
  font-weight: 800;
}

.promo-btn:hover,
.promo-btn:focus-visible { background: #364056; }

.promo-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.promo-panel label { font-size: 14px; font-weight: 700; }

.promo-panel input {
  min-height: 44px;
  flex: 1 1 180px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0c0e12;
  color: #fff;
  padding: 8px 12px;
}

.promo-panel button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.tab-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #1a1e27;
  border-radius: 999px;
}

.btabs button {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d5dbe4;
  font-weight: 700;
}

.btabs button[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink);
}

.filter-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #1a1e27;
  color: #fff;
  display: grid;
  place-items: center;
}

.filter-btn[aria-expanded="true"],
.filter-btn:hover,
.filter-btn:focus-visible { background: #2a3140; }

.filter-pop { position: relative; }

.filter-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  min-width: 160px;
  padding: 6px;
  background: #1a1e27;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.filter-menu button {
  display: block;
  width: 100%;
  min-height: 44px;
  text-align: left;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.filter-menu button[aria-pressed="true"],
.filter-menu button:hover,
.filter-menu button:focus-visible { background: #2a3140; }

.bgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  align-items: stretch;
}

.bstack {
  display: grid;
  gap: 12px;
}

.bcard {
  border-radius: 18px;
  padding: 14px 14px 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bcard.big { min-height: 280px; }
.bcard.big .bfoot { margin-top: auto; }
.bstack .bacts,
.bcard.side .bacts { margin-top: auto; }

.bcat {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.92;
}

.bbody,
.btopline {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  align-items: center;
}

.bcard img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.bcard.big img { height: 156px; }

@media (min-width: 801px) {
  .bcard.big .bbody {
    flex: 1 1 auto;
    min-height: 240px;
    position: relative;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .bcard.big .bbody img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center;
  }

  .bcard.big .chips {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    width: min(250px, 48%);
    justify-content: flex-end;
  }

  .bcard.big .chips li {
    background: rgba(6, 16, 40, 0.72);
  }
}

.bcard.side img { height: 150px; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.chips li {
  min-width: 52px;
  padding: 6px 4px;
  border-radius: 10px;
  background: rgba(6, 16, 40, 0.38);
  text-align: center;
}

.bcard.big .chips { flex-wrap: nowrap; }
.bcard.big .chips li { min-width: 0; flex: 1 1 0; padding: 6px 2px; }

.chips b { display: block; font-size: 14px; line-height: 1.1; }
.chips span { display: block; font-size: 11px; opacity: 0.9; }

.bfoot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.bcard h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.bcard.big h2 { font-size: 28px; max-width: 14ch; }

.bnow,
.bsub {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}

.bavail {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-bonuses .clock {
  display: flex;
  gap: 8px;
  margin: 0;
}

.page-bonuses .clock span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-bonuses .clock b {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.bwager {
  margin: 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  font-size: 13px;
  line-height: 1.35;
}

.bacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.bacts a {
  min-height: 44px;
  min-width: 112px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}

.bacts .go { background: var(--gold); color: var(--ink); }
.bacts .go:hover,
.bacts .go:focus-visible { background: var(--gold-2); }
.bacts .proceed { background: #fff; color: #1a1408; }
.bacts .proceed:hover,
.bacts .proceed:focus-visible { background: #f3f3f3; }
.bacts .info { background: rgba(255, 255, 255, 0.28); color: #fff; }
.bacts .info:hover,
.bacts .info:focus-visible { background: rgba(255, 255, 255, 0.42); }

.tone-crash { background: linear-gradient(135deg, #2b93ff, #0e62d8); }
.tone-live { background: linear-gradient(160deg, #1d6cf2, #123eae); }
.tone-slots { background: linear-gradient(160deg, #a04bff, #6c22d6); }
.tone-aviator { background: linear-gradient(120deg, #ff4d3a, #ff8c1a); }
.tone-play { background: linear-gradient(160deg, #22c85a, #0c8d38); }
.tone-aviax { background: linear-gradient(160deg, #7b46ff, #4a1cb5); }
.tone-chick { background: linear-gradient(135deg, #3aa4ff, #1474e4); }
.tone-tower { background: linear-gradient(135deg, #49acff, #1b78e6); }
.tone-sport { background: linear-gradient(135deg, #2a7cf6, #124fbe); }
.tone-prize { background: linear-gradient(160deg, #b44bff, #7a22c4); }

.bempty {
  margin: 8px 0 18px;
  padding: 22px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}

.bempty h2 { margin: 0 0 8px; font-size: 24px; }
.bempty p { margin: 0 0 14px; color: var(--muted); }
.bempty .btn { min-height: 44px; padding: 12px 18px; }

.bonus-lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.page-bonuses .bcard.is-out { display: none !important; }
.page-bonuses [hidden] { display: none !important; }

@media (max-width: 980px) {
  .page-bonuses .bgrid,
  .page-bonuses .bcard { min-width: 0; max-width: 100%; }
}

@media (max-width: 800px) {
  .bgrid { grid-template-columns: 1fr; }
  .tab-wrap { margin-left: 0; width: 100%; flex-wrap: nowrap; }
  .btabs { flex: 1; overflow-x: auto; }
  .filter-btn { flex: 0 0 44px; }
  .chips,
  .bcard.big .chips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
  }
  .chips li,
  .bcard.big .chips li { min-width: 0; }
  .bonus-h1 { font-size: 28px; }
  .bcard.big h2 { font-size: 24px; max-width: none; }
  .bfoot { flex-direction: column; align-items: stretch; }
  .bacts { display: grid; grid-template-columns: 1fr 1fr; }
  .bacts a { min-width: 0; width: 100%; }
  .bbody,
  .btopline { grid-template-columns: 1fr; min-width: 0; }
  .chips { justify-content: stretch; min-width: 0; }
  .bcard img,
  .bcard.big img,
  .bcard.side img { height: 168px; }
}
