﻿@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
}

:root {
  --header-blue: #002361;
  --menu-blue: #00133b;
  --main-blue: #004475;
  --footer-blue: #001849;
  --text-blue: #5fb3e1;
  --action-blue: #3cb4e5;
  --green: #43a047;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; }
html, body, button, input { font-family: Montserrat, Arial, sans-serif; }
body { background: #fafafa; color: #fff; }
body.menu-open,
body.mobile-login-open { overflow: hidden; }
button, input { font: inherit; }

.site-header {
  height: 87px;
  width: 100%;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 3fr 6fr;
  align-items: center;
  background: var(--header-blue);
  position: sticky;
  top: 0;
  z-index: 30;
}

.menu-button {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  padding: 0 14px;
  border: 0;
  border-radius: 50%;
  background: var(--menu-blue);
  position: relative;
  left: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 26.25px;
  height: 3.75px;
  flex: 0 0 3.75px;
  border-radius: 3px;
  background: #fff;
}
.menu-button.open { background: #1768dc; }

.brand {
  width: 211.25px;
  height: 46.25px;
  flex: 0 0 211.25px;
  display: flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 211.25px;
  height: 46.25px;
  object-fit: fill;
}

.login-form {
  width: 100%;
  height: 62px;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 1fr;
  gap: 1%;
  align-items: center;
  text-align: center;
}
.login-field {
  width: 100%;
  height: 43.75px;
  min-width: 0;
  text-align: center;
}
.login-field input {
  display: inline-block;
  width: 95%;
  height: 43.75px;
  margin: 0;
  padding: 1px 2px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  background: #fff;
  color: #495057;
  font: 15px/22.5px Montserrat, Arial, sans-serif;
}
.login-field input::placeholder { color: #6c757d; opacity: 1; }
.login-actions {
  width: 100%;
  height: 43.75px;
  min-width: 178.266px;
  display: flex;
  align-items: center;
  text-align: center;
}
.login-button,
.register-button {
  width: auto;
  height: 43.75px;
  min-width: 0;
  flex: 0 0 auto;
  border-radius: 3.75px;
  cursor: pointer;
  font: 15px/22.5px Montserrat, Arial, sans-serif;
  position: relative;
  transition: background 0.2s, opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1px 12px;
}
.login-button:disabled,
.register-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.login-button .spinner,
.register-button .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.login-button.loading .spinner,
.register-button.loading .spinner { display: block; }
.login-button.loading .btn-text,
.register-button.loading .btn-text { opacity: 1; }
.login-button {
  width: auto;
  flex-basis: auto;
  margin: 0 8.90625px 0 0;
  padding: 1px 12px;
  border: 1px solid var(--action-blue);
  background: var(--header-blue);
  color: #fff;
}
.register-button {
  width: auto;
  flex-basis: auto;
  margin: 0;
  padding: 1px 12px;
  border: 0;
  background: var(--action-blue);
  color: var(--header-blue);
}
.recover-link {
  width: 100%;
  height: 62px;
  min-width: 115.5625px;
  display: block;
  padding: 7.5px 15px;
  color: var(--action-blue);
  font: 15px/22.5px Montserrat, Arial, sans-serif;
  text-align: center;
  text-decoration: underline;
}
.mobile-auth { display: none; }

.mobile-login-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.mobile-login-modal.open { display: block; }
.mobile-login-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .32);
  cursor: pointer;
}
.mobile-login-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(300px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  background: #00133b;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.mobile-login-form {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 39px;
  background: #00133b;
}
.mobile-login-close-row {
  min-height: 24px;
  display: flex;
  justify-content: flex-end;
}
.mobile-login-close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 400 27px/24px Arial, sans-serif;
}
.mobile-login-logo {
  width: 100%;
  margin: 0 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mobile-login-logo img {
  display: block;
  width: 70%;
  height: auto;
  object-fit: contain;
}
.mobile-login-field {
  width: 100%;
  margin: 0 0 12px;
}
.mobile-login-field input {
  display: block;
  width: 100%;
  height: 35px;
  padding: 1px 2px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  background: #fff;
  color: #495057;
  font: 14px/21px Montserrat, Arial, sans-serif;
}
.mobile-remember {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 5px 0;
  color: #fff;
  font: 14px/21px Montserrat, Arial, sans-serif;
}
.mobile-remember input { width: auto; height: auto; }
.mobile-login-actions {
  width: 100%;
  margin: 20px 0 34px;
  display: flex;
  gap: 8px;
}
.mobile-login-submit,
.mobile-register-submit {
  width: 100%;
  height: 35px;
  padding: 1px 12px;
  border-radius: 3px;
  cursor: pointer;
  font: 14px/21px Montserrat, Arial, sans-serif;
  transition: background 0.2s, opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-login-submit:disabled,
.mobile-register-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.mobile-login-submit .spinner,
.mobile-register-submit .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.mobile-login-submit.loading .spinner,
.mobile-register-submit.loading .spinner { display: block; }
.mobile-login-submit.loading .btn-text,
.mobile-register-submit.loading .btn-text { opacity: 1; }
.mobile-login-submit {
  border: 1px solid var(--action-blue);
  background: #00133b;
  color: #fff;
}
.mobile-register-submit {
  border: 0;
  background: var(--action-blue);
  color: var(--header-blue);
}
.mobile-recover-link {
  align-self: center;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 14px/21px Montserrat, Arial, sans-serif;
  text-decoration: underline;
}
.mobile-login-message {
  min-height: 0;
  margin: 6px 0 0;
  color: #fff;
  text-align: center;
  font: 11px/16px Montserrat, Arial, sans-serif;
}
.mobile-login-terms,
.mobile-login-terms-link {
  color: #fff;
  text-align: center;
  font: 12px/18px Montserrat, Arial, sans-serif;
}
.mobile-login-terms {
  margin: 9px 0 4px;
}
.mobile-login-terms-link {
  display: block;
  color: #0d6efd;
  text-decoration: none;
}

.main-content {
  width: 100%;
  height: auto;
  min-height: 591.5px;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  background: var(--main-blue);
}
.password-card {
  width: 750px;
  height: auto;
  min-height: 561.5px;
  flex: 0 0 750px;
  padding-bottom: 15px;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 6.25px;
  background: transparent;
}
.card-title {
  height: 53.5px;
  margin-bottom: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #fff;
  color: #fff;
  font: 700 15px/22.5px Montserrat, Arial, sans-serif;
}
.password-form {
  margin: 0;
  padding: 20px;
  text-align: left;
}
.password-form h1 {
  margin: 0 0 10px;
  color: #fff;
  font: 500 25px/30px Montserrat, Arial, sans-serif;
}
.password-form p {
  margin: 0 0 20px;
  color: #fff;
  font: 15px/22.5px Montserrat, Arial, sans-serif;
}
.password-form input {
  display: block;
  width: 100%;
  height: 70px;
  margin: 0 0 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: #f5f5f5;
  color: rgba(0, 0, 0, .87);
  font: 20px/30px Roboto, Arial, sans-serif;
}
.password-form input::placeholder { color: #666; opacity: 1; }
.password-form #confirm-password { margin-bottom: 12px; }
.password-live-errors {
  margin: 0 0 12px;
  color: #ff5252;
  font: 13px/19px Montserrat, Arial, sans-serif;
}
.password-live-errors div { margin: 2px 0; }
.password-submit-status {
  min-height: 60px;
  margin: 0 0 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  font: 14px/20px Montserrat, Arial, sans-serif;
}
.password-submit-status.is-error {
  border: 1px solid #f5c2c7;
  background: #f8d7da;
  color: #842029;
}
.password-submit-status.is-success {
  border: 1px solid #badbcc;
  background: #d1e7dd;
  color: #0f5132;
}
.password-live-errors[hidden],
.password-submit-status[hidden] { display: none !important; }
.accept-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  min-width: 200px;
  max-width: 90%;
  height: 42px;
  margin: 8px auto 0;
  padding: 0 24px;
  border: 0;
  border-radius: 100px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
  font: 14px/20px Montserrat, Arial, sans-serif;
  transition: background 0.2s;
}
.accept-button:disabled {
  background: #8fc97a;
  cursor: not-allowed;
}
.accept-button .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.accept-button.loading .spinner { display: block; }
.accept-button.loading .btn-text { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TOAST ERROR (posición y apariencia BetPlay) ===== */
.toast-container {
  position: fixed;
  top: 15px;
  right: 14px;
  z-index: 9999;
  pointer-events: none;
}
.toast {
  position: relative;
  width: 375px;
  min-height: 128px;
  padding: 20px 24px 20px 62px;
  border-radius: 4px;
  background-color: #bd362f;
  box-shadow: 0 0 12px #999;
  color: #fff;
  opacity: 0;
  transition: opacity .5s ease;
  font: 500 16px/22px Montserrat, Arial, sans-serif;
}
.toast.show { opacity: 1; }
.toast.hiding { opacity: 0; }
.toast::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0nI2ZmZicgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+") center/contain no-repeat;
}
.toast-message { margin: 0; }

@media (max-width: 768px) {
  .toast-container {
    top: 12px;
    right: 12px;
  }
  .toast {
    width: 281px;
    min-height: 96px;
    padding: 15px 14px 15px 47px;
    font-size: 12px;
    line-height: 17px;
  }
  .toast::before {
    left: 14px;
    width: 23px;
    height: 23px;
  }
}

@keyframes spin { to { transform: rotate(360deg); } }
.form-message {
  display: none;
  margin: 12px 0 0;
  color: #fff;
  text-align: center;
}
.form-message.is-visible { display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-footer {
  width: 100%;
  height: 1517.6875px;
  min-height: 1517.6875px;
  padding: 0;
  position: relative;
  display: block;
  overflow: visible;
  background: var(--footer-blue);
}
.footer-links {
  position: absolute;
  top: 100px;
  left: 50px;
  width: calc(100% - 100px);
  max-width: 1021px;
  height: 90px;
  display: flex;
  gap: 12.5px;
}
.footer-links button {
  position: relative;
  width: 275px;
  height: 90px;
  flex: 0 0 275px;
  padding: 23.75px 25px;
  border: 0;
  background: transparent;
  color: var(--text-blue);
  cursor: pointer;
  text-align: left;
  font: 700 15px/22.5px Montserrat, Arial, sans-serif;
}
.footer-plus {
  position: absolute;
  top: 18.75px;
  right: 25px;
  display: block;
  width: 33.75px;
  height: 32.5px;
  object-fit: contain;
}
.footer-links button.expanded .footer-plus { transform: rotate(45deg); }

.affiliate-card {
  position: absolute;
  top: 232.5px;
  left: 50px;
  width: 166.25px;
  height: 115.75px;
  margin: 0;
  display: block;
}
.affiliate-card h3 {
  width: 166.25px;
  height: 42px;
  margin: 0;
  color: #fff;
  font: 17.5px/21px Montserrat, Arial, sans-serif;
  font-weight: 400;
}
.affiliate-card img {
  display: block;
  width: 166.25px;
  height: 73.75px;
  object-fit: fill;
}

.footer-details {
  position: absolute;
  top: 449px;
  left: 50px;
  right: 50px;
  height: 1000px;
  margin: 0;
  padding: 0;
}
.payment-logos {
  position: absolute;
  top: 24.25px;
  left: 0;
  right: 0;
  height: 162.5px;
  margin: 0;
  padding: 12.5px 0 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  overflow: hidden;
}
.payment-row {
  height: 43.75px;
  flex: 0 0 43.75px;
  display: flex;
  align-items: center;
  width: max-content;
  animation-duration: 22s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.payment-row-top,
.payment-row-bottom {
  gap: 56.25px;
  padding-left: 28.125px;
  padding-right: 28.125px;
}
.payment-row-top { animation-name: payment-row-left; }
.payment-row-bottom { animation-name: payment-row-right; }
.payment-row img {
  width: 106.25px;
  height: 43.75px;
  max-width: 106.25px;
  max-height: 43.75px;
  flex: 0 0 106.25px;
  object-fit: contain;
}
.payment-row:hover { animation-play-state: paused; }
@keyframes payment-row-left {
  from { transform: translateX(-18%); }
  to { transform: translateX(0); }
}
@keyframes payment-row-right {
  from { transform: translateX(0); }
  to { transform: translateX(-18%); }
}

.sponsors {
  position: absolute;
  top: 229.25px;
  left: 0;
  right: 0;
  height: 75px;
  margin: 0;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sponsors img {
  width: 60px;
  height: 85px;
  max-width: 60px;
  max-height: 85px;
  flex: 0 0 60px;
  object-fit: contain;
}
.sponsors-title {
  position: absolute;
  top: 329.25px;
  left: 0;
  right: 0;
  height: 24px;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: center;
  letter-spacing: 8px;
  font: 700 20px/24px Montserrat, Arial, sans-serif;
}

.footer-rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 22.5px;
  margin: 0;
  padding: 0;
  background: url("../img/linea.svg") center center / 100% auto no-repeat;
}
.footer-details::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -259px;
  height: 22.5px;
  background: url("../img/linea.svg") center center / 100% auto no-repeat;
}
.footer-details::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -43.25px;
  height: 22.5px;
  background: url("../img/linea.svg") center center / 100% auto no-repeat;
}
.payment-rule { display: none; }

.social-links {
  position: absolute;
  top: 460.75px;
  left: 25%;
  right: 25%;
  height: 35.734375px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 7.5px;
}
.social-links img {
  display: block;
  width: 35.734375px;
  height: 35.734375px;
  flex: 0 0 35.734375px;
  object-fit: contain;
}

.legal-text {
  position: absolute;
  top: 601px;
  left: 0;
  right: 0;
  height: 361.25px;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: center;
  font: 500 15px/19px Montserrat, Arial, sans-serif;
}
.legal-text strong {
  display: block;
  margin: 0 0 20px;
  font: 700 15px/19px Montserrat, Arial, sans-serif;
}
.legal-text a { color: #0d6efd; text-decoration: none; }

.regulation {
  position: absolute;
  top: 810px;
  left: 25%;
  right: 25%;
  height: 56.25px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.regulation img {
  display: block;
  width: 180px;
  height: 56.25px;
  max-width: 180px;
  max-height: 56.25px;
  object-fit: contain;
}

.warnings {
  position: absolute;
  top: 916.25px;
  left: 0;
  right: 0;
  width: auto;
  height: 65px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 37.5px;
  color: #fff;
  text-align: center;
  font: 500 12px/18px Montserrat, Arial, sans-serif;
}
.warnings img:first-child {
  width: 65px;
  height: 65px;
  flex: 0 0 65px;
  object-fit: contain;
}
.warnings span {
  width: 406.89px;
  flex: 0 0 406.89px;
  height: 29.3125px;
  font: 500 12px/18px Montserrat, Arial, sans-serif;
}
.warnings img:last-child {
  width: 115.625px;
  height: 40.3px;
  flex: 0 0 115.625px;
  object-fit: contain;
}

.floating-helper {
  position: fixed;
  right: 29.90625px;
  bottom: 26.515625px;
  z-index: 1001;
  width: 153.75px;
  height: 153.75px;
  object-fit: contain;
  pointer-events: none;
}
.help-button {
  position: fixed;
  right: 22.40625px;
  bottom: 50.265625px;
  z-index: 1000;
  width: 168.75px;
  height: 131.25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.footer-version {
  width: 100%;
  height: 16.875px;
  min-height: 16.875px;
  padding: 0 12.5px 0 0;
  background: var(--footer-blue);
  color: #b8b8b8;
  text-align: right;
  font: italic 500 11.25px/16.875px Montserrat, Arial, sans-serif;
}
.footer-version p { margin: 0; }
.page-tail {
  width: 100%;
  height: 22.5px;
  min-height: 22.5px;
  background: #fff;
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}
.side-menu.open { pointer-events: auto; }
.side-menu-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .3);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity .15s ease, visibility .15s ease;
}
.side-menu.open .side-menu-overlay { opacity: 1; visibility: visible; }
.side-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(4, 19, 57, .96);
  backdrop-filter: blur(10px);
  border-right: 1px solid hsla(223, 87%, 12%, .922);
  box-shadow: none;
  transform: translateX(-100%);
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.side-menu.open .side-menu-panel {
  transform: translateX(0);
  box-shadow: 10px 0 50px rgba(0, 0, 0, .5);
}
.side-menu-panel::-webkit-scrollbar { width: 8px; }
.side-menu-panel::-webkit-scrollbar-track { background: rgba(0, 0, 0, .1); }
.side-menu-panel::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .2); border-radius: 4px; }
.side-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 400 24px/24px Arial, sans-serif;
  transition: transform .15s ease;
}
.side-menu-close:hover { transform: scale(1.1); }
.gaming-menu {
  width: 100%;
  max-width: 1300px;
  min-height: 100vh;
  padding: 100px 40px 56px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.menu-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.menu-section { display: flex; flex-direction: column; gap: 16px; }
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-direction: column;
}
.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-direction: column;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}
.section-icon {
  width: 50px;
  min-width: 50px;
  transition: filter .3s ease;
}
.section-icon img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.section-title {
  position: relative;
  width: fit-content;
  margin-bottom: 20px;
  padding-bottom: 8px;
  color: var(--text-blue);
  cursor: pointer;
  font: 600 20px/30px Montserrat, Arial, sans-serif;
  transition: color .1s ease;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 90px;
  height: 2px;
  background: var(--text-blue);
  opacity: 0;
  transition: opacity .15s ease-in, width .15s ease-in;
}
.menu-section:hover .section-title { color: #fff; }
.menu-section:hover .section-title::after { width: 90px; opacity: 1; }
.menu-section:nth-child(1):hover .section-icon { filter: drop-shadow(0 0 6px #4ade80) drop-shadow(0 0 14px #4ade80); }
.menu-section:nth-child(2):hover .section-icon { filter: drop-shadow(0 0 6px #22d3ee) drop-shadow(0 0 14px #22d3ee); }
.menu-section:nth-child(3):hover .section-icon { filter: drop-shadow(0 0 6px #facc15) drop-shadow(0 0 14px #facc15); }
.menu-section:nth-child(4):hover .section-icon { filter: drop-shadow(0 0 6px #cf2425) drop-shadow(0 0 14px #cf2425); }
.menu-section:nth-child(5):hover .section-icon { filter: drop-shadow(0 0 6px #f472b6) drop-shadow(0 0 14px #f472b6); }
.toggle-button { display: none; }
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  transition: all .2s ease-in-out;
}
.menu-list li { padding: 0; list-style: none; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-blue);
  cursor: pointer;
  font: 400 16px/24px Montserrat, Arial, sans-serif;
  text-decoration: none;
  transform-origin: left;
  transition: all .15s ease;
}
.menu-item:hover {
  color: #fff;
  letter-spacing: .5px;
  text-shadow: 0 0 8px rgba(255, 255, 255, .3);
}
.live-indicator {
  width: 15px;
  height: auto;
  object-fit: contain;
  transition: filter .3s ease;
}
.menu-item:hover .live-indicator { filter: drop-shadow(0 0 6px #ef4444) drop-shadow(0 0 14px #ef4444); }
.menu-separator {
  width: 100%;
  height: 2px;
  margin: 8rem 0;
  background: linear-gradient(to right, transparent 0%, var(--text-blue) 50%, transparent 100%);
}
.utility-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 50px;
  width: 100%;
  justify-items: start;
}
.utility-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 135px;
  color: var(--text-blue);
  font: 500 16px/normal Montserrat, Arial, sans-serif;
  text-decoration: none;
  transform-origin: left center;
  transition: color .3s ease, transform .3s ease;
}
.utility-link:hover { color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, .3); transform: scale(1.05); }
.utility-link:hover .utility-icon { filter: brightness(0) invert(1); }
.utility-icon { width: 18px; transition: all .3s ease; }
.menu-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px 82px;
  margin-right: 40px;
}
.menu-logos img { width: auto; height: 50px; transition: filter .5s ease; }
.menu-logos img:hover { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .67)) drop-shadow(0 0 5px rgba(255, 255, 255, .53)); }

@media (min-width: 768px) {
  .side-menu-panel { width: 80%; max-width: 1450px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-height: 1000px) {
  .menu-separator { margin: 3rem 0; }
}
@media (max-height: 800px) {
  .gaming-menu { padding: 40px 20px 30px 40px; }
  .menu-separator { margin: 1.5rem 0 2rem; background: linear-gradient(to right, transparent 0%, rgba(95, 179, 225, .41) 50%, transparent 100%); }
  .section-title { margin-bottom: 10px; }
  .section-title::after { bottom: -5px; }
  .side-menu-close { top: 0; }
}
@media (max-width: 1144px) {
  .menu-separator { margin: 2rem 0; }
}
@media (min-width: 1200px) {
  .login-button {
    width: 150px;
    flex-basis: 150px;
    margin-right: 5%;
  }
  .register-button {
    width: 150px;
    flex-basis: 150px;
  }
  .footer-links {
    left: 125px;
    width: calc(100% - 250px);
    max-width: none;
  }
  .affiliate-card {
    top: 100px;
    left: auto;
    right: 125px;
  }
  .site-footer {
    height: 1517.6875px;
    min-height: 1517.6875px;
  }
  .footer-details { top: 449px; }
  .footer-details::after { display: none; }
  .title-rule,
  .social-rule { display: none; }
  .footer-details::before {
    top: -166px;
    display: block;
  }
  .payment-logos { top: -91px; }
  .payment-rule { display: none; }
}

@media (min-resolution: 1.2dppx) and (min-width: 801px) {
  html { zoom: .8; }
  .site-header { padding: 12.5px; }
  .side-menu-panel {
    width: 100vw;
    max-width: 1812.5px;
    height: 125vh;
    min-height: 125vh;
  }
  .gaming-menu {
    width: calc(100% + 3px);
    height: auto;
    min-height: 125vh;
    padding: 50px 25px 37.5px 50px;
  }
  .menu-footer { gap: 30px; }
  .menu-grid { gap: 40px; }
  .menu-section { gap: 20px; }
  .section-header,
  .section-heading { gap: 37.5px; }
  .section-icon { width: 62.5px; min-width: 62.5px; }
  .section-icon img { width: 62.5px; height: 62.5px; }
  .section-title {
    font-size: 25px;
    line-height: 37.5px;
    padding-bottom: 10px;
    margin-bottom: 12.5px;
  }
  .menu-list { gap: 10px; margin: 0 0 20px; }
  .menu-item { font-size: 20px; line-height: 30px; }
  .live-indicator { width: 18.75px; }
  .menu-separator { height: 2.5px; margin: 40px 0; }
  .utility-links { gap: 25px 62.5px; }
  .utility-link {
    gap: 10px;
    min-width: 168.75px;
    font-size: 20px;
    line-height: 30px;
  }
  .utility-icon { width: 22.5px; }
  .menu-logos { gap: 50px 102.5px; margin-right: 50px; }
  .menu-logos img { height: 62.5px; }
  .side-menu-close {
    top: 0;
    right: 25px;
    width: 50px;
    height: 50px;
    padding: 0;
    color: transparent;
    font-size: 0;
    line-height: 0;
  }
  .side-menu-close::before,
  .side-menu-close::after {
    content: "";
    position: absolute;
    top: 23.5px;
    left: 10px;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
  }
  .side-menu-close::before { transform: rotate(45deg); }
  .side-menu-close::after { transform: rotate(-45deg); }
  .floating-helper { right: 9.5px; }
  .help-button { right: 2px; }
  body.menu-open .floating-helper { right: 28.5px; }
  body.menu-open .help-button { right: 21px; }
}

@media (max-width: 800px) {
  html { zoom: 1; }
  .site-header {
    height: 88px;
    min-height: 88px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 12px;
    align-items: center;
  }
  .menu-button { width: 54px; height: 54px; justify-self: start; }
  .brand {
    width: 100%;
    height: 44px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .brand img { width: auto; height: 44px; object-fit: contain; max-width: 100%; }
  .login-form { display: none; }
  .mobile-auth {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
  .mobile-auth button {
    width: auto;
    min-width: 112px;
    height: 32px;
    padding: 0 12px;
    border-radius: 3px;
    cursor: pointer;
    font: 14px/20px Montserrat, Arial, sans-serif;
  }
  .mobile-login {
    border: 1px solid var(--action-blue);
    background: var(--header-blue);
    color: #fff;
  }
  .mobile-register {
    border: 0;
    background: var(--action-blue);
    color: var(--header-blue);
  }
  .side-menu-panel { width: 95%; height: 100vh; }
  .side-menu-close { display: none; }
  .gaming-menu { min-height: auto; padding: 50px 40px 20px; }
  .menu-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    cursor: pointer;
  }
  .section-heading {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .section-icon { width: 50px; min-width: 50px; }
  .section-title { margin: 0; font-size: 16px; }
  .section-title::after { bottom: -5px; width: 0; opacity: 0; }
  .toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
    font: 400 28px/28px Arial, sans-serif;
  }
  .toggle-button span { display: block; transition: transform .3s ease; }
  .toggle-button span.expanded { transform: rotate(45deg); }
  .menu-list {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all .3s ease-in-out;
  }
  .menu-list.expanded {
    max-height: 500px;
    gap: 20px;
    margin-top: 16px;
    margin-bottom: 30px;
    padding-left: 20%;
    opacity: 1;
    transform: translateY(0);
  }
  .menu-item { color: #fff; }
  .menu-section.expanded .section-title { color: #fff; }
  .menu-section.expanded .section-title::after { width: 90px; opacity: 1; }
  .menu-section:not(.expanded) .section-title::after { width: 0; opacity: 0; }
  .menu-separator { margin: 2rem 0; }
  .utility-links {
    width: 90%;
    margin: 0 auto;
    gap: 40px 0;
    justify-items: center;
  }
  .utility-link { transform-origin: center; }
  .menu-logos {
    justify-content: center;
    margin: 0 auto;
  }
  .main-content {
    height: auto;
    min-height: 0;
    padding: 12px;
  }
  .password-card {
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 0;
    flex-basis: auto;
    padding-bottom: 12px;
  }
  .card-title { height: auto; min-height: 48px; padding: 10px 12px; }
  .password-form { padding: 12px; }
  .password-form h1 { font-size: 18px; line-height: 24px; margin-bottom: 8px; }
  .password-form p { font-size: 11px; line-height: 16px; margin-bottom: 16px; }
  .desktop-break { display: none; }
  .password-form input { height: 48px; margin-bottom: 24px; padding: 0 16px; font-size: 18px; }
  .site-footer {
    height: auto;
    min-height: 0;
    padding: 32px 24px 24px;
  }
  .footer-links,
  .affiliate-card,
  .footer-details {
    position: static;
    width: 100%;
    height: auto;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
  }
  .footer-links button {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
  }
  .footer-plus { top: 50%; right: 16px; transform: translateY(-50%); }
  .affiliate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px 0;
  }
  .affiliate-card h3 {
    width: auto;
    height: auto;
    text-align: center;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .footer-sponsors {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-around;
    gap: 30px;
  }
  .oficcial-sponsors {
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 8px;
    margin-top: 20px;
  }
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 6px;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 50%;
    margin: 60px auto 20px;
  }
  .footer-info {
    margin-top: 4em;
  }
  .footer-info .footer-title {
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 16px;
  }
  .footer-info .footer-text {
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }
  .footer-regulation {
    display: flex;
    justify-content: center;
    gap: 6px;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 50%;
    margin: 60px auto 20px;
  }
  .footer-info .footer-warnings {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    align-self: stretch;
  }
  .floating-helper { right: 10px; bottom: 14px; width: 90px; height: 90px; }
  .help-button { display: none; }
  .footer-version {
    height: 12px;
    min-height: 12px;
    padding-right: 8px;
    font: italic 500 8px/12px Montserrat, Arial, sans-serif;
    text-align: right;
  }
  .page-tail { height: 12px; min-height: 12px; }
}

@media (max-width: 662px) {
  .mobile-auth { display: block; }
  .mobile-auth button { display: block; width: 100%; margin-bottom: 8px; }
  .mobile-auth button:last-child { margin-bottom: 0; }
}

@media (min-width: 663px) and (max-width: 800px) {
  .mobile-auth { display: flex; }
}

@media (max-width: 768px) {
  .side-menu-close { display: none; }
}

@media (max-width: 430px) {
  .gaming-menu { padding: 50px 20px 20px; }
  .section-icon, .section-icon img { width: 40px; min-width: 40px; height: 40px; }
  .utility-links { width: 100%; }
}

@media (max-width: 340px) {
  .gaming-menu { padding: 50px 10px 20px; }
  .section-header { padding: 8px 4px; }
  .section-heading { gap: 10px; }
}

@media (max-width: 500px) {
  .site-footer { padding: 6px 36px; }
  .sponsors { padding: 0; }
}

/* Mobile geometry matched to the reference viewport. */
@media (max-width: 662px) {
  .site-header {
    height: 120px;
    min-height: 120px;
    padding: 8px 12px;
    grid-template-columns: 40px 1fr 120px;
    gap: 12px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    padding: 0 10px;
    left: 0;
    gap: 4px;
  }
  .menu-button span {
    width: 20px;
    height: 3px;
    flex-basis: 3px;
  }

  .brand img {
    width: 120px;
    height: auto;
    max-width: 100%;
  }

  .mobile-auth {
    width: 120px;
    display: block;
  }

  .mobile-auth button,
  .mobile-auth button:last-child {
    width: 120px;
    min-width: 120px;
    height: 35px;
    margin: 0 0 8px;
    padding: 1px 6px;
    font-size: 14px;
    line-height: 20px;
  }

  .mobile-auth button:last-child { margin-bottom: 0; }

  .main-content { padding: 12px; }

  .card-title {
    min-height: 42px;
    margin-bottom: 17px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 18px;
  }

  .password-form { padding: 15px 12px; }
  .password-form h1 {
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
  }
  .password-form p {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 13px;
  }
  .password-form input {
    height: 56px;
    margin-bottom: 32px;
    padding: 0 16px;
    font-size: 18px;
  }
  .password-form #confirm-password { margin-bottom: 10px; }
  .password-live-errors {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 16px;
  }
  .password-submit-status {
    min-height: 48px;
    margin-bottom: 15px;
    padding: 12px 14px;
    font-size: 11px;
    line-height: 16px;
  }
  .accept-button {
    width: 150px;
    height: 35px;
    margin: 0 auto;
    padding: 1px 6px;
    font-size: 14px;
    line-height: 20px;
  }

  .site-footer {
    padding: 30px 36px 24px;
  }
  .footer-links {
    gap: 8px;
    padding-bottom: 16px;
  }
  .footer-links button {
    min-height: 68px;
    padding: 12px 16px;
  }

  .footer-details {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 30px;
    padding: 0;
  }

  .payment-logos,
  .sponsors,
  .sponsors-title,
  .social-links,
  .legal-text,
  .regulation,
  .warnings,
  .footer-rule {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .payment-logos {
    min-height: 138px;
    padding: 8px 0;
    overflow: hidden;
    gap: 20px;
  }
  .payment-row {
    height: 35px;
    min-height: 35px;
    flex-basis: 35px;
  }
  .payment-row img {
    width: 65px;
    height: 35px;
    max-width: 65px;
    max-height: 35px;
    flex-basis: 65px;
  }
  .payment-row-top,
  .payment-row-bottom {
    gap: 24px;
    padding: 0 12px;
  }
  .footer-rule { display: none; }

  .sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 22px;
    padding: 0 32px;
  }
  .sponsors img {
    width: 60px;
    height: 60px;
    max-width: 60px;
    max-height: 60px;
    flex-basis: 60px;
  }
  .sponsors-title {
    margin: 40px 0 0;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 7px;
  }
  .social-links {
    margin: 60px auto 20px;
    width: 70%;
    height: auto;
    gap: 15px;
    flex-wrap: wrap;
  }
  .social-links img {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }
  .legal-text {
    height: auto;
    margin: 4em 0 0;
    font-size: 12px;
    line-height: normal;
  }
  .legal-text strong {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: normal;
  }
  .regulation { margin: 60px auto 20px; height: auto; }
  .regulation img { width: 180px; height: auto; }
  .warnings {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 33.263px;
    flex-shrink: 0;
    margin: 40px 0 0;
  }
}
