/* Honey slot machine — cabinet, reels, dock, paytable.
   Own layout: a rounded honey-comb cabinet with a 5x3 window, reels driven by
   CSS transform from slot.js. Divergent from boom's dark arcade cab. Prefix hc-. */

.hc-play { padding: 40px 0 30px; }

.hc-crumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--comb-soft);
  margin-bottom: 22px;
  transition: gap .3s var(--ease);
}
.hc-crumb:hover { gap: 11px; color: var(--comb); }

/* cabinet */
.hc-cab {
  position: relative;
  background: linear-gradient(160deg, #FFE7AE, var(--cream-card));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  padding: 28px;
  overflow: hidden;
}
.hc-cab__marquee { text-align: center; margin-bottom: 22px; }
.hc-cab__marquee h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  color: var(--comb);
}
.hc-cab__lines {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--comb-soft);
  background: rgba(244, 166, 24, .16);
  border-radius: 999px;
  padding: 5px 14px;
}

/* reel window — comb-brown frame around 5 columns */
.hc-stage {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: var(--comb);
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: inset 0 4px 16px rgba(0, 0, 0, .3);
}
.hc-reel {
  position: relative;
  height: calc(3 * var(--cell, 92px));
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--cream);
}
.hc-reel__tape { will-change: transform; }
.hc-cell {
  height: var(--cell, 92px);
  display: grid;
  place-items: center;
  padding: 7px;
  transition: background .25s var(--ease);
}
.hc-cell img { width: 78%; max-height: 88%; object-fit: contain; user-select: none; }
.hc-reel.is-spinning .hc-cell img { filter: blur(2px); }
/* winning cell — honeycomb glow */
.hc-cell.is-hit {
  background: radial-gradient(circle, rgba(244, 166, 24, .55), transparent 72%);
  animation: hc-pulse .7s var(--ease) infinite alternate;
}
@keyframes hc-pulse { to { background: radial-gradient(circle, rgba(244, 166, 24, .85), transparent 78%); } }

/* dock: bet stepper + spin */
.hc-dock {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.hc-bet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream-card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
}
.hc-bet__label {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--comb-soft);
  padding: 0 6px;
}
.hc-bet button {
  width: 34px; height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(244, 166, 24, .2);
  color: var(--comb);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), transform .2s var(--ease);
}
.hc-bet button:hover { background: var(--amber); }
.hc-bet button:active { transform: scale(.9); }
.hc-bet strong {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--comb);
  min-width: 64px;
  text-align: center;
}
.hc-win {
  text-align: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--leaf-deep);
  margin: 0;
  min-height: 1.3em;
}
.hc-win.is-pop { animation: hc-winpop .55s var(--ease); }
@keyframes hc-winpop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.hc-spin {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--comb);
  background: linear-gradient(120deg, #FFD874, var(--amber));
  border: none;
  border-radius: 999px;
  padding: 16px 38px;
  cursor: pointer;
  box-shadow: 0 14px 26px -10px var(--honey-glow), inset 0 -4px 0 rgba(92, 58, 18, .22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hc-spin:hover:not(:disabled) { transform: translateY(-2px); }
.hc-spin:active:not(:disabled) { transform: scale(.97); }
.hc-spin:disabled { opacity: .55; cursor: default; }

/* win mascot peek */
.hc-cheer {
  position: absolute;
  right: -30px; bottom: -10px;
  width: 150px;
  opacity: 0;
  transform: translateY(30px) scale(.85);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.hc-cheer.is-on { opacity: 1; transform: translateY(0) scale(1); }

/* paytable */
.hc-paysec { margin-top: 56px; }
.hc-paysec h2 { font-size: clamp(28px, 3.6vw, 38px); color: var(--comb); text-align: center; margin-bottom: 28px; }
.hc-paygrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.hc-pay {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.hc-pay--wild { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(244, 166, 24, .25), var(--shadow-soft); }
.hc-pay img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 10px; }
.hc-pay h3 { font-size: 16px; color: var(--comb); line-height: 1.2; margin-bottom: 12px; }
.hc-pay dl { display: flex; justify-content: center; gap: 8px; margin: 0; }
.hc-pay dl > div {
  background: rgba(244, 166, 24, .14);
  border-radius: 12px;
  padding: 7px 4px;
  flex: 1;
}
.hc-pay dt { font-size: 11px; font-weight: 700; color: var(--comb-soft); }
.hc-pay dd { margin: 2px 0 0; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; color: var(--comb); }
.hc-paysec__note { font-size: 13px; color: var(--comb-soft); line-height: 1.6; max-width: 60rem; margin: 26px auto 0; text-align: center; }

/* toast (wallet feedback) */
.hc-toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 130%);
  background: var(--comb);
  color: var(--cream);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid var(--amber);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .4);
  z-index: 60;
  max-width: 88vw;
  text-align: center;
  transition: transform .5s var(--ease);
}
.hc-toast.is-up { transform: translate(-50%, 0); }

@media (max-width: 720px) {
  .hc-cab { padding: 18px; }
  .hc-stage { gap: 5px; padding: 8px; }
  .hc-dock { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .hc-cheer { width: 96px; right: -14px; }
}
@media (max-width: 460px) {
  .hc-reel { --cell: 60px; }
  .hc-stage { --cell: 60px; }
}
