/*
Theme Name: CA7 OSHI Style (ACF) — Australia
Theme URI: https://example.com/
Author: Your Team
Description: Dark dashboard casino layout with left sidebar, topbar search, jackpots strip, promo cards, winners + jackpot games carousels. ACF Options-driven. AU locale.
Version: 1.0.0
Text Domain: ca7-oshi-au
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
*/

:root{
  --bg0:#050712;
  --bg1:#050a16;
  --panel:#0b1323;
  --panel2:#09101f;
  --soft:#0f1a2f;
  --line: rgba(255,255,255,.08);

  --text:#eaf1ff;
  --muted: rgba(234,241,255,.72);

  --cyan:#39e6e6;
  --cyan2:#1ccfd2;
  --blue:#2e7bff;
  --green:#39f4a7;

  --radius: 16px;
  --radius2: 22px;

  --shadow: 0 18px 50px rgba(0,0,0,.50);
  --shadow2: 0 12px 28px rgba(57,230,230,.10);

  --wrap: 1240px;
  --sidebar: 250px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  --display: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 560px at 70% 10%, rgba(46,123,255,.10), transparent 60%),
    radial-gradient(900px 520px at 30% 20%, rgba(57,230,230,.10), transparent 56%),
    radial-gradient(800px 520px at 55% 90%, rgba(57,244,167,.05), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 3px solid rgba(57,230,230,.75);
  outline-offset: 2px;
  border-radius: 12px;
}
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;
}

.wrap{
  max-width: var(--wrap);
  margin:0 auto;
  padding: 0 16px;
}

/* Buttons / inputs */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing:.2px;
  border: 1px solid transparent;
  background: transparent;
  cursor:pointer;
  transition: transform .12s ease, filter .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active{ transform: translateY(1px) scale(.99); }

.btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: rgba(234,241,255,.92);
}
.btn--ghost:hover{ background: rgba(255,255,255,.07); border-color: rgba(57,230,230,.22); }

.btn--cyan{
  background: linear-gradient(180deg, var(--cyan), var(--cyan2));
  color: #061014;
  box-shadow: var(--shadow2);
}
.btn--cyan:hover{ filter: brightness(1.05); }

.input{
  width: 100%;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(234,241,255,.92);
  border-radius: 999px;
  padding: 10px 12px;
  outline:none;
  font-weight: 850;
}
.input::placeholder{ color: rgba(234,241,255,.55); }

/* Layout */
.app{
  min-height: 100vh;
}
.layout{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px 24px;
  display:grid;
  grid-template-columns: var(--sidebar) 1fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
}

/* Sidebar */
.sidebar{
  position: sticky;
  top: 74px;
  height: calc(100vh - 94px);
}
@media (max-width: 980px){
  .sidebar{ position: static; height:auto; top:auto; }
}
.sidebar__box{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.sidebar__head{
  padding: 14px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 10px;
}
.sidebar__brand{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.3px;
  font-size: 44px;
  line-height: 1;
  text-transform: lowercase;
}
.sidebar__sub{
  margin: 6px 0 0;
  color: rgba(234,241,255,.72);
  font-weight: 850;
  font-size: 12px;
}
.sidebar__user{
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.userline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-top: 12px;
}
.userline__left{ display:flex; flex-direction:column; gap:4px; }
.userline__name{ font-weight: 1000; letter-spacing:.2px; }
.userline__vip{ color: rgba(234,241,255,.62); font-weight: 850; font-size: 12px; }
.userline__right{ color: rgba(234,241,255,.72); font-weight: 900; font-size: 12px; }

.progress{
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}
.progress__bar{
  height:100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(57,230,230,.9), rgba(46,123,255,.85));
}

.balance{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight: 1000;
  letter-spacing:.2px;
}

.smenu{
  padding: 10px 10px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.smenu__list{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.smenu__a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight: 950;
  color: rgba(234,241,255,.90);
}
.smenu__a:hover{
  background: rgba(57,230,230,.08);
  border-color: rgba(57,230,230,.22);
}
.smenu__a:active{ transform: translateY(1px); }
.smenu__icon svg{ width:16px; height:16px; fill: currentColor; opacity:.9; display:block; }

.sidebar__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(234,241,255,.70);
  font-weight: 850;
  font-size: 12px;
}
.flag{ display:block; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,.35); }

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(5,7,18,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.topbar__left{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 240px;
}
.searchwrap{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  width: min(520px, 100%);
}
.searchwrap__icon{ opacity:.78; }
.searchwrap input{
  border:0; outline:none;
  background: transparent;
  color: rgba(234,241,255,.92);
  font-weight: 850;
  width: 100%;
}
.searchwrap input::placeholder{ color: rgba(234,241,255,.55); }

.topbar__mid{
  display:flex;
  align-items:center;
  gap: 10px;
}
.drop{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(234,241,255,.86);
  font-weight: 900;
  font-size: 13px;
}
.drop__chev{ opacity:.75; }
.icon{
  width: 36px; height:36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display:grid;
  place-items:center;
  color: rgba(234,241,255,.86);
}
.topbar__right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  min-width: 220px;
}
@media (max-width: 980px){
  .topbar__mid{ display:none; }
}

/* Content blocks */
.content{ min-width: 0; }
.block{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.block__inner{ padding: 16px; }
@media (min-width: 980px){ .block__inner{ padding: 22px; } }

.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0 10px;
}
.section-head__title{
  margin:0;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.25px;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(234,241,255,.86);
}
.section-head__more{
  color: rgba(234,241,255,.70);
  font-weight: 900;
  font-size: 13px;
  border-bottom: 1px solid rgba(57,230,230,.25);
}
.section-head__more:hover{ color:#fff; border-bottom-color: rgba(57,230,230,.65); }

/* Jackpots strip */
.jstrip{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .jstrip{ grid-template-columns: 1.1fr 1.9fr; align-items:center; }
}
.jtitle{
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.25px;
  margin:0;
}
.pool{
  display:flex;
  align-items:flex-end;
  gap: 10px;
  flex-wrap:wrap;
}
.pool__label{ color: rgba(234,241,255,.66); font-weight: 900; font-size: 12px; }
.pool__value{
  font-weight: 1000;
  font-size: 28px;
  color: var(--cyan);
  text-shadow: 0 16px 40px rgba(57,230,230,.12);
}
.pool__rules{ font-weight: 900; font-size: 12px; color: rgba(234,241,255,.72); }
.pool__rules:hover{ color:#fff; text-decoration: underline; text-decoration-color: rgba(57,230,230,.55); }

.tiers{
  display:flex;
  gap: 10px;
  overflow:auto;
  padding: 2px 2px 2px;
  scrollbar-width:none;
}
.tiers::-webkit-scrollbar{ display:none; }
.tier{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  min-width: 210px;
}
.bot{
  width: 34px; height:34px;
  border-radius: 14px;
  background: rgba(57,230,230,.10);
  border: 1px solid rgba(57,230,230,.18);
  display:grid;
  place-items:center;
  color: var(--cyan);
  font-weight: 1000;
}
.tier__meta{ display:flex; flex-direction:column; gap:4px; }
.tier__name{ font-weight: 1000; text-transform: uppercase; font-size: 12px; letter-spacing:.2px; }
.tier__amt{ font-weight: 1000; color: rgba(234,241,255,.92); }
.tier__note{ font-weight: 850; font-size: 11px; color: rgba(234,241,255,.62); }

/* Promos (3 big cards) */
.promos{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .promos{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pcard{
  position:relative;
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  min-height: 170px;
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
}
.pcard__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  opacity:.92;
  filter: saturate(1.1) contrast(1.05);
}
.pcard__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 30% 30%, rgba(57,230,230,.14), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.12));
}
.pcard__inner{
  position:relative;
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.pcard__title{
  margin:0;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.2px;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.05;
}
.pcard__sub{
  margin:0;
  color: rgba(234,241,255,.76);
  font-weight: 850;
}
.pcard__actions{ margin-top:auto; }

/* Carousels (Winners / Jackpot games) */
.carousel{
  position:relative;
}
.cview{
  overflow:auto;
  scroll-snap-type: x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling: touch;
}
.cview::-webkit-scrollbar{ display:none; }
.ctrack{
  display:flex;
  gap: 12px;
  padding: 12px;
}
.item{
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 320px;
  max-width: 86vw;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
}
@media (min-width: 980px){
  .item{ width: 360px; }
}
.item__inner{ padding: 14px; display:grid; grid-template-columns: 1fr 140px; gap: 12px; align-items:center; }
.item__title{ margin:0; font-weight: 1000; }
.item__sub{ margin:6px 0 0; color: rgba(234,241,255,.66); font-weight: 850; font-size: 12px; }
.item__value{ margin: 8px 0 0; font-weight: 1000; color: var(--green); }
.thumb{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  overflow:hidden;
  height: 86px;
}
.thumb img{ width:100%; height:100%; object-fit: cover; }

.cctrl{
  display:flex;
  gap: 10px;
  justify-content:center;
  padding: 0 12px 12px;
}
.cbtn{
  width: 44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,241,255,.92);
  font-size: 20px;
  cursor:pointer;
  transition: background .18s ease, transform .12s ease, border-color .18s ease;
}
.cbtn:hover{ background: rgba(57,230,230,.08); border-color: rgba(57,230,230,.20); }
.cbtn:active{ transform: translateY(1px); }

/* SEO box */
.seo{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 380px at 80% 20%, rgba(57,230,230,.10), transparent 60%),
    radial-gradient(900px 380px at 20% 40%, rgba(46,123,255,.12), transparent 60%),
    rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  padding: 16px;
}
@media (min-width: 980px){ .seo{ padding: 22px; } }
.seo__title{
  margin:0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.25px;
}

/* Internal pages */
.page-head{ padding: 16px 0 8px; }
.page-title{
  margin:0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.25px;
  text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 34px);
}
.breadcrumbs__list{
  display:flex; flex-wrap:wrap; gap:8px;
  list-style:none; margin:0; padding:0;
  color: rgba(234,241,255,.70);
  font-weight: 850;
  font-size: 13px;
}
.breadcrumbs__item::after{ content:"/"; margin-left:8px; opacity:.45; }
.breadcrumbs__item:last-child::after{ content:""; }
.breadcrumbs__link{
  color: rgba(234,241,255,.82);
  border-bottom: 1px solid rgba(57,230,230,.25);
}
.breadcrumbs__link:hover{ color:#fff; border-bottom-color: rgba(57,230,230,.65); }
.breadcrumbs__current{ color: rgba(234,241,255,.92); }

.prose{
  max-width: 920px;
  color: rgba(234,241,255,.86);
}
.prose h2,.prose h3,.prose h4{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.2px;
  text-transform: uppercase;
  margin: 22px 0 10px;
}
.prose h2{ font-size: 22px; }
.prose h3{ font-size: 18px; }
.prose h4{ font-size: 16px; }

a {
    color: #20d2d5;
}