/*
Theme Name: CA10 Rollblock Style (ACF) — Canada
Theme URI: https://example.com/
Author: Your Team
Description: Dark crypto-casino UI: left icon sidebar, top header CTAs, hero banner, popular games slider. All URLs from ACF Options. Canada locale.
Version: 1.0.0
Text Domain: ca10-rollblock-ca
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
*/

:root{
  --bg0:#0b0d12;
  --bg1:#090b10;

  --panel:#0f131b;
  --panel2:#0c1017;
  --card:#111827;

  --line: rgba(255,255,255,.08);
  --text:#eef3ff;
  --muted: rgba(238,243,255,.72);

  --yellow:#f6c445;
  --yellow2:#ffda77;
  --blue:#4aa3ff;
  --cyan:#3cf0ff;

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

  --shadow: 0 18px 50px rgba(0,0,0,.52);
  --shadow2: 0 12px 28px rgba(246,196,69,.12);

  --wrap: 1260px;
  --sidebar: 72px;

  --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 70% 10%, rgba(74,163,255,.10), transparent 60%),
    radial-gradient(900px 520px at 20% 20%, rgba(246,196,69,.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, input:focus-visible{
  outline: 3px solid rgba(60,240,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;
}

/* Buttons */
.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,.10);
  color: rgba(238,243,255,.92);
}
.btn--ghost:hover{ background: rgba(255,255,255,.07); border-color: rgba(246,196,69,.20); }

.btn--yellow{
  background: linear-gradient(180deg, var(--yellow2), var(--yellow));
  color: #10131a;
  box-shadow: var(--shadow2);
}
.btn--yellow:hover{ filter: brightness(1.05); }

.flag{ display:block; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,.35); }

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

/* Sidebar (icons) */
.sidebar{
  position: sticky;
  top: 76px;
  height: calc(100vh - 96px);
}
@media (max-width: 980px){
  .sidebar{ position: static; height:auto; }
}
.sbar{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
  padding: 10px 8px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.sicon{
  width: 54px; height:54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display:grid;
  place-items:center;
  color: rgba(238,243,255,.86);
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
.sicon:hover{ background: rgba(246,196,69,.10); border-color: rgba(246,196,69,.20); }
.sicon:active{ transform: translateY(1px); }
.sicon svg{ width:18px; height:18px; fill: currentColor; opacity:.92; display:block; }

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(9,11,16,.72);
  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: 30px; width:auto; }
.brand__text{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.6px;
  text-transform: uppercase;
}

.tmid{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 1 1 auto;
  justify-content:center;
}
@media (max-width: 980px){
  .tmid{ justify-content:flex-end; }
}

.search{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  width: min(520px, 100%);
}
.search__icon{ opacity:.78; }
.search input{
  border:0; outline:none;
  background: transparent;
  color: rgba(238,243,255,.92);
  font-weight: 850;
  width: 100%;
}
.search input::placeholder{ color: rgba(238,243,255,.55); }

.tright{
  display:flex;
  align-items:center;
  gap: 10px;
  justify-content:flex-end;
  min-width: 320px;
}
@media (max-width: 980px){
  .tright{ min-width: 0; }
  .search{ display:none; }
}

.lang{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  font-weight: 950;
  color: rgba(238,243,255,.92);
}
.lang__chev{ opacity:.82; }

/* 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; } }

/* Hero */
.hero{
  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.1) contrast(1.05);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 25% 30%, rgba(246,196,69,.14), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.14));
}
.hero__inner{
  position:relative;
  padding: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 260px;
}
@media (min-width: 980px){
  .hero__inner{ padding: 28px; grid-template-columns: 1.2fr .8fr; align-items:center; }
}
.hero__title{
  margin:0 0 8px;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.2px;
  text-transform: none;
  font-size: clamp(22px, 3.4vw, 42px);
  line-height: 1.05;
}
.hero__sub{
  margin:0 0 14px;
  color: rgba(238,243,255,.78);
  font-weight: 800;
  line-height: 1.55;
  max-width: 680px;
}
.hero__actions{ display:flex; flex-wrap:wrap; gap: 10px; }
.hero__badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(246,196,69,.22);
  font-weight: 950;
  font-size: 12px;
  width: fit-content;
}

/* Section head */
.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;
  color: rgba(238,243,255,.86);
}
.section-head__more{
  color: rgba(238,243,255,.70);
  font-weight: 900;
  font-size: 13px;
  border-bottom: 1px solid rgba(246,196,69,.25);
}
.section-head__more:hover{ color:#fff; border-bottom-color: rgba(246,196,69,.65); }

/* Popular 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;
}
.gcard{
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 170px;
  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){
  .gcard{ width: 200px; }
}
.gimg{
  height: 120px;
  background: rgba(0,0,0,.25);
}
.gimg img{ width:100%; height:100%; object-fit: cover; }
.gmeta{
  padding: 10px 12px 12px;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.gtitle{ margin:0; font-weight: 1000; font-size: 13px; line-height: 1.25; }
.gsub{ margin:0; color: rgba(238,243,255,.66); font-weight: 850; font-size: 11px; }
.gtag{
  position:absolute;
  top: 10px; left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(246,196,69,.18);
  border: 1px solid rgba(246,196,69,.28);
  font-weight: 1000;
  font-size: 11px;
  color: rgba(238,243,255,.96);
}

.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(238,243,255,.92);
  font-size: 20px;
  cursor:pointer;
}
.sbtn:hover{ background: rgba(246,196,69,.10); border-color: rgba(246,196,69,.20); }

/* SEO */
.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;
}

/* Footer */
.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,243,255,.62);
  font-size: 12px;
  line-height: 1.6;
}
.footer-note__copy{ color: rgba(238,243,255,.52); font-weight: 850; margin-top: 6px; }

a {
    color: #f7c64a;
}