:root {
  --bg: #081612;
  --panel: rgba(10, 34, 28, 0.82);
  --panel-strong: rgba(13, 51, 42, 0.94);
  --line: rgba(214, 189, 112, 0.22);
  --line-strong: rgba(214, 189, 112, 0.48);
  --text: #f6efe0;
  --muted: #b8c9bf;
  --gold: #d6bd70;
  --gold-strong: #f2d06f;
  --neon: #3ff5c5;
  --hot: #ff4d7d;
  --violet: #7a5cff;
  --blue: #36a3ff;
  --felt: #063f34;
  --green: #0f4f41;
  --green-strong: #1d6d5b;
  --red: #ff7a6b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 14%, rgba(255, 77, 125, 0.28), transparent 28%),
    radial-gradient(circle at 75% 4%, rgba(54, 163, 255, 0.2), transparent 32%),
    radial-gradient(circle at 88% 42%, rgba(63, 245, 197, 0.24), transparent 36%),
    linear-gradient(160deg, #120817 0%, #071e19 42%, #010908 100%);
}

button {
  font: inherit;
}

.casino-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.casino-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 80%);
}

.casino-bg span {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.24;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.casino-bg span:first-child {
  left: -12vw;
  top: 12vh;
  background: var(--hot);
}

.casino-bg span:nth-child(2) {
  right: -10vw;
  top: -12vh;
  background: var(--neon);
  animation-delay: 1.8s;
}

.casino-bg span:last-child {
  left: 34vw;
  bottom: -18vw;
  background: var(--violet);
  animation-delay: 3.4s;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.hero {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(63, 245, 197, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(255, 77, 125, 0.1), rgba(63, 245, 197, 0.08)),
    rgba(2, 14, 12, 0.54);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28), inset 0 0 34px rgba(63, 245, 197, 0.06);
}

.hero-copy {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--neon);
  text-shadow: 0 0 16px rgba(63, 245, 197, 0.5);
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6.4vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(100deg, #fff7df, var(--gold-strong) 36%, var(--neon) 70%, #ffffff);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 24px rgba(242, 208, 111, 0.2));
  animation: title-shine 5s ease-in-out infinite;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(242, 208, 111, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ghost-button {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent),
    rgba(214, 189, 112, 0.1);
  color: var(--text);
  padding: 15px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ghost-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(214, 189, 112, 0.16);
  box-shadow: 0 18px 44px rgba(242, 208, 111, 0.12);
}

.sound-button {
  border-color: rgba(63, 245, 197, 0.36);
  background: rgba(63, 245, 197, 0.08);
}

.voice-button {
  border-color: rgba(54, 163, 255, 0.34);
  background: rgba(54, 163, 255, 0.08);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 3.85fr) minmax(330px, 0.85fr);
  gap: 24px;
}

.table-card,
.panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), transparent 36%),
    var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.table-card {
  border-radius: 34px;
  padding: 20px;
}

.game-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding: 6px;
  border: 1px solid rgba(63, 245, 197, 0.16);
  border-radius: 26px;
  background: rgba(1, 13, 11, 0.42);
}

.game-tab {
  flex: 1;
  min-width: 118px;
  border: none;
  border-radius: 999px;
  padding: 13px 16px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.game-tab.is-active {
  background:
    linear-gradient(135deg, rgba(242, 208, 111, 0.2), rgba(63, 245, 197, 0.14)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: inset 0 0 24px rgba(63, 245, 197, 0.08);
}

.game-tab:hover {
  transform: translateY(-1px);
}

.is-hidden {
  display: none !important;
}

.hype-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(63, 245, 197, 0.2);
  background:
    linear-gradient(90deg, rgba(63, 245, 197, 0.12), rgba(214, 189, 112, 0.08)),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 24px rgba(63, 245, 197, 0.08);
  animation: banner-glow 2.8s ease-in-out infinite;
}

.hype-win {
  border-color: rgba(242, 208, 111, 0.55);
  background:
    linear-gradient(90deg, rgba(242, 208, 111, 0.26), rgba(63, 245, 197, 0.14)),
    rgba(255, 255, 255, 0.04);
}

.hype-loss {
  border-color: rgba(255, 77, 125, 0.5);
  background:
    linear-gradient(90deg, rgba(255, 77, 125, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
}

.status-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.status-pill {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.02);
}

.status-pill:nth-child(1) {
  border-color: rgba(63, 245, 197, 0.28);
}

.status-pill:nth-child(2) {
  border-color: rgba(242, 208, 111, 0.36);
}

.status-pill:nth-child(3) {
  border-color: rgba(54, 163, 255, 0.28);
}

.status-pill:nth-child(4) {
  border-color: rgba(255, 77, 125, 0.24);
}

.status-pill span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.status-pill strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.table-surface {
  position: relative;
  overflow: hidden;
  min-height: 920px;
  padding: 48px clamp(32px, 4vw, 76px);
  border-radius: 46px;
  border: 1px solid rgba(214, 189, 112, 0.24);
  background:
    radial-gradient(circle at 50% 48%, rgba(242, 208, 111, 0.14), transparent 18%),
    radial-gradient(circle at center, rgba(63, 245, 197, 0.2), transparent 33%),
    radial-gradient(circle at center, rgba(32, 130, 99, 0.34), transparent 66%),
    linear-gradient(180deg, rgba(7, 84, 68, 0.98), rgba(2, 28, 24, 0.98));
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.34);
}

.table-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 180deg, transparent, rgba(63, 245, 197, 0.08), transparent, rgba(255, 77, 125, 0.08), transparent);
  opacity: 0.48;
  animation: felt-sweep 9s linear infinite;
  pointer-events: none;
}

.table-surface::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid rgba(214, 189, 112, 0.18);
  border-radius: 999px;
  box-shadow: inset 0 0 42px rgba(214, 189, 112, 0.1);
  pointer-events: none;
}

.chip-flight-layer,
.big-moment {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chip-flight-layer {
  z-index: 8;
}

.big-moment {
  z-index: 9;
  display: grid;
  place-items: center;
  opacity: 0;
  background:
    radial-gradient(circle at center, rgba(255, 77, 125, 0.2), transparent 36%),
    rgba(1, 9, 8, 0.06);
  transform: scale(1.04);
  transition: opacity 220ms ease, transform 220ms ease;
}

.big-moment.is-visible {
  opacity: 1;
  transform: scale(1);
}

.big-moment span {
  padding: 18px 34px;
  border: 1px solid rgba(242, 208, 111, 0.68);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 77, 125, 0.9), rgba(242, 208, 111, 0.88)),
    rgba(255, 255, 255, 0.12);
  color: #120b0d;
  font-size: clamp(1.6rem, 5vw, 4.9rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 0 60px rgba(255, 77, 125, 0.38),
    0 0 96px rgba(242, 208, 111, 0.24);
  animation: moment-hit 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.big-moment.moment-showdown span {
  background:
    linear-gradient(135deg, rgba(54, 163, 255, 0.9), rgba(63, 245, 197, 0.82)),
    rgba(255, 255, 255, 0.12);
}

.big-moment.moment-win span {
  background:
    linear-gradient(135deg, rgba(242, 208, 111, 0.94), rgba(63, 245, 197, 0.86)),
    rgba(255, 255, 255, 0.12);
}

.big-moment.moment-loss span {
  background:
    linear-gradient(135deg, rgba(255, 77, 125, 0.82), rgba(122, 92, 255, 0.78)),
    rgba(255, 255, 255, 0.1);
  color: #fff7f7;
}

.seat {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.dealer-button {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(242, 208, 111, 0.7);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, #ffffff, #f2d06f 55%, #8f641c);
  color: #10211c;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-50%) scale(0.7) rotate(-16deg);
  box-shadow: 0 10px 24px rgba(242, 208, 111, 0.22);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dealer-button.is-visible {
  opacity: 1;
  transform: translateX(-50%) scale(1) rotate(0deg);
}

.dealer-button::after {
  content: "BTN";
  position: absolute;
  left: 50%;
  bottom: -17px;
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(3, 18, 15, 0.72);
  color: var(--gold-strong);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 180ms ease;
}

.dealer-button.is-visible::after {
  opacity: 0.82;
}

.seat.is-active {
  border-color: rgba(63, 245, 197, 0.58);
  background: rgba(63, 245, 197, 0.08);
  box-shadow: 0 0 34px rgba(63, 245, 197, 0.2), inset 0 0 22px rgba(63, 245, 197, 0.04);
}

.seat.is-folded {
  opacity: 0.68;
  filter: saturate(0.72);
}

.seat-top {
  width: min(980px, 72%);
  margin: 0 auto 36px;
}

.seat-top .seat-headline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 126px;
}

.seat-top .bot-presence {
  grid-column: 2;
  align-self: start;
}

.seat-top .dealer-button {
  top: 34px;
  left: calc(50% + 230px);
}

.seat-top .seat-stack {
  position: absolute;
  top: 0;
  right: 0;
}

.seat-top .cards {
  justify-content: center;
}

.seat-top .contribution {
  text-align: center;
}

.seat-bottom {
  margin-top: 36px;
}

.side-opponents {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  pointer-events: none;
}

.side-opponents:empty {
  display: none;
}

.mini-seat {
  position: absolute;
  display: grid;
  gap: 12px;
  width: clamp(250px, 19vw, 330px);
  min-height: 254px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(63, 245, 197, 0.22);
  border-radius: 38px;
  background:
    radial-gradient(circle at 20% 26%, rgba(63, 245, 197, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(54, 163, 255, 0.08), rgba(255, 77, 125, 0.04)),
    rgba(3, 22, 19, 0.28);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.03),
    0 22px 54px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(3px);
  pointer-events: auto;
  transform-origin: center center;
}

.mini-seat:nth-child(1) {
  left: 10px;
  top: 46%;
  transform: translateY(-50%) rotate(-8deg);
}

.mini-seat:nth-child(2) {
  right: 10px;
  top: 46%;
  transform: translateY(-50%) rotate(8deg);
}

.mini-seat:only-child {
  left: 10px;
  top: 46%;
  transform: translateY(-50%) rotate(-8deg);
}

.mini-seat::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(214, 189, 112, 0.11);
  border-radius: 30px;
  pointer-events: none;
}

.mini-seat.is-active {
  border-color: rgba(63, 245, 197, 0.62);
  box-shadow:
    0 0 32px rgba(63, 245, 197, 0.18),
    inset 0 0 22px rgba(63, 245, 197, 0.05);
}

.mini-seat.is-folded {
  opacity: 0.62;
  filter: saturate(0.72);
}

.mini-seat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.mini-bot-presence {
  display: flex;
  align-items: center;
  gap: 13px;
}

.mini-bot-orb {
  --eye-x: 0px;
  --eye-y: 0px;
  position: relative;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border: 2px solid rgba(63, 245, 197, 0.48);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(145deg, rgba(54, 163, 255, 0.78), rgba(255, 77, 125, 0.58));
  box-shadow:
    0 0 24px rgba(63, 245, 197, 0.18),
    inset 0 -15px 24px rgba(0, 0, 0, 0.2);
  animation: avatar-float 3.2s ease-in-out infinite;
  overflow: hidden;
}

.mini-bot-orb::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 17px;
}

.mini-bot-eye {
  position: absolute;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #06100e;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.72);
  transform: translate(var(--eye-x), var(--eye-y));
  transition: transform 90ms linear, width 180ms ease, border-radius 180ms ease;
  will-change: transform;
}

.mini-bot-eye-left {
  left: 19px;
}

.mini-bot-eye-right {
  right: 19px;
}

.mini-bot-mouth {
  position: absolute;
  left: 20px;
  bottom: 16px;
  width: 20px;
  height: 5px;
  border-radius: 999px;
  background: #06100e;
  opacity: 0.95;
}

.mini-bot-orb.mood-aggressive .mini-bot-eye {
  width: 11px;
  border-radius: 4px;
}

.mini-bot-orb.mood-confident .mini-bot-mouth {
  height: 8px;
  transform: translateY(-2px) scaleX(1.12);
}

.mini-bot-orb.mood-tilted .mini-bot-mouth,
.mini-bot-orb.mood-folded .mini-bot-mouth {
  transform: rotate(8deg) scaleX(0.76);
}

.mini-seat-name {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.mini-seat-role {
  display: block;
  margin-top: 2px;
  color: var(--neon);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-seat-stack {
  min-width: 106px;
  max-width: 112px;
  overflow: hidden;
  text-align: right;
}

.mini-seat-stack strong {
  display: block;
  color: var(--gold-strong);
  font-size: 1.48rem;
}

.mini-seat-stack span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-seat .stack-chips {
  max-width: 112px;
  min-height: 24px;
  margin-bottom: 4px;
  overflow: hidden;
  padding-left: 8px;
}

.mini-seat .stack-chip {
  width: 18px;
  height: 18px;
  margin-left: -6px;
  border-width: 1px;
}

.mini-seat .stack-chip::after {
  inset: 5px;
}

.mini-cards {
  display: flex;
  gap: 10px;
  transform-origin: center center;
  position: relative;
  z-index: 1;
}

.mini-seat:nth-child(1) .mini-cards {
  transform: translateX(12px) rotate(4deg);
}

.mini-seat:nth-child(2) .mini-cards {
  justify-content: flex-end;
  transform: translateX(-12px) rotate(-4deg);
}

.mini-cards .card {
  width: 70px;
  height: 102px;
  border-radius: 17px;
  padding: 10px;
}

.mini-cards .card-rank {
  font-size: 1.34rem;
}

.mini-cards .card-suit {
  font-size: 0.96rem;
}

.mini-seat-comment {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  max-width: 260px;
  position: relative;
  z-index: 1;
}

.mini-seat .contribution {
  align-self: end;
  position: relative;
  z-index: 1;
}

.seat-headline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}

.bot-presence {
  display: flex;
  gap: 14px;
  align-items: center;
}

.bot-avatar {
  --eye-x: 0px;
  --eye-y: 0px;
  position: relative;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border: 2px solid rgba(63, 245, 197, 0.5);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(145deg, rgba(63, 245, 197, 0.8), rgba(122, 92, 255, 0.65));
  box-shadow:
    0 0 28px rgba(63, 245, 197, 0.22),
    inset 0 -18px 30px rgba(0, 0, 0, 0.22);
  animation: avatar-float 2.8s ease-in-out infinite;
  overflow: hidden;
}

.bot-avatar::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.bot-eye {
  position: absolute;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #06100e;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  transform: translate(var(--eye-x), var(--eye-y));
  transition: transform 90ms linear, width 180ms ease, border-radius 180ms ease;
  will-change: transform;
}

.bot-eye-left {
  left: 21px;
}

.bot-eye-right {
  right: 21px;
}

.bot-mouth {
  position: absolute;
  left: 23px;
  bottom: 19px;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: #06100e;
  transition: transform 180ms ease, height 180ms ease;
}

.bot-mood {
  margin-top: 4px;
  color: var(--neon);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bot-comment {
  position: relative;
  max-width: 270px;
  margin: 8px 0 0;
  padding: 8px 11px;
  border: 1px solid rgba(63, 245, 197, 0.22);
  border-radius: 14px 14px 14px 4px;
  background:
    linear-gradient(135deg, rgba(63, 245, 197, 0.12), rgba(54, 163, 255, 0.08)),
    rgba(2, 19, 16, 0.62);
  color: #dffcf4;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: inset 0 0 18px rgba(63, 245, 197, 0.04);
}

.bot-avatar.mood-thinking {
  border-color: rgba(54, 163, 255, 0.7);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.38), transparent 24%),
    linear-gradient(145deg, rgba(54, 163, 255, 0.88), rgba(63, 245, 197, 0.55));
  animation: avatar-thinking 900ms ease-in-out infinite;
}

.bot-avatar.mood-aggressive {
  border-color: rgba(255, 77, 125, 0.8);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.38), transparent 24%),
    linear-gradient(145deg, rgba(255, 77, 125, 0.92), rgba(242, 208, 111, 0.58));
}

.bot-avatar.mood-confident {
  border-color: rgba(242, 208, 111, 0.9);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, rgba(242, 208, 111, 0.92), rgba(63, 245, 197, 0.62));
}

.bot-avatar.mood-tilted,
.bot-avatar.mood-folded {
  filter: saturate(0.65);
  opacity: 0.78;
}

.bot-avatar.mood-aggressive .bot-eye {
  width: 14px;
  border-radius: 4px;
}

.bot-avatar.mood-confident .bot-mouth {
  height: 9px;
  transform: translateY(-2px) scaleX(1.15);
}

.bot-avatar.mood-tilted .bot-mouth,
.bot-avatar.mood-folded .bot-mouth {
  transform: rotate(8deg) scaleX(0.75);
}

.seat-name,
.seat-role,
.contribution,
.board-label,
.message,
.rules-note,
.panel h2,
.panel p,
.log-list {
  margin: 0;
}

.seat-name {
  font-size: 1.28rem;
  font-weight: 700;
}

.seat-role,
.contribution {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.seat-stack {
  min-width: 128px;
  text-align: right;
}

.seat-stack strong {
  display: block;
  font-size: 1.65rem;
  color: var(--gold-strong);
}

.seat-stack > span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stack-chips {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 34px;
  margin-bottom: 4px;
  padding-right: 1px;
  filter: drop-shadow(0 9px 14px rgba(0, 0, 0, 0.28));
}

.stack-chip {
  --chip-light: #f7dc75;
  --chip-main: #d69b2c;
  --chip-dark: #8b5a17;
  --chip-mark: #fff1c4;
  position: relative;
  width: 27px;
  height: 27px;
  margin-left: -8px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--chip-mark) 0 20%, transparent 21%),
    conic-gradient(
      var(--chip-mark) 0 14deg,
      transparent 14deg 45deg,
      var(--chip-mark) 45deg 59deg,
      transparent 59deg 90deg,
      var(--chip-mark) 90deg 104deg,
      transparent 104deg 135deg,
      var(--chip-mark) 135deg 149deg,
      transparent 149deg 180deg,
      var(--chip-mark) 180deg 194deg,
      transparent 194deg 225deg,
      var(--chip-mark) 225deg 239deg,
      transparent 239deg 270deg,
      var(--chip-mark) 270deg 284deg,
      transparent 284deg 315deg,
      var(--chip-mark) 315deg 329deg,
      transparent 329deg 360deg
    ),
    radial-gradient(circle at 34% 24%, var(--chip-light), var(--chip-main) 50%, var(--chip-dark) 100%);
  box-shadow:
    inset 0 0 0 4px rgba(0, 0, 0, 0.1),
    inset 0 0 0 8px rgba(255, 255, 255, 0.06);
  animation: stack-chip-pop 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--chip-index) * 35ms);
}

.stack-chip:first-child {
  margin-left: 0;
}

.stack-chip::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: inherit;
}

.stack-chip-hot {
  --chip-light: #ff83a5;
  --chip-main: #ff4d7d;
  --chip-dark: #821f3f;
}

.stack-chip-neon {
  --chip-light: #9fffe5;
  --chip-main: #3ff5c5;
  --chip-dark: #137d66;
}

.stack-chip-white {
  --chip-light: #ffffff;
  --chip-main: #f7f1df;
  --chip-dark: #8d8066;
  --chip-mark: #2f352f;
}

.stack-chip-blue {
  --chip-light: #8bd5ff;
  --chip-main: #36a3ff;
  --chip-dark: #145b91;
}

.stack-chip-violet {
  --chip-light: #b8a8ff;
  --chip-main: #7a5cff;
  --chip-dark: #392a95;
}

.stack-chips.is-empty::before {
  content: "brak";
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flying-chip {
  --chip-light: #f7dc75;
  --chip-main: #d69b2c;
  --chip-dark: #8b5a17;
  --chip-mark: #fff1c4;
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--chip-mark) 0 20%, transparent 21%),
    conic-gradient(
      var(--chip-mark) 0 14deg,
      transparent 14deg 45deg,
      var(--chip-mark) 45deg 59deg,
      transparent 59deg 90deg,
      var(--chip-mark) 90deg 104deg,
      transparent 104deg 135deg,
      var(--chip-mark) 135deg 149deg,
      transparent 149deg 180deg,
      var(--chip-mark) 180deg 194deg,
      transparent 194deg 225deg,
      var(--chip-mark) 225deg 239deg,
      transparent 239deg 270deg,
      var(--chip-mark) 270deg 284deg,
      transparent 284deg 315deg,
      var(--chip-mark) 315deg 329deg,
      transparent 329deg 360deg
    ),
    radial-gradient(circle at 34% 24%, var(--chip-light), var(--chip-main) 50%, var(--chip-dark) 100%);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.34),
    inset 0 0 0 4px rgba(0, 0, 0, 0.1),
    inset 0 0 0 8px rgba(255, 255, 255, 0.06);
  animation: flying-chip 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--chip-index) * 48ms);
  will-change: transform, opacity;
}

.flying-chip:nth-child(3n + 2) {
  --chip-light: #ff83a5;
  --chip-main: #ff4d7d;
  --chip-dark: #821f3f;
}

.flying-chip:nth-child(3n + 3) {
  --chip-light: #9fffe5;
  --chip-main: #3ff5c5;
  --chip-dark: #137d66;
}

.board-area {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.board-center {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(100%, 940px);
  min-height: 330px;
  padding: 28px 0;
}

.table-focus-core {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 0;
  width: clamp(280px, 46vw, 590px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  opacity: 0.82;
  pointer-events: none;
}

.focus-glow,
.focus-orbit,
.focus-pulse {
  position: absolute;
  border-radius: 999px;
}

.focus-glow {
  inset: 7%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 244, 190, 0.22), transparent 10%),
    radial-gradient(circle at 50% 50%, rgba(63, 245, 197, 0.22), transparent 31%),
    conic-gradient(from 0deg, rgba(255, 77, 125, 0.32), rgba(242, 208, 111, 0.36), rgba(63, 245, 197, 0.32), rgba(54, 163, 255, 0.32), rgba(122, 92, 255, 0.28), rgba(255, 77, 125, 0.32));
  filter: blur(16px) saturate(1.34);
  opacity: 0.55;
  animation: focus-breathe 6.5s ease-in-out infinite;
}

.focus-orbit {
  border: 1px solid rgba(242, 208, 111, 0.16);
  box-shadow:
    0 0 22px rgba(63, 245, 197, 0.06),
    inset 0 0 24px rgba(255, 255, 255, 0.04);
}

.focus-orbit-one {
  inset: 7%;
  border-top-color: rgba(242, 208, 111, 0.54);
  border-right-color: rgba(255, 77, 125, 0.3);
  animation: focus-spin 18s linear infinite;
}

.focus-orbit-two {
  inset: 19%;
  border-style: dashed;
  border-left-color: rgba(63, 245, 197, 0.56);
  border-bottom-color: rgba(54, 163, 255, 0.4);
  animation: focus-spin-reverse 13s linear infinite;
}

.focus-orbit-three {
  inset: 32%;
  border-top-color: rgba(255, 255, 255, 0.36);
  border-bottom-color: rgba(122, 92, 255, 0.5);
  animation: focus-spin 9s linear infinite;
}

.focus-orbit-four {
  inset: 43%;
  border-style: dotted;
  border-left-color: rgba(242, 208, 111, 0.58);
  border-right-color: rgba(255, 77, 125, 0.48);
  box-shadow: 0 0 34px rgba(242, 208, 111, 0.14);
  animation: focus-spin-reverse 6.5s linear infinite;
}

.focus-pulse {
  inset: 42%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.58), rgba(242, 208, 111, 0.36) 28%, rgba(63, 245, 197, 0.14) 58%, transparent 70%);
  box-shadow: 0 0 34px rgba(242, 208, 111, 0.22);
  animation: focus-pulse 2.8s ease-in-out infinite;
}

.board-label,
.casino-chips,
.community-cards,
.message {
  position: relative;
  z-index: 2;
}

.community-cards {
  padding: 14px 18px;
  border: 1px solid rgba(63, 245, 197, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(3, 31, 26, 0.58), rgba(10, 55, 45, 0.32)),
    rgba(0, 0, 0, 0.1);
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.18),
    0 18px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
}

.casino-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
}

.casino-chips span {
  --chip-light: #f7dc75;
  --chip-main: #d69b2c;
  --chip-dark: #8b5a17;
  --chip-mark: #fff1c4;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at center, var(--chip-mark) 0 21%, transparent 22%),
    conic-gradient(
      var(--chip-mark) 0 12deg,
      transparent 12deg 42deg,
      var(--chip-mark) 42deg 54deg,
      transparent 54deg 84deg,
      var(--chip-mark) 84deg 96deg,
      transparent 96deg 126deg,
      var(--chip-mark) 126deg 138deg,
      transparent 138deg 168deg,
      var(--chip-mark) 168deg 180deg,
      transparent 180deg 210deg,
      var(--chip-mark) 210deg 222deg,
      transparent 222deg 252deg,
      var(--chip-mark) 252deg 264deg,
      transparent 264deg 294deg,
      var(--chip-mark) 294deg 306deg,
      transparent 306deg 336deg,
      var(--chip-mark) 336deg 348deg,
      transparent 348deg 360deg
    ),
    radial-gradient(circle at 32% 24%, var(--chip-light), var(--chip-main) 48%, var(--chip-dark) 100%);
  box-shadow:
    0 9px 16px rgba(0, 0, 0, 0.28),
    inset 0 0 0 6px rgba(0, 0, 0, 0.1),
    inset 0 0 0 11px rgba(255, 255, 255, 0.07);
  animation: chip-float 2.4s ease-in-out infinite;
}

.casino-chips span::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: inherit;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.42);
}

.casino-chips span:nth-child(2) {
  --chip-light: #ff83a5;
  --chip-main: #ff4d7d;
  --chip-dark: #821f3f;
  animation-delay: 160ms;
}

.casino-chips span:nth-child(3) {
  --chip-light: #9fffe5;
  --chip-main: #3ff5c5;
  --chip-dark: #137d66;
  animation-delay: 320ms;
}

.casino-chips span:nth-child(4) {
  --chip-light: #ffffff;
  --chip-main: #f7f1df;
  --chip-dark: #8d8066;
  --chip-mark: #2f352f;
  animation-delay: 480ms;
}

.board-label {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cards,
.community-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: 96px;
  height: 138px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(251, 245, 231, 0.97), rgba(232, 223, 204, 0.98));
  color: #13221c;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  animation: card-rise 360ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card-deal {
  animation: card-deal 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--deal-index) * 80ms);
}

.card-reveal {
  transform-style: preserve-3d;
  animation: bot-card-reveal 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--reveal-index) * 120ms);
}

.card:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32);
}

.card.red {
  color: #a7372a;
}

.card-win {
  border-color: rgba(242, 208, 111, 0.92);
  box-shadow:
    0 0 0 3px rgba(242, 208, 111, 0.18),
    0 0 32px rgba(242, 208, 111, 0.42),
    0 18px 34px rgba(0, 0, 0, 0.3);
  animation: winner-card 1.15s ease-in-out infinite alternate;
}

.card-win::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  border: 1px solid rgba(242, 208, 111, 0.45);
  pointer-events: none;
}

.card-back,
.card-empty {
  background:
    linear-gradient(135deg, rgba(214, 189, 112, 0.2), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(10, 39, 32, 0.96), rgba(8, 25, 21, 0.98));
  color: var(--gold);
}

.card-empty {
  opacity: 0.28;
}

.card-rank {
  font-size: 1.78rem;
  font-weight: 700;
}

.card-suit {
  align-self: flex-end;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.message {
  min-height: 44px;
  max-width: 660px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(2, 22, 18, 0.36);
  box-shadow: inset 0 0 20px rgba(63, 245, 197, 0.05);
  backdrop-filter: blur(4px);
  text-align: center;
  color: var(--text);
  line-height: 1.5;
  font-weight: 700;
}

.bet-builder {
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(63, 245, 197, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(63, 245, 197, 0.08), rgba(54, 163, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.02);
}

.bet-builder-head span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bet-builder-head strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-strong);
  font-size: 1.2rem;
}

.bet-builder input[type="range"] {
  width: 100%;
  accent-color: var(--gold-strong);
  cursor: pointer;
}

.bet-builder input[type="range"]:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.bet-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bet-presets button {
  border: 1px solid rgba(242, 208, 111, 0.24);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bet-presets button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--gold-strong);
  background: rgba(242, 208, 111, 0.12);
}

.bet-presets button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.controls button {
  border: none;
  border-radius: 22px;
  padding: 18px 14px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.controls button:first-child {
  background: linear-gradient(135deg, rgba(255, 77, 125, 0.28), rgba(126, 24, 62, 0.26));
  color: #ffd6d1;
}

.controls button:nth-child(2) {
  background: linear-gradient(135deg, rgba(54, 163, 255, 0.2), rgba(63, 245, 197, 0.1));
  color: var(--text);
}

.controls button:nth-child(3) {
  background: linear-gradient(135deg, rgba(242, 208, 111, 0.96), rgba(255, 77, 125, 0.76));
  color: #10211c;
  font-weight: 700;
}

.controls button:nth-child(4) {
  background: linear-gradient(135deg, rgba(54, 163, 255, 0.92), rgba(122, 92, 255, 0.74));
  color: #f7fbff;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.08);
}

.controls button:last-child {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(255, 77, 125, 0.98), rgba(242, 208, 111, 0.86));
  color: #120b0d;
  box-shadow: 0 0 28px rgba(255, 77, 125, 0.2);
}

.controls button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.controls button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.casino-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.casino-ticker span {
  flex: 1;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 208, 111, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.slots-screen {
  border: 1px solid rgba(242, 208, 111, 0.22);
  border-radius: 34px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 208, 111, 0.18), transparent 30%),
    radial-gradient(circle at 0% 40%, rgba(255, 77, 125, 0.18), transparent 32%),
    linear-gradient(160deg, rgba(9, 29, 36, 0.96), rgba(13, 8, 24, 0.96));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.32);
}

.slots-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.slots-hero h2,
.slots-hero p {
  margin: 0;
}

.slots-hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.8rem);
  line-height: 0.9;
  color: transparent;
  background: linear-gradient(100deg, #fff7df, var(--hot), var(--gold-strong), var(--neon));
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 22px rgba(255, 77, 125, 0.24));
  animation: title-shine 4.5s ease-in-out infinite;
}

.slots-hero p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.slots-safe-badge {
  flex: 0 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(63, 245, 197, 0.32);
  border-radius: 999px;
  background: rgba(63, 245, 197, 0.08);
  color: var(--neon);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slot-machine {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(242, 208, 111, 0.28);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255, 77, 125, 0.18), transparent 34%),
    rgba(2, 13, 15, 0.84);
  box-shadow:
    inset 0 0 70px rgba(242, 208, 111, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.28);
}

.slot-machine::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    conic-gradient(from 0deg, transparent, rgba(242, 208, 111, 0.1), transparent, rgba(255, 77, 125, 0.12), transparent, rgba(63, 245, 197, 0.1), transparent);
  animation: felt-sweep 8s linear infinite;
  pointer-events: none;
}

.slot-machine::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 208, 111, 0.2), transparent 28%),
    linear-gradient(90deg, transparent, rgba(255, 77, 125, 0.18), transparent);
  opacity: 0;
  pointer-events: none;
}

.slot-machine.is-spinning::after {
  animation: slot-energy 1.1s ease-in-out infinite;
}

.slot-topline,
.slot-reels,
.slot-stats,
.slot-controls,
.slots-note {
  position: relative;
  z-index: 1;
}

.slot-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 900;
}

.slot-topline strong {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.slot-reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.slot-reels::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  z-index: 2;
  height: 108px;
  transform: translateY(-50%);
  border-top: 2px solid rgba(242, 208, 111, 0.58);
  border-bottom: 2px solid rgba(242, 208, 111, 0.58);
  border-radius: 18px;
  box-shadow:
    0 0 22px rgba(242, 208, 111, 0.18),
    inset 0 0 24px rgba(242, 208, 111, 0.08);
  pointer-events: none;
}

.slot-reel {
  min-height: 348px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(4, 20, 25, 0.9);
  box-shadow:
    inset 0 18px 42px rgba(255, 255, 255, 0.04),
    inset 0 -20px 44px rgba(0, 0, 0, 0.32),
    0 18px 34px rgba(0, 0, 0, 0.2);
}

.slot-symbol {
  --slot-item-height: 104px;
  width: min(100%, 190px);
  height: 312px;
  min-height: 312px;
  display: grid;
  place-items: stretch;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(242, 208, 111, 0.36);
  border-radius: 22px;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(145deg, rgba(242, 208, 111, 0.9), rgba(255, 77, 125, 0.72));
  color: #120b0d;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 34px rgba(242, 208, 111, 0.2);
}

.slot-strip {
  display: grid;
  grid-auto-rows: var(--slot-item-height);
  width: 100%;
  will-change: transform;
}

.slot-symbol.is-spinning .slot-strip {
  animation: reel-strip-spin 760ms linear infinite;
  animation-delay: calc(var(--reel-index) * 42ms);
}

.slot-symbol.is-spinning {
  animation: slot-reel-shake 860ms ease-in-out infinite;
}

.slot-symbol.is-stopped .slot-strip {
  animation: reel-stop 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slot-item {
  height: var(--slot-item-height);
  min-height: var(--slot-item-height);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 8px;
}

.slot-item.is-payline {
  background:
    linear-gradient(90deg, rgba(242, 208, 111, 0.1), rgba(255, 255, 255, 0.08), rgba(242, 208, 111, 0.1));
}

.slot-icon {
  display: block;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.28));
}

.slot-name {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slot-symbol-seven {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #fff6d8, #f2d06f 46%, #ff4d7d);
}

.slot-symbol-bar {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(145deg, #d6d0ff, #7a5cff 52%, #28195f);
  color: #fff7ff;
}

.slot-symbol-cherry {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #ffd7df, #ff4d7d 50%, #821f3f);
  color: #fff6f8;
}

.slot-symbol-lemon {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(145deg, #fff9c9, #f2d06f 52%, #b27a15);
}

.slot-symbol-grape {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(145deg, #d8ceff, #7a5cff 52%, #301d7d);
  color: #fff7ff;
}

.slot-symbol-orange {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #ffe4b8, #ff9f43 52%, #9b4d12);
}

.slot-symbol-watermelon {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.3), transparent 28%),
    linear-gradient(145deg, #c8ffe8, #3ff5c5 45%, #ff4d7d);
}

.slot-symbol-bell {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(145deg, #fff6d8, #f2d06f 52%, #7f5214);
}

.slot-symbol-gold {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(145deg, #fff6d8, #d6bd70 52%, #8f641c);
}

.slot-symbol-ace {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(145deg, #f7f1df, #36a3ff 52%, #0c3558);
}

.slot-symbol-chip {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(145deg, #9fffe5, #3ff5c5 52%, #137d66);
}

.slot-symbol-star {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.3), transparent 28%),
    linear-gradient(145deg, #ffd4e0, #ff4d7d 52%, #821f3f);
}

.slot-machine.slot-win {
  animation: table-win 900ms ease;
}

.slot-machine.slot-big-win {
  animation: slot-big-win 1.2s ease;
}

.slot-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.slot-stats div {
  padding: 14px;
  border: 1px solid rgba(242, 208, 111, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.slot-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slot-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--gold-strong);
  font-size: 1.4rem;
}

.slot-controls {
  display: grid;
  grid-template-columns: auto minmax(200px, 1fr) auto minmax(190px, 0.5fr);
  gap: 10px;
  align-items: center;
}

.slot-controls button {
  border: 1px solid rgba(242, 208, 111, 0.22);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slot-controls input {
  width: 100%;
  accent-color: var(--hot);
}

.slot-spin-button {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(135deg, rgba(255, 77, 125, 0.98), rgba(242, 208, 111, 0.9)) !important;
  color: #150a0c !important;
  box-shadow: 0 0 32px rgba(255, 77, 125, 0.22);
}

.slot-controls button:disabled,
.slot-controls input:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.slots-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
}

.casino-game-screen {
  border: 1px solid rgba(242, 208, 111, 0.22);
  border-radius: 34px;
  padding: 22px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 77, 125, 0.16), transparent 32%),
    radial-gradient(circle at 86% 0%, rgba(63, 245, 197, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(6, 31, 35, 0.96), rgba(10, 9, 30, 0.97));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.32);
}

.casino-game-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.casino-game-hero h2,
.casino-game-hero p {
  margin: 0;
}

.casino-game-hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.9;
  color: transparent;
  background: linear-gradient(100deg, #fff7df, var(--gold-strong), var(--neon), var(--hot));
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 22px rgba(63, 245, 197, 0.2));
  animation: title-shine 5.2s ease-in-out infinite;
}

.casino-game-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.casino-game-table {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(242, 208, 111, 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 46%, rgba(242, 208, 111, 0.15), transparent 30%),
    radial-gradient(circle at 20% 70%, rgba(54, 163, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 36%),
    rgba(2, 18, 20, 0.9);
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.34),
    0 24px 70px rgba(0, 0, 0, 0.28);
}

.casino-game-table::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    conic-gradient(from 90deg, transparent, rgba(242, 208, 111, 0.09), transparent, rgba(63, 245, 197, 0.1), transparent, rgba(255, 77, 125, 0.1), transparent);
  animation: felt-sweep 10s linear infinite;
  pointer-events: none;
}

.casino-game-topline,
.table-game-board,
.casino-game-controls,
.roulette-stage,
.dice-stage {
  position: relative;
  z-index: 1;
}

.casino-game-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 900;
}

.casino-game-topline span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(63, 245, 197, 0.08);
}

.casino-game-topline strong {
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table-game-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.hand-zone {
  min-height: 270px;
  padding: 18px;
  border: 1px solid rgba(63, 245, 197, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(63, 245, 197, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.2);
}

.hand-zone > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hand-zone > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-strong);
  font-size: 1.5rem;
}

.hand-zone .cards {
  min-height: 150px;
  align-items: flex-start;
}

.casino-game-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(120px, 0.7fr));
  gap: 10px;
  align-items: stretch;
}

.casino-game-controls label {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(242, 208, 111, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.casino-game-controls label span,
.roulette-bets label span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.casino-game-controls label strong {
  color: var(--gold-strong);
}

.casino-game-controls button,
.casino-game-controls select,
.casino-game-controls input,
.roulette-bets select,
.roulette-bets input {
  width: 100%;
  border: 1px solid rgba(242, 208, 111, 0.24);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(3, 18, 18, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 900;
}

.casino-game-controls input[type="range"] {
  padding: 0;
  accent-color: var(--hot);
}

.casino-game-controls button {
  cursor: pointer;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(242, 208, 111, 0.92), rgba(255, 77, 125, 0.82));
  color: #180d0d;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.casino-game-controls button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: saturate(1.14) brightness(1.05);
}

.casino-game-controls button:disabled,
.casino-game-controls input:disabled,
.casino-game-controls select:disabled,
.roulette-bets input:disabled,
.roulette-bets select:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.blackjack-table.is-live {
  box-shadow:
    inset 0 0 110px rgba(63, 245, 197, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.28);
}

.roulette-stage {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
}

.roulette-wheel {
  --roulette-ball-offset: -111px;
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 12px solid rgba(242, 208, 111, 0.76);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(7, 17, 18, 0.98) 0 21%, transparent 22%),
    conic-gradient(
      from 0deg,
      #1c1c1d 0 10deg,
      #b72932 10deg 20deg,
      #1c1c1d 20deg 30deg,
      #b72932 30deg 40deg,
      #1c1c1d 40deg 50deg,
      #b72932 50deg 60deg,
      #0fb77d 60deg 70deg,
      #b72932 70deg 80deg,
      #1c1c1d 80deg 90deg,
      #b72932 90deg 100deg,
      #1c1c1d 100deg 110deg,
      #b72932 110deg 120deg,
      #1c1c1d 120deg 130deg,
      #b72932 130deg 140deg,
      #1c1c1d 140deg 150deg,
      #b72932 150deg 160deg,
      #1c1c1d 160deg 170deg,
      #b72932 170deg 180deg,
      #1c1c1d 180deg 190deg,
      #b72932 190deg 200deg,
      #1c1c1d 200deg 210deg,
      #b72932 210deg 220deg,
      #1c1c1d 220deg 230deg,
      #b72932 230deg 240deg,
      #1c1c1d 240deg 250deg,
      #b72932 250deg 260deg,
      #1c1c1d 260deg 270deg,
      #b72932 270deg 280deg,
      #1c1c1d 280deg 290deg,
      #b72932 290deg 300deg,
      #1c1c1d 300deg 310deg,
      #b72932 310deg 320deg,
      #1c1c1d 320deg 330deg,
      #b72932 330deg 340deg,
      #1c1c1d 340deg 350deg,
      #b72932 350deg 360deg
    );
  box-shadow:
    inset 0 0 36px rgba(0, 0, 0, 0.55),
    0 0 44px rgba(242, 208, 111, 0.16);
}

.roulette-wheel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: inherit;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.52);
  will-change: transform, filter;
}

.roulette-wheel::after {
  content: "";
  position: absolute;
  inset: 25%;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.28), transparent 25%),
    linear-gradient(145deg, #5a3510, #160d08);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.1);
}

.roulette-wheel strong {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(4, 14, 14, 0.88);
  color: var(--gold-strong);
  font-size: 2rem;
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.3);
}

.roulette-wheel span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff7df;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%) rotate(var(--roulette-ball-rest, 32deg)) translateY(var(--roulette-ball-offset));
  transform-origin: center;
}

.roulette-wheel.is-spinning::before {
  animation: roulette-spin 1.85s cubic-bezier(0.13, 0.74, 0.15, 1) both;
}

.roulette-wheel.is-spinning span {
  animation: roulette-ball 1.85s cubic-bezier(0.13, 0.74, 0.15, 1) both;
}

.roulette-wheel.is-spinning strong {
  color: rgba(255, 247, 223, 0.74);
  text-shadow: 0 0 20px rgba(242, 208, 111, 0.24);
}

.roulette-red strong {
  color: #ff8ba5;
}

.roulette-black strong {
  color: #d6d0ff;
}

.roulette-green strong {
  color: var(--neon);
}

.roulette-bets {
  display: grid;
  gap: 12px;
}

.roulette-bets label {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(63, 245, 197, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.baccarat-board .hand-zone {
  min-height: 250px;
}

.dice-stage {
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 170px));
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.dice-stage strong {
  grid-column: 1 / -1;
  justify-self: center;
  color: var(--gold-strong);
  font-size: 1.45rem;
}

.dice-cube {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 208, 111, 0.46);
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.52), transparent 28%),
    linear-gradient(145deg, #fff7df, #e5d6aa);
  color: #16100b;
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 -16px 34px rgba(116, 76, 24, 0.16),
    0 18px 38px rgba(0, 0, 0, 0.28);
}

.dice-table.is-rolling .dice-cube {
  animation: dice-roll 460ms ease-in-out infinite;
}

.dice-table.is-rolling .dice-cube:nth-child(2) {
  animation-delay: 110ms;
}

.sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.panel {
  border-radius: 24px;
  padding: 18px;
}

.settings-panel {
  border-color: rgba(63, 245, 197, 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(63, 245, 197, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 77, 125, 0.07), rgba(54, 163, 255, 0.05)),
    var(--panel-strong);
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.settings-head h2 {
  margin-bottom: 0;
}

.settings-head span {
  padding: 6px 9px;
  border: 1px solid rgba(63, 245, 197, 0.3);
  border-radius: 999px;
  color: var(--neon);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.settings-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(214, 189, 112, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.settings-field span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.settings-field strong {
  color: var(--gold-strong);
  font-size: 1.2rem;
}

.settings-field input,
.settings-field select {
  width: 100%;
}

.settings-field input[type="range"] {
  accent-color: var(--neon);
  cursor: pointer;
}

.settings-field select {
  border: 1px solid rgba(63, 245, 197, 0.22);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(2, 16, 14, 0.88);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.settings-apply {
  width: 100%;
  margin-top: 14px;
  border: none;
  border-radius: 18px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.36), transparent 24%),
    linear-gradient(135deg, rgba(242, 208, 111, 0.95), rgba(63, 245, 197, 0.78));
  color: #10211c;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(63, 245, 197, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.settings-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(242, 208, 111, 0.16);
}

.settings-summary {
  margin-top: 12px !important;
  font-size: 0.9rem;
  font-weight: 800;
}

.settings-panel.is-pulsing {
  animation: settings-pulse 900ms ease;
}

.panel h2 {
  margin-bottom: 10px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel p,
.log-list {
  color: var(--muted);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(63, 245, 197, 0.11);
  background:
    linear-gradient(145deg, rgba(63, 245, 197, 0.07), rgba(255, 77, 125, 0.035)),
    rgba(255, 255, 255, 0.03);
}

.stat-card span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.5rem;
  color: var(--gold-strong);
  text-shadow: 0 0 18px rgba(242, 208, 111, 0.22);
}

.stats-note {
  margin-top: 12px;
}

.log-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

.log-list li {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.pulse-win {
  animation: table-win 820ms ease;
}

.pulse-loss {
  animation: table-loss 820ms ease;
}

.pulse-chip {
  animation: table-chip 620ms ease;
}

.moment-allin {
  animation: table-allin 980ms ease;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(2deg) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-deal {
  0% {
    opacity: 0;
    transform: translate3d(-260px, -220px, 0) rotate(-16deg) scale(0.74);
    filter: blur(2px);
  }

  58% {
    opacity: 1;
    transform: translate3d(10px, -10px, 0) rotate(2deg) scale(1.03);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    filter: blur(0);
  }
}

@keyframes bot-card-reveal {
  0% {
    opacity: 0.35;
    transform: rotateY(88deg) scale(0.94);
    filter: brightness(0.7) blur(1px);
  }

  52% {
    opacity: 1;
    transform: rotateY(-8deg) scale(1.04);
    filter: brightness(1.18) blur(0);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    filter: brightness(1) blur(0);
  }
}

@keyframes title-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes orb-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(6vw, -4vh, 0) scale(1.12);
  }
}

@keyframes felt-sweep {
  from {
    transform: rotate(0deg) scale(1.4);
  }

  to {
    transform: rotate(360deg) scale(1.4);
  }
}

@keyframes focus-spin {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes focus-spin-reverse {
  from {
    transform: rotate(360deg) scale(1);
  }

  to {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes focus-breathe {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.95) rotate(0deg);
    filter: blur(18px) saturate(1.18) hue-rotate(0deg);
  }

  50% {
    opacity: 0.76;
    transform: scale(1.08) rotate(18deg);
    filter: blur(12px) saturate(1.65) hue-rotate(44deg);
  }
}

@keyframes focus-pulse {
  0%,
  100% {
    transform: scale(0.84);
    opacity: 0.46;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.76;
  }
}

@keyframes avatar-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes avatar-thinking {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-3px) rotate(2deg);
  }
}

@keyframes winner-card {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-6px) scale(1.035);
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes stack-chip-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.78);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes banner-glow {
  0%,
  100% {
    box-shadow: inset 0 0 24px rgba(63, 245, 197, 0.08);
  }

  50% {
    box-shadow: inset 0 0 34px rgba(63, 245, 197, 0.18);
  }
}

@keyframes settings-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: var(--shadow);
  }

  42% {
    transform: translateY(-3px);
    box-shadow:
      0 0 34px rgba(63, 245, 197, 0.22),
      var(--shadow);
  }
}

@keyframes table-win {
  0% {
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.34);
  }

  45% {
    box-shadow: inset 0 0 130px rgba(242, 208, 111, 0.22), 0 0 38px rgba(242, 208, 111, 0.22);
  }

  100% {
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.34);
  }
}

@keyframes table-loss {
  0% {
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.34);
  }

  45% {
    box-shadow: inset 0 0 120px rgba(255, 77, 125, 0.18), 0 0 30px rgba(255, 77, 125, 0.16);
  }

  100% {
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.34);
  }
}

@keyframes flying-chip {
  0% {
    opacity: 0;
    transform: translate3d(var(--from-x), var(--from-y), 0) rotate(0deg) scale(0.72);
  }

  20% {
    opacity: 1;
  }

  62% {
    transform: translate3d(var(--to-x), calc(var(--to-y) - 72px), 0) rotate(260deg) scale(1.08);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--to-x), var(--to-y), 0) rotate(520deg) scale(0.82);
  }
}

@keyframes table-chip {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.012);
  }
}

@keyframes table-allin {
  0%,
  100% {
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.34);
    filter: saturate(1);
  }

  42% {
    box-shadow:
      inset 0 0 150px rgba(255, 77, 125, 0.24),
      0 0 54px rgba(242, 208, 111, 0.24);
    filter: saturate(1.22);
  }
}

@keyframes slot-spin {
  0% {
    transform: translateY(-18px) scale(0.96);
    filter: blur(2px) hue-rotate(0deg);
  }

  50% {
    transform: translateY(18px) scale(1.03);
    filter: blur(3px) hue-rotate(80deg);
  }

  100% {
    transform: translateY(-18px) scale(0.96);
    filter: blur(2px) hue-rotate(160deg);
  }
}

@keyframes reel-strip-spin {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(var(--slot-item-height) * -8));
  }
}

@keyframes reel-stop {
  0% {
    transform: translateY(-10px);
    filter: brightness(1.08);
  }

  60% {
    transform: translateY(5px);
    filter: brightness(1.12);
  }

  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes slot-big-win {
  0%,
  100% {
    box-shadow:
      inset 0 0 70px rgba(242, 208, 111, 0.08),
      0 24px 70px rgba(0, 0, 0, 0.28);
  }

  45% {
    box-shadow:
      inset 0 0 120px rgba(242, 208, 111, 0.26),
      0 0 70px rgba(255, 77, 125, 0.32);
  }
}

@keyframes slot-energy {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleX(0.94);
    filter: blur(10px) saturate(1);
  }

  50% {
    opacity: 0.7;
    transform: scaleX(1.02);
    filter: blur(4px) saturate(1.5);
  }
}

@keyframes slot-reel-shake {
  0%,
  100% {
    transform: translateY(0);
  }

  38% {
    transform: translateY(-3px);
  }

  74% {
    transform: translateY(3px);
  }
}

@keyframes roulette-spin {
  from {
    transform: rotate(0deg) scale(1);
    filter: saturate(1.1);
  }

  74% {
    transform: rotate(var(--roulette-spin, 1260deg)) scale(1.02);
    filter: saturate(1.45);
  }

  to {
    transform: rotate(var(--roulette-spin, 1260deg)) scale(1);
    filter: saturate(1.12);
  }
}

@keyframes roulette-ball {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateY(var(--roulette-ball-offset)) scale(1);
    filter: blur(0);
  }

  45% {
    transform: translate(-50%, -50%) rotate(var(--roulette-ball-mid, 1040deg)) translateY(calc(var(--roulette-ball-offset) - 5px)) scale(1.08);
    filter: blur(0.8px);
  }

  78% {
    transform: translate(-50%, -50%) rotate(var(--roulette-ball-late, 1580deg)) translateY(calc(var(--roulette-ball-offset) + 4px)) scale(0.96);
    filter: blur(0.3px);
  }

  to {
    transform: translate(-50%, -50%) rotate(var(--roulette-ball-spin, 1800deg)) translateY(var(--roulette-ball-offset)) scale(1);
    filter: blur(0);
  }
}

@keyframes dice-roll {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
    filter: blur(0);
  }

  45% {
    transform: translateY(-16px) rotate(18deg) scale(1.04);
    filter: blur(1px);
  }

  72% {
    transform: translateY(8px) rotate(-14deg) scale(0.98);
  }
}

@keyframes moment-hit {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.72);
    filter: blur(4px);
  }

  46% {
    opacity: 1;
    transform: translateY(0) scale(1.08);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

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

@media (max-width: 1500px) {
  .app-shell {
    width: min(100% - 28px, 1500px);
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: repeat(3, minmax(230px, 1fr));
  }

  .table-surface {
    min-height: 840px;
  }
}

@media (max-width: 1280px) {
  .hero {
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 5.4vw, 4.8rem);
  }

  .status-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-surface {
    min-height: auto;
    padding: 28px clamp(16px, 3vw, 34px);
  }

  .seat-top {
    width: 100%;
    margin-bottom: 20px;
  }

  .seat-top .seat-headline {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .seat-top .bot-presence {
    grid-column: 1;
  }

  .seat-top .dealer-button {
    left: auto;
    right: 18px;
  }

  .seat-top .seat-stack {
    position: relative;
    top: auto;
    right: auto;
  }

  .side-opponents {
    position: relative;
    inset: auto;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 14px;
    margin: 0 0 20px;
    pointer-events: auto;
  }

  .mini-seat,
  .mini-seat:nth-child(1),
  .mini-seat:nth-child(2),
  .mini-seat:only-child {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 218px;
    transform: none;
  }

  .mini-seat:nth-child(1) .mini-cards,
  .mini-seat:nth-child(2) .mini-cards {
    transform: none;
  }

  .mini-cards .card {
    width: 64px;
    height: 92px;
  }

  .board-area {
    min-height: 310px;
  }

  .board-center {
    min-height: 280px;
  }

  .table-focus-core {
    width: clamp(260px, 58vw, 500px);
  }

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

@media (max-width: 1040px) {
  .layout {
    grid-template-columns: 1fr;
  }

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

  .slot-reels,
  .slot-stats,
  .slot-controls,
  .table-game-board,
  .roulette-stage,
  .casino-game-controls {
    grid-template-columns: 1fr;
  }

  .bet-builder {
    grid-template-columns: 1fr;
  }

  .side-opponents {
    inset: 0;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .mini-seat {
    width: 100%;
    min-height: auto;
  }

  .mini-cards .card {
    width: 68px;
    height: 98px;
  }

  .bet-presets {
    justify-content: stretch;
  }

  .bet-presets button {
    flex: 1;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 20px, 720px);
    padding-top: 20px;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions,
  .hero-badges {
    width: 100%;
  }

  .hero-actions button {
    flex: 1;
  }

  .game-tabs,
  .slots-hero,
  .casino-game-hero {
    flex-direction: column;
  }

  .status-bar,
  .controls,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .table-card,
  .panel {
    border-radius: 22px;
  }

  .table-surface {
    min-height: auto;
    padding: 18px 14px;
  }

  .seat-top {
    width: 100%;
    margin-bottom: 24px;
  }

  .seat-top .seat-headline {
    display: flex;
    min-height: auto;
  }

  .seat-top .bot-presence {
    grid-column: auto;
  }

  .seat-top .seat-stack {
    position: static;
  }

  .seat-top .dealer-button {
    top: 14px;
    left: 50%;
  }

  .side-opponents {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    height: auto;
    margin: 0 0 18px;
    pointer-events: auto;
  }

  .mini-seat,
  .mini-seat:nth-child(1),
  .mini-seat:nth-child(2),
  .mini-seat:only-child {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    min-height: auto;
    transform: none;
  }

  .mini-seat:nth-child(1) .mini-cards,
  .mini-seat:nth-child(2) .mini-cards {
    transform: none;
  }

  .cards,
  .community-cards {
    justify-content: center;
  }

  .card {
    width: 66px;
    height: 96px;
    border-radius: 16px;
    padding: 10px;
  }

  .mini-cards .card {
    width: 62px;
    height: 90px;
    padding: 8px;
  }

  .mini-bot-orb {
    width: 52px;
    height: 52px;
  }

  .casino-ticker {
    display: none;
  }

  .slot-reel {
    min-height: 300px;
  }

  .slot-symbol {
    --slot-item-height: 92px;
    height: 276px;
    min-height: 276px;
  }

  .slot-item {
    min-height: 92px;
  }

  .slot-reels::before {
    height: 96px;
  }

  .casino-game-screen,
  .casino-game-table {
    border-radius: 24px;
    padding: 16px;
  }

  .casino-game-topline {
    flex-direction: column;
    align-items: stretch;
  }

  .hand-zone {
    min-height: 230px;
  }

  .roulette-wheel {
    --roulette-ball-offset: -91px;
    width: min(100%, 230px);
  }

  .dice-stage {
    grid-template-columns: repeat(2, minmax(92px, 1fr));
  }

  .dice-cube {
    width: 100%;
    height: 120px;
    font-size: 4rem;
  }
}
