:root {
  --primary: #0088cc;
  --primary-dark: #006fa8;
  --secondary: #2c3e50;
  --secondary-deep: #203044;
  --text: #ffffff;
  --body: #f2f2f2;
  --panel: #ffffff;
  --line: #c7c8ca;
  --muted: #6b7280;
  --blue-odd: #67b7e8;
  --pink-odd: #f3a0ba;
  --success: #23a649;
  --warning: #fdcf13;
  --dark: #111827;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: var(--dark);
  background:
    linear-gradient(180deg, rgba(0, 136, 204, 0.09), transparent 360px),
    var(--body);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 10px clamp(14px, 3vw, 34px);
  background: var(--primary);
  color: #fff;
}

.brand img {
  width: 270px;
  height: auto;
}

.quick-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-weight: 900;
  text-transform: uppercase;
}

.quick-links a {
  opacity: 0.94;
}

.quick-links a:hover {
  opacity: 1;
  color: #e8f7ff;
}

.top-actions,
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-actions button,
.site-footer button,
.sidebar-card button,
.sports-grid button,
.casino-grid button,
.btn,
.whatsapp-popup button {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.top-actions button:first-child,
.btn-secondary {
  color: #fff;
  background: var(--secondary);
}

.top-actions button:last-child,
.btn-primary,
.site-footer button,
.whatsapp-popup button {
  color: #07131d;
  background: linear-gradient(135deg, #f8e36b, var(--warning));
  box-shadow: 0 12px 28px rgba(253, 207, 19, 0.28);
}

.btn-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.15);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.sports-nav {
  position: sticky;
  top: 92px;
  z-index: 45;
  display: flex;
  overflow-x: auto;
  background: var(--secondary);
  color: #fff;
  border-bottom: 4px solid #e5e7eb;
}

.sports-nav a {
  flex: 0 0 auto;
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.sports-nav a:hover {
  background: var(--secondary-deep);
}

.hero {
  width: min(1260px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(44px, 7vw, 84px) 0;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  width: fit-content;
  margin: 0;
  padding: 6px 12px;
  color: #fff;
  background: var(--primary);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #fff;
  background: var(--secondary);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--secondary);
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  text-transform: uppercase;
}

h3 {
  color: var(--secondary);
  font-size: 1.45rem;
}

.hero-text {
  max-width: 600px;
  color: #263748;
  font-size: 1.28rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--secondary);
  font-weight: 900;
}

.terminal-card,
.content-panel,
.sidebar-card,
.support-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(44, 62, 80, 0.14);
}

.terminal-card {
  overflow: hidden;
  border-radius: 6px;
}

.terminal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  color: #fff;
  background: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}

.terminal-head strong {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--success);
  font-size: 0.82rem;
}

.market-tabs {
  display: flex;
  overflow-x: auto;
  background: #d7d7d7;
}

.market-tabs span {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-right: 1px solid #a9a9a9;
  font-size: 1.1rem;
}

.market-tabs .active {
  color: #fff;
  background: var(--secondary);
}

.odds-board {
  display: grid;
}

.odds-board > div {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 82px 82px 82px;
  min-height: 46px;
  border-top: 1px solid var(--line);
}

.odds-board span,
.odds-board b {
  display: flex;
  align-items: center;
  padding: 8px 10px;
}

.odds-board b {
  justify-content: center;
  font-size: 1.08rem;
}

.odds-head {
  background: #f2f2f2;
  font-weight: 900;
}

.blue {
  background: var(--blue-odd);
}

.pink {
  background: var(--pink-odd);
}

.ticker {
  overflow: hidden;
  background: var(--secondary);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 10px;
  padding: 12px 0;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  padding: 8px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  width: min(1260px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0;
}

.exchange-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

.sidebar-card {
  display: grid;
  overflow: hidden;
}

.sidebar-card h2 {
  margin: 0;
  padding: 12px 16px;
  color: #fff;
  background: var(--primary);
  font-size: 1.3rem;
}

.sidebar-card a {
  padding: 9px 16px;
  border-top: 1px solid #9e9e9e;
  background: #c7c7c7;
  font-size: 1.1rem;
}

.sidebar-card button {
  margin: 14px;
  color: #fff;
  background: var(--secondary);
}

.content-panel {
  padding: clamp(18px, 3vw, 30px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title.centered .eyebrow {
  margin-inline: auto;
}

.sports-grid,
.casino-grid,
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sports-grid article,
.casino-grid article,
.features article {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8f8f8;
}

.sports-grid strong,
.casino-grid span {
  color: var(--secondary);
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sports-grid button,
.casino-grid button {
  color: #fff;
  background: var(--primary);
}

.preview-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 24px;
  align-items: center;
}

.preview-copy {
  display: grid;
  gap: 16px;
}

.preview-image {
  overflow: hidden;
  border: 5px solid var(--secondary);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.preview-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: top left;
}

.casino-section {
  width: 100%;
  padding-inline: max(14px, calc((100vw - 1260px) / 2));
  background: linear-gradient(135deg, var(--secondary), #182536);
}

.casino-section h2 {
  color: #fff;
}

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

.casino-grid article {
  min-height: 210px;
  align-content: end;
  background:
    linear-gradient(0deg, rgba(32, 48, 68, 0.92), rgba(32, 48, 68, 0.35)),
    radial-gradient(circle at 30% 15%, rgba(253, 207, 19, 0.28), transparent 34%),
    var(--primary);
  color: #fff;
}

.casino-grid span {
  color: #fff;
}

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

.features article {
  min-height: 230px;
  align-content: start;
  background: #fff;
}

.features img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.info-depth {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
  align-items: stretch;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 38px rgba(44, 62, 80, 0.1);
}

.info-grid strong {
  color: var(--secondary);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.info-grid span {
  color: #425466;
}

.app-band {
  width: min(1260px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 136, 204, 0.94), rgba(44, 62, 80, 0.96)),
    var(--primary);
}

.app-band h2,
.app-band p {
  color: #fff;
}

.support-card {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(24px, 5vw, 50px);
  text-align: center;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 40px 16px 88px;
  color: #fff;
  background: var(--secondary);
  text-align: center;
}

.site-footer img {
  width: 220px;
}

.site-footer p {
  max-width: 760px;
  color: #dce4ec;
}

.whatsapp-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  max-width: min(560px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(44, 62, 80, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.whatsapp-popup span {
  font-weight: 900;
}

.whatsapp-popup button {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 10px 16px;
  color: #07131d;
  background: linear-gradient(135deg, #f8e36b, var(--warning));
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
    min-height: 76px;
  }

  .brand img {
    width: 190px;
  }

  .quick-links,
  .top-actions {
    position: fixed;
    right: 14px;
    left: 14px;
    display: none;
    z-index: 60;
  }

  .quick-links {
    top: 88px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--secondary);
  }

  .quick-links a {
    padding: 12px;
  }

  .top-actions {
    top: 318px;
    grid-template-columns: 1fr 1fr;
  }

  .menu-open .quick-links,
  .menu-open .top-actions {
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .sports-nav {
    top: 76px;
  }

  .hero,
  .exchange-layout,
  .preview-section,
  .info-depth {
    grid-template-columns: 1fr;
  }

  .terminal-card {
    order: -1;
  }

  .sports-grid,
  .features,
  .casino-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-inline: 12px;
  }

  .brand img {
    width: 160px;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 44px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-buttons,
  .top-actions,
  .sports-grid,
  .features,
  .casino-grid,
  .info-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .btn,
  .top-actions button,
  .site-footer button,
  .sidebar-card button,
  .sports-grid button,
  .casino-grid button {
    width: 100%;
  }

  .odds-board > div {
    grid-template-columns: minmax(150px, 1fr) 60px 60px 60px;
    font-size: 0.92rem;
  }

  .preview-image img {
    height: 300px;
  }

  .app-band {
    display: grid;
  }

  .whatsapp-popup {
    right: 14px;
    left: 14px;
    grid-template-columns: 1fr;
  }

  .whatsapp-popup button {
    width: 100%;
  }
}
