/*
Theme Name: CA20 Winmaker Style (ACF) — Australia
Theme URI: https://example.com/
Author: Your Team
Description: Left sidebar (logo + join/signin + menu), multi-row horizontal sliders with See all + arrows, floating chat. All URLs from ACF Options. AU locale.
Version: 1.0.0
Text Domain: ca20-winmaker-au
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
*/

:root{
  --bg0:#0b1226;
  --bg1:#0a1022;

  --panel:#121a33;
  --panel2:#0f1730;
  --card:#141f3a;

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

  --text:#eef2ff;
  --muted: rgba(238,242,255,.72);

  --green:#20d17c;
  --green2:#12b866;
  --blue:#2f6bff;
  --cyan:#35e5ff;

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

  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --shadow2: 0 12px 28px rgba(32,209,124,.12);

  --wrap: 1360px;
  --sidebar: 270px;

  --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 520px at 65% 10%, rgba(47,107,255,.14), transparent 60%),
    radial-gradient(900px 520px at 20% 25%, rgba(32,209,124,.10), 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{
  outline: 3px solid rgba(53,229,255,.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;
}

/* Shell */
.shell{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 16px 26px;
  display:grid;
  grid-template-columns: var(--sidebar) 1fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 980px){
  .shell{ grid-template-columns: 1fr; }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 14px;
  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(238,242,255,.92);
}
.btn--ghost:hover{ background: rgba(255,255,255,.07); border-color: rgba(53,229,255,.20); }

.btn--green{
  background: linear-gradient(180deg, rgba(32,209,124,.98), rgba(18,184,102,.92));
  color: #071611;
  box-shadow: var(--shadow2);
}
.btn--green:hover{ filter: brightness(1.04); }

/* Sidebar */
.sidebar{
  position: sticky;
  top: 16px;
}
@media (max-width: 980px){
  .sidebar{ position: static; top:auto; }
}
.sidebox{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.sidehead{
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  gap: 10px;
}
.slogo{ height: 34px; width:auto; }
.sbrand{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.5px;
  text-transform: uppercase;
}
.scta{
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.smenu{
  padding: 10px;
}
.smenu__list{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.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: 900;
  color: rgba(238,242,255,.90);
}
.smenu__a:hover{ background: rgba(53,229,255,.08); border-color: rgba(53,229,255,.18); }
.smenu__icon svg{ width:16px; height:16px; fill: currentColor; opacity:.9; display:block; }

.content{ min-width: 0; }

/* Row section */
.section{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
  margin-bottom: 14px;
}
.section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px 10px;
}
.stitle{
  margin:0;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.15px;
  font-size: 18px;
}
.sright{
  display:flex;
  align-items:center;
  gap: 10px;
}
.seeall{
  color: rgba(238,242,255,.72);
  font-weight: 900;
  font-size: 13px;
  border-bottom: 1px solid rgba(53,229,255,.25);
}
.seeall:hover{ color:#fff; border-bottom-color: rgba(53,229,255,.65); }

.arrow{
  width: 40px; height:40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(238,242,255,.92);
  cursor:pointer;
  font-size: 20px;
}
.arrow:hover{ background: rgba(53,229,255,.10); border-color: rgba(53,229,255,.18); }

/* Slider track */
.sview{
  overflow:auto;
  scroll-snap-type: x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 14px;
}
.sview::-webkit-scrollbar{ display:none; }

.strack{
  display:flex;
  gap: 12px;
  padding: 6px 0 0;
}
.card{
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 190px;
  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);
}
@media (min-width: 1100px){
  .card{ width: 210px; }
}
.cimg{
  height: 130px;
  background: rgba(0,0,0,.25);
}
.cimg img{ width:100%; height:100%; object-fit: cover; }
.cbody{ padding: 10px 12px 12px; display:flex; flex-direction:column; gap: 6px; }
.ctitle{ margin:0; font-weight: 1000; font-size: 13px; line-height: 1.25; }
.csub{ margin:0; color: rgba(238,242,255,.66); font-weight: 850; font-size: 11px; }

/* SEO + footer */
.seo{
  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(238,242,255,.86); }
.prose p{ margin: 0 0 12px; line-height: 1.7; color: rgba(238,242,255,.80); }
.prose a{ color:#fff; text-decoration: underline; text-decoration-color: rgba(53,229,255,.42); text-underline-offset: 3px; }
.prose a:hover{ text-decoration-color: rgba(53,229,255,.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(238,242,255,.62); font-size: 12px; line-height: 1.6; }
.footer-note__copy{ color: rgba(238,242,255,.52); font-weight: 850; margin-top: 6px; }

/* Floating chat */
.chatfab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(53,229,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  display:grid;
  place-items:center;
}
.chatfab:hover{
  background: rgba(53,229,255,.20);
  border-color: rgba(53,229,255,.22);
}
.chatfab svg{ width:22px; height:22px; fill: rgba(238,242,255,.92); }

a {
    color: #17b86b;
}