/* public_html/assets/css/nx-core.css */
:root{
  --nx-primary:#071A2B;
  --nx-primary2:#0B2A44;
  --nx-accent:#16B6D8;
  --nx-text:#EAF2FF;
  --nx-muted:rgba(234,242,255,.70);
  --nx-border:rgba(255,255,255,.10);
  --nx-card:rgba(255,255,255,.06);
  --nx-card2:rgba(255,255,255,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 700px at 12% 0%, rgba(22,182,216,.12), transparent 60%),
    radial-gradient(800px 600px at 90% 5%, rgba(255,255,255,.06), transparent 55%),
    var(--nx-primary);
  color: var(--nx-text);
}

a{color:inherit}
.nx-wrap{
  width: min(1200px, calc(100% - 20px));
  margin: 12px auto 92px;
}

.nx-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  background: rgba(7,26,43,.92);
  border-bottom:1px solid var(--nx-border);
  backdrop-filter: blur(10px);
}

.nx-topbar .title{
  font-weight:950;
  font-size:16px;
  letter-spacing:.2px;
}
.nx-topbar .sub{
  margin-top:2px;
  font-size:12px;
  color:var(--nx-muted);
}

.nx-chip{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(22,182,216,.12);
  border:1px solid rgba(22,182,216,.22);
  color:#E8FBFF;
  font-weight:900;
  font-size:12px;
}

.nx-search{
  display:flex;
  gap:10px;
  align-items:center;
  background: var(--nx-card);
  border:1px solid var(--nx-border);
  border-radius:16px;
  padding:10px 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.nx-search .icon{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(22,182,216,.12);
  border:1px solid rgba(22,182,216,.20);
  color:#E8FBFF;
  font-weight:900;
}
.nx-search input{
  width:100%;
  background:transparent;
  border:0;
  outline:none;
  color:var(--nx-text);
  font-weight:800;
  font-size:14px;
}
.nx-search input::placeholder{
  color: rgba(234,242,255,.55);
  font-weight:700;
}

/* league tabs */
.nx-tabs{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:10px 2px;
  margin-top:10px;
}
.nx-tab{
  white-space:nowrap;
  border:1px solid var(--nx-border);
  background: rgba(255,255,255,.04);
  color: rgba(234,242,255,.82);
  font-weight:900;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
  user-select:none;
}
.nx-tab.active{
  background: linear-gradient(180deg, rgba(22,182,216,.22), rgba(255,255,255,.06));
  border-color: rgba(22,182,216,.30);
  color: #E8FBFF;
  box-shadow: 0 10px 26px rgba(0,0,0,.30), 0 0 24px rgba(22,182,216,.16);
}

/* cards */
.nx-card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.045));
  border: 1px solid var(--nx-border);
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}

.nx-meta{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom: 10px;
}
.nx-meta .when{
  font-weight:950;
  font-size:13px;
  color: rgba(234,242,255,.88);
}
.nx-meta .league{
  font-size:12px;
  color: var(--nx-muted);
  margin-top:3px;
}

.nx-teams{ display:grid; gap:8px; }
.nx-team{ display:flex; align-items:center; gap:10px; font-weight:950; }
.nx-team img{ width:22px;height:22px;object-fit:contain; }
.nx-team .name{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* odds */
.nx-odds{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top: 10px;
}

.nx-odd{
  appearance:none;
  border:0;
  width:100%;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding: 12px 0;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(234,242,255,.92);
  font-weight: 950;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.nx-odd .k{
  font-size:11px;
  color: rgba(234,242,255,.65);
  font-weight:900;
}
.nx-odd .v{ font-size:14px; }
.nx-odd:hover{
  transform: translateY(-1px);
  border-color: rgba(22,182,216,.35);
  background: rgba(22,182,216,.10);
}
.nx-odd.disabled{
  opacity:.45;
  pointer-events:none;
}
.nx-odd.locked{
  opacity:.65;
  pointer-events:none;
}
.nx-odd.locked .v{
  font-size:16px;
}

.nx-more{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,.10);
}
.nx-more a{
  display:inline-flex;
  text-decoration:none;
  font-weight:950;
  color:#E8FBFF;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding: 10px 12px;
  border-radius: 14px;
}
.nx-more a:hover{
  border-color: rgba(22,182,216,.32);
  background: rgba(22,182,216,.10);
}

.nx-empty{
  margin-top: 14px;
  padding: 16px;
  background: var(--nx-card);
  border:1px solid var(--nx-border);
  border-radius: 18px;
  color: var(--nx-muted);
  text-align:center;
  font-weight:800;
}

.is-hidden{ display:none !important; }

/* bottom nav */
.nx-bottom-nav{
  position:fixed;
  left:0; right:0; bottom:0;
  background: rgba(7,26,43,.92);
  border-top:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:0;
  z-index:80;
}
.nx-bottom-nav a{
  text-decoration:none;
  padding:10px 6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  color: rgba(234,242,255,.70);
  font-weight:900;
  font-size:11px;
}
.nx-bottom-nav .ico{
  width:36px;height:36px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:16px;
}
.nx-bottom-nav a.active{
  color:#E8FBFF;
}
.nx-bottom-nav a.active .ico{
  background: linear-gradient(180deg, rgba(22,182,216,.20), rgba(255,255,255,.06));
  border-color: rgba(22,182,216,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.30), 0 0 22px rgba(22,182,216,.15);
}

@media (max-width: 520px){
  .nx-odds{ gap:8px; }
  .nx-odd{ border-radius: 12px; padding: 11px 0; }
}
