@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/roboto.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --accent: #ab1f25;
  --accent-bright: #c51d26;
  --bar: #650d11;
  --black: #080808;
  --muted: #a8a4a4;
  --page-pad: 32px;
  --gap: 8px;
  font-family: "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: #0c0c0c;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background:
    linear-gradient(to left bottom, rgb(147 18 18 / 92%), transparent 30%) fixed,
    linear-gradient(to right top, rgb(147 18 18 / 92%), transparent 30%) fixed,
    linear-gradient(to bottom, rgb(147 18 18 / 65%), transparent 25%) fixed,
    #0c0c0c;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  box-shadow: 0 4px 12px rgb(0 0 0 / 22%);
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 17px 0 24px;
  background: #000;
}

.brand-group,
.account-actions,
.product-nav,
.product-link,
.categorybar,
.lane-heading,
.cookie-actions {
  display: flex;
  align-items: center;
}

.brand-group {
  min-width: 0;
  gap: 20px;
}

.icon-button,
.category-search,
.category-next,
.carousel-arrow,
.lane-arrow,
.modal-close,
.modal-backdrop,
.cookie-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 24px;
  height: 32px;
  padding: 4px 0;
}

.icon-button img {
  width: 23px;
  filter: brightness(0) invert(1);
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  display: block;
  width: 168px;
  max-width: 100%;
}

.product-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 300px;
  align-self: stretch;
  justify-content: center;
  gap: 42px;
}

.product-link {
  position: relative;
  flex-direction: column;
  justify-content: center;
  min-width: 44px;
  height: 100%;
  padding: 7px 0 5px;
  border: 0;
  color: #9a9696;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.product-link img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  opacity: .62;
}

.product-link.active {
  color: #fff;
  font-weight: 700;
}

.product-link.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #fff;
  content: "";
}

.product-link.active img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.account-actions {
  margin-left: auto;
  justify-content: flex-end;
  gap: 10px;
}

.account-button {
  min-width: 88px;
  height: 36px;
  padding: 0 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .7px;
  cursor: pointer;
}

.login-button {
  border-color: var(--accent);
  background: var(--accent);
}

.categorybar {
  height: 60px;
  padding: 0 14px 0 16px;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(90deg, #6c1014, #570b0e);
}

.category-search {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: #b61d25;
}

.category-search img,
.category-next img,
.carousel-arrow img,
.lane-arrow img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

.category-track {
  display: flex;
  flex: 1 1 auto;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.category-track::-webkit-scrollbar,
.game-track::-webkit-scrollbar,
.media-track::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  letter-spacing: .3px;
  white-space: nowrap;
  cursor: pointer;
}

.category-pill.active {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
}

.category-next {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  margin: 18px 19px 44px;
}

.hero-viewport {
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #080808;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform .5s ease;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  cursor: pointer;
}

.hero-picture,
.hero-picture img {
  display: block;
  width: 100%;
}

.hero-picture img {
  aspect-ratio: 1900 / 420;
  max-height: 420px;
  object-fit: cover;
  background: #080808;
}

.carousel-arrow,
.lane-arrow {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 50%;
  background: #b71922;
  box-shadow: 0 0 0 2px #080808;
}

.carousel-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.carousel-arrow--left {
  left: -16px;
}

.carousel-arrow--right {
  right: -16px;
}

.carousel-dots {
  position: absolute;
  bottom: -2px;
  left: 50%;
  z-index: 4;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d4d4d4;
  cursor: pointer;
}

.carousel-dot.active {
  background: #be2028;
}

.lobby {
  display: flex;
  flex-direction: column;
  gap: 31px;
  padding-bottom: 70px;
}

.lane,
.banner-lane {
  position: relative;
  padding: 0 var(--page-pad);
}

.lane-heading {
  justify-content: space-between;
  min-height: 32px;
  margin-bottom: 7px;
}

.lane-heading h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.see-all {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.game-viewport,
.media-viewport {
  position: relative;
  overflow: hidden;
}

.game-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * var(--gap)) / 6);
  gap: var(--gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap);
}

.game-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: #050505;
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
}

.game-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 23%;
  background: linear-gradient(transparent, rgb(0 0 0 / 63%));
  content: "";
  pointer-events: none;
}

.game-card > img:not(.favorite-icon) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  max-width: 80%;
  padding: 4px 9px;
  border-radius: 10px 0 10px 0;
  background: linear-gradient(135deg, #d7c784, #ad8f38);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.game-badge.drop {
  top: 8px;
  left: 8px;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 0;
  background: #050505;
  font-size: 10px;
  line-height: 1;
}

.provider-label {
  position: absolute;
  right: 36px;
  bottom: 13px;
  left: 8px;
  z-index: 2;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jackpot-value {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  min-height: 36px;
  padding: 8px 44px 5px 10px;
  background: #b3161f;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.game-card > .favorite-icon {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 4;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.rank-number {
  position: absolute;
  bottom: -17px;
  left: -1px;
  z-index: 3;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 2px #a30f16;
  text-shadow: 0 2px 2px #000;
  pointer-events: none;
}

.lane-arrow {
  top: 50%;
  right: 3px;
  transform: translateY(-4%);
}

.media-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gap)) / 2);
  gap: var(--gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.media-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #070707;
  cursor: pointer;
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 750 / 336;
  object-fit: cover;
}

.single-banner {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.single-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 1900 / 420;
  object-fit: cover;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px 60px;
  padding: 45px max(var(--page-pad), calc((100vw - 1280px) / 2)) 130px;
  border-top: 1px solid #4b1518;
  background: #050505;
  color: #a8a8a8;
  font-size: 13px;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 12px;
}

.footer-brand p,
.footer-help,
.footer-copy {
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 13px 28px;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.footer-help,
.footer-copy {
  grid-column: 1 / -1;
}

.auth-modal {
  position: fixed;
  top: 140px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 16px 16px;
}

.auth-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 72%);
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: min(704px, 100%);
  max-height: calc(100vh - 165px);
  min-height: 690px;
  padding: 8px 95px 42px;
  overflow: auto;
  border-radius: 4px;
  background: #080808;
  box-shadow: 0 28px 70px rgb(0 0 0 / 60%);
}

.auth-panel h2 {
  margin: 0 0 31px;
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: -1px;
  right: 17px;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
}

.secure-note {
  margin: -20px 0 22px;
  color: #b7b7b7;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.auth-field {
  position: relative;
  margin-bottom: 12px;
}

.auth-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #868686;
  border-radius: 4px;
  background: #4d4b4b;
  color: #ddd;
  font-size: 15px;
  opacity: 1;
}

.auth-field input::placeholder {
  color: #bfbfbf;
}

.password-eye {
  position: absolute;
  right: 15px;
  bottom: 13px;
  color: #eee;
  font-size: 20px;
}

.eligibility {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 17px 0 48px;
  font-size: 16px;
}

.eligibility input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--accent);
  opacity: 1;
}

.eligibility span,
.forgot-link,
.contact-link,
.join-copy button,
.modal-legal a {
  color: #3197e7;
}

.forgot-link {
  display: inline-block;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.official-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 272px;
  min-height: 49px;
  margin: 0 auto 24px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #7d161a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.official-login:hover {
  background: #a51d23;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 23px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.chat-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 5px;
  color: transparent;
}

.join-copy {
  margin: 0 0 46px;
  font-size: 13px;
  text-align: center;
}

.join-copy button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.modal-legal {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 72px;
  padding: 13px 24px 13px 32px;
  background: #fff;
  color: #666;
  box-shadow: 0 -5px 18px rgb(0 0 0 / 18%);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.cookie-actions {
  flex: 0 0 auto;
  gap: 17px;
}

.cookie-actions button:not(.cookie-close) {
  min-width: 124px;
  min-height: 43px;
  padding: 8px 12px;
  border: 1px solid #2b386e;
  background: #fff;
  color: #263263;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions button[data-cookie="necessary"],
.cookie-actions button[data-cookie="all"] {
  border-color: #303b6d;
  background: #303b6d;
  color: #fff;
}

.cookie-close {
  width: 32px;
  height: 32px;
  padding: 0;
  color: #555;
  font-size: 26px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .product-nav {
    left: 250px;
    gap: 22px;
  }

  .game-track {
    grid-auto-columns: calc((100% - 4 * var(--gap)) / 5);
  }

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

@media (max-width: 900px) {
  :root {
    --page-pad: 16px;
  }

  .topbar {
    height: 64px;
    padding: 0 12px 0 15px;
  }

  .brand-group {
    gap: 13px;
  }

  .brand img {
    width: 145px;
  }

  .product-nav {
    display: none;
  }

  .account-button {
    min-width: 72px;
    height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }

  .categorybar {
    height: 52px;
    padding: 0 9px;
    gap: 8px;
  }

  .category-search {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .category-pill {
    height: 34px;
    padding: 0 15px;
    font-size: 14px;
  }

  .category-next {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .hero {
    margin: 10px 9px 32px;
  }

  .hero-picture img {
    aspect-ratio: 750 / 336;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow--left {
    left: -7px;
  }

  .carousel-arrow--right {
    right: -7px;
  }

  .lobby {
    gap: 25px;
  }

  .lane-heading h2,
  .see-all {
    font-size: 18px;
  }

  .game-track {
    grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
  }

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

  .auth-modal {
    top: 116px;
  }

  .auth-panel {
    max-height: calc(100vh - 128px);
  }

  .cookie-banner {
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
  }

  .cookie-banner p {
    font-size: 11px;
    line-height: 1.35;
  }

  .cookie-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    max-width: 330px;
  }

  .cookie-actions button:not(.cookie-close) {
    min-width: 96px;
    min-height: 36px;
    padding: 6px 8px;
    font-size: 10px;
  }
}

@media (max-width: 620px) {
  .topbar {
    height: 58px;
  }

  .menu-button {
    width: 21px;
  }

  .brand img {
    width: 125px;
  }

  .account-actions {
    gap: 6px;
  }

  .account-button {
    min-width: 56px;
    height: 30px;
    padding: 0 9px;
    font-size: 11px;
  }

  .categorybar {
    height: 48px;
  }

  .category-next {
    display: none;
  }

  .hero {
    margin-bottom: 27px;
  }

  .carousel-dots {
    bottom: -4px;
  }

  .carousel-dot {
    width: 9px;
    height: 9px;
  }

  .lane-heading {
    min-height: 26px;
    margin-bottom: 5px;
  }

  .lane-heading h2,
  .see-all {
    font-size: 16px;
  }

  .game-track {
    grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  }

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

  .game-badge {
    padding: 3px 6px;
    font-size: 10px;
  }

  .provider-label {
    right: 28px;
    bottom: 9px;
    font-size: 8px;
  }

  .favorite-icon {
    right: 5px;
    bottom: 4px;
    width: 18px;
    height: 18px;
  }

  .jackpot-value {
    min-height: 28px;
    padding: 6px 30px 4px 6px;
    font-size: 11px;
  }

  .rank-number {
    bottom: -8px;
    font-size: 48px;
    -webkit-text-stroke-width: 1px;
  }

  .lane-arrow {
    right: 1px;
    width: 38px;
    height: 38px;
  }

  .media-track {
    grid-auto-columns: 85%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-bottom: 190px;
  }

  .footer-help,
  .footer-copy {
    grid-column: auto;
  }

  .auth-modal {
    top: 106px;
    padding: 10px 8px 8px;
  }

  .auth-panel {
    min-height: 0;
    max-height: calc(100vh - 114px);
    padding: 12px 22px 34px;
  }

  .auth-panel h2 {
    padding-right: 26px;
    padding-left: 26px;
    font-size: 19px;
  }

  .eligibility {
    margin-bottom: 35px;
    font-size: 14px;
  }

  .official-login {
    width: 100%;
  }

  .cookie-banner {
    display: block;
    padding-right: 42px;
  }

  .cookie-banner p {
    margin-bottom: 9px;
  }

  .cookie-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .cookie-close {
    position: absolute;
    top: 8px;
    right: 7px;
  }
}

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