/* Casino lobby. Dark page, colorful tiles. Play and Demo show on hover for a fine pointer, and stay visible on phones. */

.page-casino .casino-h1 {
  margin: 18px 0 12px;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.page-casino .crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.page-casino .crumb a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.page-casino .slide {
  background: #f0b000;
  min-height: 0;
}

.page-casino .slide::after {
  background: none;
}

.page-casino .slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 420;
  object-fit: cover;
  object-position: center;
}

.page-casino .slide-copy {
  color: #1a1204;
  max-width: 38%;
}

.page-casino .slide-copy h2 {
  color: #1a1204;
  font-size: 36px;
  line-height: 1.05;
  text-shadow: none;
  letter-spacing: -0.02em;
}

.page-casino .kicker {
  color: #5a3d08;
}

.page-casino .dots button {
  background: rgba(26, 18, 4, 0.28);
}

.page-casino .dots button[aria-current="true"] {
  background: #1a1204;
}

.page-casino .cchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.page-casino .cchips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #f4f7fb;
  background: #171d27;
  border: 1px solid #2c3646;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.page-casino .cchips a i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  font-style: normal;
}

.page-casino .cchips a:hover,
.page-casino .cchips a:focus-visible {
  border-color: #35d15a;
  color: #fff;
}

.dot-pop { background: #ff4d6d; }
.dot-new { background: #4cc9f0; }
.dot-live { background: #35d15a; }
.dot-slots { background: #f2c14e; }
.dot-crash { background: #ff7a18; }
.dot-local { background: #c77dff; }
.dot-fast { background: #ffd60a; }
.dot-ex { background: #80ed99; }
.dot-rou { background: #e63946; }
.dot-bac { background: #48bfe3; }
.dot-bj { background: #f4a261; }
.dot-tab { background: #90be6d; }
.dot-oak { background: #ffb703; }
.dot-oth { background: #b5179e; }

.page-casino .cgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.page-casino .ctile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-casino .ctile-art {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 8 / 5;
}

.page-casino .ctile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-casino .ctile-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.page-casino .cactions {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}

.page-casino .cplay,
.page-casino .cdemo {
  min-width: 0;
  min-height: 44px;
  padding: 8px 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-casino .cplay { background: var(--green); color: #071208; }
.page-casino .cdemo { background: var(--gold); color: var(--ink); }

.page-casino .cplay:hover,
.page-casino .cplay:focus-visible {
  background: #49d864;
  color: #071208;
}

.page-casino .cdemo:hover,
.page-casino .cdemo:focus-visible {
  background: var(--gold-2);
  color: var(--ink);
}

.page-casino .ctile p {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .page-casino .ctile-art img {
    transition: transform 0.35s ease;
  }
  .page-casino .ctile:hover img {
    transform: scale(1.04);
  }
  .page-casino .cactions {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(6, 8, 12, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
  }
  .page-casino .ctile:hover .cactions,
  .page-casino .ctile:focus-within .cactions {
    opacity: 1;
    pointer-events: auto;
  }
  .page-casino .cplay,
  .page-casino .cdemo {
    width: min(150px, 100%);
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

.page-casino .studio-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 8px;
}

.page-casino .studio-row img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  display: block;
}

.page-casino .seo-bar h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.page-casino [hidden] {
  display: none !important;
}

.btn-login,
.btn-reg {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .page-casino .cgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-casino .slide-copy h2 {
    font-size: 28px;
  }
  .page-casino .casino-h1 {
    font-size: 34px;
  }
}

@media (max-width: 900px) {
  .page-casino .slide-copy {
    left: 16px;
    max-width: 46%;
  }
  .page-casino .slide-copy h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .page-casino .dots {
    left: 16px;
  }
}

@media (max-width: 640px) {
  .page-casino .cchips {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .page-casino .cchips a {
    flex: 0 0 auto;
    white-space: nowrap;
    justify-content: center;
  }
  .page-casino .wrap {
    overflow-x: clip;
  }
  .page-casino .cgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-casino .studio-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-casino .studio-row img {
    height: 64px;
  }
  .page-casino .casino-h1 {
    font-size: 30px;
  }
  .page-casino .slide-copy {
    max-width: 52%;
  }
  .page-casino .slide-copy h2 {
    font-size: 18px;
  }
  .page-casino .cplay,
  .page-casino .cdemo {
    min-width: 0;
    min-height: 44px;
    font-size: 12px;
  }
  .page-casino .ctile p {
    font-size: 12px;
  }
}
