.digiter-casino,
.digiter-casino * {
  box-sizing: border-box;
}

.digiter-casino {
  --dc-ink: #0c1830;
  --dc-muted: #65748b;
  --dc-blue: #1467e8;
  --dc-blue-dark: #0845a5;
  --dc-cyan: #23c8ff;
  --dc-green: #20c878;
  --dc-gold: #f5c451;
  --dc-red: #ef3154;
  --dc-panel: rgba(255, 255, 255, 0.96);
  position: relative;
  width: min(1180px, 100%);
  min-height: 650px;
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid #dbe6f4;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 200, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #f7fbff 0%, #edf5ff 52%, #f8fbff 100%);
  box-shadow: 0 24px 70px rgba(34, 66, 112, 0.18);
  color: var(--dc-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  isolation: isolate;
}

.digiter-casino button,
.digiter-casino select {
  font: inherit;
}

.digiter-casino button {
  cursor: pointer;
}

.digiter-casino button:focus-visible,
.digiter-casino select:focus-visible {
  outline: 3px solid rgba(35, 200, 255, 0.7);
  outline-offset: 3px;
}

.digiter-casino button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.dc-topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(153, 176, 209, 0.33);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.dc-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dc-ink);
  text-align: left;
}

.dc-brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #2b8fff, #0a48bd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 22px rgba(20, 103, 232, 0.26);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.dc-brand strong,
.dc-brand small,
.dc-wallet span,
.dc-wallet strong,
.dc-bonus-button strong,
.dc-bonus-button small {
  display: block;
}

.dc-brand strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.dc-brand small {
  margin-top: 1px;
  color: var(--dc-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dc-wallet {
  min-width: 156px;
  padding: 9px 15px;
  border: 1px solid #dfe8f4;
  border-radius: 14px;
  background: #fff;
  text-align: right;
  box-shadow: 0 7px 22px rgba(30, 64, 108, 0.07);
}

.dc-wallet span {
  color: var(--dc-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dc-wallet strong {
  margin-top: 1px;
  color: #1168db;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.dc-bonus-button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(32, 200, 120, 0.3);
  border-radius: 14px;
  background: linear-gradient(135deg, #effff7, #e4fff1);
  color: #096d40;
  text-align: left;
  box-shadow: 0 7px 20px rgba(32, 200, 120, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.dc-bonus-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(32, 200, 120, 0.18);
}

.dc-bonus-button > span:first-child {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: #20c878;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.dc-bonus-button strong {
  font-size: 13px;
}

.dc-bonus-button small {
  font-size: 11px;
  opacity: 0.78;
}

.dc-bonus-button.is-claimed {
  filter: grayscale(0.55);
}

.dc-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(153, 176, 209, 0.25);
  background: rgba(232, 242, 255, 0.76);
  color: #51647f;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.dc-notice span {
  color: var(--dc-blue);
  font-size: 15px;
}

.dc-message {
  position: absolute;
  z-index: 50;
  top: 110px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -9px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.dc-message.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dc-message.is-success {
  border-color: #a5edc9;
  background: #ecfff5;
  color: #087044;
  box-shadow: 0 10px 28px rgba(11, 126, 72, 0.15);
}

.dc-message.is-error {
  border-color: #ffc1cc;
  background: #fff0f3;
  color: #a71031;
  box-shadow: 0 10px 28px rgba(167, 16, 49, 0.13);
}

.dc-view {
  display: none;
  min-height: 535px;
}

.dc-view.is-active {
  display: block;
  animation: dc-view-in 280ms ease both;
}

@keyframes dc-view-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.dc-lobby {
  position: relative;
  padding: 42px clamp(20px, 5vw, 62px) 34px;
}

.dc-lobby::before,
.dc-lobby::after {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  content: "";
  filter: blur(3px);
}

.dc-lobby::before {
  top: 20px;
  right: -105px;
  background: radial-gradient(circle, rgba(35, 200, 255, 0.14), transparent 70%);
}

.dc-lobby::after {
  bottom: -100px;
  left: -90px;
  background: radial-gradient(circle, rgba(20, 103, 232, 0.12), transparent 70%);
}

.dc-lobby-intro {
  max-width: 680px;
  margin: 0 auto 31px;
  text-align: center;
}

.dc-eyebrow,
.dc-game-copy small,
.dc-game-heading > div > span {
  color: var(--dc-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dc-lobby-intro h2,
.dc-game-heading h2 {
  margin: 5px 0 8px;
  color: var(--dc-ink);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.dc-lobby-intro p {
  max-width: 590px;
  margin: 0 auto;
  color: var(--dc-muted);
  font-size: 15px;
}

.dc-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}

.dc-game-card {
  position: relative;
  display: grid;
  grid-template-rows: 176px 1fr;
  min-height: 347px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(127, 151, 185, 0.3);
  border-radius: 22px;
  background: #fff;
  color: var(--dc-ink);
  text-align: left;
  box-shadow: 0 17px 42px rgba(44, 76, 121, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.dc-game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 103, 232, 0.45);
  box-shadow: 0 24px 54px rgba(34, 67, 115, 0.19);
}

.dc-card-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
}

.dc-game-card--poker .dc-card-art {
  background:
    linear-gradient(rgba(9, 22, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 22, 50, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 110%, #184ac4, transparent 54%),
    linear-gradient(145deg, #09152c, #112c63);
  background-size: 22px 22px, 22px 22px, auto, auto;
}

.dc-mini-card {
  display: grid;
  width: 87px;
  height: 121px;
  place-items: center;
  margin: 0 -7px;
  border: 2px solid #fff;
  border-radius: 11px;
  background: linear-gradient(145deg, #fff, #edf4ff);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.27);
  color: #e51e49;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  transform: rotate(-8deg) translateY(7px);
}

.dc-mini-card:nth-child(2) {
  z-index: 2;
  color: #121a2b;
  transform: translateY(-3px);
}

.dc-mini-card:nth-child(3) {
  color: #e51e49;
  transform: rotate(8deg) translateY(7px);
}

.dc-game-card--slot .dc-card-art {
  background:
    linear-gradient(rgba(18, 8, 2, 0.08), rgba(18, 8, 2, 0.42)),
    url("../images/western-saloon-fhd.webp") center 49% / cover;
}

.dc-game-card--slot .dc-card-art::after {
  position: absolute;
  inset: 16px 30px;
  border: 3px solid rgba(245, 196, 81, 0.72);
  border-radius: 13px;
  box-shadow: inset 0 0 0 2px rgba(35, 12, 2, 0.65), 0 0 20px rgba(245, 196, 81, 0.22);
  content: "";
}

.dc-western-star,
.dc-reel-letter {
  z-index: 1;
  display: grid;
  width: 84px;
  height: 108px;
  place-items: center;
  border: 2px solid #b97922;
  background: linear-gradient(#281509, #120a05);
  color: #f6c954;
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 900;
  text-shadow: 0 3px 0 #5b2c09;
}

.dc-reel-letter {
  color: #e8ecf4;
}

.dc-reel-letter:last-child {
  color: #d9424d;
}

.dc-game-copy {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 27px;
}

.dc-game-copy strong {
  margin: 4px 0 7px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.dc-game-copy > span {
  max-width: 320px;
  color: var(--dc-muted);
  font-size: 13px;
}

.dc-play-pill {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0b5ec9 !important;
  font-size: 12px !important;
  font-weight: 900;
}

.dc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  margin: 27px auto 0;
  padding: 15px 22px;
  border: 1px solid rgba(171, 192, 220, 0.45);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(46, 79, 126, 0.06);
}

.dc-stats > div {
  padding: 0 15px;
  border-right: 1px solid #dfe8f4;
  text-align: center;
}

.dc-stats > div:last-child {
  border: 0;
}

.dc-stats span,
.dc-stats strong {
  display: block;
}

.dc-stats span {
  color: var(--dc-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dc-stats strong {
  margin-top: 2px;
  color: var(--dc-ink);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.dc-game-heading {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #081a3b, #123a83);
  color: #fff;
  text-align: center;
}

.dc-game-heading h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: clamp(24px, 3.5vw, 36px);
}

.dc-game-heading > div > span {
  color: #65d9ff;
}

.dc-back,
.dc-rules-toggle {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: background 160ms ease;
}

.dc-back:hover,
.dc-rules-toggle:hover {
  background: rgba(255, 255, 255, 0.17);
}

.dc-poker-machine {
  position: relative;
  min-height: 443px;
  padding: 20px 30px 27px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 115%, #1849b0 0%, #0b2459 41%, #050c1c 80%);
  background-size: 24px 24px, 24px 24px, auto;
}

.dc-poker-paytable,
.dc-slot-paytable {
  position: absolute;
  z-index: 12;
  top: 13px;
  right: 18px;
  width: min(340px, calc(100% - 36px));
  max-height: calc(100% - 26px);
  padding: 17px;
  overflow: auto;
  border: 1px solid rgba(86, 210, 255, 0.45);
  border-radius: 14px;
  background: rgba(4, 15, 38, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dc-poker-paytable.is-open,
.dc-slot-paytable.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dc-poker-paytable > strong,
.dc-slot-paytable > strong {
  display: block;
  margin-bottom: 9px;
  color: #ffdc5f;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.dc-poker-paytable > small,
.dc-slot-paytable > small {
  display: block;
  margin-top: 10px;
  color: #9db1cf;
  font-size: 10px;
}

.dc-paytable-grid,
.dc-slot-pay-grid {
  display: grid;
  gap: 3px;
}

.dc-paytable-grid > div,
.dc-slot-pay-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
}

.dc-paytable-grid > div.is-winning {
  background: #ffcf3a;
  color: #14254a;
  animation: dc-pay-pulse 800ms ease infinite alternate;
}

@keyframes dc-pay-pulse {
  to { box-shadow: 0 0 18px rgba(255, 207, 58, 0.58); }
}

.dc-poker-status,
.dc-slot-status {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  margin: 0 auto 18px;
  padding: 7px 20px;
  border: 1px solid rgba(96, 209, 255, 0.25);
  border-radius: 999px;
  background: rgba(3, 14, 38, 0.7);
  color: #e9f6ff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.dc-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(7px, 1.5vw, 15px);
  max-width: 850px;
  margin: 0 auto;
}

.dc-playing-card {
  position: relative;
  aspect-ratio: 0.69;
  width: 100%;
  max-height: 230px;
  padding: 0;
  overflow: visible;
  border: clamp(2px, 0.3vw, 4px) solid #eef5ff;
  border-radius: clamp(8px, 1.5vw, 14px);
  background:
    linear-gradient(135deg, transparent 70%, rgba(20, 103, 232, 0.05)),
    #fff;
  color: #141c2a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), inset 0 0 0 1px #cad9ec;
  transform: translateY(0);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.dc-playing-card:not(:disabled):hover {
  transform: translateY(-6px);
}

.dc-playing-card.is-red {
  color: #e32646;
}

.dc-playing-card.is-facedown {
  background:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.08) 75%),
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.08) 75%),
    linear-gradient(145deg, #125bcf, #082762);
  background-position: 0 0, 8px 8px, 0 0;
  background-size: 16px 16px, 16px 16px, auto;
}

.dc-playing-card.is-facedown .dc-card-corner {
  display: none;
}

.dc-card-corner {
  position: absolute;
  top: 8px;
  left: 9px;
  max-width: 45%;
  font-family: Georgia, serif;
  font-size: clamp(17px, 2.8vw, 28px);
  font-weight: 900;
  line-height: 0.95;
  white-space: normal;
}

.dc-card-suit {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: Georgia, serif;
  font-size: clamp(38px, 8vw, 78px);
  line-height: 1;
  transform: translate(-50%, -50%);
}

.dc-playing-card.is-facedown .dc-card-suit {
  display: grid;
  width: 46%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.67);
  border-radius: 50%;
  color: #fff;
  font-family: inherit;
  font-size: clamp(18px, 3.5vw, 38px);
  font-weight: 950;
}

.dc-playing-card.is-held {
  border-color: #ffdc58;
  box-shadow: 0 0 0 3px rgba(255, 220, 88, 0.2), 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 27px rgba(255, 220, 88, 0.42);
  transform: translateY(-7px);
}

.dc-hold-label {
  position: absolute;
  z-index: 3;
  top: -13px;
  left: 50%;
  min-width: 56px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffda4b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  color: #102350;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  transform: translateX(-50%);
}

.dc-hold-label:empty {
  display: none;
}

.dc-controls {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-top: 23px;
}

.dc-bet-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #c5d6ef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dc-bet-control select {
  min-width: 124px;
  height: 46px;
  padding: 0 36px 0 13px;
  border: 1px solid rgba(132, 194, 255, 0.43);
  border-radius: 11px;
  background: #07172f;
  color: #fff;
  font-weight: 900;
}

.dc-primary-button,
.dc-max-button,
.dc-spin-button {
  min-width: 134px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 11px;
  background: linear-gradient(180deg, #268cff, #0b55c9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 20px rgba(5, 35, 92, 0.45);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: transform 140ms ease, filter 140ms ease;
}

.dc-primary-button:not(:disabled):hover,
.dc-max-button:not(:disabled):hover,
.dc-spin-button:not(:disabled):hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.dc-slot .dc-game-heading--western {
  background:
    linear-gradient(rgba(24, 10, 3, 0.2), rgba(24, 10, 3, 0.63)),
    url("../images/western-saloon-fhd.webp") center 12% / cover;
}

.dc-game-heading--western > div > span {
  color: #f5cc68;
}

.dc-game-heading--western h2 {
  color: #ffeab0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.035em;
  text-shadow: 0 2px 0 #421c08, 0 4px 16px rgba(0, 0, 0, 0.72);
  text-transform: uppercase;
}

.dc-slot-machine {
  position: relative;
  min-height: 443px;
  padding: 23px clamp(12px, 3vw, 34px) 25px;
  overflow: hidden;
  background:
    linear-gradient(rgba(17, 7, 2, 0.42), rgba(17, 7, 2, 0.62)),
    url("../images/western-saloon-fhd.webp") center 58% / cover;
}

.dc-slot-paytable {
  border-color: rgba(245, 196, 81, 0.48);
  background: rgba(32, 13, 4, 0.98);
}

.dc-reel-frame {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: stretch;
  gap: 7px;
  max-width: 870px;
  margin: 0 auto;
  padding: 12px 10px;
  border: 4px solid #b97721;
  border-radius: 16px;
  background: linear-gradient(145deg, #3b1908, #170a03);
  box-shadow: inset 0 0 0 2px #f0c55d, 0 16px 36px rgba(0, 0, 0, 0.54), 0 0 30px rgba(206, 133, 35, 0.16);
}

.dc-reels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  min-width: 0;
  overflow: hidden;
  border: 2px solid #5a280e;
  border-radius: 8px;
  background: #160c07;
}

.dc-reel {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 3px;
  min-width: 0;
  padding: 3px;
  border-right: 1px solid #6e3513;
  background: linear-gradient(90deg, #201009, #49200b 50%, #1c0d06);
}

.dc-reel:last-child {
  border-right: 0;
}

.dc-symbol {
  position: relative;
  display: flex;
  aspect-ratio: 1.18;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(239, 191, 99, 0.3);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.11), transparent 45%),
    linear-gradient(145deg, #f6e2bd, #c89354);
  box-shadow: inset 0 0 15px rgba(65, 24, 4, 0.24);
  color: #321207;
  text-align: center;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.dc-symbol-glyph {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 5vw, 53px);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.25), 0 4px 5px rgba(58, 19, 2, 0.25);
}

.dc-symbol small {
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: 3px;
  padding: 2px 1px;
  border-radius: 3px;
  background: rgba(39, 12, 2, 0.74);
  color: #ffdf83;
  font-size: clamp(5px, 0.9vw, 8px);
  font-weight: 950;
  letter-spacing: 0.07em;
}

.dc-symbol--premium {
  background: radial-gradient(circle, #fff5a4, #eaa72d 52%, #72320a);
  color: #7c1c10;
}

.dc-symbol--premium .dc-symbol-glyph,
.dc-symbol--scatter .dc-symbol-glyph {
  font-size: clamp(32px, 6vw, 66px);
}

.dc-symbol--portrait {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 229, 174, 0.94) 0 15%, transparent 16%),
    radial-gradient(ellipse at 50% 63%, #8c1d28 0 25%, transparent 26%),
    linear-gradient(145deg, #303d66, #10172b);
  color: #f2c16d;
}

.dc-symbol--portrait .dc-symbol-glyph {
  transform: translateY(-6px);
}

.dc-symbol--hat {
  color: #71300b;
}

.dc-symbol--hat .dc-symbol-glyph {
  position: relative;
  transform: rotate(-7deg) scaleX(1.45);
}

.dc-symbol--whiskey {
  background: linear-gradient(145deg, #e4c28c, #8b4b20);
  color: #562009;
}

.dc-symbol--whiskey .dc-symbol-glyph {
  padding: 4px 9px;
  border: 4px solid #54210a;
  border-radius: 8px 8px 15px 15px;
  background: linear-gradient(transparent 36%, #ba6016 37%);
  font-size: clamp(16px, 3vw, 30px);
}

.dc-symbol--horseshoe {
  color: #555861;
}

.dc-symbol--horseshoe .dc-symbol-glyph {
  -webkit-text-stroke: 2px #25272d;
}

.dc-symbol--scatter {
  background: radial-gradient(circle, #e9efff, #6c86a9 57%, #202c3d);
  color: #f4c23f;
}

.dc-symbol--letter {
  background: linear-gradient(145deg, #f7e9ce, #c99e67);
}

.dc-symbol--letter[data-symbol="a"],
.dc-symbol--letter[data-symbol="q"] {
  color: #a91d30;
}

.dc-symbol.is-winning {
  z-index: 3;
  border-color: #fff3a3;
  filter: brightness(1.2) saturate(1.18);
  box-shadow: inset 0 0 12px #fff8b8, 0 0 0 3px #f7c943, 0 0 24px #ffd746;
  animation: dc-symbol-win 620ms ease-in-out infinite alternate;
}

@keyframes dc-symbol-win {
  to { transform: scale(0.95); filter: brightness(1.38) saturate(1.35); }
}

.dc-reels.is-spinning .dc-symbol {
  filter: blur(1px) brightness(0.83);
}

.dc-payline-numbers {
  display: grid;
  grid-template-rows: repeat(10, 1fr);
  gap: 1px;
  align-items: center;
}

.dc-payline-numbers span {
  display: grid;
  min-height: 13px;
  place-items: center;
  border-radius: 3px;
  background: #e4b73f;
  color: #331303;
  font-size: 7px;
  font-weight: 950;
  line-height: 1;
}

.dc-payline-numbers span:nth-child(3n+2) {
  background: #70d6ff;
}

.dc-payline-numbers span:nth-child(3n) {
  background: #ef6581;
}

.dc-slot-status {
  margin-top: 14px;
  margin-bottom: 0;
  border-color: rgba(245, 196, 81, 0.3);
  background: rgba(28, 11, 3, 0.78);
  color: #ffe5a2;
}

.dc-controls--slot {
  margin-top: 14px;
}

.dc-controls--slot .dc-bet-control {
  color: #f1d79d;
}

.dc-controls--slot .dc-bet-control select {
  border-color: #9d6322;
  background: #210e05;
}

.dc-max-button {
  min-width: 112px;
  border-color: #db9b38;
  background: linear-gradient(#b04792, #782269);
}

.dc-spin-button {
  display: inline-flex;
  min-width: 164px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: #9be184;
  background: linear-gradient(#51d954, #24a837);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 8px 20px rgba(14, 76, 22, 0.45);
}

.dc-spin-button span {
  font-size: 25px;
  line-height: 1;
}

.digiter-casino.is-busy button[data-action],
.digiter-casino.is-busy select {
  pointer-events: none;
}

.digiter-casino-login {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid #cde0f6;
  border-radius: 12px;
  background: #f0f7ff;
  color: #193a63;
}

@media (max-width: 780px) {
  .digiter-casino {
    margin: 12px auto;
    border-radius: 17px;
  }

  .dc-topbar {
    grid-template-columns: 1fr auto;
    gap: 9px;
    padding: 10px 13px;
  }

  .dc-wallet {
    min-width: 132px;
    padding: 7px 10px;
  }

  .dc-wallet strong {
    font-size: 17px;
  }

  .dc-bonus-button {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 42px;
  }

  .dc-notice {
    font-size: 10px;
  }

  .dc-lobby {
    padding: 30px 15px 25px;
  }

  .dc-game-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .dc-game-card {
    grid-template-rows: 140px 1fr;
    min-height: 305px;
  }

  .dc-stats {
    padding: 13px 5px;
  }

  .dc-stats > div {
    padding: 0 5px;
  }

  .dc-game-heading {
    grid-template-columns: auto 1fr auto;
    gap: 7px;
    min-height: 78px;
    padding: 9px 10px;
  }

  .dc-game-heading h2 {
    font-size: 22px;
  }

  .dc-game-heading > div > span {
    display: none;
  }

  .dc-back,
  .dc-rules-toggle {
    padding: 7px 8px;
    font-size: 10px;
  }

  .dc-poker-machine {
    padding: 24px 11px 22px;
  }

  .dc-cards {
    gap: 5px;
  }

  .dc-card-corner {
    top: 5px;
    left: 5px;
  }

  .dc-hold-label {
    top: -10px;
    min-width: 41px;
    padding: 2px 5px;
    font-size: 7px;
  }

  .dc-controls {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dc-bet-control select,
  .dc-primary-button,
  .dc-max-button,
  .dc-spin-button {
    min-width: 105px;
    height: 43px;
    padding-right: 13px;
    padding-left: 13px;
    font-size: 11px;
  }

  .dc-slot-machine {
    padding: 15px 4px 20px;
  }

  .dc-reel-frame {
    grid-template-columns: 14px minmax(0, 1fr) 14px;
    gap: 3px;
    padding: 7px 4px;
    border-width: 3px;
  }

  .dc-reels {
    gap: 2px;
  }

  .dc-reel {
    gap: 2px;
    padding: 2px;
  }

  .dc-symbol {
    border-radius: 4px;
  }

  .dc-symbol small {
    right: 1px;
    bottom: 1px;
    left: 1px;
    letter-spacing: 0;
  }

  .dc-payline-numbers span {
    min-height: 7px;
    font-size: 5px;
  }
}

@media (max-width: 430px) {
  .dc-brand small {
    display: none;
  }

  .dc-brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .dc-wallet span {
    font-size: 8px;
  }

  .dc-wallet strong {
    font-size: 15px;
  }

  .dc-mini-card {
    width: 70px;
    height: 100px;
    font-size: 27px;
  }

  .dc-western-star,
  .dc-reel-letter {
    width: 66px;
    height: 94px;
    font-size: 38px;
  }

  .dc-poker-status,
  .dc-slot-status {
    font-size: 10px;
  }

  .dc-spin-button {
    min-width: 132px;
  }
}

/* Version 1.1 Full HD game stages. */
.digiter-casino {
  left: 50%;
  width: min(1920px, calc(100vw - 24px));
  max-width: none;
  transform: translateX(-50%);
}

.digiter-casino:fullscreen {
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  transform: none;
}

.digiter-casino:fullscreen .dc-topbar {
  position: sticky;
  z-index: 60;
  top: 0;
}

.dc-game-card--slot .dc-card-art {
  background:
    linear-gradient(rgba(18, 8, 2, 0.08), rgba(18, 8, 2, 0.42)),
    url("../images/western-saloon-fhd.webp") center 49% / cover;
}

.dc-game-heading {
  grid-template-columns: minmax(105px, 190px) 1fr auto;
  min-height: clamp(90px, 6vw, 116px);
  padding: 13px clamp(16px, 2.5vw, 42px);
}

.dc-game-heading h2 {
  font-size: clamp(28px, 3vw, 48px);
}

.dc-game-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dc-tool-button {
  display: inline-flex;
  min-width: 62px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.dc-tool-button small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dc-tool-button:hover,
.dc-tool-button[aria-pressed="false"] {
  background: rgba(255, 255, 255, 0.2);
}

.dc-game-tools .dc-rules-toggle {
  min-height: 50px;
}

.dc-poker-machine,
.dc-slot-machine {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.dc-poker-machine {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(11px, 1.3vw, 24px);
  align-items: center;
  padding: clamp(22px, 2.4vw, 48px) clamp(28px, 4.8vw, 92px) clamp(32px, 3vw, 58px);
  background:
    linear-gradient(rgba(2, 9, 28, 0.14), rgba(2, 9, 28, 0.42)),
    url("../images/poker-casino-fhd.webp") center / cover no-repeat;
}

.dc-poker-machine::before {
  position: absolute;
  inset: 2.5%;
  z-index: 0;
  border: 1px solid rgba(244, 193, 72, 0.35);
  border-radius: 22px;
  box-shadow: inset 0 0 60px rgba(1, 9, 27, 0.44), 0 0 30px rgba(234, 176, 50, 0.12);
  content: "";
  pointer-events: none;
}

.dc-poker-machine > * {
  position: relative;
  z-index: 2;
}

.dc-poker-paytable {
  position: relative;
  top: auto;
  right: auto;
  display: block;
  width: min(1540px, 100%);
  max-height: none;
  margin: 0 auto;
  padding: clamp(11px, 1.1vw, 18px);
  overflow: visible;
  border: 2px solid #dcae3d;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(4, 14, 38, 0.98), rgba(8, 29, 68, 0.96));
  box-shadow: inset 0 0 0 2px rgba(255, 224, 128, 0.13), 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 25px rgba(231, 180, 55, 0.12);
  color: #fff;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.dc-paytable-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: #f8d66b;
}

.dc-paytable-heading strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1.2vw, 19px);
  letter-spacing: 0.1em;
}

.dc-paytable-heading small {
  color: #fff0aa;
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 900;
  letter-spacing: 0.07em;
}

.dc-poker-paytable .dc-paytable-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 5px;
}

.dc-poker-paytable .dc-paytable-grid > div {
  display: grid;
  min-width: 0;
  align-content: center;
  justify-items: center;
  gap: 3px;
  min-height: clamp(42px, 4vw, 62px);
  padding: 6px 4px;
  border: 1px solid rgba(111, 184, 255, 0.2);
  background: linear-gradient(180deg, rgba(24, 76, 143, 0.48), rgba(6, 29, 67, 0.42));
  font-size: clamp(7px, 0.72vw, 11px);
  line-height: 1.1;
  text-align: center;
}

.dc-poker-paytable .dc-paytable-grid > div b {
  color: #ffdb5b;
  font-size: clamp(12px, 1.1vw, 18px);
}

.dc-poker-paytable .dc-paytable-grid > div.is-winning {
  border-color: #fff3a8;
  background: linear-gradient(180deg, #ffd956, #bd7b0e);
  color: #182544;
}

.dc-poker-paytable .dc-paytable-grid > div.is-winning b {
  color: #142143;
}

.dc-poker-status {
  min-height: clamp(38px, 3vw, 48px);
  margin: 0 auto;
  padding: 8px clamp(19px, 2vw, 34px);
  border-color: rgba(248, 210, 101, 0.4);
  background: rgba(2, 12, 34, 0.82);
  color: #fff0b2;
  font-size: clamp(11px, 1vw, 16px);
  letter-spacing: 0.035em;
  box-shadow: inset 0 0 18px rgba(37, 122, 227, 0.15);
}

.dc-cards {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.45vw, 28px);
  width: min(1560px, 100%);
  max-width: none;
  margin: 0 auto;
  perspective: 1800px;
}

.dc-playing-card {
  position: relative;
  aspect-ratio: 0.69;
  width: 100%;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: clamp(10px, 1.2vw, 22px);
  background: transparent;
  box-shadow: none;
  color: #111827;
  transform-style: preserve-3d;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), filter 220ms ease;
}

.dc-card-inner {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.46);
  transform-style: preserve-3d;
  transition: transform 480ms cubic-bezier(.2,.75,.2,1), box-shadow 220ms ease;
}

.dc-card-face,
.dc-card-back {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: clamp(3px, 0.28vw, 5px) solid #f7faff;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dc-card-face {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), transparent 43%),
    repeating-linear-gradient(135deg, rgba(32, 84, 149, 0.028) 0 2px, transparent 2px 7px),
    linear-gradient(145deg, #fff, #edf3fb);
  box-shadow: inset 0 0 0 2px #c9d7e9, inset 0 -18px 26px rgba(49, 80, 120, 0.08);
}

.dc-card-face::after {
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(35, 84, 142, 0.1);
  border-radius: 70% 30% 65% 35%;
  content: "";
  transform: rotate(24deg);
}

.dc-card-back {
  display: grid;
  place-items: center;
  border-color: #f1ca61;
  background:
    linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.12) 75%),
    linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.12) 75%),
    radial-gradient(circle, #286fd7, #081f54 74%);
  background-position: 0 0, 12px 12px, 0 0;
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: inset 0 0 0 3px #0a2a68, inset 0 0 0 7px rgba(249, 211, 102, 0.78), inset 0 0 35px rgba(0, 0, 0, 0.5);
  transform: rotateY(180deg);
}

.dc-card-back span {
  display: grid;
  width: 44%;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid #f4d77a;
  border-radius: 50%;
  background: rgba(2, 19, 56, 0.72);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.08), 0 0 28px rgba(248, 207, 89, 0.28);
  color: #fff2a9;
  font-size: clamp(28px, 4vw, 70px);
  font-weight: 950;
}

.dc-playing-card.is-facedown .dc-card-inner {
  transform: rotateY(180deg);
}

.dc-playing-card.is-facedown {
  background: transparent;
}

.dc-playing-card.is-facedown .dc-card-suit {
  display: block;
}

.dc-playing-card:not(:disabled):hover {
  z-index: 5;
  transform: translateY(-10px) rotateX(2deg);
}

.dc-playing-card:disabled {
  opacity: 1;
}

.dc-playing-card.is-held {
  z-index: 4;
  border: 0;
  box-shadow: none;
  transform: translateY(-15px);
}

.dc-playing-card.is-held .dc-card-inner {
  box-shadow: 0 0 0 4px #ffdf63, 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 211, 64, 0.55);
}

.dc-card-corner {
  z-index: 2;
  top: 6%;
  left: 7%;
  max-width: 36%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.8vw, 52px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-shadow: 0 2px 0 #fff;
}

.dc-card-corner--bottom {
  top: auto;
  right: 7%;
  bottom: 6%;
  left: auto;
  transform: rotate(180deg);
}

.dc-card-suit {
  z-index: 1;
  font-size: clamp(54px, 7vw, 126px);
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.75), 0 8px 16px rgba(18, 33, 58, 0.16);
}

.dc-playing-card.is-dealt {
  animation: dc-card-deal 520ms cubic-bezier(.16,.78,.22,1) both;
}

.dc-playing-card.is-drawn {
  animation: dc-card-draw 520ms cubic-bezier(.16,.78,.22,1) both;
}

@keyframes dc-card-deal {
  0% { opacity: 0; transform: translate3d(120%, -75%, 0) rotate(15deg) scale(.72); }
  62% { opacity: 1; transform: translate3d(-3%, 2%, 0) rotate(-1.5deg) scale(1.025); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}

@keyframes dc-card-draw {
  0% { opacity: .2; transform: translate3d(0, -28%, 0) rotateY(88deg) scale(.9); }
  70% { opacity: 1; transform: translate3d(0, 2%, 0) rotateY(-4deg) scale(1.025); }
  100% { transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}

.dc-hold-label {
  top: -17px;
  min-width: clamp(58px, 5.5vw, 100px);
  padding: clamp(4px, .45vw, 8px) 11px;
  border: 2px solid #fff1a2;
  background: linear-gradient(#ffe681, #e6aa16);
  font-size: clamp(9px, .75vw, 13px);
}

.dc-poker-machine .dc-controls {
  margin: 0;
}

.dc-poker-machine .dc-bet-control select,
.dc-poker-machine .dc-primary-button {
  min-width: clamp(132px, 10vw, 190px);
  height: clamp(48px, 4vw, 66px);
  border-radius: 14px;
  font-size: clamp(12px, .9vw, 16px);
}

.dc-slot .dc-game-heading--western {
  background:
    linear-gradient(rgba(24, 10, 3, 0.2), rgba(24, 10, 3, 0.63)),
    url("../images/western-saloon-fhd.webp") center 12% / cover;
}

.dc-slot-machine {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: clamp(12px, 1.3vw, 24px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 84px) clamp(16px, 4vw, 74px) clamp(30px, 3.2vw, 62px);
  background:
    linear-gradient(rgba(17, 7, 2, 0.32), rgba(17, 7, 2, 0.55)),
    url("../images/western-saloon-fhd.webp") center 58% / cover;
}

.dc-reel-frame {
  grid-template-columns: clamp(20px, 2vw, 36px) minmax(0, 1fr) clamp(20px, 2vw, 36px);
  gap: clamp(5px, .65vw, 11px);
  width: min(1540px, 100%);
  max-width: none;
  margin: auto;
  padding: clamp(9px, 1vw, 17px);
  border-width: clamp(4px, .42vw, 8px);
  border-radius: clamp(16px, 1.5vw, 28px);
  box-shadow: inset 0 0 0 3px #f0c55d, 0 24px 56px rgba(0, 0, 0, 0.62), 0 0 42px rgba(206, 133, 35, 0.25);
}

.dc-reels {
  aspect-ratio: 2.15 / 1;
  gap: 5px;
  height: auto;
  border-width: 3px;
  border-radius: 12px;
}

.dc-reel {
  position: relative;
  display: block;
  min-width: 0;
  height: 100%;
  padding: 4px;
  overflow: hidden;
  border-right: 2px solid #6e3513;
  background: linear-gradient(90deg, #201009, #55260d 50%, #1c0d06);
}

.dc-reel-strip {
  display: grid;
  gap: 5px;
  width: 100%;
  will-change: transform, filter;
}

.dc-reel-strip--static {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 100%;
}

.dc-reel-strip:not(.dc-reel-strip--static) .dc-symbol {
  height: var(--dc-reel-cell-height, 120px);
}

.dc-reel.has-stopped {
  animation: dc-reel-stop 230ms cubic-bezier(.18,.8,.24,1);
}

@keyframes dc-reel-stop {
  0% { transform: translateY(-5px); }
  55% { transform: translateY(3px); }
  100% { transform: translateY(0); }
}

.dc-symbol {
  aspect-ratio: auto;
  width: 100%;
  min-height: 0;
  border-width: 2px;
  border-radius: clamp(7px, .7vw, 13px);
  box-shadow: inset 0 0 24px rgba(65, 24, 4, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dc-symbol::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.24) 47%, transparent 57%);
  content: "";
  opacity: .42;
  pointer-events: none;
}

.dc-symbol-glyph {
  display: grid;
  width: 76%;
  height: 72%;
  place-items: center;
  font-size: clamp(42px, 5.3vw, 96px);
}

.dc-symbol-glyph svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 7px 5px rgba(49, 20, 4, 0.28));
}

.dc-symbol small {
  right: 5%;
  bottom: 3%;
  left: 5%;
  padding: clamp(2px, .2vw, 4px) 2px;
  border: 1px solid rgba(255, 220, 126, 0.55);
  border-radius: 5px;
  font-size: clamp(6px, .57vw, 11px);
}

.dc-symbol--premium .dc-symbol-glyph,
.dc-symbol--scatter .dc-symbol-glyph {
  font-size: inherit;
}

.dc-symbol--portrait {
  background: radial-gradient(circle at 50% 35%, #394e79, #10172b 76%);
}

.dc-symbol--portrait .dc-symbol-glyph,
.dc-symbol--hat .dc-symbol-glyph {
  transform: none;
}

.dc-symbol--whiskey .dc-symbol-glyph {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: inherit;
}

.dc-symbol--horseshoe .dc-symbol-glyph {
  -webkit-text-stroke: 0;
}

.dc-reels.is-spinning .dc-symbol {
  filter: none;
}

.dc-slot-status {
  min-height: clamp(40px, 3vw, 52px);
  margin: 0 auto;
  padding: 9px clamp(18px, 2vw, 34px);
  font-size: clamp(11px, .95vw, 16px);
}

.dc-controls--slot {
  margin: 0;
}

.dc-controls--slot .dc-bet-control select,
.dc-controls--slot .dc-max-button,
.dc-controls--slot .dc-spin-button {
  height: clamp(49px, 4vw, 68px);
  border-radius: 14px;
  font-size: clamp(11px, .9vw, 16px);
}

.dc-controls--slot .dc-spin-button {
  min-width: clamp(160px, 13vw, 240px);
}

.dc-payline-numbers span {
  min-height: 0;
  border: 1px solid rgba(255,255,255,.35);
  font-size: clamp(6px, .52vw, 10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.dc-slot-paytable {
  width: min(430px, calc(100% - 36px));
  font-size: 13px;
}

.dc-celebration-layer {
  position: absolute !important;
  z-index: 35 !important;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.dc-flying-coin {
  position: absolute;
  top: -45px;
  left: var(--dc-x);
  width: clamp(15px, 1.6vw, 30px);
  aspect-ratio: 1;
  border: 2px solid #fff0a2;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff5a8 0 8%, #f4c33e 24%, #ad650d 68%, #6f3505 100%);
  box-shadow: inset -3px -4px 0 rgba(104, 46, 3, 0.24), 0 4px 8px rgba(0,0,0,.25);
  animation: dc-coin-rain var(--dc-duration) cubic-bezier(.16,.62,.48,1) var(--dc-delay) both;
}

.dc-flying-coin::after {
  position: absolute;
  inset: 22%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 54, 5, 0.5);
  border-radius: 50%;
  color: #86480a;
  content: "$";
  font-size: 55%;
  font-weight: 900;
}

@keyframes dc-coin-rain {
  0% { opacity: 0; transform: translate3d(0, -30px, 0) rotateY(0) rotateZ(0); }
  10% { opacity: 1; }
  100% { opacity: .85; transform: translate3d(var(--dc-drift), 1120px, 0) rotateY(1080deg) rotateZ(560deg); }
}

@media (max-width: 900px) {
  .dc-game-heading {
    grid-template-columns: auto 1fr auto;
  }

  .dc-game-tools {
    gap: 4px;
  }

  .dc-tool-button {
    min-width: 42px;
    min-height: 40px;
    padding: 5px 7px;
    font-size: 15px;
  }

  .dc-tool-button small {
    display: none;
  }

  .dc-game-tools .dc-rules-toggle {
    min-height: 40px;
  }

  .dc-poker-machine,
  .dc-slot-machine {
    aspect-ratio: auto;
    min-height: 650px;
  }

  .dc-poker-machine {
    padding: 25px 12px 30px;
  }

  .dc-poker-paytable {
    overflow-x: auto;
  }

  .dc-poker-paytable .dc-paytable-grid {
    grid-template-columns: repeat(9, minmax(90px, 1fr));
    min-width: 850px;
  }

  .dc-cards {
    gap: 6px;
  }

  .dc-card-corner {
    font-size: clamp(15px, 4vw, 30px);
  }

  .dc-card-suit {
    font-size: clamp(35px, 11vw, 72px);
  }

  .dc-slot-machine {
    min-height: 590px;
    padding: 38px 4px 28px;
  }

  .dc-reel-frame {
    grid-template-columns: 15px minmax(0, 1fr) 15px;
    gap: 3px;
    padding: 6px 3px;
    border-width: 3px;
  }

  .dc-reels {
    gap: 2px;
  }

  .dc-reel {
    padding: 2px;
  }

  .dc-reel-strip {
    gap: 2px;
  }

  .dc-symbol {
    border-width: 1px;
  }
}

@media (max-width: 520px) {
  .digiter-casino {
    width: calc(100vw - 10px);
  }

  .dc-game-heading {
    padding: 8px 6px;
  }

  .dc-game-heading h2 {
    font-size: 19px;
  }

  .dc-back {
    padding: 6px;
    font-size: 9px;
  }

  .dc-poker-machine {
    min-height: 520px;
    gap: 12px;
  }

  .dc-paytable-heading {
    position: sticky;
    left: 0;
  }

  .dc-cards {
    gap: 4px;
  }

  .dc-hold-label {
    top: -9px;
    min-width: 34px;
    padding: 2px 3px;
    border-width: 1px;
    font-size: 6px;
  }

  .dc-card-face,
  .dc-card-back {
    border-width: 2px;
  }

  .dc-poker-machine .dc-bet-control select,
  .dc-poker-machine .dc-primary-button {
    min-width: 92px;
    height: 42px;
  }

  .dc-slot-machine {
    min-height: 500px;
  }

  .dc-symbol-glyph {
    width: 88%;
    height: 68%;
  }

  .dc-symbol small {
    display: none;
  }
}

/* 1.2: artifact-free cards, Austrian-style double-up and premium reel art. */
.dc-card-inner {
  overflow: hidden;
  transform-style: flat;
  transition: box-shadow 220ms ease;
}

.dc-card-face,
.dc-card-back {
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transition: opacity 90ms linear, visibility 90ms linear;
}

.dc-card-face {
  z-index: 2;
  border-color: #fff;
  background: radial-gradient(circle at 50% 32%, #fff 0 18%, #f8f5ed 70%, #ebe4d5 100%);
  box-shadow: inset 0 0 0 2px #d8cfbd, inset 0 0 24px rgba(96, 74, 35, .1);
  opacity: 1;
  visibility: visible;
}

.dc-card-face::before {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(170, 132, 53, .22);
  border-radius: calc(clamp(10px, 1.2vw, 22px) - 5px);
  content: "";
  pointer-events: none;
}

.dc-card-face::after {
  display: none;
}

.dc-card-back {
  z-index: 3;
  border-color: #f2d47b;
  background: radial-gradient(circle at 50% 45%, #214f9a 0 16%, #102f70 45%, #071b48 100%);
  box-shadow: inset 0 0 0 3px #071c4a, inset 0 0 0 8px #bd9135, inset 0 0 0 11px #071c4a, inset 0 0 46px rgba(0, 0, 0, .52);
  opacity: 0;
  visibility: hidden;
}

.dc-card-back::before,
.dc-card-back::after {
  position: absolute;
  inset: 16%;
  border: 2px solid rgba(255, 225, 131, .62);
  border-radius: 18%;
  content: "";
  transform: rotate(45deg);
}

.dc-card-back::after {
  inset: 25%;
  border-width: 1px;
  opacity: .58;
}

.dc-card-back span {
  position: relative;
  z-index: 2;
}

.dc-playing-card.is-facedown .dc-card-inner {
  transform: none;
}

.dc-playing-card.is-facedown .dc-card-face,
.dc-gamble-card.is-facedown .dc-card-face {
  opacity: 0;
  visibility: hidden;
}

.dc-playing-card.is-facedown .dc-card-back,
.dc-gamble-card.is-facedown .dc-card-back {
  opacity: 1;
  visibility: visible;
}

.dc-card-portrait {
  position: absolute;
  z-index: 1;
  inset: 15% 12% 5%;
  display: block;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 5px 5px rgba(52, 31, 14, .2));
  opacity: 0;
}

.dc-card-portrait--j {
  background-image: url("../images/cards/jack.webp");
  opacity: 1;
}

.dc-card-portrait--q {
  background-image: url("../images/cards/queen.webp");
  opacity: 1;
}

.dc-card-portrait--k {
  background-image: url("../images/cards/king.webp");
  opacity: 1;
}

.dc-playing-card[data-rank="j"] .dc-card-suit,
.dc-playing-card[data-rank="q"] .dc-card-suit,
.dc-playing-card[data-rank="k"] .dc-card-suit,
.dc-gamble-card[data-rank="j"] .dc-card-suit,
.dc-gamble-card[data-rank="q"] .dc-card-suit,
.dc-gamble-card[data-rank="k"] .dc-card-suit {
  right: 12%;
  bottom: 11%;
  left: auto;
  font-size: clamp(30px, 3.5vw, 64px);
  transform: none;
}

.dc-playing-card[data-rank="a"] .dc-card-suit,
.dc-gamble-card[data-rank="a"] .dc-card-suit {
  display: grid;
  width: 50%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(179, 137, 44, .28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.82), rgba(229, 216, 185, .3));
}

.dc-playing-card.is-dealt,
.dc-playing-card.is-drawn {
  transform-origin: center;
}

@keyframes dc-card-deal {
  0% { opacity: 0; transform: translate3d(95%, -58%, 0) rotate(8deg) scale(.74, .84); }
  46% { opacity: 1; transform: translate3d(5%, 0, 0) rotate(1deg) scale(.04, .96); }
  54% { transform: translate3d(2%, 0, 0) rotate(-.5deg) scale(.04, .98); }
  78% { transform: translate3d(-2%, 1%, 0) rotate(-.8deg) scale(1.025); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}

@keyframes dc-card-draw {
  0% { opacity: .25; transform: translate3d(0, -22%, 0) scale(.06, .9); }
  50% { opacity: 1; transform: translate3d(0, 0, 0) scale(.06, 1); }
  78% { transform: translate3d(0, 1%, 0) scale(1.025); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

.dc-gamble {
  position: absolute !important;
  z-index: 24 !important;
  top: clamp(150px, 23%, 250px);
  right: clamp(20px, 6%, 100px);
  bottom: clamp(90px, 12%, 135px);
  left: clamp(20px, 6%, 100px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(6px, .8vw, 14px);
  padding: clamp(12px, 1.5vw, 25px);
  overflow: hidden;
  border: 3px solid #e4b844;
  border-radius: clamp(15px, 1.4vw, 26px);
  background: radial-gradient(circle at 50% 40%, rgba(25, 75, 148, .98), rgba(2, 14, 43, .99) 72%);
  box-shadow: inset 0 0 0 2px rgba(255, 240, 170, .18), inset 0 0 70px rgba(0,0,0,.42), 0 28px 70px rgba(0,0,0,.65), 0 0 40px rgba(237, 190, 67, .28);
  color: #fff;
}

.dc-gamble[hidden] {
  display: none;
}

.dc-gamble::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 0 30%, rgba(242, 194, 68, .06) 31% 32%, transparent 33% 100%);
  content: "";
  pointer-events: none;
}

.dc-poker-machine.is-gamble-mode .dc-cards,
.dc-poker-machine.is-gamble-mode > .dc-poker-status {
  opacity: .12;
  filter: blur(3px);
  pointer-events: none;
}

.dc-gamble-heading {
  position: relative;
  display: grid;
  justify-items: center;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.dc-gamble-heading span,
.dc-gamble-heading small {
  color: #f4d978;
  font-size: clamp(7px, .6vw, 11px);
  font-weight: 900;
  letter-spacing: .13em;
}

.dc-gamble-heading strong {
  margin: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 38px);
  letter-spacing: .08em;
  text-shadow: 0 3px 0 #0a1d49, 0 0 24px rgba(255, 214, 85, .28);
}

.dc-gamble-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(115px, .78fr) minmax(130px, .72fr) minmax(115px, .78fr);
  gap: clamp(12px, 2.4vw, 46px);
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.dc-gamble-choice {
  display: grid;
  min-height: clamp(90px, 9vw, 155px);
  align-content: center;
  justify-items: center;
  gap: 4px;
  border: 2px solid rgba(255, 231, 142, .82);
  border-radius: 16px;
  background: linear-gradient(180deg, #375fa6, #12366f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 10px 24px rgba(0,0,0,.32);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.dc-gamble-choice--higher {
  background: linear-gradient(180deg, #d54839, #8b191b);
}

.dc-gamble-choice:hover {
  filter: brightness(1.15);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 15px 30px rgba(0,0,0,.42), 0 0 22px rgba(255, 217, 98, .2);
}

.dc-gamble-choice > span {
  font-size: clamp(18px, 2vw, 36px);
}

.dc-gamble-choice strong {
  font-size: clamp(13px, 1.2vw, 21px);
  letter-spacing: .08em;
}

.dc-gamble-choice small {
  font-size: clamp(7px, .62vw, 11px);
}

.dc-gamble-card {
  position: relative;
  justify-self: center;
  aspect-ratio: .69;
  width: min(100%, clamp(112px, 11vw, 190px));
  border-radius: clamp(11px, 1vw, 18px);
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.5));
  transform-style: flat;
}

.dc-gamble-card .dc-card-face,
.dc-gamble-card .dc-card-back {
  border-width: 4px;
}

.dc-gamble-card.is-shuffling {
  animation: dc-gamble-shuffle 260ms linear infinite;
}

.dc-gamble-card.is-revealed {
  animation: dc-gamble-reveal 580ms cubic-bezier(.18,.76,.23,1) both;
}

.dc-gamble-card.is-gamble-win {
  filter: drop-shadow(0 0 22px rgba(98, 255, 145, .78));
}

.dc-gamble-card.is-gamble-lose {
  filter: grayscale(.25) drop-shadow(0 0 22px rgba(255, 71, 64, .72));
}

.dc-gamble-card.is-gamble-tie {
  filter: drop-shadow(0 0 22px rgba(255, 213, 73, .78));
}

@keyframes dc-gamble-shuffle {
  0% { transform: translateX(-3px) rotate(-1deg) scaleX(.92); }
  50% { transform: translateX(3px) rotate(1deg) scaleX(.16); }
  100% { transform: translateX(-3px) rotate(-1deg) scaleX(.92); }
}

@keyframes dc-gamble-reveal {
  0% { opacity: .45; transform: scaleX(.05) translateY(-10%); }
  64% { opacity: 1; transform: scaleX(1.04) translateY(1%); }
  100% { transform: scaleX(1) translateY(0); }
}

.dc-gamble-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, .6fr) minmax(190px, 1.6fr) minmax(100px, .6fr);
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 218, 104, .3);
  border-radius: 11px;
  background: rgba(0, 9, 31, .64);
  text-align: center;
}

.dc-gamble-footer > div {
  display: grid;
  gap: 2px;
}

.dc-gamble-footer span {
  color: #aac8f1;
  font-size: clamp(7px, .58vw, 10px);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dc-gamble-footer strong {
  color: #ffdc68;
  font-size: clamp(14px, 1.35vw, 24px);
}

.dc-gamble-footer p {
  margin: 0;
  color: #fff;
  font-size: clamp(9px, .78vw, 14px);
  font-weight: 800;
}

.dc-gamble-collect {
  position: relative;
  justify-self: center;
  min-width: clamp(150px, 14vw, 250px);
  min-height: clamp(38px, 3.3vw, 54px);
  border: 2px solid #fff0a2;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffd85c, #bf790a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 20px rgba(0,0,0,.34);
  color: #132650;
  font-size: clamp(10px, .85vw, 15px);
  font-weight: 950;
  letter-spacing: .08em;
}

.dc-reels {
  position: relative;
  overflow: hidden;
  background: #2a1209;
  box-shadow: inset 0 0 0 2px rgba(255, 232, 155, .42), inset 0 0 35px rgba(0,0,0,.8);
}

.dc-reels::before,
.dc-reels::after {
  position: absolute;
  z-index: 12;
  right: 0;
  left: 0;
  height: 12%;
  content: "";
  pointer-events: none;
}

.dc-reels::before {
  top: 0;
  background: linear-gradient(#1a0905 0%, rgba(26,9,5,.5) 38%, transparent 100%);
}

.dc-reels::after {
  bottom: 0;
  background: linear-gradient(transparent, rgba(26,9,5,.5) 62%, #1a0905 100%);
}

.dc-reel {
  padding: 3px;
  border-right: 2px solid #8b5728;
  background: linear-gradient(90deg, #2a1108, #5b2a11 15%, #733a19 50%, #5b2a11 85%, #241006);
  box-shadow: inset 0 0 18px rgba(0,0,0,.46);
}

.dc-reel.is-spinning-reel .dc-symbol {
  box-shadow: none;
}

.dc-reel.is-anticipating {
  z-index: 5;
  box-shadow: inset 0 0 22px rgba(255, 211, 71, .48), 0 0 20px rgba(255, 199, 38, .55);
  animation: dc-anticipation-pulse 480ms ease-in-out infinite alternate;
}

@keyframes dc-anticipation-pulse {
  to { filter: brightness(1.24); }
}

.dc-symbol {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: clamp(8px, .75vw, 14px);
  background: radial-gradient(circle at 50% 38%, #fffdf4 0 23%, #ead8ae 75%, #bd8b4f 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -7px 16px rgba(104, 52, 13, .15), 0 2px 4px rgba(0,0,0,.25);
  transform: translateZ(0);
}

.dc-symbol::before {
  position: absolute;
  z-index: 4;
  inset: 3px;
  border: 1px solid rgba(127, 78, 25, .2);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.dc-symbol::after {
  display: none;
}

.dc-symbol-glyph {
  position: relative;
  z-index: 2;
  width: 92%;
  height: 88%;
}

.dc-symbol-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 6px 5px rgba(55, 24, 5, .27));
}

.dc-symbol-image--wild { background-image: url("../images/symbols/wild.webp"); }
.dc-symbol-image--cowgirl { background-image: url("../images/symbols/cowgirl.webp"); }
.dc-symbol-image--hat { background-image: url("../images/symbols/hat.webp"); }
.dc-symbol-image--whiskey { background-image: url("../images/symbols/whiskey.webp"); }
.dc-symbol-image--horseshoe { background-image: url("../images/symbols/horseshoe.webp"); }
.dc-symbol-image--scatter { background-image: url("../images/symbols/scatter.webp"); }

.dc-symbol--letter .dc-symbol-glyph {
  color: transparent;
  background: linear-gradient(180deg, #fff4a8 0%, #f0be35 35%, #a34812 72%, #562108 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 3px 0 #54200b) drop-shadow(0 6px 5px rgba(0,0,0,.34));
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 950;
  -webkit-text-stroke: 1px rgba(255, 239, 148, .52);
}

.dc-symbol small {
  z-index: 5;
  right: 8%;
  bottom: 2%;
  left: 8%;
  border-color: rgba(255, 231, 149, .75);
  background: linear-gradient(180deg, rgba(91, 33, 12, .94), rgba(38, 14, 7, .95));
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  color: #ffe7a2;
}

.dc-reel-strip--static .dc-symbol--premium .dc-symbol-image,
.dc-reel-strip--static .dc-symbol--portrait .dc-symbol-image,
.dc-reel-strip--static .dc-symbol--scatter .dc-symbol-image {
  animation: dc-symbol-idle 3.4s ease-in-out infinite alternate;
}

@keyframes dc-symbol-idle {
  0%, 35% { transform: translateY(1px) scale(.985); filter: drop-shadow(0 5px 4px rgba(55,24,5,.24)) brightness(1); }
  100% { transform: translateY(-2px) scale(1.025); filter: drop-shadow(0 8px 7px rgba(55,24,5,.32)) brightness(1.06); }
}

.dc-symbol.is-winning {
  z-index: 7;
  border-color: #fff3a7;
  background: radial-gradient(circle, #fffbd2 0 24%, #f7cf50 70%, #bd6812 100%);
  box-shadow: inset 0 0 0 2px #fff2a1, 0 0 22px 8px rgba(255, 205, 54, .72);
  animation: dc-winning-symbol 620ms cubic-bezier(.2,.82,.2,1) infinite alternate;
}

.dc-symbol.is-winning .dc-symbol-glyph {
  animation: dc-winning-glyph 520ms cubic-bezier(.2,.8,.2,1) infinite alternate;
}

@keyframes dc-winning-symbol {
  to { filter: brightness(1.18); transform: scale(.96); }
}

@keyframes dc-winning-glyph {
  to { transform: translateY(-3px) scale(1.09) rotate(-1deg); }
}

.dc-slot-win-overlay {
  position: absolute !important;
  z-index: 30 !important;
  top: 50%;
  left: 50%;
  display: grid;
  min-width: min(540px, 72%);
  justify-items: center;
  padding: clamp(18px, 2vw, 34px) clamp(25px, 4vw, 70px);
  border: 3px solid #fff0a5;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(154, 45, 21, .96), rgba(45, 12, 5, .97) 72%);
  box-shadow: inset 0 0 36px rgba(255, 202, 68, .34), 0 0 0 6px rgba(100, 42, 9, .7), 0 0 75px rgba(255, 188, 38, .75);
  color: #fff;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: dc-slot-win-overlay 2.05s cubic-bezier(.16,.8,.2,1) both;
}

.dc-slot-win-overlay strong {
  color: #ffe477;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 80px);
  letter-spacing: .05em;
  line-height: .95;
  text-shadow: 0 4px 0 #7d240d, 0 0 22px rgba(255, 225, 100, .6);
}

.dc-slot-win-overlay span {
  margin-top: 8px;
  font-size: clamp(20px, 2.8vw, 45px);
  font-weight: 950;
}

.dc-slot-win-overlay--mega {
  background: radial-gradient(circle, rgba(30, 77, 151, .98), rgba(4, 17, 50, .98) 72%);
  box-shadow: inset 0 0 38px rgba(255, 220, 83, .42), 0 0 0 6px rgba(20, 44, 92, .76), 0 0 90px rgba(255, 221, 70, .9);
}

@keyframes dc-slot-win-overlay {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.55) rotate(-2deg); }
  16% { opacity: 1; transform: translate(-50%, -50%) scale(1.08) rotate(1deg); }
  28%, 78% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
  100% { opacity: 0; transform: translate(-50%, -54%) scale(1.12); }
}

@media (max-width: 900px) {
  .dc-gamble {
    top: 145px;
    right: 10px;
    bottom: 82px;
    left: 10px;
  }

  .dc-gamble-stage {
    grid-template-columns: minmax(82px, 1fr) minmax(88px, .72fr) minmax(82px, 1fr);
    gap: 7px;
  }

  .dc-gamble-choice {
    min-height: 82px;
    padding: 5px;
  }

  .dc-gamble-footer {
    grid-template-columns: 1fr 1.5fr 1fr;
    padding: 6px;
  }
}

@media (max-width: 520px) {
  .dc-gamble {
    top: 132px;
    bottom: 70px;
    padding: 8px;
  }

  .dc-gamble-heading small,
  .dc-gamble-choice small {
    display: none;
  }

  .dc-gamble-stage {
    grid-template-columns: minmax(62px, 1fr) minmax(76px, .78fr) minmax(62px, 1fr);
  }

  .dc-gamble-card {
    width: min(100%, 102px);
  }

  .dc-gamble-footer {
    grid-template-columns: 1fr 1fr;
  }

  .dc-gamble-footer p {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .digiter-casino *,
  .digiter-casino *::before,
  .digiter-casino *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 1.3: complete Vegas deck, premium paytable and magnetic-lock reels. */
.dc-card-face {
  border: 0;
  background-color: #f8f2e6;
  background-image: url("../images/cards/vegas-deck-atlas.webp");
  background-position: var(--dc-card-x, 0%) var(--dc-card-y, 0%);
  background-repeat: no-repeat;
  background-size: 1300% 400%;
  box-shadow: none;
}

.dc-card-face::before,
.dc-card-face::after {
  display: none;
}

.dc-card-face > * {
  opacity: 0 !important;
  visibility: hidden !important;
}

.dc-card-back {
  border: 0;
  background: #07152c url("../images/cards/vegas-card-back.webp") center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 2px rgba(255, 224, 126, .72), 0 0 24px rgba(0, 0, 0, .36);
}

.dc-card-back::before,
.dc-card-back::after,
.dc-card-back > span {
  display: none;
}

.dc-poker-paytable {
  padding: clamp(10px, .9vw, 16px);
  border-color: #f0c754;
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(255, 226, 126, .07) 42%, transparent 50%),
    radial-gradient(circle at 50% 0, rgba(39, 103, 182, .6), transparent 54%),
    linear-gradient(180deg, rgba(5, 16, 42, .99), rgba(3, 13, 34, .99));
  box-shadow: inset 0 0 0 2px rgba(255, 225, 128, .12), inset 0 -24px 50px rgba(0, 0, 0, .28), 0 16px 42px rgba(0, 0, 0, .52), 0 0 34px rgba(231, 180, 55, .16);
}

.dc-paytable-heading {
  margin-bottom: 7px;
  padding: 0 4px 7px;
  border-bottom: 1px solid rgba(240, 199, 84, .34);
}

.dc-paytable-heading strong {
  color: #ffe894;
  text-shadow: 0 2px 0 #7b4308, 0 0 16px rgba(255, 211, 81, .3);
}

.dc-paytable-heading small {
  padding: 4px 9px;
  border: 1px solid rgba(255, 221, 111, .35);
  border-radius: 999px;
  background: rgba(139, 75, 9, .24);
}

.dc-poker-paytable .dc-paytable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(4px, .48vw, 8px);
  min-width: 0;
}

.dc-poker-paytable .dc-paytable-grid > .dc-paytable-prize {
  display: grid;
  grid-template-columns: clamp(27px, 2.15vw, 38px) minmax(0, 1fr) auto;
  min-height: clamp(42px, 3.3vw, 56px);
  align-content: center;
  align-items: center;
  justify-items: stretch;
  gap: clamp(6px, .62vw, 11px);
  padding: 5px clamp(7px, .75vw, 13px);
  border: 1px solid rgba(110, 180, 255, .24);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(25, 72, 133, .65), rgba(4, 24, 59, .62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -9px 18px rgba(0,0,0,.16);
  color: #eaf5ff;
  font-size: clamp(8px, .65vw, 11px);
  line-height: 1.12;
  text-align: left;
}

.dc-poker-paytable .dc-paytable-prize--major {
  border-color: rgba(255, 212, 77, .42);
  background: linear-gradient(135deg, rgba(111, 51, 12, .7), rgba(40, 20, 18, .72));
}

.dc-poker-paytable .dc-paytable-prize--mid {
  border-color: rgba(102, 207, 255, .28);
  background: linear-gradient(135deg, rgba(16, 83, 137, .66), rgba(4, 27, 66, .68));
}

.dc-paytable-medal {
  display: grid;
  width: clamp(27px, 2.15vw, 38px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 226, 129, .55);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff6ae, #dda52c 48%, #6b3907 100%);
  box-shadow: inset 0 0 0 2px rgba(72, 37, 4, .3), 0 3px 8px rgba(0,0,0,.32);
  color: #412004;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11px, 1vw, 18px);
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.dc-poker-paytable .dc-paytable-grid > .dc-paytable-prize b {
  color: #ffe276;
  font-size: clamp(13px, 1.05vw, 19px);
  text-align: right;
  text-shadow: 0 0 10px rgba(255, 212, 71, .22);
}

.dc-poker-paytable .dc-paytable-grid > .dc-paytable-prize.is-winning .dc-paytable-medal {
  background: radial-gradient(circle at 35% 28%, #fff, #fff094 34%, #e29b13 74%);
  box-shadow: 0 0 18px rgba(255, 239, 130, .72);
}

.dc-poker-main-button {
  min-width: clamp(175px, 14vw, 250px) !important;
  border-color: #ffe28b;
  background: linear-gradient(180deg, #2c91ff, #0a4fb9 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 9px 24px rgba(3, 31, 91, .5), 0 0 20px rgba(55, 149, 255, .22);
}

.dc-slot-machine {
  gap: clamp(9px, .9vw, 17px);
  padding: clamp(18px, 2vw, 36px) clamp(8px, 2.5vw, 48px) clamp(20px, 2.2vw, 42px);
}

.dc-reel-frame {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: min(1350px, 96%);
  padding: clamp(8px, .8vw, 14px);
  border-width: clamp(5px, .42vw, 8px);
  border-color: #bd7921;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 234, 158, .16) 39%, transparent 50%),
    linear-gradient(145deg, #57270c, #1c0b04 47%, #4d210b);
  box-shadow: inset 0 0 0 3px #f7d77c, inset 0 0 30px rgba(0,0,0,.75), 0 25px 62px rgba(0, 0, 0, .7), 0 0 44px rgba(230, 156, 49, .25);
}

.dc-reels {
  width: 100%;
  min-width: 100%;
  aspect-ratio: 2.25 / 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(3px, .35vw, 6px);
  border-color: #8b4b1d;
  background: #170904;
  box-shadow: inset 0 0 0 2px rgba(255, 232, 155, .48), inset 0 0 46px rgba(0,0,0,.84), 0 0 0 1px #160904;
}

.dc-payline-numbers {
  display: none !important;
}

.dc-reel {
  isolation: isolate;
  border-right-color: #a5662b;
}

.dc-reel.has-stopped {
  animation: none;
}

.dc-reel.has-stopped::after {
  position: absolute;
  z-index: 15;
  inset: 0;
  background: linear-gradient(105deg, transparent 16%, rgba(255, 245, 188, .05) 38%, rgba(255, 238, 151, .72) 49%, rgba(255,255,255,.08) 58%, transparent 82%);
  box-shadow: inset 0 0 20px rgba(255, 218, 105, .28);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  animation: dc-reel-magnetic-lock 320ms cubic-bezier(.18,.74,.28,1) both;
}

@keyframes dc-reel-magnetic-lock {
  0% { opacity: 0; transform: translateX(-120%); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

.dc-reel.is-spinning-reel {
  box-shadow: inset 0 0 24px rgba(0,0,0,.64);
}

.dc-reel.is-spinning-reel .dc-symbol {
  filter: saturate(.92) brightness(.88);
}

@media (max-width: 900px) {
  .dc-poker-paytable .dc-paytable-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }

  .dc-slot-machine {
    padding: 24px 5px 27px;
  }

  .dc-reel-frame {
    width: min(940px, 98%);
    padding: 7px;
    border-width: 4px;
  }

  .dc-reels {
    aspect-ratio: 2 / 1;
    gap: 2px;
  }
}

@media (max-width: 520px) {
  .dc-poker-paytable {
    overflow-x: auto;
  }

  .dc-poker-paytable .dc-paytable-grid {
    grid-template-columns: repeat(3, minmax(145px, 1fr));
    min-width: 455px;
  }

  .dc-poker-paytable .dc-paytable-grid > .dc-paytable-prize {
    min-height: 40px;
  }

  .dc-reels {
    aspect-ratio: 1.74 / 1;
  }
}


/* 1.4: luminous Vegas lobby, seam-free cards and tiered win spectacle. */
.digiter-casino {
  border-color: rgba(231, 185, 64, .48);
  background: #071124;
  box-shadow: 0 28px 80px rgba(5, 10, 27, .34), 0 0 0 1px rgba(255, 221, 112, .08);
}

.dc-topbar {
  border-bottom-color: rgba(245, 202, 82, .38);
  background:
    linear-gradient(110deg, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(135deg, rgba(5, 18, 49, .97), rgba(13, 48, 100, .94));
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(255, 230, 145, .11);
}

.dc-brand {
  color: #fff;
}

.dc-brand-mark {
  border: 1px solid #ffe28c;
  background: radial-gradient(circle at 34% 26%, #fff0a3, #d79b22 42%, #8c4a08 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 0 22px rgba(255, 200, 63, .28);
  color: #071a3f;
}

.dc-brand small {
  color: #f3d77d;
}

.dc-wallet {
  border-color: rgba(255, 221, 112, .38);
  background: linear-gradient(145deg, rgba(14, 41, 86, .92), rgba(4, 17, 45, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 24px rgba(0,0,0,.24);
}

.dc-wallet span {
  color: #b9cceb;
}

.dc-wallet strong {
  color: #ffe17a;
  text-shadow: 0 0 14px rgba(255, 209, 67, .28);
}

.dc-bonus-button {
  border-color: rgba(100, 255, 179, .42);
  background: linear-gradient(145deg, rgba(14, 105, 70, .92), rgba(5, 56, 43, .94));
  color: #ddffed;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 8px 24px rgba(0,0,0,.22);
}

.dc-notice {
  border-bottom-color: rgba(245, 202, 82, .24);
  background: linear-gradient(90deg, #091a3a, #102e62 50%, #091a3a);
  color: #c9d8ef;
}

.dc-notice span {
  color: #ffd866;
}

.dc-lobby {
  min-height: 650px;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 68px) clamp(18px, 5vw, 72px) clamp(34px, 4vw, 58px);
  background:
    linear-gradient(180deg, rgba(1, 8, 24, .2), rgba(1, 8, 24, .42)),
    url("../images/lobby-vegas-fhd.webp") center / cover no-repeat;
}

.dc-lobby::before {
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(255, 226, 126, .24), transparent 36%),
    linear-gradient(90deg, rgba(2, 7, 19, .42), transparent 24% 76%, rgba(2, 7, 19, .42));
  filter: none;
}

.dc-lobby::after {
  z-index: 1;
  top: -45%;
  right: auto;
  bottom: auto;
  left: -35%;
  width: 55%;
  height: 190%;
  border-radius: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.13) 50%, transparent 64%);
  filter: blur(10px);
  animation: dc-lobby-light-sweep 8s ease-in-out infinite;
}

@keyframes dc-lobby-light-sweep {
  0%, 22% { transform: translateX(0); opacity: 0; }
  42%, 58% { opacity: .7; }
  78%, 100% { transform: translateX(250%); opacity: 0; }
}

.dc-lobby > * {
  position: relative;
  z-index: 2;
}

.dc-lobby-intro {
  max-width: 830px;
  margin-bottom: clamp(25px, 3vw, 40px);
  padding: 13px 20px 16px;
  border: 1px solid rgba(255, 218, 104, .2);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(2, 12, 34, .76), rgba(9, 31, 69, .58));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 45px rgba(0,0,0,.25);
  backdrop-filter: blur(9px);
}

.dc-lobby .dc-eyebrow {
  color: #ffd968;
  text-shadow: 0 0 12px rgba(255, 204, 58, .38);
}

.dc-lobby-intro h2 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .005em;
  text-shadow: 0 3px 0 #07142f, 0 0 24px rgba(53, 149, 255, .28);
}

.dc-lobby-intro p {
  color: #d5e2f5;
}

.dc-game-grid {
  gap: clamp(18px, 2.2vw, 32px);
  max-width: 1120px;
}

.dc-game-card {
  display: block;
  min-height: clamp(340px, 31vw, 430px);
  overflow: hidden;
  border: 2px solid rgba(255, 218, 104, .64);
  border-radius: 26px;
  background: #071329;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 22px 55px rgba(0,0,0,.48), 0 0 30px rgba(248, 190, 49, .1);
  transform: translateZ(0);
  transition: transform 260ms cubic-bezier(.18,.76,.24,1), box-shadow 260ms ease, border-color 260ms ease;
}

.dc-game-card:hover {
  border-color: #fff0a1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 30px 70px rgba(0,0,0,.56), 0 0 38px rgba(255, 201, 58, .34), 0 0 65px rgba(43, 135, 255, .16);
  transform: translateY(-8px) scale(1.012);
}

.dc-card-art {
  position: absolute;
  inset: 0;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.001);
  transition: transform 600ms cubic-bezier(.16,.75,.22,1), filter 300ms ease;
}

.dc-game-card:hover .dc-card-art {
  filter: brightness(1.08) saturate(1.08);
  transform: scale(1.055);
}

.dc-game-card--poker .dc-card-art {
  background: url("../images/lobby-poker.webp") center / cover no-repeat;
}

.dc-game-card--slot .dc-card-art {
  background: url("../images/lobby-slot.webp") center / cover no-repeat;
}

.dc-card-art > * {
  display: none !important;
}

.dc-game-card .dc-card-art::after,
.dc-game-card--slot .dc-card-art::after {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(2, 8, 21, .12) 51%, rgba(2, 8, 21, .96) 89%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.18);
  content: "";
}

.dc-game-copy {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 27px 116px 30px 28px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}

.dc-game-copy small {
  color: #ffdb66;
}

.dc-game-copy strong {
  margin: 3px 0 5px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: .01em;
}

.dc-game-copy > span {
  color: #d8e5f6;
  font-size: clamp(11px, .9vw, 14px);
}

.dc-play-pill {
  z-index: 4;
  right: 25px;
  bottom: 27px;
  min-width: 74px;
  border: 1px solid #fff0a0;
  background: linear-gradient(180deg, #ffe47b, #d59a1e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 6px 20px rgba(0,0,0,.32), 0 0 17px rgba(255, 205, 65, .3);
  color: #10244d !important;
  text-align: center;
}

.dc-stats {
  max-width: 760px;
  margin-top: clamp(24px, 3vw, 38px);
  border-color: rgba(255, 218, 104, .42);
  background: linear-gradient(135deg, rgba(4, 15, 40, .88), rgba(12, 42, 85, .76));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 15px 38px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
}

.dc-stats > div {
  border-right-color: rgba(255, 225, 137, .22);
}

.dc-stats span {
  color: #a9c0df;
}

.dc-stats strong {
  color: #ffe17a;
  text-shadow: 0 0 12px rgba(255, 210, 70, .2);
}

.dc-poker-machine {
  background:
    linear-gradient(rgba(2, 9, 28, .02), rgba(2, 9, 28, .14)),
    url("../images/poker-casino-fhd.webp") center / cover no-repeat;
}

.dc-poker-machine::before {
  border-color: rgba(255, 218, 104, .58);
  box-shadow: inset 0 0 32px rgba(1, 9, 27, .16), 0 0 35px rgba(255, 199, 47, .17);
}

.dc-slot .dc-game-heading--western {
  background:
    linear-gradient(rgba(24, 10, 3, .04), rgba(24, 10, 3, .28)),
    url("../images/western-saloon-fhd.webp") center 12% / cover;
}

.dc-slot-machine {
  background:
    linear-gradient(rgba(17, 7, 2, .03), rgba(17, 7, 2, .17)),
    url("../images/western-saloon-fhd.webp") center 58% / cover;
}

.dc-poker-paytable {
  border: 3px solid #efc248;
  background:
    radial-gradient(circle at 50% -20%, rgba(47, 124, 222, .52), transparent 48%),
    linear-gradient(135deg, rgba(3, 13, 37, .99), rgba(11, 34, 73, .98) 50%, rgba(3, 13, 37, .99));
  box-shadow: inset 0 0 0 2px rgba(255, 235, 169, .14), inset 0 -28px 50px rgba(0,0,0,.32), 0 15px 44px rgba(0,0,0,.56), 0 0 35px rgba(255, 200, 53, .18);
}

.dc-paytable-heading {
  position: relative;
  justify-content: center;
  min-height: 35px;
  padding-bottom: 9px;
  text-align: center;
}

.dc-paytable-heading::before,
.dc-paytable-heading::after {
  width: min(25%, 240px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #efc557);
  content: "";
}

.dc-paytable-heading::after {
  background: linear-gradient(90deg, #efc557, transparent);
}

.dc-paytable-heading strong {
  font-size: clamp(17px, 1.35vw, 24px);
  letter-spacing: .16em;
}

.dc-paytable-heading small {
  position: absolute;
  right: 0;
}

.dc-poker-paytable .dc-paytable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, .55vw, 9px);
  min-width: 0;
}

.dc-poker-paytable .dc-paytable-grid > .dc-paytable-prize {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: clamp(59px, 4.2vw, 74px);
  align-items: center;
  gap: 8px;
  padding: 7px clamp(8px, .82vw, 14px);
  overflow: hidden;
  border: 1px solid rgba(101, 183, 255, .34);
  border-radius: 12px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.07), transparent 34%),
    linear-gradient(145deg, rgba(12, 56, 111, .92), rgba(3, 20, 50, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 -12px 22px rgba(0,0,0,.18), 0 3px 9px rgba(0,0,0,.18);
  text-align: left;
}

.dc-poker-paytable .dc-paytable-prize--major {
  border-color: rgba(255, 205, 61, .52);
  background:
    linear-gradient(110deg, rgba(255,240,166,.12), transparent 36%),
    linear-gradient(145deg, rgba(107, 39, 19, .96), rgba(34, 13, 26, .96));
}

.dc-paytable-prize-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.dc-paytable-prize-name {
  overflow: hidden;
  color: #f8fbff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(9px, .72vw, 13px);
  font-weight: 800;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-paytable-mini-hand {
  display: flex;
  min-width: 0;
  align-items: center;
  padding-left: 3px;
}

.dc-paytable-mini-hand small {
  display: grid;
  width: clamp(20px, 1.62vw, 29px);
  aspect-ratio: .72;
  place-items: center;
  margin-left: -3px;
  border: 1px solid rgba(225, 188, 88, .72);
  border-radius: 3px;
  background: linear-gradient(145deg, #fffdf7, #e9dfca);
  box-shadow: 0 2px 5px rgba(0,0,0,.28);
  color: #101a2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6px, .48vw, 9px);
  font-weight: 900;
  line-height: 1;
  transform: rotate(-2deg);
}

.dc-paytable-mini-hand small:nth-child(even) {
  transform: translateY(-2px) rotate(2deg);
}

.dc-paytable-mini-hand small.is-red {
  color: #b3102e;
}

.dc-poker-paytable .dc-paytable-grid > .dc-paytable-prize b {
  color: #ffe067;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.45vw, 27px);
  letter-spacing: -.03em;
  text-shadow: 0 0 14px rgba(255, 208, 50, .32);
}

.dc-poker-paytable .dc-paytable-grid > .dc-paytable-prize.is-winning {
  border-color: #fff5a9;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.75), transparent 20%),
    linear-gradient(135deg, #ffe26b, #d9950e 70%, #84420a);
  box-shadow: inset 0 0 18px rgba(255,255,255,.62), 0 0 28px rgba(255, 215, 59, .8);
  color: #231303;
  animation: dc-paytable-jackpot 680ms ease-in-out infinite alternate;
}

.dc-poker-paytable .dc-paytable-prize.is-winning .dc-paytable-prize-name,
.dc-poker-paytable .dc-paytable-prize.is-winning b {
  color: #261300;
  text-shadow: none;
}

@keyframes dc-paytable-jackpot {
  to { filter: brightness(1.16); transform: scale(.985); }
}

.dc-card-face {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  image-rendering: auto;
}

.dc-playing-card,
.dc-playing-card .dc-card-inner,
.dc-playing-card .dc-card-face {
  transform-style: flat;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dc-playing-card:not(:disabled):hover {
  filter: drop-shadow(0 0 15px rgba(255, 218, 88, .36));
  transform: translate3d(0, -8px, 0);
}

.dc-playing-card:not(:disabled):hover .dc-card-inner {
  box-shadow: 0 22px 42px rgba(0,0,0,.5), 0 0 0 3px rgba(255, 222, 111, .78), 0 0 30px rgba(255, 200, 55, .28);
}

.dc-flying-spark {
  position: absolute;
  top: -35px;
  left: var(--dc-x);
  width: clamp(8px, 1vw, 18px);
  aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0 8%, #fff0a1 20%, #ffc933 42%, transparent 72%);
  filter: drop-shadow(0 0 8px #ffd240);
  clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 39% 63%, 0 50%, 39% 37%);
  animation: dc-spark-rain var(--dc-duration) cubic-bezier(.16,.62,.48,1) var(--dc-delay) both;
}

@keyframes dc-spark-rain {
  0% { opacity: 0; transform: translate3d(0, -30px, 0) rotate(0) scale(.2); }
  12% { opacity: 1; }
  58% { transform: translate3d(var(--dc-drift), 550px, 0) rotate(360deg) scale(1.4); }
  100% { opacity: 0; transform: translate3d(calc(var(--dc-drift) * 1.35), 1120px, 0) rotate(720deg) scale(.35); }
}

.dc-win-overlay {
  min-width: min(650px, 78%);
  overflow: visible;
  padding: clamp(24px, 3vw, 48px) clamp(34px, 5vw, 88px);
  border: clamp(3px, .35vw, 6px) solid #fff1a2;
  border-radius: clamp(22px, 2vw, 34px);
  background:
    radial-gradient(circle at 50% 38%, rgba(224, 83, 28, .98), rgba(79, 15, 8, .98) 68%);
  box-shadow: inset 0 0 52px rgba(255, 221, 100, .42), 0 0 0 7px rgba(93, 39, 8, .76), 0 0 95px rgba(255, 190, 34, .88);
  isolation: isolate;
  animation: dc-premium-win-overlay var(--dc-win-duration, 2800ms) cubic-bezier(.16,.8,.2,1) both;
}

.dc-win-overlay::before {
  position: absolute;
  z-index: -2;
  inset: -105%;
  background: repeating-conic-gradient(from 0deg, rgba(255,238,143,.7) 0 3deg, transparent 3deg 13deg);
  content: "";
  opacity: .34;
  filter: blur(1px);
  animation: dc-win-rays 6s linear infinite;
}

.dc-win-overlay::after {
  position: absolute;
  z-index: -1;
  inset: -24%;
  border: 4px solid rgba(255, 235, 147, .52);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(255, 203, 58, .08), 0 0 65px rgba(255, 221, 86, .62);
  content: "";
  animation: dc-win-ring 1.1s ease-out infinite;
}

.dc-win-overlay > * {
  position: relative;
  z-index: 2;
}

.dc-win-kicker {
  color: #fff1bd;
  font-size: clamp(9px, .85vw, 15px);
  font-weight: 950;
  letter-spacing: .23em;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}

.dc-win-overlay strong {
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #fff4a4 30%, #ffd02d 58%, #f0860c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 5px 0 #8a2607) drop-shadow(0 0 18px rgba(255, 236, 126, .9));
  font-size: clamp(40px, 6.4vw, 108px);
  letter-spacing: .035em;
  white-space: nowrap;
}

.dc-win-overlay span {
  color: #fff;
  font-size: clamp(25px, 3.5vw, 58px);
  text-shadow: 0 3px 0 rgba(98, 29, 6, .9), 0 0 22px rgba(255, 233, 136, .65);
}

.dc-win-overlay--big {
  background: radial-gradient(circle at 50% 38%, rgba(202, 67, 28, .99), rgba(55, 11, 12, .99) 70%);
}

.dc-win-overlay--mega {
  background: radial-gradient(circle at 50% 38%, rgba(41, 110, 221, .99), rgba(4, 16, 56, .99) 70%);
  box-shadow: inset 0 0 60px rgba(93, 210, 255, .45), 0 0 0 7px rgba(9, 41, 100, .82), 0 0 115px rgba(69, 184, 255, .92), 0 0 165px rgba(255, 211, 54, .55);
}

.dc-win-overlay--legendary {
  min-width: min(850px, 88%);
  background: radial-gradient(circle at 50% 38%, rgba(255, 61, 130, .98), rgba(78, 9, 82, .99) 55%, rgba(7, 17, 60, .99) 100%);
  box-shadow: inset 0 0 68px rgba(255,255,255,.36), 0 0 0 8px rgba(255, 212, 62, .88), 0 0 135px rgba(255, 57, 187, .92), 0 0 200px rgba(78, 183, 255, .75);
}

.dc-win-overlay--legendary strong {
  font-size: clamp(36px, 6vw, 100px);
}

@keyframes dc-premium-win-overlay {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.28) rotate(-3deg); filter: brightness(2); }
  9% { opacity: 1; transform: translate(-50%, -50%) scale(1.16) rotate(1deg); }
  16% { transform: translate(-50%, -50%) scale(.96) rotate(-.4deg); }
  23%, 78% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); filter: brightness(1); }
  91% { opacity: 1; transform: translate(-50%, -52%) scale(1.05); }
  100% { opacity: 0; transform: translate(-50%, -58%) scale(1.22); }
}

@keyframes dc-win-rays {
  to { transform: rotate(360deg); }
}

@keyframes dc-win-ring {
  0% { opacity: 0; transform: scale(.62); }
  35% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.3); }
}

.has-win-impact {
  animation: dc-machine-impact 460ms cubic-bezier(.18,.75,.24,1) both;
}

@keyframes dc-machine-impact {
  0%, 100% { filter: brightness(1); }
  20% { filter: brightness(1.28) saturate(1.22); }
  38% { filter: brightness(.96) saturate(1.05); }
  60% { filter: brightness(1.12) saturate(1.14); }
}

.dc-symbol.is-winning::after {
  display: block;
  z-index: 9;
  background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.88) 48%, transparent 76%);
  opacity: .75;
  transform: translateX(-120%);
  animation: dc-symbol-prize-sweep 850ms ease-in-out infinite;
}

@keyframes dc-symbol-prize-sweep {
  60%, 100% { transform: translateX(120%); }
}

@media (max-width: 900px) {
  .dc-lobby {
    min-height: 700px;
    padding: 32px 14px 36px;
  }

  .dc-game-card {
    min-height: 350px;
  }

  .dc-poker-paytable .dc-paytable-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }
}

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

  .dc-game-card {
    min-height: 330px;
  }

  .dc-play-pill {
    right: 18px;
    bottom: 22px;
  }

  .dc-game-copy {
    padding-right: 106px;
  }
}

@media (max-width: 520px) {
  .dc-paytable-heading {
    justify-content: flex-start;
    text-align: left;
  }

  .dc-paytable-heading::before,
  .dc-paytable-heading::after {
    display: none;
  }

  .dc-paytable-heading small {
    position: static;
    margin-left: auto;
  }

  .dc-poker-paytable .dc-paytable-grid {
    grid-template-columns: repeat(3, minmax(165px, 1fr));
    min-width: 510px;
  }

  .dc-win-overlay {
    min-width: 88%;
  }

  .dc-win-overlay strong,
  .dc-win-overlay--legendary strong {
    font-size: clamp(25px, 9vw, 46px);
  }
}
