:root {
  --br-primary: #0a151e;
  --br-secondary: #0d1d29;
  --br-container: #0c131a;
  --br-active-container: #1c2c39;
  --br-surface: #293f51;
  --br-surface-muted: #293f5159;
  --br-surface-strong: #293f51ba;
  --br-button: #2d76c5;
  --br-button-hover: #3893f7;
  --br-selected: #2867aa;
  --br-positive: #24c5ae;
  --br-negative: #ff6b73;
  --br-text: #f2f2f7;
  --br-text-white: #ffffff;
  --br-text-muted: #ffffff80;
  --br-border-soft: #ffffff6e;
  --br-overlay-subtle: #ffffff0d;
  --br-button-gradient: linear-gradient(135deg, #2d76c5 0%, #3893f7 100%);
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --transition: 0.22s ease;
  --header-h: 3.75rem;
  --sticky-cta-h: 4.25rem;
  --content-max: 72rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--br-primary);
  color: var(--br-text);
  line-height: 1.5;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--sticky-cta-h) + var(--safe-bottom));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--br-button-hover);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--br-text-white);
}

strong {
  color: var(--br-text-white);
  font-weight: 700;
}

.gradient-text {
  background: var(--br-button-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--br-primary) url("../img/Website-Background.jpg") center center / cover no-repeat;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 21, 30, 0.72) 0%, rgba(10, 21, 30, 0.88) 45%, rgba(10, 21, 30, 0.94) 100%);
}

.page-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(45, 118, 197, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 65%, rgba(36, 197, 174, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(56, 147, 247, 0.12) 0%, transparent 65%);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: calc(0.5rem + var(--safe-top)) 1rem 0.5rem;
  background: rgba(13, 29, 41, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--br-overlay-subtle);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@media (min-width: 768px) {
  .site-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.site-header__logo {
  flex-shrink: 1;
  min-width: 0;
}

.site-header__logo img {
  height: clamp(1.5rem, 4.5vw, 2rem);
  width: auto;
  max-width: min(11rem, 52vw);
  object-fit: contain;
  object-position: left center;
}

.main {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

@media (min-width: 768px) {
  .main {
    padding: 2rem 1.5rem 3rem;
  }
}

.hero {
  text-align: center;
  padding: 0.5rem 0 2.5rem;
  animation: fade-up 0.6s ease both;
}

.hero__logo-wrap {
  margin-bottom: 1rem;
}

.hero__logo {
  height: clamp(1.75rem, 5vw, 2.5rem);
  width: auto;
  max-width: min(16rem, 72vw);
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.95;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--br-positive);
  margin-bottom: 0.625rem;
}

.hero__title {
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--br-text-white);
  margin-bottom: 0.875rem;
  padding: 0 0.25rem;
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 2.4vw, 1.125rem);
  color: var(--br-text-muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  padding: 0 0.25rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

@media (min-width: 540px) {
  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: rgba(28, 44, 57, 0.75);
  border: 1px solid var(--br-overlay-subtle);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}

.hero-stat--casino {
  border-color: rgba(45, 118, 197, 0.35);
}

.hero-stat--sport {
  border-color: rgba(36, 197, 174, 0.3);
}

.hero-stat__thumb {
  position: relative;
  aspect-ratio: 1080 / 950;
  overflow: hidden;
}

.hero-stat__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-stat__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 21, 30, 0.9) 100%);
}

.hero-stat__thumb--sport::after {
  background: linear-gradient(180deg, transparent 55%, rgba(10, 21, 30, 0.88) 100%);
}

.hero-stat__body {
  padding: 0.875rem 1rem 1rem;
}

.hero-stat__value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  color: var(--br-text-white);
  margin-bottom: 0.25rem;
}

.hero-stat--casino .hero-stat__value {
  background: var(--br-button-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat--sport .hero-stat__value {
  color: var(--br-positive);
}

.hero-stat__detail {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--br-text-white);
  margin-bottom: 0.2rem;
}

.hero-stat__label {
  display: block;
  font-size: 0.75rem;
  color: var(--br-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--br-text-white);
  background: var(--br-button-gradient);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 4px 20px rgba(45, 118, 197, 0.35);
  -webkit-appearance: none;
  appearance: none;
}

.cta-btn:hover {
  color: var(--br-text-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(56, 147, 247, 0.45);
  filter: brightness(1.05);
}

.cta-btn:focus-visible {
  outline: 2px solid var(--br-button-hover);
  outline-offset: 3px;
}

.cta-btn--sm {
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.cta-btn--lg {
  min-height: 3rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.cta-btn--xl {
  min-height: 3.25rem;
  padding: 0.875rem 2.5rem;
  font-size: 1.0625rem;
}

.cta-btn--block {
  width: 100%;
  min-height: 3rem;
}

.bento {
  padding: 0.5rem 0 2rem;
  animation: fade-up 0.6s ease 0.12s both;
}

.bento__title {
  font-size: clamp(1.375rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--br-text-white);
  text-align: center;
  margin-bottom: 0.5rem;
}

.bento__subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: var(--br-text-muted);
  margin-bottom: 1.5rem;
}

.bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .bento__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }

  .bonus-card--featured {
    grid-column: span 3;
    grid-row: span 1;
  }

  .bonus-card:not(.bonus-card--featured) {
    grid-column: span 2;
  }
}

.bonus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: rgba(28, 44, 57, 0.65);
  border: 1px solid var(--br-overlay-subtle);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-height: 0;
}

.bonus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(45, 118, 197, 0.4);
}

.bonus-card--featured {
  border-color: rgba(45, 118, 197, 0.25);
}

.bonus-card--featured:hover {
  border-color: rgba(56, 147, 247, 0.5);
}

.bonus-card__media {
  position: relative;
  aspect-ratio: 1080 / 950;
  overflow: hidden;
  flex-shrink: 0;
}

.bonus-card__media--compact {
  aspect-ratio: 1080 / 950;
}

.bonus-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.bonus-card:hover .bonus-card__media img {
  transform: scale(1.04);
}

.bonus-card__media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 21, 30, 0.05) 0%, rgba(10, 21, 30, 0.55) 55%, rgba(10, 21, 30, 0.92) 100%);
  pointer-events: none;
}

.bonus-card--featured .bonus-card__media-fade {
  background: linear-gradient(180deg, transparent 55%, rgba(10, 21, 30, 0.82) 100%);
}

.bonus-card__media--sport-welcome .bonus-card__media-fade {
  background: linear-gradient(180deg, transparent 62%, rgba(10, 21, 30, 0.55) 100%);
}

.bonus-card__media--sport-welcome::after {
  display: none;
}

.bonus-card__media--sport-welcome img {
  object-fit: cover;
  object-position: center center;
}

.bonus-card__media--mesh {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0.875rem;
  aspect-ratio: 16 / 9;
}

.bonus-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.625rem;
  border-radius: 999px;
  color: var(--br-text-white);
  background: var(--br-button-gradient);
  box-shadow: 0 2px 12px rgba(45, 118, 197, 0.45);
}

.bonus-card__stat-chip {
  position: relative;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.625rem;
  border-radius: 999px;
  color: var(--br-text-white);
  background: rgba(10, 21, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.bonus-card__media--compact .bonus-card__stat-chip {
  position: absolute;
  bottom: 0.625rem;
  left: 0.625rem;
}

.bonus-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1rem;
  flex: 1;
}

.bonus-card--featured .bonus-card__content {
  padding: 1.125rem 1rem 1.25rem;
}

.bonus-card__pill {
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--br-overlay-subtle);
  color: var(--br-text-muted);
}

.bonus-card--casino .bonus-card__pill {
  color: var(--br-button-hover);
  background: rgba(45, 118, 197, 0.18);
}

.bonus-card--sport .bonus-card__pill {
  color: var(--br-button);
  background: rgba(45, 118, 197, 0.14);
}

.bonus-card--referral .bonus-card__pill {
  color: #9ec5ff;
  background: rgba(126, 184, 255, 0.14);
}

.bonus-card__mega-stat {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  background: var(--br-button-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.125rem 0;
}

.bonus-card__mega-stat--teal {
  background: none;
  -webkit-text-fill-color: var(--br-positive);
  color: var(--br-positive);
}

.bonus-card__headline {
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  font-weight: 700;
  color: var(--br-text-white);
  line-height: 1.25;
}

.bonus-card--featured .bonus-card__headline {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
}

.bonus-card__summary {
  font-size: 0.8125rem;
  color: var(--br-text-muted);
  line-height: 1.45;
  margin-top: auto;
}

.trust {
  padding: 1.25rem 0 2rem;
  animation: fade-up 0.6s ease 0.2s both;
}

.trust__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(28, 44, 57, 0.72);
  border: 1px solid var(--br-overlay-subtle);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .trust__list {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--br-text);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .trust__item {
    flex: 1;
    font-size: 0.875rem;
  }
}

.trust__item svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--br-positive);
}

.footer-cta {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(28, 44, 57, 0.78);
  border: 1px solid rgba(45, 118, 197, 0.25);
  overflow: hidden;
  animation: fade-up 0.6s ease 0.28s both;
}

.footer-cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(45, 118, 197, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta__title {
  position: relative;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 900;
  color: var(--br-text-white);
  margin-bottom: 0.5rem;
}

.footer-cta__text {
  position: relative;
  font-size: 0.875rem;
  color: var(--br-text-muted);
  margin-bottom: 1.25rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta .cta-btn {
  position: relative;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 0 1rem calc(1.5rem + var(--safe-bottom));
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 2rem;
  }
}

.site-footer__legal {
  font-size: 0.6875rem;
  color: var(--br-text-muted);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .site-footer__legal {
    font-size: 0.75rem;
  }
}

.site-footer__legal a {
  color: var(--br-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__legal a:hover {
  color: var(--br-text-white);
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.625rem 1rem;
  padding-bottom: calc(0.625rem + var(--safe-bottom));
  background: rgba(13, 29, 41, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--br-overlay-subtle);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .bento,
  .trust,
  .footer-cta {
    animation: none;
  }

  .bonus-card:hover,
  .bonus-card:hover .bonus-card__media img,
  .cta-btn:hover {
    transform: none;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header,
  .sticky-cta,
  .hero-stat,
  .bonus-card,
  .trust__list,
  .footer-cta {
    background: rgba(13, 29, 41, 0.96);
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    padding-bottom: 1.5rem;
  }

  .hero__logo-wrap {
    display: none;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }

  .hero-stat__thumb {
    aspect-ratio: 16 / 8;
  }
}
