:root {
  color-scheme: dark;
  --page: #080d0c;
  --surface: #111917;
  --surface-raised: #19221f;
  --line: #283530;
  --text: #f4f5ef;
  --muted: #9aa7a0;
  --green: #c5ee69;
  --orange: #f18734;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 38px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 14, .97);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  display: block;
  width: 145px;
  height: auto;
}

.top-nav {
  display: flex;
  height: 76px;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.nav-button {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 0;
  background: transparent;
  color: #aeb7b1;
  cursor: pointer;
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-button:hover,
.nav-button.is-active {
  color: var(--green);
}

.nav-button.is-active::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--green);
  content: "";
}

.nav-button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -4px;
}

.whatsapp-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  margin-left: auto;
  border: 1px solid #2f8c59;
  border-radius: 7px;
  background: #187746;
  color: #fff;
  font-size: .83rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.whatsapp-button:hover {
  border-color: #48bb78;
  background: #1b8a50;
}

.app-layout {
  display: grid;
  width: min(100%, 1550px);
  min-height: calc(100vh - 76px);
  grid-template-columns: 224px minmax(0, 1fr);
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 76px;
  display: flex;
  height: calc(100vh - 76px);
  flex-direction: column;
  align-items: stretch;
  padding: 23px 14px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #0c1210;
}

.sidebar-heading {
  padding: 0 12px 9px;
  color: #8d9b93;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sidebar-heading-spaced {
  padding-top: 26px;
}

.side-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #adb8b1;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 550;
}

.side-link span {
  width: 18px;
  color: #84948b;
  font-size: 1rem;
  text-align: center;
}

.side-link:hover,
.side-link.is-active {
  background: #202b25;
  color: var(--green);
}

.sidebar-note {
  padding: 13px 12px;
  margin-top: auto;
  border: 1px solid #38443d;
  border-radius: 8px;
  background: #151d19;
  color: #aab5ad;
  font-size: .76rem;
  line-height: 1.55;
}

.app-main {
  min-width: 0;
  padding: 27px clamp(20px, 3vw, 42px) 64px;
}

[hidden] {
  display: none !important;
}

.welcome-card {
  position: relative;
  display: grid;
  min-height: 300px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  padding: 30px 34px;
  overflow: hidden;
  border: 1px solid #34463a;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 82% 50%, rgba(140, 177, 76, .2), transparent 34%),
    linear-gradient(112deg, #1b2b21, #101714 76%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.welcome-card h1,
.exchange-view h1,
.casino-view h1,
.exchange-view > .section-heading h2,
.casino-view > .section-heading h2 {
  max-width: 800px;
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.welcome-card h1 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.welcome-card p,
.exchange-view .section-heading p,
.casino-view .section-heading p {
  max-width: 590px;
  margin: 0 0 19px;
  color: #b2beb6;
  font-size: .98rem;
  line-height: 1.65;
}

.welcome-cta {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid #d5f17e;
  border-radius: 8px;
  background: var(--green);
  color: #15200e;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s, transform .18s;
}

.welcome-cta:hover {
  transform: translateY(-1px);
  background: #d3f58a;
}

.welcome-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.welcome-note {
  margin-top: 12px;
  color: #9eaca2;
  font-size: .72rem;
  letter-spacing: .015em;
}

.welcome-image {
  display: block;
  width: 260px;
  height: 240px;
  border: 1px solid rgba(229, 244, 206, .24);
  border-radius: 14px;
  object-fit: cover;
  object-position: center 70%;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .38);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 30px;
}

.quick-link {
  display: flex;
  min-height: 75px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-size: .89rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s, transform .18s, background .18s;
}

.quick-link:hover {
  transform: translateY(-2px);
  border-color: #667a60;
  background: #19241e;
}

.quick-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  font-size: 1.3rem;
  font-weight: 800;
}

.cricket-icon {
  background: #263920;
  color: #c9ef73;
}

.exchange-icon {
  background: #24373a;
  color: #7dd8cb;
}

.casino-icon {
  background: #3b2d22;
  color: #f5ae60;
}

.guide-icon {
  background: #302a40;
  color: #c4a6ff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}

.section-heading .eyebrow {
  margin-bottom: 3px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 750;
  letter-spacing: -.025em;
}

.filter-row {
  display: flex;
  gap: 7px;
  padding-bottom: 2px;
}

.filter-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #35423a;
  border-radius: 20px;
  background: #121a16;
  color: #acb7af;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 650;
  white-space: nowrap;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: #718d4b;
  background: #25321d;
  color: var(--green);
}

.image-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.image-tile {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #303b35;
  border-radius: 9px;
  background: #171e1b;
  cursor: zoom-in;
}

.image-tile[hidden] {
  display: none !important;
}

.image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}

.image-tile:hover img,
.image-tile:focus-visible img {
  transform: scale(1.045);
  filter: brightness(1.08);
}

.empty-filter {
  padding: 18px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.exchange-view,
.casino-view,
.guide-view {
  min-height: 70vh;
  padding-top: 8px;
}

.exchange-view .section-heading,
.casino-view .section-heading {
  display: block;
  padding: 24px 0 22px;
}

.market-board {
  overflow: hidden;
  border: 1px solid #334039;
  border-radius: 10px;
  background: #101714;
}

.market-title,
.market-head,
.market-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 140px;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
}

.market-title {
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid #2b3731;
  background: #18211d;
  color: #b2beb6;
  font-size: .81rem;
  font-weight: 650;
}

.market-title span:last-child {
  color: #d8b271;
}

.market-head {
  color: #88978e;
  font-size: .75rem;
  font-weight: 700;
}

.market-row {
  min-height: 59px;
  border-top: 1px solid #26312b;
  font-size: .88rem;
}

.market-row-highlight {
  background: rgba(190, 228, 100, .045);
}

.market-action {
  width: fit-content;
  padding: 4px 12px;
  border: 1px solid #537347;
  border-radius: 5px;
  background: #25371f;
  color: #d2f597;
  font-size: .78rem;
  font-weight: 700;
}

.market-row strong {
  width: fit-content;
  color: #f2f5ec;
  font-size: 1.03rem;
}

.exchange-info,
.casino-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 19px;
}

.exchange-info > div,
.casino-shortcuts > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.exchange-info h2,
.casino-shortcuts h2 {
  margin: 0 0 7px;
  color: var(--green);
  font-size: .98rem;
}

.exchange-info p,
.casino-shortcuts p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.guide-link {
  padding: 11px 14px;
  margin-top: 18px;
  border: 1px solid #526544;
  border-radius: 7px;
  background: #202b1a;
  color: var(--green);
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
}

.guide-link:hover {
  background: #2a3a20;
}

.site-footer {
  display: grid;
  width: min(100%, 1550px);
  grid-template-columns: 1.05fr 1fr 1.2fr .8fr;
  gap: 30px;
  padding: 35px 30px 18px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  background: #0c1210;
}

.footer-brand img {
  display: block;
  width: 145px;
  height: auto;
}

.footer-brand p,
.footer-column p {
  margin: 12px 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.65;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: .94rem;
}

.footer-links {
  display: grid;
  justify-items: start;
  gap: 7px;
  margin-top: 12px;
}

.footer-links a {
  color: #b7c3ba;
  font-size: .8rem;
  text-decoration: none;
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.footer-whatsapp {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #2f8c59;
  border-radius: 6px;
  background: #187746;
  color: #fff;
  font-size: .79rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-guide-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 650;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #8e9b93;
  font-size: .75rem;
}

.guide-view .article {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  padding: 20px 0 18px;
}

.article-header h1,
.article-header h2 {
  margin: 0 0 15px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  letter-spacing: -.035em;
  line-height: 1.2;
}

.article-header p,
.article-body p {
  color: #aeb9b2;
  font-size: .96rem;
}

.article-header p {
  margin: 0 0 12px;
}

.guide-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px;
  margin: 12px 0 27px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.guide-index a {
  padding: 5px 9px;
  border-radius: 5px;
  background: #1c2821;
  color: #cad4cc;
  font-size: .77rem;
  text-decoration: none;
}

.guide-index a:hover {
  color: var(--green);
}

.article-body {
  max-width: 820px;
  padding-bottom: 70px;
  margin: 0 auto;
}

.article-body section {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 98px;
}

.article-body section:last-child {
  border-bottom: 0;
}

.article-body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -.025em;
  line-height: 1.3;
}

.article-body h3 {
  margin: 23px 0 5px;
  color: var(--green);
  font-size: 1.02rem;
  line-height: 1.4;
}

.article-body p {
  margin: 0 0 12px;
}

.table-wrap {
  margin: 20px 0 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
  text-align: left;
}

th,
td {
  min-width: 155px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--text);
  font-size: .85rem;
}

td {
  font-size: .88rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody td:first-child {
  color: var(--green);
  font-weight: 650;
}

.image-viewer {
  position: fixed;
  width: min(92vw, 900px);
  max-width: none;
  max-height: 90vh;
  padding: 16px;
  overflow: visible;
  border: 1px solid #47574b;
  border-radius: 12px;
  background: #101814;
}

.image-viewer::backdrop {
  background: rgba(2, 6, 4, .86);
  backdrop-filter: blur(5px);
}

.image-viewer img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 32px);
  margin: auto;
  object-fit: contain;
  border-radius: 7px;
}

.viewer-close {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: 7px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(8, 14, 11, .88);
  cursor: pointer;
}

.viewer-close::before,
.viewer-close::after {
  position: absolute;
  top: 17px;
  left: 10px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: white;
  content: "";
  transform: rotate(45deg);
}

.viewer-close::after {
  transform: rotate(-45deg);
}

.standard-main {
  width: min(100%, 1120px);
  min-height: calc(100vh - 76px);
  padding: 27px clamp(20px, 4vw, 48px) 70px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: #93a097;
  font-size: .78rem;
}

.breadcrumbs a {
  color: #bfcebf;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--green);
  text-decoration: underline;
}

.standard-page {
  max-width: 820px;
  margin: 0 auto;
}

.standard-page h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -.04em;
  line-height: 1.16;
}

.standard-page h2 {
  margin: 30px 0 9px;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.standard-page h3 {
  margin: 20px 0 6px;
  color: var(--green);
  font-size: 1rem;
  line-height: 1.4;
}

.standard-page p,
.standard-page li {
  color: #b2beb6;
  font-size: .95rem;
  line-height: 1.75;
}

.standard-page p {
  margin: 0 0 14px;
}

.standard-page ul,
.standard-page ol {
  padding-left: 1.4rem;
  margin: 0 0 18px;
}

.standard-page a:not(.standard-cta) {
  color: var(--green);
  text-underline-offset: 3px;
}

.standard-page .page-intro {
  padding: 20px 22px;
  margin: 20px 0 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.standard-page .page-intro p:last-child {
  margin-bottom: 0;
}

.standard-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #d5f17e;
  border-radius: 8px;
  background: var(--green);
  color: #15200e !important;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}

.standard-cta:hover {
  background: #d3f58a;
}

.standard-page .page-notice {
  padding: 13px 15px;
  border-left: 3px solid var(--green);
  background: #141d17;
  color: #b7c3ba;
}

@media (max-width: 980px) {
  .site-header {
    gap: 18px;
    padding: 0 18px;
  }

  .brand img {
    width: 128px;
  }

  .nav-button {
    padding: 0 11px;
  }

  .app-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .image-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 65px;
    gap: 7px;
    padding: 0 10px;
  }

  .brand img {
    width: 91px;
  }

  .top-nav {
    min-width: 0;
    flex: 1 1 auto;
    height: 65px;
    gap: 0;
  }

  .nav-button {
    padding: 0 7px;
    font-size: .74rem;
  }

  .whatsapp-button {
    display: inline-flex;
    min-height: 34px;
    flex: 0 0 auto;
    padding: 0 9px;
    font-size: .73rem;
  }

  .app-layout {
    display: block;
    min-height: calc(100vh - 65px);
  }

  .sidebar {
    position: static;
    display: flex;
    height: auto;
    flex-direction: row;
    gap: 6px;
    padding: 11px 13px;
    overflow-x: auto;
    scrollbar-width: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar-heading,
  .sidebar-note,
  .sidebar .side-link[data-view],
  .sidebar .side-link[data-page] {
    display: none;
  }

  .sidebar .whatsapp-side-link {
    display: flex;
    border-color: #2f8c59;
    background: #187746;
    color: #fff;
  }

  .side-link {
    min-height: 35px;
    flex: 0 0 auto;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid #303a34;
    font-size: .75rem;
  }

  .side-link span {
    width: auto;
    font-size: .8rem;
  }

  .app-main {
    padding: 16px 14px 46px;
  }

  .welcome-card {
    min-height: 0;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border-radius: 14px;
  }

  .welcome-copy {
    grid-row: 2;
    padding: 18px 17px 19px;
  }

  .welcome-card h1 {
    max-width: 510px;
    margin-bottom: 9px;
    font-size: clamp(1.75rem, 7vw, 2.15rem);
    letter-spacing: -.04em;
    line-height: 1.1;
  }

  .welcome-card p {
    margin-bottom: 15px;
    font-size: .88rem;
    line-height: 1.55;
  }

  .welcome-cta {
    width: 100%;
    min-height: 46px;
  }

  .welcome-note {
    font-size: .68rem;
  }

  .welcome-image {
    width: 100%;
    height: 188px;
    grid-row: 1;
    border: 0;
    border-bottom: 1px solid #34463a;
    border-radius: 0;
    object-position: center 72%;
  }

  .quick-links {
    gap: 8px;
    margin: 13px 0 23px;
  }

  .quick-link {
    min-height: 57px;
    gap: 9px;
    padding: 8px;
    font-size: .78rem;
  }

  .quick-icon {
    width: 33px;
    height: 33px;
    font-size: 1.1rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .image-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .exchange-info,
  .casino-shortcuts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    padding: 27px 16px 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: 125px;
  }

  .footer-column p {
    font-size: .77rem;
  }

  .market-title,
  .market-head,
  .market-row {
    grid-template-columns: minmax(0, 1fr) 76px 80px;
    gap: 7px;
    padding: 11px 10px;
    font-size: .76rem;
  }

  .market-title {
    grid-template-columns: 1fr auto;
    font-size: .7rem;
  }

  .market-action {
    padding: 3px 8px;
    font-size: .7rem;
  }

  .market-row strong {
    font-size: .9rem;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 78px;
  }

  .site-header {
    gap: 4px;
    padding: 0 7px;
  }

  .nav-button {
    padding: 0 4px;
    font-size: .66rem;
  }

  .whatsapp-button {
    min-height: 32px;
    padding: 0 7px;
    font-size: .68rem;
  }

  .welcome-copy {
    padding: 13px 14px 16px;
  }

  .welcome-card h1 {
    font-size: 1.65rem;
  }

  .welcome-image {
    height: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
