/* Mesh Gradient Dark Blue Clean — sbobetdesk.com product site */

:root {
  --navy-950: #070B16;
  --navy-900: #0B1220;
  --navy-800: #121A2E;
  --mesh-a: #0A1628;
  --mesh-b: #123056;
  --mesh-c: #1A4A7A;
  --mesh-d: #0E2438;
  --ice: #7EB6FF;
  --ice-deep: #3D8BFF;
  --text: #F2F6FC;
  --text-dim: #A8B4C8;
  --line: #243044;
  --glass: rgba(11, 18, 32, 0.72);
  --rg: #8BA3C7;
  --font: "Inter Tight", Inter, system-ui, sans-serif;
  --header-h: 68px;
  --radius: 10px;
  --shell-r: 18px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ice);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--navy-800);
  color: var(--text);
  padding: 8px 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(126, 182, 255, 0.18);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 1200px) {
  .header-inner {
    padding: 0 48px;
  }
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.wordmark {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.host {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .wordmark { font-size: 20px; }
  .host { font-size: 11px; }
}

@media (min-width: 1200px) {
  .wordmark { font-size: 22px; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--navy-900);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px;
  gap: 0;
}

.site-nav a {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 44px;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a[aria-current="page"] {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    gap: 20px;
    align-items: center;
  }
  .site-nav a {
    font-size: 13px;
    line-height: 68px;
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  .site-nav {
    gap: 28px;
  }
  .site-nav a {
    font-size: 14px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--ice-deep);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
  box-shadow: inset 0 0 0 1px #7EB6FF;
}

.btn:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  height: 44px;
  min-height: 44px;
}

.btn-ghost:hover {
  filter: none;
  border-color: var(--ice);
  box-shadow: none;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-row .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .cta-row {
    flex-direction: row;
    gap: 12px;
  }
  .cta-row .btn {
    flex: 1;
  }
}

@media (min-width: 1440px) {
  .cta-row .btn {
    max-width: 200px;
    flex: 1 1 0;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.hero-visual {
  width: 100%;
  height: 58vw;
  min-height: 180px;
  max-height: 320px;
  padding: 16px 16px 0;
}

.hero-shell {
  height: 100%;
  border-radius: var(--shell-r);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 20% 30%, var(--mesh-c) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 80% 20%, var(--mesh-b) 0%, transparent 50%),
    radial-gradient(ellipse 40% 45% at 70% 80%, var(--mesh-a) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 15% 85%, var(--mesh-d) 0%, transparent 50%),
    linear-gradient(160deg, #0A1628, #0B1220 40%, #123056);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  0% { filter: hue-rotate(0deg); background-position: 0% 0%; }
  100% { filter: hue-rotate(8deg); }
}

.hero-shell svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero-copy {
  padding: 24px 20px 32px;
  max-width: 1200px;
}

.hero h1,
.page-hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}

.lede {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dim);
  margin: 0 0 20px;
  max-width: 36em;
}

@media (min-width: 768px) {
  .hero-visual {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    padding: 24px 24px 0;
  }
  .hero-copy {
    padding: 28px 24px 40px;
  }
  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }
  .lede {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .hero {
    flex-direction: row;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    max-width: none;
    padding: 48px 48px;
    gap: 40px;
  }
  .hero-copy {
    flex: 0 0 50%;
    max-width: 560px;
    margin-left: auto;
    padding: 0 24px 0 0;
    order: 0;
  }
  .hero-visual {
    flex: 0 0 50%;
    max-width: 600px;
    height: min(520px, 62vh);
    aspect-ratio: auto;
    padding: 0;
    order: 1;
    margin-right: auto;
  }
  .hero h1 {
    font-size: 56px;
  }
  .lede {
    font-size: 18px;
  }
}

@media (min-width: 1440px) {
  .hero h1 { font-size: 64px; }
}

.page-hero {
  padding: 32px 20px 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero .lede {
  margin-bottom: 16px;
}

.page-bar {
  height: 120px;
  margin: 0 16px 8px;
  border-radius: var(--shell-r);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 30% 40%, var(--mesh-c) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 80% 70%, var(--mesh-b) 0%, transparent 50%),
    linear-gradient(120deg, var(--mesh-a), var(--navy-900));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .page-bar { height: 160px; margin: 0 24px; }
  .page-hero { padding: 40px 24px 12px; }
}

@media (min-width: 1200px) {
  .page-bar { max-width: 1200px; margin: 0 auto; }
  .page-hero { padding: 48px 48px 16px; }
}

/* Sections */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

@media (min-width: 768px) {
  .wrap { padding: 0 24px 56px; }
}

@media (min-width: 1200px) {
  .wrap { padding: 0 48px 72px; }
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 12px;
}

@media (min-width: 768px) {
  .section-label { font-size: 13px; }
}

/* Fixture strip */
.fixture {
  margin: 8px 0 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--navy-800);
  overflow: hidden;
}

.fixture-cols {
  display: grid;
  grid-template-columns: 1fr;
}

.fixture-col {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.fixture-col:last-child {
  border-bottom: 0;
}

.fixture-col dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 0 0 8px;
}

.fixture-col dd {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

@media (min-width: 768px) {
  .fixture-cols {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .fixture-col {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .fixture-col:last-child {
    border-right: 0;
  }
}

/* Product cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 40px;
}

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

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  flex: 1;
}

.prose h2 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.prose p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 16px;
}

.prose p strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul {
  color: var(--text-dim);
  line-height: 1.6;
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 8px;
}

.outbound {
  font-size: 13px;
  color: var(--text-dim);
  margin: 8px 0 32px;
}

.outbound a {
  color: var(--text-dim);
  text-decoration: underline;
}

/* Payments / RG */
.strip {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  color: var(--text-dim);
  font-size: 14px;
}

.pay-names {
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.rg-strip {
  color: var(--rg);
}

.rg-strip a {
  color: var(--rg);
}

.award {
  font-size: 14px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 32px;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 40px 20px 32px;
  color: var(--text-dim);
  font-size: 12px;
}

@media (min-width: 768px) {
  .site-footer {
    font-size: 13px;
    padding: 48px 24px 40px;
  }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-ia {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .footer-ia {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .footer-ia {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-ia h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 10px;
}

.footer-ia ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-ia a {
  color: var(--text-dim);
  line-height: 2;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-meta a {
  color: var(--text-dim);
}

.footer-host {
  margin-top: 16px;
  color: var(--text-dim);
}

/* 404 */
.notfound {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 20px;
  max-width: 640px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shell { animation: none; }
  .btn:active { transform: none; }
}

body.nav-open {
  overflow: hidden;
}
