.input-error {
  border-color: #f44336 !important;
}

@keyframes pulse-error {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.error-pulse {
  animation: pulse-error 0.5s ease-in-out infinite;
  border-radius: 4px;
}

:root {
  --bg-main: #131516;
  --bg-footer: #202223;
  --txt: #fff;
  --muted: #d3d3d3;
  --accent: #f8c51b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg-main);
  color: var(--txt);
  font-family: "Red Hat Display", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  gap: 0;
  align-items: stretch;
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #1a1d20;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: flex-start;
  z-index: 20;
}

.sidebar-mobile-header {
  display: none;
}

.sidebar-close {
  display: none;
}

.sidebar-top-strip {
  display: none;
}

.igaming-logo {
  width: 82px;
  height: auto;
}

.sidebar-inner {
  padding: 24px 24px 0;
}

.brand-wordmark {
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.brand--side .brand-wordmark {
  font-size: 38px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
}

.brand--center .brand-wordmark {
  font-size: 54px;
}

/* SVG logos: mobile header, footer, sidebar */
.brand-logo-img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.sidebar-inner .brand--side .brand-logo-img--sidebar {
  width: auto;
  max-width: 168px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.mobile-header .brand-logo-img {
  height: auto;
  max-height: min(40px, 11vw);
  width: auto;
  max-width: min(220px, 58vw);
  object-fit: contain;
}

.footer .brand--center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer .brand--center .brand-logo-img {
  height: auto;
  width: auto;
  max-width: min(92vw, 400px);
  max-height: 100px;
  margin-left: auto;
  margin-right: auto;
}

.auth-buttons {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  height: 44px;
}

.btn-signup {
  background: #f8c51b;
  color: #202223;
}

.btn-login {
  border: 1px solid #d3d3d3;
}

.side-nav {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.side-nav a {
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.menu-ico {
  width: 20px;
  height: 20px;
  stroke: #fff;
  opacity: 0.8;
}

.side-nav a:hover .menu-ico {
  opacity: 1;
}

.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #2a2c2d;
  padding: 16px 24px;
  color: #e9e9e9;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-chat-status {
  display: flex;
  align-items: center;
}

.content-wrap {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 1024px) {
  .page {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }

  .sidebar {
    width: auto;
    grid-column: 1;
    grid-row: 1 / -1;
    box-shadow: 2px 0 0 0 #1a1d20;
  }

  .content-wrap {
    grid-column: 2;
    flex: unset;
    width: auto;
    min-width: 0;
  }
}

.mobile-header,
.top-header {
  display: none;

}

.top-license-strip {
  background: var(--bg-main);
  border-bottom: 1px solid #2a2c2d;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.igaming-logo-top {
  height: 35px;
  color:white
}

.license-text {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.footer-area {
  background: var(--bg-footer);
  border-top: 1px solid #2a2c2d;
  display: flex;
  justify-content: center;
}

.hero {
  background: var(--bg-main) url('assets/newWelcomeOffer.png') center/cover no-repeat;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  border-radius: 0;
}

.hero-overlay-box {
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 24px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

@media (max-width: 1023px) {
  .hero-overlay-box {
     padding: 16px 20px;
     grid-template-columns: 1fr;
     text-align: center;
  }
}

.hero-overlay-box h3 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: #f8c51b;
  font-size: 20px;
}

.hero-overlay-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #eee;
}

.hero-overlay-box p a {
  color: #f8c51b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-hero {
  background: #f8c51b;
  color: #111;
  padding: 0 48px;
  height: 48px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  border: none;
  box-sizing: border-box;
}

.hero-btn-wrap span {
  font-size: 11px;
  opacity: 0.8;
}

.search-area {
  position: relative;
  padding: 40px 24px 300px;
}

.search-container {
  max-width: 480px;
  margin: 0;
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-input-wrap input {
  width: 100%;
  height: 44px;
  background: transparent;
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  padding: 0 40px 0 16px;
  font-size: 15px;
}

.search-ico {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.search-empty-state {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 98px;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding-top: 40px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.search-empty-state.show {
  opacity: 1;
  visibility: visible;
}

.search-empty-state h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
}

.search-empty-state p {
  margin: 0;
  font-size: 18px;
  color: #c9c9c9;
}

.footer {
  width: min(980px, 100%);
  text-align: center;
  padding: 34px 24px 46px;
}

.footer-nav {
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
}

.social {
  list-style: none;
  margin: 18px 0 18px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--accent);
}

.social a {
  text-decoration: none;
  color: var(--accent);
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
}

.social img,
.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.legal {
  max-width: 1230px;
  margin: 0 auto;
  color: #fff;
}

.legal p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.35;
}

.legal a {
  text-decoration: underline;
}

.payments {
  margin-top: 18px;
}

.payments strong {
  font-size: 14px;
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

.payment-logos {
  margin-top: 4px;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  font-weight: 800;
}

.payment-logos span:nth-child(1) { font-size: 50px; }
.visa-word { font-size: 26px; font-style: italic; letter-spacing: -0.02em; }
.mc-ico {
  width: 30px;
  height: 18px;
  position: relative;
  display: inline-block;
}
.mc-ico::before,
.mc-ico::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.mc-ico::before {
  left: 0;
  background: #fff;
  opacity: 0.95;
}
.mc-ico::after {
  right: 0;
  background: #dbdbdb;
  opacity: 0.9;
}
.interac-ico {
  font-size: 8px;
  border: 1px solid #fff;
  padding: 3px 5px;
  border-radius: 2px;
  line-height: 1;
  text-transform: lowercase;
}

.regs {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.regs img {
  height: 22px;
  width: auto;
}

.ontario-only {
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.rg-circle {
  width: 22px;
  height: 22px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 10px;
}

.rg-check {
  background: #2a2c2d;
  color: #fff;
  padding: 2px 4px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  font-weight: 800;
  font-size: 7px;
  position: relative;
  width: 24px;
  height: 22px;
  justify-content: center;
}

.rg-check .rg-sub-text {
  font-size: 5px;
  font-weight: 800;
}

.rg-check .rg-text {
  font-size: 9px;
  font-weight: 800;
  margin-bottom: -1px;
}

.rg-check .check-mark {
  position: absolute;
  right: -3px;
  top: -3px;
  line-height: 1;
  color: #fff;
  background: #d8c99a;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  display: grid;
  place-items: center;
  font-size: 8px;
}

.bottom-fill {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1023px) {
  .sidebar {
    display: none;
  }

  .top-license-strip {
    height: 32px;
    padding: 0 12px;
  }

  .license-text {
    font-size: 10px;
  }

  .mobile-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 64px;
    background: #111;
    padding: 0 12px;
    border-bottom: 2px solid #2a2c2d;
    margin-bottom: 24px;
  }

  .mobile-header .brand {
    grid-column: 2;
    justify-self: center;
  }

  .promo-page-content {
    padding-top: 24px !important;
    padding-bottom: 40px !important;
  }

  .search-area {
    padding-top: 24px !important;
    padding-bottom: 60px !important;
  }

  .hero {
    margin-top: 20px;
  }

  .leaderboard-hero {

    margin-top: 24px;
  }

  .ranking-container {
    margin-bottom: 40px;
  }

  .promotions-hero {
    margin-top: 20px;
  }

  .promotions-wrapper {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }



  .mobile-header .header-btns {
    display: none;
  }

  .sidebar {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -260px;
    z-index: 1001;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
  }

  .sidebar-active .sidebar {
    left: 0;
  }

  .sidebar-active::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
    z-index: 1000;
  }

  .sidebar-close {
    display: flex;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    background: #2a2c2d;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
  }

  .sidebar-inner {
    padding-top: 50px;
  }

  .mobile-header .brand-logo-img {
    height: auto;
    max-height: min(40px, 11vw);
    width: auto;
    max-width: min(220px, 58vw);
    object-fit: contain;
  }

  .top-actions {
    display: flex;
    grid-column: 2 / 3;
    grid-row: 2;
    justify-content: flex-end;
    margin-left: 0;
  }

  .top-actions .btn {
    height: 40px;
    font-size: 12px;
    padding: 0 20px;
    border-radius: 6px;
  }

  .footer {
    padding: 28px 14px 80px;
  }

  .header-nav {
    display: none;
  }

  .top-left-brand .brand-wordmark {
    font-size: 20px;
  }

  .hero {
    aspect-ratio: 16 / 9;
    background-position: top center;
  }

  .hero-overlay-box {
    margin: 0;
    width: 100%;
  }

  .search-area {
    padding: 24px 16px 150px;
  }

  .search-container {
    max-width: 100%;
  }

  .search-empty-state {
    left: 16px;
    right: 16px;
    top: 78px;
    min-height: 180px;
    padding-top: 28px;
  }

  .search-empty-state h2 {
    font-size: 22px;
  }

  .search-empty-state p {
    font-size: 16px;
  }

  .legal p {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .social {
    margin: 18px 0 16px;
  }

  .social a {
    width: 30px;
    height: 30px;
  }

  .social img,
  .social svg {
    width: 22px;
    height: 22px;
  }

  .payments strong {
    font-size: 16px;
  }

  .visa-word { font-size: 48px; }
  .mc-ico {
    width: 42px;
    height: 26px;
  }
  .mc-ico::before,
  .mc-ico::after {
    width: 22px;
    height: 22px;
  }
  .interac-ico {
    font-size: 12px;
    padding: 5px 6px;
  }

  .regs {
    margin-top: 16px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .regs img {
    height: 22px;
  }

  .ontario-only {
    font-size: 15px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: #1c1f23;
    border-top: 1px solid #2a2c2d;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    text-align: center;
  }

  .mob-ico {
    margin-top: 8px;
    margin-bottom: 4px;
    color: #fff;
    opacity: 0.8;
    width: 20px;
    height: 20px;
  }

  .mobile-bottom-nav a {
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
  }

  .mobile-bottom-nav a:hover .mob-ico {
    opacity: 1;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  background: #1a1d1f;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.9);
}

.modal-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2a2c2d;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex: 1;
  text-align: center;
}

.modal-close, .modal-back {
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 10px;
}

.modal-close:hover, .modal-back:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-track {
  background: #111;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

.step-indicator {
  display: flex;
  gap: 8px;
  padding: 0 30px 20px;
}

.step-tab {
  height: 4px;
  flex: 1;
  background: #3a3c3d;
  border-radius: 2px;
}

.step-tab.completed { background: #4caf50; }
.step-tab.active { background: #f8c51b; }

.form-group {
  margin-bottom: 20px;
}

.input-row {
  display: flex;
  gap: 12px;
}

.input-row .form-group { flex: 1; }

.cta-input-wrap {
  position: relative;
}

.cta-input {
  width: 100%;
  height: 52px;
  background: #2a2c2d;
  border: 1px solid #3a3c3d;
  border-radius: 6px;
  padding: 0 40px 0 16px;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.cta-input:focus {
  outline: none;
  border-color: #f8c51b;
}

.cta-input.valid { border-color: #4caf50; }
.cta-input.error { border-color: #f44336; }

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.valid + .input-icon.valid-ico { display: block; color: #4caf50; }
.error + .input-icon.error-ico { display: block; color: #f44336; }

.gender-select {
  display: flex;
  gap: 24px;
  margin: 10px 0 20px;
}

.gender-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
}

.gender-label input { display: none; }

.radio-dot {
  width: 20px;
  height: 20px;
  border: 2px solid #3a3c3d;
  border-radius: 50%;
  position: relative;
}

.gender-label input:checked + .radio-dot {
  border-color: #f8c51b;
}

.gender-label input:checked + .radio-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #f8c51b;
  border-radius: 50%;
}

.dob-hint {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.custom-select {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
}

.error-text {
  color: #f44336;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.cta-input.error ~ .error-text { display: block; }

.checkbox-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.checkbox-label {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: #ccc;
  cursor: pointer;
}

.checkbox-label b { color: #f8c51b; }

.check-box {
  width: 18px;
  height: 18px;
  border: 2px solid #3a3c3d;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-group input { display: none; }

.checkbox-group input:checked + .check-box {
  background: #f8c51b;
  border-color: #f8c51b;
}

.checkbox-group input:checked + .check-box::after {
  content: '✓';
  color: #111;
  font-weight: 900;
  font-size: 12px;
}

.nested-box {
  background: #2a2c2d;
  padding: 16px;
  border-radius: 6px;
  margin-top: 10px;
}

.btn-continue {
  width: 100%;
  height: 52px;
  background: #f8c51b;
  color: #111;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  text-transform: uppercase;
}

.play-responsibly-modal {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 20px;
  display: block;
}

.prefix-input-wrap {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.pw-requirements {
  background: #2a2c2d;
  padding: 16px;
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.pw-requirements.hidden {
  display: none;
}

.additional-info-section {
  display: none;
}
.additional-info-section.active {
  display: block;
}

.pep-sub-fields {
  display: none;
  margin-top: 15px;
  padding-left: 10px;
  border-left: 2px solid #f8c51b;
}
.pep-sub-fields.active {
  display: block;
}

.dob-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}
.pw-requirements strong {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 8px;
}
.pw-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pw-requirements li {
  font-size: 13px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.pw-requirements li::before {
  content: '●';
  font-size: 8px;
  color: #fff;
}

/* —— Login modal —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-modal-container {
  max-width: 440px;
  background: #212121;
}

.login-modal-body {
  padding: 28px 32px 36px;
}

.login-subtitle {
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 28px;
  line-height: 1.4;
}

.login-input-email {
  border: 2px solid #f8c51b !important;
  background: #2a2c2d;
}

.login-input-email:focus {
  outline: none;
  border-color: #f8c51b !important;
  box-shadow: 0 0 0 1px rgba(248, 197, 27, 0.25);
}

.login-input-password {
  border: 2px solid #4caf50 !important;
  background: #2a2c2d;
  padding-right: 48px;
}

.login-input-password:focus {
  outline: none;
  border-color: #4caf50 !important;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.25);
}

.login-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.login-password-toggle:hover {
  opacity: 1;
}

.login-eligible-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 4px 0 24px;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.login-eligible-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.login-checkbox-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #fff;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}

.login-eligible-label input:checked + .login-checkbox-box {
  background: #f8c51b;
  border-color: #f8c51b;
}

.login-eligible-label input:checked + .login-checkbox-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.login-eligible-text {
  flex: 1;
}

.login-eligible-highlight {
  color: #f8c51b;
  font-weight: 700;
}

.login-info-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  border: 1px solid #fff;
  font-size: 11px;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 1px;
  flex-shrink: 0;
  opacity: 0.95;
}

.btn-login-submit {
  width: 100%;
  height: 52px;
  background: #f8c51b;
  color: #111;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.02em;
  transition: filter 0.15s;
}

.btn-login-submit:hover {
  filter: brightness(1.05);
}

.login-footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.login-footer-links a {
  color: #f8c51b;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.login-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .login-modal-body {
    padding: 22px 20px 32px;
  }
}

.lobby-nav-banner {
  /* Solid base under image; inline backgrounds on index must use same pattern so hero art cannot bleed through */
  background: var(--bg-main) url('assets/lobby_nav_bg.png') center/cover no-repeat;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-self: stretch;
}
.lobby-nav-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.lobby-nav-item {
  background: #1c1d1f;
  border-radius: 12px;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 240px;
  flex: 1;
  position: relative;
  cursor: pointer;
  border: 1px solid #333;
  transition: all 0.2s;
  overflow: visible; /* Required for dropdown to show outside */
}
.lobby-nav-item:hover {
  background: #25282c;
  border-color: #555;
}
.lobby-nav-item > span {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  z-index: 2;
  flex-grow: 1;
}
.nav-img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100px;
  border-radius: 0 12px 12px 0;
  z-index: 1;
  opacity: 0.8;
  mask-image: linear-gradient(to right, transparent, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
}
.live-casino-img { background: linear-gradient(to right, transparent, #831d2d); }
.casino-img { background: linear-gradient(to right, transparent, #288062); }
.more-games-img { background: linear-gradient(to right, transparent, #b8860b); }
.providers-img { background: linear-gradient(to right, transparent, #83604f); }

.dropdown-chevron {
  z-index: 2;
  margin-left: 10px;
  transition: transform 0.3s;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #1c1d1f;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 10px 0;
  display: none;
  flex-direction: column;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.lobby-nav-item.has-dropdown:hover .nav-dropdown-menu {
  display: flex;
}
.lobby-nav-item.has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu a {
  color: #ddd;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover {
  background: #2a2c2d;
  color: #fff;
}

.popular-games-section-wrap {
  width: 100%;
  max-width: 1200px;
  margin-top: 50px;
}
.popular-games-header {
  margin-bottom: 20px;
}
.popular-games-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg-accent {
  color: #f8c51b;
  font-weight: 800;
}
.pg-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}
.pg-carousel-track::-webkit-scrollbar {
  display: none;
}
.pg-carousel-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  flex-grow: 1;
}
.pg-card {
  flex: 0 0 calc(20% - 12px);
  scroll-snap-align: start;
  background: #25282c;
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  position: relative;
  aspect-ratio: 1;
}
.pg-card:hover {
  transform: translateY(-5px);
}
.pg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pg-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pg-title {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 1px 1px rgba(0,0,0,1);
  text-transform: uppercase;
}
.pg-prov {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.pg-nav-right {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  background: rgba(0,0,0,0.8);
  border-radius: 50%;
  transition: transform 0.2s;
  pointer-events: auto;
}
.pg-nav-right:hover {
  transform: translateY(-50%) scale(1.1);
}

.pg-nav-left {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  background: rgba(0,0,0,0.8);
  border-radius: 50%;
  transition: transform 0.2s;
  pointer-events: auto;
}
.pg-nav-left:hover {
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1250px) {
  .pg-nav-right { right: 0; background: rgba(0,0,0,0.9); }
  .pg-nav-left { left: 0; background: rgba(0,0,0,0.9); }
}

@media (max-width: 1024px) {
  .pg-card { flex: 0 0 calc(25% - 11.25px); }
  .pg-nav-right, .pg-nav-left { display: none; }
}
@media (max-width: 768px) {
  .pg-card { flex: 0 0 calc(33.333% - 10px); }
}
@media (max-width: 480px) {
  .pg-card { flex: 0 0 calc(50% - 7.5px); }
}

.arrow-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Provider Carousel specific styles */
.prov-card {
  aspect-ratio: auto !important;
  height: 210px !important;
  display: flex !important;
  flex-direction: column;
  background: #25282c !important;
  padding: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
}
.prov-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prov-img {
  max-width: 190%;
  max-height: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  clip-path: inset(0 0 0 50%);
  transform: translateX(-25%);
  transition: opacity 0.3s, transform 0.3s;
}

.prov-card:hover .prov-img {
  opacity: 1;
  transform: translateX(-25%) scale(1.05);
}

.prov-info {
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.prov-card .pg-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.prov-card .pg-prov {
  font-size: 12px;
  color: #aaa;
  font-weight: 400;
  text-transform: none;
}
/* Section Title Arrow Clickable */
.popular-games-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  line-height: 1;
}
.popular-games-title a {
  display: flex;
  align-items: center;
}
.popular-games-title svg {
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  padding: 4px;
  width: 24px !important;
  height: 24px !important;
  stroke-width: 3px !important;
  opacity: 1 !important;
}
.popular-games-title svg:hover {
  transform: translateX(3px);
  color: #f8c51b;
}

/* Card Register Button on Hover */
.pg-card {
  position: relative;
  overflow: hidden;
}
.pg-card-register-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  pointer-events: none;
}
.pg-card:hover .pg-card-register-overlay {
  opacity: 1;
  pointer-events: auto;
}
.btn-card-register {
  background: #f8c51b;
  color: #000;
  border: none;
  display: block;
  width: 150px;
  padding: 12px 0;
  border-radius: 25px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(248, 197, 27, 0.4);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.pg-card:hover .btn-card-register {
  transform: translateY(0);
}
.btn-card-register:hover {
  background: #fff;
  transform: scale(1.05) !important;
}

.btn-card-login {
  background: rgba(42, 44, 45, 0.9);
  color: #fff;
  border: 2px solid #f8c51b;
  display: block;
  width: 150px;
  padding: 10px 0;
  border-radius: 25px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(15px);
  transition: transform 0.3s ease, background 0.2s, border-color 0.2s;
}
.pg-card:hover .btn-card-login {
  transform: translateY(0);
}
.btn-card-login:hover {
  background: #f8c51b;
  color: #111;
}

/* For Provider Cards */
.prov-card .pg-card-register-overlay {
  border-radius: 20px;
}

/* Live Chat Button */
.live-chat-status {
  cursor: pointer;
  transition: opacity 0.2s;
}
.live-chat-status:hover {
  opacity: 0.8;
}

/* Chat Modal Styles */
.chat-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 30px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  pointer-events: none;
}
.chat-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.chat-window {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  position: relative;
  box-shadow: 0 10px 50px rgba(0,0,0,0.25);
  transform: translateY(30px);
  transition: 0.3s ease;
  pointer-events: auto;
}
.chat-modal-overlay.active .chat-window {
  transform: translateY(0);
}
.chat-close {
  position: absolute;
  top: 15px; right: 15px;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-logo {
  display: block;
  width: 180px;
  margin: 0 auto 30px;
}
.chat-window h2 {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: left;
}
.chat-field {
  margin-bottom: 25px;
  position: relative;
}
.chat-field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  font-size: 16px;
  color: #333;
  outline: none;
  font-family: inherit;
  background: transparent;
}
.chat-field input:focus {
  border-bottom-color: #000;
}
.chat-actions-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.chat-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.chat-notif-circle {
  width: 48px;
  height: 48px;
  background: #2a2c2d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.chat-notif-circle svg {
  width: 20px;
  height: 20px;
}
.chat-notif-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: #fff;
  color: #2a2c2d;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #ddd;
}
.chat-send-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chat-tooltip {
  background: #444;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  position: absolute;
  top: -42px;
  right: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.chat-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 25px;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #444 transparent transparent transparent;
}
.chat-send-btn {
  width: 64px;
  height: 64px;
  background: #2a2c2d;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.chat-send-btn svg.paper-plane-filled {
  width: 32px;
  height: 32px;
  color: #fff;
  transform: rotate(0) translate(2px, 0);
}
.chat-send-btn:hover {
  transform: scale(1.05);
  background: #111;
}
.chat-ontario-footer {
  text-align: right;
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  width: 100%;
}

/* Promotion Image Fixes */
.promo-header-img {
  height: 250px !important;
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
}

.promo-card img.banner {
  height: 180px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.promo-container {
  overflow: hidden;
}

.footer-area {
  margin-top: 100px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
}
