/*
Theme Name: CA15 Dolly (ACF) — Australia
Theme URI: https://example.com/
Author: Your Team
Description: Dark art-deco hero + payment logos + Top Games slider + icon categories + New games grid. All URLs from ACF Options. AU locale.
Version: 1.0.0
Text Domain: ca15-dolly-au
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
*/

:root{
  --bg0:#06070b;
  --bg1:#07080d;

  --panel:#0f121a;
  --panel2:#0c1017;
  --card:#121826;

  --line: rgba(255,255,255,.10);

  --text:#f4f6ff;
  --muted: rgba(244,246,255,.72);

  --gold:#d7b36a;
  --gold2:#f3d99b;
  --teal:#18d1c2;
  --orange:#ff9a2a;

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

  --shadow: 0 18px 55px rgba(0,0,0,.56);
  --shadow2: 0 12px 28px rgba(215,179,106,.12);

  --wrap: 1240px;

  --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(1100px 600px at 55% 0%, rgba(215,179,106,.12), transparent 60%),
    radial-gradient(900px 520px at 25% 25%, rgba(24,209,194,.06), transparent 56%),
    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, summary:focus-visible{
  outline: 3px solid rgba(24,209,194,.75);
  outline-offset: 2px;
  border-radius: 12px;
}
.wrap{
  max-width: var(--wrap);
  margin:0 auto;
  padding: 0 16px;
}
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;
}
.flag{ display:block; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,.35); }

/* Buttons / links */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 12px;
  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,.12);
  color: rgba(244,246,255,.92);
}
.btn--ghost:hover{ background: rgba(255,255,255,.07); border-color: rgba(215,179,106,.22); }

.btn--gold{
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #0f121a;
  box-shadow: var(--shadow2);
}
.btn--gold:hover{ filter: brightness(1.05); }

.link{
  color: rgba(244,246,255,.92);
  text-decoration: underline;
  text-decoration-color: rgba(215,179,106,.42);
  text-underline-offset: 3px;
}
.link:hover{ text-decoration-color: rgba(215,179,106,.90); }

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(6,7,11,.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}
.brand__logo{ height: 34px; width:auto; }
.brand__text{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.6px;
  text-transform: uppercase;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  overflow:auto;
  scrollbar-width:none;
}
.nav::-webkit-scrollbar{ display:none; }
.nav__a{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight: 950;
  white-space: nowrap;
}
.nav__a:hover{ background: rgba(215,179,106,.08); border-color: rgba(215,179,106,.18); }

.tright{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  min-width: 320px;
}
.searchbtn{
  width: 44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  display:grid;
  place-items:center;
}
.searchbtn:hover{ background: rgba(215,179,106,.08); border-color: rgba(215,179,106,.18); }

.locale{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 950;
  color: rgba(244,246,255,.90);
  font-size: 13px;
}

@media (max-width: 980px){
  .nav{ display:none; }
  .tright{ min-width: 0; }
}

/* Hero banner */
.hero{
  margin-top: 14px;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  position:relative;
  min-height: 260px;
}
.hero__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  opacity:.92;
  filter: saturate(1.06) contrast(1.06);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 25% 30%, rgba(215,179,106,.20), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.12));
}
.hero__inner{
  position:relative;
  padding: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 260px;
  align-items:center;
}
@media (min-width: 980px){
  .hero__inner{ grid-template-columns: 1.2fr .8fr; padding: 26px; min-height: 320px; }
}
.hero__title{
  margin:0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.2px;
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 1.05;
}
.hero__sub{
  margin:0 0 14px;
  color: rgba(244,246,255,.76);
  font-weight: 850;
  line-height: 1.55;
  max-width: 720px;
}
.hero__actions{ display:flex; flex-wrap:wrap; gap: 10px; }
.hero__art{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  overflow:hidden;
  min-height: 160px;
}
.hero__art img{ width:100%; height:100%; object-fit: cover; }

/* Payments strip */
.payments{
  margin-top: 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.payments__inner{
  padding: 10px 12px;
  display:flex;
  gap: 10px;
  overflow:auto;
  scrollbar-width:none;
}
.payments__inner::-webkit-scrollbar{ display:none; }
.pay{
  flex: 0 0 auto;
  width: 96px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display:grid;
  place-items:center;
}
.pay img{ width: 60px; height: 22px; object-fit: contain; opacity:.92; }

/* Sections */
.section{ padding-top: 14px; }
.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;
}
.section-head__more{
  color: rgba(244,246,255,.72);
  font-weight: 900;
  font-size: 13px;
  border-bottom: 1px solid rgba(215,179,106,.25);
}
.section-head__more:hover{ color:#fff; border-bottom-color: rgba(215,179,106,.65); }

/* Top games slider */
.slider{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.sview{
  overflow:auto;
  scroll-snap-type: x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling: touch;
}
.sview::-webkit-scrollbar{ display:none; }
.strack{
  display:flex;
  gap: 12px;
  padding: 12px;
}
.tcard{
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 180px;
  border-radius: 18px;
  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);
  position:relative;
}
@media (min-width: 980px){ .tcard{ width: 210px; } }
.timg{ height: 120px; background: rgba(0,0,0,.25); }
.timg img{ width:100%; height:100%; object-fit: cover; }
.tmeta{ padding: 10px 12px 12px; display:flex; flex-direction:column; gap: 6px; }
.ttitle{ margin:0; font-weight: 1000; font-size: 13px; line-height: 1.25; }
.tsub{ margin:0; color: rgba(244,246,255,.66); font-weight: 850; font-size: 11px; }
.badge{
  position:absolute;
  top: 10px; left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,154,42,.16);
  border: 1px solid rgba(255,154,42,.28);
  font-weight: 1000;
  font-size: 11px;
}

.sctrl{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  padding: 0 12px 12px;
}
.sbtn{
  width: 44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(244,246,255,.92);
  font-size: 20px;
  cursor:pointer;
}
.sbtn:hover{ background: rgba(215,179,106,.10); border-color: rgba(215,179,106,.18); }

/* Categories icons row */
.cstrip{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.ctrack{
  display:flex;
  gap: 12px;
  padding: 12px;
  overflow:auto;
  scrollbar-width:none;
}
.ctrack::-webkit-scrollbar{ display:none; }
.cat{
  flex: 0 0 auto;
  width: 112px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:center;
  text-align:center;
}
.caticon{
  width: 54px; height:54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.caticon img{ width:100%; height:100%; object-fit: cover; }
.caticon svg{ width:22px; height:22px; fill: rgba(244,246,255,.92); opacity:.95; }
.catlabel{ font-weight: 950; font-size: 12px; color: rgba(244,246,255,.92); }

/* New games grid */
.grid{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.grid__inner{ padding: 12px; }
.glist{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (min-width: 720px){
  .glist{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 1100px){
  .glist{ grid-template-columns: repeat(6, minmax(0,1fr)); }
}
.gcard{
  border-radius: 16px;
  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);
  transition: transform .12s ease, border-color .18s ease, background .18s ease;
}
.gcard:hover{ transform: translateY(-1px); border-color: rgba(215,179,106,.18); background: rgba(255,255,255,.04); }
.gmedia{ aspect-ratio: 4 / 3; background: rgba(0,0,0,.25); }
.gmedia img{ width:100%; height:100%; object-fit: cover; }
.gbody{ padding: 10px 10px 12px; }
.gtitle{ margin:0; font-weight: 1000; font-size: 12px; line-height: 1.25; }

/* SEO + footer */
.seo{
  margin-top: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: 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;
}
.prose{ max-width: 980px; color: rgba(244,246,255,.86); }
.prose p{ margin: 0 0 12px; line-height: 1.7; color: rgba(244,246,255,.80); }
.prose a{ color:#fff; text-decoration: underline; text-decoration-color: rgba(215,179,106,.42); text-underline-offset: 3px; }
.prose a:hover{ text-decoration-color: rgba(215,179,106,.86); }

.site-footer{
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  padding: 22px 0 30px;
}
.footer-note{
  color: rgba(244,246,255,.62);
  font-size: 12px;
  line-height: 1.6;
}
.footer-note__copy{ color: rgba(244,246,255,.52); font-weight: 850; margin-top: 6px; }

a {
    color: #dab66e;
}