* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #14233d;
  background: linear-gradient(180deg, #eef7ff 0%, #ffffff 36%, #eaf4ff 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

.header {
  background: linear-gradient(135deg, #0e58af 0%, #083b82 100%);
  color: #ffffff;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 24px rgba(9, 58, 124, 0.22);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  width: 158px;
  min-height: 46px;
  border-radius: 14px;
  background: #ffffff;
  position: relative;
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.logo::before {
  content: "MOSTBET";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e58af;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.7px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.menu-state {
  display: none;
}

.menu-toggle {
  display: none;
}

.nav-list {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a,
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.nav-list a {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action {
  background: #ff8a00;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 14px rgba(255, 138, 0, 0.28);
}

.header-action.secondary {
  background: #ffffff;
  color: #0e58af;
  box-shadow: none;
}

#yenilenib {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 12px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d8e9fb;
  color: #45617d;
  box-shadow: 0 10px 28px rgba(36, 91, 157, 0.08);
}

.page-links {
  max-width: 1180px;
  margin: 14px auto;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d8e9fb;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(36, 91, 157, 0.07);
}

.contents-title {
  margin: 0 0 10px;
  color: #173f7d;
  font-size: 15px;
  font-weight: 900;
}

.page-links ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  background: #f1f7ff;
  border: 1px solid #dbeaf8;
  color: #0e58af;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.link-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e4f1ff;
  font-size: 15px;
}

.section {
  max-width: 1180px;
  margin: 22px auto;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #d9eafa;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(30, 87, 153, 0.09);
}

#hero {
  background: linear-gradient(135deg, #0e58af 0%, #0b75df 56%, #67c5ff 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 46px 28px;
}

#hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -82px;
  top: -96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

#hero::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  left: -92px;
  bottom: -96px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.22);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.24;
}

h1 {
  font-size: 44px;
  letter-spacing: -0.4px;
}

h2 {
  font-size: 30px;
  color: #0e58af;
}

h3 {
  font-size: 22px;
  color: #0b4a96;
}

#hero h1,
#hero h2 {
  color: #ffffff;
}

p {
  margin: 0 0 14px;
}

.hero-badges,
.quick-panel-grid,
.rating-grid,
.steps-grid,
.bonus-grid,
.card-grid {
  display: grid;
  gap: 16px;
}

.hero-badges {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.badge,
.rating-card,
.step-card,
.card,
.bonus-card {
  background: #f6fbff;
  border: 1px solid #dbeaf8;
  border-radius: 18px;
  padding: 18px;
}

#hero .badge {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.badge {
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.badge-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.badge-text {
  min-width: 0;
}

.badge p:last-child {
  position: relative;
  z-index: 1;
}

.badge-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.badge-icon.casino {
  background: linear-gradient(
    135deg,
    rgba(255, 154, 32, 0.3),
    rgba(255, 193, 77, 0.2)
  );
}

.badge-icon.sports {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.24),
    rgba(205, 229, 255, 0.2)
  );
}

.badge-icon.adults {
  background: linear-gradient(
    135deg,
    rgba(255, 127, 80, 0.28),
    rgba(255, 175, 60, 0.18)
  );
}

.badge .value,
.rating-card .value,
.step-card .value,
.card .value {
  margin-bottom: 8px;
  color: #ff8a00;
  font-size: 24px;
  font-weight: 900;
}

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

.cta,
.cta-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  color: #ffffff;
  background: #ff8a00;
  box-shadow: 0 8px 20px rgba(255, 138, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.cta-alt {
  background: #ffffff;
  color: #0e58af;
  box-shadow: none;
}

#quick-panel {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.quick-panel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-panel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 90px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #d8e9fb;
  box-shadow: 0 12px 30px rgba(30, 87, 153, 0.1);
}

.quick-panel-item.highlight {
  background: linear-gradient(135deg, #0e58af, #1c8ef0);
  color: #ffffff;
}

.quick-panel-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 900;
  color: inherit;
}

.quick-panel-subtitle {
  margin: 0;
  color: inherit;
  opacity: 0.88;
  font-size: 14px;
}

.quick-panel-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: #eef7ff;
  color: #0e58af;
}

.highlight .quick-panel-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.rating-grid,
.steps-grid,
.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.bonus-card {
  min-height: 345px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(30, 87, 153, 0.08);
}

.bonus-card.featured {
  background: linear-gradient(135deg, #0e58af 0%, #0b75df 100%);
  color: #ffffff;
  border-color: #0e58af;
}

.bonus-card.vip {
  border: 2px solid #ff8a00;
  background: #fff7ec;
}

.bonus-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #ff8a00;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bonus-title {
  margin: 0 0 8px;
  color: inherit;
  font-size: 21px;
  font-weight: 900;
}

.bonus-amount {
  margin: 0 0 12px;
  color: #ff8a00;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.bonus-card.featured .bonus-amount {
  color: #ffffff;
}

.bonus-details {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.bonus-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(14, 88, 175, 0.08);
  color: #24425f;
  font-size: 14px;
}

.bonus-card.featured .bonus-detail {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.bonus-detail span:last-child {
  font-weight: 900;
  text-align: right;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
}

td {
  border: 1px solid #d9eafa;
  padding: 14px;
  vertical-align: top;
}

tr:first-child td {
  background: #0e58af;
  color: #ffffff;
  font-weight: 900;
}

tr:nth-child(even) td {
  background: #f5faff;
}

ul,
ol {
  margin: 12px 0 14px 22px;
  padding: 0;
}

li {
  margin-bottom: 8px;
}

.note {
  background: #eef7ff;
  border-left: 5px solid #ff8a00;
  padding: 16px;
  border-radius: 14px;
}

.faq-container {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  border: 1px solid #d9eafa;
  border-left: 5px solid #ff8a00;
  border-radius: 16px;
  padding: 16px 18px;
  background: #ffffff;
}

.faq-question {
  color: #0e58af;
  margin-bottom: 8px;
}

.faq-answer {
  display: block;
  margin-bottom: 0;
}

.footer {
  margin-top: 34px;
  padding: 28px 20px;
  color: #ffffff;
  background: #083b82;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto 10px;
}

.footer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-chip-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

@media (max-width: 850px) {
  .header {
    padding: 10px 12px;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .header-top {
    display: contents;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    width: 142px;
    min-height: 42px;
    margin: 0;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    width: 46px;
    height: 42px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: #ffffff;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: nowrap;
  }

  .header-action {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .menu-state {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .nav-list {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .menu-state:checked ~ .nav-list {
    display: grid;
  }

  .nav-list a {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .page-links {
    padding: 10px;
    border-radius: 16px;
  }

  .page-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .page-links a {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 13px;
  }

  .link-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 14px;
  }

  .hero-badges,
  .quick-panel-grid,
  .rating-grid,
  .steps-grid,
  .bonus-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .section {
    margin: 16px 12px;
    padding: 20px;
  }

  .badge-head {
    align-items: flex-start;
    gap: 12px;
  }

  .badge-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 26px;
    border-radius: 16px;
  }

  .footer-features {
    gap: 8px;
  }

  .footer-chip {
    width: 100%;
    border-radius: 14px;
  }

  #yenilenib,
  .page-links {
    margin-left: 12px;
    margin-right: 12px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .logo {
    grid-column: 1;
    width: 136px;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .menu-state,
  .nav-list {
    grid-row: 3;
  }

  .page-links ul {
    grid-template-columns: 1fr;
  }
}
