/* =====================================================
   WestAce.cv — Casino Design System (westace.com style)
   ===================================================== */
:root {
  --bg:        #0a0b0f;
  --bg-2:      #13141c;
  --bg-3:      #1c1e2a;
  --bg-4:      #22243a;
  --card:      #181921;
  --border:    #2a2d44;
  --border-2:  #353860;
  --text:      #e9ecf1;
  --muted:     #8890b0;
  --accent:    #F5C842;
  --accent-2:  #d4a820;
  --green:     #1aaa3f;
  --green-2:   #158534;
  --red:       #e03030;
  --ok:        #27c07a;
  --radius:    10px;
  --radius-lg: 16px;
  --maxw:      1200px;
  --header-h:  100px;
  --shadow:    0 4px 24px rgba(0,0,0,.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; opacity: .85; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--accent); color: #000; padding: 8px 12px; border-radius: 6px; z-index: 9999; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-2);
  box-shadow: 0 2px 16px rgba(0,0,0,.6);
}

/* TOP BAR: Logo + Search + Buttons */
.top-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -.3px;
}
.brand-logo { width: 34px; height: 34px; flex: 0 0 34px; }
.drawer-head .brand-logo { width: 28px; height: 28px; flex-basis: 28px; }
.brand .brand-west { color: var(--text); }
.brand .brand-ace { color: var(--accent); }

.top-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s;
  max-width: 380px;
}
.top-search:hover { border-color: var(--border-2); }
.top-search svg { flex-shrink: 0; }

.header-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border: 1.5px solid var(--border-2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.btn-login:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

.btn-register {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #e03a00, #b82c00);
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 0;
}
.btn-register:hover { opacity: .9; transform: translateY(-1px); }

/* NAV BAR: Main menu + Right links */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-main a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-main a:hover,
.nav-main a[aria-current="page"],
.nav-main a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-right a {
  padding: 12px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
  transition: color .15s;
}
.nav-right a:hover { color: var(--accent); opacity: 1; }
.nav-right .flag-btn {
  padding: 8px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-left: 6px;
  font-size: 14px;
}

/* MOBILE: hide nav on small screens */
@media(max-width: 900px) {
  .nav-main { display: none; }
  .nav-right { display: none; }
  .top-search { display: none; }
}
@media(max-width: 600px) {
  .brand { font-size: 18px; }
  .btn-login { display: none; }
}

/* ===================== BURGER BUTTON ===================== */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.burger-btn:hover { background: var(--bg-4); }
.burger-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s, width .2s;
  width: 100%;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media(max-width: 900px) {
  .burger-btn { display: flex; }
}

/* ===================== MOBILE DRAWER ===================== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
}
.mobile-drawer.open { display: block; }

/* Backdrop */
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(2px);
}

/* Drawer panel */
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 32px rgba(0,0,0,.7);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }

/* Drawer header */
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-head .brand { font-size: 18px; }
.drawer-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.drawer-close:hover { background: var(--bg-4); }

/* Drawer CTA row */
.drawer-cta {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.drawer-cta a { flex: 1; text-align: center; font-size: 13px; }

/* Drawer nav links */
.drawer-nav {
  flex: 1;
  padding: 8px 0;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid rgba(42,45,68,.5);
  transition: color .15s, background .15s;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.drawer-nav a:hover,
.drawer-nav a.active { color: var(--accent); background: rgba(245,200,66,.04); opacity: 1; }
.drawer-nav a .nav-icon { font-size: 16px; width: 22px; text-align: center; }

/* Drawer lang section */
.drawer-lang {
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-lang-label {
  padding: 10px 20px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700;
}
.drawer-lang-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 12px 16px;
  gap: 6px;
}
.drawer-lang-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .18s, background .18s;
  position: relative;
  min-height: 56px;
}
.drawer-lang-list a:hover { border-color: var(--border-2); background: var(--bg-4); opacity: 1; }
.drawer-lang-list a[aria-current="true"] {
  border-color: var(--accent);
  background: rgba(245,200,66,.07);
}
.drawer-lang-list a .lang-flag {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.drawer-lang-list a .lang-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.drawer-lang-list a .lang-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.drawer-lang-list a[aria-current="true"] .lang-name { color: var(--accent); }
.drawer-lang-list a .lang-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.drawer-lang-list a .lang-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .18s, transform .18s;
}
.drawer-lang-list a[aria-current="true"] .lang-check {
  opacity: 1;
  transform: scale(1);
}


/* ===================== LANGUAGE DROPDOWN (desktop) ===================== */
.lang-dropdown {
  position: relative;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s;
  white-space: nowrap;
}
.lang-dropdown-btn:hover { border-color: var(--border-2); }
.lang-dropdown-btn .arrow {
  font-size: 9px;
  color: var(--muted);
  transition: transform .2s;
}
.lang-dropdown.open .lang-dropdown-btn .arrow { transform: rotate(180deg); }

.lang-dropdown-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  overflow: hidden;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 300;
}
.lang-dropdown.open .lang-dropdown-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-popup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .15s, background .15s;
  border-bottom: 1px solid rgba(42,45,68,.6);
  cursor: pointer;
}
.lang-popup-item:last-child { border-bottom: 0; }
.lang-popup-item:hover { color: var(--text); background: var(--bg-3); opacity: 1; }
.lang-popup-item[aria-current="true"] { color: var(--accent); }
.lang-popup-item .flag { font-size: 20px; }
.lang-popup-item .lang-name { flex: 1; }
.lang-popup-item .check { color: var(--accent); font-size: 12px; }

/* Hide old lang-switch inline */
.nav-right .lang-switch { display: none; }



/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: 12px;
  color: var(--muted);
}
.trust-bar .container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.trust-bar strong { color: var(--accent); }

/* ===================== HERO BANNER ===================== */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: .4; }
  50% { opacity: .8; }
}
@keyframes floatUp {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.hero-banner-wrap {
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.hero-slide {
  position: relative;
  min-height: 400px;
  background: #070b12 url('/foto/westace-hero-banner.jpg') center right / cover no-repeat;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,6,11,.96) 0%, rgba(3,6,11,.76) 38%, rgba(3,6,11,.18) 68%, rgba(3,6,11,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28));
}

.hero-slide-overlay {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 40px clamp(24px, 4vw, 64px);
}

.hero-content {
  width: min(720px, 58vw);
  animation: slideInLeft .8s cubic-bezier(.4,0,.2,1) .1s both;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(245,200,66,.18);
  color: var(--accent);
  border: 1px solid rgba(245,200,66,.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: slideInLeft .6s cubic-bezier(.4,0,.2,1) .15s both;
}

.hero-h1 {
  font-size: clamp(36px, 3.15vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 4px 16px rgba(0,0,0,.7);
  letter-spacing: -.8px;
  animation: slideInLeft .7s cubic-bezier(.4,0,.2,1) .2s both;
}

.hero-h1 span {
  color: var(--accent);
  text-shadow: 0 4px 20px rgba(245,200,66,.3);
}

.hero-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 500;
  animation: slideInLeft .7s cubic-bezier(.4,0,.2,1) .25s both;
}

.btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 42px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  border: 0;
  cursor: pointer;
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(26,170,63,.45), inset 0 1px 0 rgba(255,255,255,.15);
  transition: all .2s cubic-bezier(.4,0,.2,1);
  text-decoration: none !important;
  animation: slideInLeft .8s cubic-bezier(.4,0,.2,1) .3s both;
  position: relative;
}

.btn-join::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
}

.btn-join:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(26,170,63,.6), inset 0 1px 0 rgba(255,255,255,.2);
  opacity: 1;
}

.btn-join:active {
  transform: translateY(-1px);
}

.btn-join:hover::before {
  opacity: 1;
  animation: shimmer .6s;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media(max-width: 1200px) {
  .hero-content {
    width: min(650px, 62vw);
  }
}

@media(max-width: 768px) {
  .hero-slide {
    min-height: 350px;
    background-position: 62% center;
  }
  .hero-slide::before {
    background: linear-gradient(90deg, rgba(3,6,11,.97) 0%, rgba(3,6,11,.84) 58%, rgba(3,6,11,.42) 100%);
  }
  .hero-slide-overlay {
    min-height: 350px;
    padding: 32px;
  }
  .hero-content {
    width: min(560px, 82vw);
  }
  .hero-h1 {
    font-size: clamp(22px, 5vw, 36px);
    margin-bottom: 10px;
  }
  .hero-eyebrow {
    margin-bottom: 12px;
  }
  .btn-join {
    padding: 14px 32px;
    font-size: 14px;
  }
  .hero-desc {
    margin-bottom: 16px;
    font-size: 13px;
  }
}

@media(max-width: 600px) {
  .hero-slide {
    min-height: 330px;
    background-position: 68% center;
  }
  .hero-slide-overlay {
    min-height: 330px;
    padding: 28px 20px;
  }
  .hero-content {
    width: 100%;
  }
  .hero-h1 {
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 8px;
  }
  .hero-eyebrow {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 10px;
  }
  .btn-join {
    padding: 12px 28px;
    font-size: 13px;
  }
}

/* ===================== SECTIONS ===================== */
section { padding: 30px 0; }
main > section {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
h2 {
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
h3 { font-size: 17px; margin: 20px 0 10px; font-weight: 700; }
p { margin: 0 0 12px; color: #c0c6dc; }
.lead { font-size: 16px; color: var(--text); }

/* ===================== SECTION HEADER ROW ===================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-header h2 { margin: 0; }
.see-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.see-all a { color: var(--muted); transition: color .15s; }
.see-all a:hover { color: var(--accent); opacity: 1; }
.see-all .nav-btns { display: flex; gap: 4px; }
.see-all .nav-btns button {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.see-all .nav-btns button:hover { background: var(--bg-4); }

/* ===================== GAME CARDS (RANKED) ===================== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media(max-width: 1100px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media(max-width: 720px)  { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 480px)  { .game-grid { grid-template-columns: repeat(2, 1fr); } }

.game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  aspect-ratio: 3/4;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(0,0,0,.6);
  z-index: 2;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* NEW badge */
.game-card .badge-new {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
/* Rank number */
.game-card .rank-num {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,.9);
  text-shadow:
    0 0 0 transparent,
    -2px  2px 0 rgba(0,0,0,.9),
    -2px -2px 0 rgba(0,0,0,.9),
     2px  2px 0 rgba(0,0,0,.9),
     2px -2px 0 rgba(0,0,0,.9);
  padding: 0 0 4px 8px;
  pointer-events: none;
  font-style: italic;
}
/* RTP badge */
.game-card .rtp-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,.75);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}
/* Hover play overlay */
.game-card .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.game-card:hover .play-overlay { opacity: 1; }
.play-overlay .play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(26,170,63,.5);
}
/* Jackpot ticker */
.game-card .jackpot-val {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.8);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

/* ===================== LIVE CASINO CARDS ===================== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media(max-width: 1000px) { .live-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 600px)  { .live-grid { grid-template-columns: repeat(2, 1fr); } }

.live-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .2s, border-color .2s;
  aspect-ratio: 3/4;
}
.live-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.live-card img { width: 100%; height: 100%; object-fit: cover; }
.live-card .live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex; align-items: center; gap: 4px;
}
.live-card .live-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.live-card .live-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  padding: 24px 10px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.live-card .multiplier {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(245,200,66,.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===================== CARDS & GRIDS (general) ===================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media(max-width: 880px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr 1fr; } }
@media(max-width: 520px) { .grid-3,.grid-4 { grid-template-columns: 1fr 1fr; } }

/* ===================== PROS/CONS ===================== */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc > div { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.pc h3 { margin-top: 0; font-size: 15px; }
.pc ul { margin: 0; padding-left: 18px; }
.pc li { margin: 7px 0; color: #c0c6dc; }
.pros h3 { color: var(--ok); }
.cons h3 { color: var(--red); }
@media(max-width: 680px) { .pc { grid-template-columns: 1fr; } }

/* ===================== TABLES ===================== */
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-3); color: var(--text); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--text); }
.table-wrap { overflow-x: auto; }

/* ===================== PROVIDER STRIP ===================== */
.prov-strip { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
.prov-chip { background: var(--bg-3); border: 1px solid var(--border); padding: 7px 13px; border-radius: 7px; font-size: 12px; color: var(--muted); font-weight: 500; transition: border-color .15s, color .15s; }
.prov-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ===================== PAYMENT CHIPS ===================== */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  width: calc(100% - 32px);
  max-width: var(--maxw);
  margin: 30px auto;
}
.container > .pay-grid { width: 100%; margin: 20px 0; }
.pay-chip { background: var(--card); border: 1px solid var(--border); padding: 13px; border-radius: 9px; text-align: center; font-size: 13px; transition: border-color .15s; }
.pay-chip:hover { border-color: var(--border-2); }
.pay-chip strong { display: block; color: var(--text); margin-bottom: 2px; }
.pay-chip span { color: var(--muted); font-size: 11px; }

/* ===================== FAQ ===================== */
details { background: var(--card); border: 1px solid var(--border); border-radius: 9px; padding: 13px 16px; margin: 7px 0; transition: border-color .15s; }
details[open] { border-color: var(--accent); }
summary { font-weight: 600; cursor: pointer; color: var(--text); font-size: 14px; list-style: none; outline: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-size: 18px; line-height: 1; transition: transform .2s; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: #c0c6dc; }

/* ===================== STEPS ===================== */
.steps { counter-reset: step; display: grid; gap: 12px; list-style: none; padding: 0; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 9px; padding: 14px 16px 14px 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 12px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.steps li strong { display: inline; color: var(--text); }

/* ===================== CALLOUTS ===================== */
.callout { background: rgba(245,200,66,.07); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 7px; margin: 12px 0; color: #d8ddf0; font-size: 13px; }
.callout.warn { background: rgba(224,48,48,.07); border-color: var(--red); }

/* ===================== RELATED ===================== */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.related a { background: var(--card); border: 1px solid var(--border); padding: 13px 15px; border-radius: 9px; color: var(--text); font-weight: 600; font-size: 13px; display: block; transition: border-color .15s, background .15s; }
.related a:hover { border-color: var(--accent); background: var(--bg-3); opacity: 1; }
.related a span { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ===================== CTA BUTTON (General) ===================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0a0b0f !important;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: 9px;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  text-decoration: none !important;
  letter-spacing: .3px;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,200,66,.35); opacity: 1; }
.cta-btn.lg { padding: 14px 28px; font-size: 16px; }
.cta-btn.green {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(26,170,63,.35);
}
.cta-btn.green:hover { box-shadow: 0 6px 22px rgba(26,170,63,.5); }

/* Language switcher */
.lang-switch { display: flex; gap: 5px; font-size: 12px; }
.lang-switch a { color: var(--muted); padding: 3px 8px; border: 1px solid var(--border); border-radius: 5px; font-size: 11px; font-weight: 600; }
.lang-switch a[aria-current="true"] { background: var(--bg-3); color: var(--accent); border-color: var(--accent); }

/* ===================== BREADCRUMB ===================== */
.crumb { font-size: 12px; color: var(--muted); margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 5px; }
.crumb li { display: inline-flex; align-items: center; }
.crumb li:not(:last-child)::after { content: "›"; margin-left: 5px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* ===================== HERO (inner pages) ===================== */
.hero {
  padding: 36px 0 28px;
  background: radial-gradient(1000px 300px at 50% -10%, rgba(245,200,66,.09), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: clamp(24px, 3.5vw, 40px); line-height: 1.15; margin: 0 0 12px; font-weight: 800; letter-spacing: -.4px; }
.hero .lede { font-size: 15px; color: var(--muted); max-width: 700px; margin: 0 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.hero-card { background: linear-gradient(160deg, var(--card), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.offer-tag { display: inline-block; background: rgba(245,200,66,.13); color: var(--accent); border: 1px solid rgba(245,200,66,.3); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; }
.offer-headline { font-size: 24px; font-weight: 800; color: var(--text); margin: 0 0 5px; line-height: 1.2; }
.offer-sub { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.offer-terms { font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.hero-banner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.hero-banner img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media(max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 32px 0 20px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.foot-grid h4 { color: var(--text); font-size: 12px; margin: 0 0 9px; text-transform: uppercase; letter-spacing: .6px; }
.foot-grid a { color: var(--muted); display: block; padding: 2px 0; font-size: 12px; }
.foot-grid a:hover { color: var(--accent); opacity: 1; }
.rg-bar { border-top: 1px solid var(--border); padding-top: 16px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 12px; }
.rg-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.rg-icons span { background: var(--bg-3); padding: 3px 9px; border-radius: 5px; font-weight: 700; color: var(--text); font-size: 11px; border: 1px solid var(--border); }
@media(max-width: 680px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ===================== MOBILE STICKY CTA ===================== */
.mobile-cta { display: none; }
@media(max-width: 880px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 10px 14px;
    gap: 10px;
    align-items: center;
    z-index: 99;
  }
  .mobile-cta strong { flex: 1; font-size: 12px; color: var(--text); }
  .mobile-cta .cta-btn { padding: 10px 16px; font-size: 13px; }
  body { padding-bottom: 66px; }
}

/* ===================== MISC ===================== */
.layer-section { padding: 26px 0; border-top: 1px solid var(--border); }
.layer-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); font-weight: 700; margin-bottom: 7px; }
