.scatter-highlight-title {
  font-size: clamp(18px, 1.8vw, 22px);
  margin: 0 0 12px;
}

.scatter-highlight-row.treasure-item.coins-layout-override {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  width: 100%;
}

.coins-text-override {
  flex: 1 !important;
  min-width: 0;
  order: 1 !important;
}

.scatter-highlight-text {
  font-size: clamp(16px, 1.4vw, 18px);
  color: #e0e0e0;
  margin: 0 0 10px;
}

.coin-feature-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 30px;
  padding-left: 20px;
}

.coin-images-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  flex-shrink: 0;
  margin-right: -50px;
  z-index: 10;
}

.coin-stack-img {
  width: 140px;
  object-fit: contain;
}

.coin-red {
  z-index: 3;
}

.coin-blue {
  z-index: 2;
  margin-top: -35px;
}

.coin-green {
  z-index: 1;
  margin-top: -35px;
}

.coin-text-box.treasure-item {
  flex: 1;
  padding: 20px 20px 20px 70px;
  margin: 0;
}

.coin-text-box .scatter-highlight-text:last-child {
  margin-bottom: 0;
}

.img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: fit-content;
  margin: 12px auto 0;
}

.img-box img {
  width: clamp(120px, 20vw, 200px);
  display: block;
}

.img-box .text {
  position: absolute;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  font-size: clamp(14px, 1.5vw, 18px);
  pointer-events: none;
  line-height: 1.2;
}

.subheading {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  line-height: 2;
  display: flex
}

.subheading_no_bold {
  font-size: 16px;
  color: #ffffff;
  line-height: 2;
  display: flex
}

@media (max-width: 600px) {

  .level-row,
  .level-row span:first-child,
  .points-amount {
    font-size: 16px !important;
  }

  .treasure-image {
    width: clamp(60px, 20%, 80px);
  }

  .scatter-highlight-row.treasure-item,
  .scatter-highlight-row.treasure-item.coins-layout-override {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .scatter-highlight-row .scatter-highlight-content,
  .scatter-highlight-row .item-details {
    order: 2 !important;
    width: 100% !important;
  }

  .scatter-highlight-row .treasure-image,
  .scatter-highlight-row img.treasure-image {
    order: 1 !important;
    width: clamp(120px, 50%, 180px) !important;
    margin: 0 auto 16px !important;
  }

  .scatter-highlight-row div[style*="flex-direction: column"] {
    order: 1 !important;
    flex-direction: row !important;
    margin: 0 auto 16px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .scatter-highlight-row .coin-stack-img {
    width: clamp(60px, 25%, 90px) !important;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .treasure-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .level-row,
  .level-row span:first-child,
  .points-amount {
    font-size: 16px !important;
  }

  .treasure-image {
    width: clamp(60px, 25%, 90px);
  }
}

/* ─── Game feature cards (Wild / Scatter) ───────────────────────────────────── */
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.feature-card {
  border: 1px solid rgba(241, 196, 109, 0.15);
  border-radius: 16px;
  padding: 18px 20px;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.feature-card-icon {
  width: clamp(48px, 12vw, 60px);
  height: clamp(48px, 12vw, 60px);
  flex-shrink: 0;
  border-radius: 12px;
  border: 2px solid rgba(241, 196, 109, 0.4);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
}

.feature-card-title {
  margin: 0;
  color: #f1c46d;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.feature-card-text {
  margin: 0;
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .feature-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Coin symbols paytable block ────────────────────────────────────────────── */
.coin-symbols-note {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 10px 0 20px;
}

.coin-symbols-note .coin-symbols-desc {
  margin: 0 0 6px;
}

.coin-symbols-note .coin-symbols-desc:last-child {
  margin-bottom: 0;
}

.coin-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.coin-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px;
  text-align: center;
}

.coin-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
}

.coin-card-red .coin-card-icon {
  background: radial-gradient(circle, rgba(220, 38, 38, 0.35) 0%, rgba(220, 38, 38, 0) 100%);
}

.coin-card-blue .coin-card-icon {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 100%);
}

.coin-card-green .coin-card-icon {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35) 0%, rgba(34, 197, 94, 0) 100%);
}

.coin-card-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.coin-card-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
}

@media (max-width: 600px) {
  .coin-card-grid {
    grid-template-columns: 1fr;
  }
}

.ante-img-box {
  position: relative;
  display: inline-block;
  min-width: 140px;
  min-height: 140px;
  padding: 10px 20px;
}

.ante-img-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  margin: 0;
}

.ante-img-box .text {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95px;
  height: 55px;
  text-align: center;
  overflow: hidden;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.05;
  font-size: 20px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 900;
}

.ante-img-box .on-text {
  position: absolute;
  bottom: 20px;
  left: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 20px;
  text-align: center;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 0.95;
  font-size: 11px;
  font-weight: 900;
}

.ante-img-box .off-text {
  position: absolute;
  bottom: 20px;
  right: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 20px;
  text-align: center;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 0.95;
  font-size: 11px;
  font-weight: 900;
}