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

.page-dealers .wrap {
  width: min(1320px, calc(100% - 24px));
}

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

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

.page-dealers .deal-h1 {
  margin: 8px 0 12px;
  font-size: 40px;
  line-height: 1;
}

.page-dealers .dlobby {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) 78px;
  gap: 14px;
  align-items: start;
}

.page-dealers .dcats {
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
}

.page-dealers .dcats p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-dealers .dcats a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 10px;
  color: #d5dbe4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.page-dealers .dcats a:hover,
.page-dealers .dcats a:focus-visible {
  background: #171d27;
  color: #fff;
}

.page-dealers .dcats svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--gold);
}

.page-dealers .dcats b {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.page-dealers .drail {
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.page-dealers .drail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 74px;
  color: #d5dbe4;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.page-dealers .drail a:hover,
.page-dealers .drail a:focus-visible { color: #fff; }

.page-dealers .drail svg {
  width: 28px;
  height: 28px;
}

.rail-cricket { color: #7dcea0; }
.rail-live { color: #f5c518; }
.rail-aviator { color: #ff5a5a; }
.rail-jet { color: #4cc9f0; }
.rail-aviatrix { color: #c77dff; }
.rail-book { color: #d5dbe4; }

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

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

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

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

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

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

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

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

.page-dealers .search { margin-top: 14px; }

.page-dealers .dgrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

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

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

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

.page-dealers .dstudio {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 1;
  max-width: calc(100% - 12px);
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  pointer-events: none;
}

.page-dealers .dactions {
  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-dealers .dplay,
.page-dealers .ddemo {
  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;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.page-dealers .dplay { background: var(--green); color: #071208; }
.page-dealers .ddemo { background: var(--gold); color: var(--ink); }

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

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

@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .page-dealers .dactions {
    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-dealers .dtile:hover .dactions,
  .page-dealers .dtile:focus-within .dactions {
    opacity: 1;
    pointer-events: auto;
  }
  .page-dealers .dplay,
  .page-dealers .ddemo {
    width: min(150px, 100%);
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 14px;
  }
  .page-dealers .dtile-art img {
    transition: transform 0.35s ease;
  }
  .page-dealers .dtile:hover img {
    transform: scale(1.04);
  }
}

.page-dealers .dtile p {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.page-dealers .dcount {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.page-dealers .dcount a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.page-dealers .dcount a:first-child {
  background: #171d27;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: #e8edf4;
}

.page-dealers .darr {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #171d27;
}

.page-dealers .darr svg { width: 14px; height: 14px; }

.page-dealers .dstudios {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 4px;
}

.page-dealers .dstudios::-webkit-scrollbar { display: none; }

.page-dealers .dstudios span {
  flex: 0 0 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 14px;
  scroll-snap-align: start;
}

.page-dealers button.darr {
  padding: 0;
  color: #e8edf4;
  cursor: pointer;
}

.page-dealers .dstudios img {
  display: block;
  width: 100%;
  height: 48px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

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

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

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

@media (max-width: 1180px) {
  .page-dealers .dgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-dealers .slide-copy h2 { font-size: 28px; }
}

@media (max-width: 980px) {
  .page-dealers .dlobby { grid-template-columns: 1fr; }
  .page-dealers .dcats,
  .page-dealers .drail {
    position: static;
    top: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    gap: 8px;
    padding-bottom: 6px;
  }
  .page-dealers .dcats p { display: none; }
  .page-dealers .dcats a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 14px;
    background: #171d27;
    border: 1px solid #2c3646;
    border-radius: 999px;
    white-space: nowrap;
  }
  .page-dealers .drail a { flex: 0 0 auto; width: 72px; }
  .page-dealers .dstudios span { flex-basis: 156px; }
}

@media (max-width: 900px) {
  .page-dealers .dlobby,
  .page-dealers .dmain,
  .page-dealers .dgrid { min-width: 0; max-width: 100%; }
  .page-dealers .slide-copy { left: 16px; max-width: 48%; }
  .page-dealers .slide-copy h2 { font-size: 22px; margin-bottom: 10px; }
  .page-dealers .dots { left: 16px; }
  .page-dealers .deal-h1 { font-size: 32px; }
}

@media (max-width: 640px) {
  .page-dealers .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-dealers .dstudios span { flex-basis: 148px; height: 68px; }
  .page-dealers .slide-copy { max-width: 54%; }
  .page-dealers .slide-copy h2 { font-size: 18px; }
  .page-dealers .dplay,
  .page-dealers .ddemo {
    min-width: 0;
    min-height: 44px;
    font-size: 12px;
  }
  .page-dealers .section-head {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 8px;
  }
  .page-dealers .section-head h2 { flex: 1 0 100%; }
  .page-dealers .dcount { margin-left: 0; }
  .page-dealers .dcount a:first-child {
    font-size: 11px;
    white-space: nowrap;
  }
}
