/* Quest Online UK — Social Casino. Unique prefix: qo- */
/* Fonts: Sora (head), Manrope (body) — not used on gel-berlin, vikingchance, 77hub */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

:root {
  --qo-font-head: 'Sora', sans-serif;
  --qo-font-body: 'Manrope', sans-serif;
  --qo-deep: #0a0e14;
  --qo-mid: #141a24;
  --qo-panel: rgba(20, 26, 36, 0.94);
  --qo-edge: rgba(255, 255, 255, 0.09);
  --qo-edge-strong: rgba(255, 255, 255, 0.14);
  --qo-primary: #10b981;
  --qo-primary-dim: #059669;
  --qo-secondary: #38bdf8;
  --qo-glow: rgba(16, 185, 129, 0.25);
  --qo-text: #e2e8f0;
  --qo-text-muted: #94a3b8;
  --qo-round: 12px;
  --qo-round-lg: 20px;
  --qo-bar-h: 68px;
  --qo-topband-h: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--qo-bar-h);
}

body {
  font-family: var(--qo-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--qo-text);
  background: var(--qo-deep);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.qo-nav-open {
  overflow: hidden;
}

/* ——— Dynamic background: gradient mesh + pulsing emojis ——— */
.qo-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(145deg, #0a0e14 0%, #0f172a 35%, #0c1220 70%, #0a0e14 100%);
}

.qo-canvas__mesh {
  position: absolute;
  inset: -30%;
  opacity: 0.4;
}

.qo-canvas__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: qo-drift 20s ease-in-out infinite;
}

.qo-canvas__orb--1 {
  width: 55vmax;
  height: 55vmax;
  background: radial-gradient(circle, var(--qo-primary) 0%, transparent 65%);
  top: -15%;
  right: -15%;
  animation-delay: 0s;
}

.qo-canvas__orb--2 {
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(circle, var(--qo-secondary) 0%, transparent 65%);
  bottom: -10%;
  left: -10%;
  animation-delay: -7s;
}

.qo-canvas__orb--3 {
  width: 30vmax;
  height: 30vmax;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 65%);
  top: 50%;
  left: 40%;
  animation-delay: -14s;
}

@keyframes qo-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, -3%) scale(1.04); }
  66% { transform: translate(-3%, 2%) scale(0.97); }
}

/* Pulsing theme emojis — 24 pieces, half size (🪙💎🎴🌟🎁🔔🍀🎪 × 3) */
.qo-emoji {
  position: fixed;
  z-index: -1;
  font-size: clamp(0.68rem, 1.3vw, 0.95rem);
  pointer-events: none;
  opacity: 0.78;
  animation: qo-breathe 2.8s ease-in-out infinite;
}

.qo-emoji--1 { top: 5%; right: 12%; animation-delay: 0s; }
.qo-emoji--2 { top: 12%; left: 8%; animation-delay: 0.5s; }
.qo-emoji--3 { top: 18%; right: 25%; animation-delay: 0.2s; }
.qo-emoji--4 { top: 8%; left: 22%; animation-delay: 0.4s; }
.qo-emoji--5 { top: 25%; left: 5%; animation-delay: 0.7s; }
.qo-emoji--6 { top: 28%; right: 8%; animation-delay: 0.3s; }
.qo-emoji--7 { top: 35%; left: 18%; animation-delay: 0.6s; }
.qo-emoji--8 { top: 38%; right: 20%; animation-delay: 0.15s; }
.qo-emoji--9 { top: 45%; left: 4%; animation-delay: 0.35s; }
.qo-emoji--10 { top: 48%; right: 12%; animation-delay: 0.55s; }
.qo-emoji--11 { top: 52%; left: 28%; animation-delay: 0.1s; }
.qo-emoji--12 { bottom: 42%; right: 6%; animation-delay: 0.45s; }
.qo-emoji--13 { bottom: 38%; left: 10%; animation-delay: 0.65s; }
.qo-emoji--14 { bottom: 32%; right: 22%; animation-delay: 0.25s; }
.qo-emoji--15 { bottom: 28%; left: 6%; animation-delay: 0.5s; }
.qo-emoji--16 { bottom: 24%; right: 15%; animation-delay: 0.05s; }
.qo-emoji--17 { bottom: 18%; left: 20%; animation-delay: 0.4s; }
.qo-emoji--18 { bottom: 14%; right: 8%; animation-delay: 0.6s; }
.qo-emoji--19 { bottom: 10%; left: 14%; animation-delay: 0.2s; }
.qo-emoji--20 { bottom: 6%; right: 28%; animation-delay: 0.35s; }
.qo-emoji--21 { top: 62%; left: 12%; animation-delay: 0.55s; }
.qo-emoji--22 { top: 72%; right: 18%; animation-delay: 0.12s; }
.qo-emoji--23 { top: 82%; left: 8%; animation-delay: 0.48s; }
.qo-emoji--24 { top: 88%; right: 5%; animation-delay: 0.28s; }

@keyframes qo-breathe {
  0%, 100% { transform: scale(1); opacity: 0.68; }
  50% { transform: scale(1.18); opacity: 0.9; }
}

/* ——— Star trail (cursor path) ——— */
.qo-cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.qo-cursor-trail__star {
  position: absolute;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, var(--qo-primary) 70%, transparent 100%);
  box-shadow: 0 0 8px var(--qo-primary), 0 0 4px rgba(255, 255, 255, 0.6);
  animation: qo-star-fade 1.2s ease-out forwards;
}

@keyframes qo-star-fade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.3); }
}

/* Layout */
.qo-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.qo-head, .qo-main, .qo-foot {
  position: relative;
  z-index: 1;
}

/* ——— Age gate ——— */
.qo-age {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 20, 0.94);
  backdrop-filter: blur(10px);
}

.qo-age[aria-hidden="true"] {
  display: none;
}

.qo-age__card {
  background: var(--qo-mid);
  border: 1px solid var(--qo-edge-strong);
  border-radius: var(--qo-round-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.qo-age__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.qo-age__title {
  font-family: var(--qo-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--qo-text);
}

.qo-age__text {
  margin: 0 0 1.5rem;
  color: var(--qo-text-muted);
  font-size: 0.95rem;
}

.qo-age__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ——— Cookie bar ——— */
.qo-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 16px 20px;
  background: var(--qo-panel);
  border-top: 1px solid var(--qo-edge);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.qo-cookie[aria-hidden="true"] {
  display: none;
}

.qo-cookie__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.qo-cookie__copy {
  flex: 1;
  min-width: 260px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--qo-text-muted);
}

.qo-cookie__copy a {
  color: var(--qo-primary);
  text-decoration: underline;
}

.qo-cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Cookie settings panel */
.qo-cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(8px);
}

.qo-cookie-panel[data-open="true"] {
  display: flex;
}

.qo-cookie-panel__box {
  background: var(--qo-mid);
  border: 1px solid var(--qo-edge-strong);
  border-radius: var(--qo-round-lg);
  padding: 1.75rem;
  max-width: 460px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}

.qo-cookie-panel__title {
  font-family: var(--qo-font-head);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.qo-cookie-panel__row {
  margin-bottom: 1rem;
}

.qo-cookie-panel__label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.qo-cookie-panel__label input {
  width: 18px;
  height: 18px;
}

.qo-cookie-panel__btns {
  margin-top: 1.25rem;
  display: flex;
  gap: 10px;
}

/* ——— Header: two-row unique structure ——— */
.qo-topband {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--qo-edge);
  padding: 6px 0;
}

.qo-topband__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.qo-topband__age {
  font-family: var(--qo-font-head);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--qo-primary);
  letter-spacing: 0.05em;
}

.qo-topband__tag {
  font-size: 0.75rem;
  color: var(--qo-text-muted);
}

.qo-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.9);
  border-bottom: 1px solid var(--qo-edge);
  backdrop-filter: blur(12px);
  height: var(--qo-bar-h);
}

.qo-navbar__in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.qo-navbar__brand {
  font-family: var(--qo-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--qo-text);
  text-decoration: none;
}

.qo-navbar__brand:hover {
  color: var(--qo-primary);
}

.qo-navbar__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.qo-navbar__link {
  color: var(--qo-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.qo-navbar__link:hover,
.qo-navbar__link[aria-current="page"] {
  color: var(--qo-text);
  background: rgba(255, 255, 255, 0.06);
}

.qo-navbar__link[aria-current="page"] {
  color: var(--qo-primary);
}

.qo-navbar__toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--qo-text);
  border-radius: 8px;
  transition: background 0.2s;
}

.qo-navbar__toggler:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qo-navbar__toggler span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.qo-navbar__toggler[aria-expanded="true"] {
  position: relative;
  z-index: 101;
  background: var(--qo-mid);
  color: var(--qo-text);
  box-shadow: 0 0 0 1px var(--qo-edge);
}

.qo-navbar__toggler[aria-expanded="true"]:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qo-navbar__toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.qo-navbar__toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.qo-navbar__toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.qo-navbar__toggler[aria-expanded="true"] span:nth-child(1),
.qo-navbar__toggler[aria-expanded="true"] span:nth-child(3) {
  height: 2.5px;
  background: var(--qo-text);
}

.qo-drawer {
  position: fixed;
  top: calc(var(--qo-bar-h) + var(--qo-topband-h));
  right: 0;
  width: 280px;
  max-width: 100%;
  height: calc(100vh - var(--qo-bar-h) - var(--qo-topband-h));
  background: var(--qo-mid);
  border-left: 1px solid var(--qo-edge);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 99;
  overflow-y: auto;
}

.qo-drawer[data-open="true"] {
  transform: translateX(0);
}

.qo-drawer .qo-navbar__links {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.qo-drawer .qo-navbar__link {
  padding: 12px 16px;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .qo-navbar__toggler {
    display: flex;
  }
  .qo-navbar .qo-navbar__links {
    display: none;
  }
  .qo-drawer {
    top: 95px;
    height: calc(100vh - var(--qo-bar-h));
  }
  .qo-topband {
    padding: 8px 0;
  }
}

@media (min-width: 992px) {
  .qo-drawer {
    display: none;
  }
}

/* ——— Buttons ——— */
.qo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--qo-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--qo-round);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.qo-btn--main {
  background: linear-gradient(135deg, var(--qo-primary), var(--qo-primary-dim));
  color: #fff;
  box-shadow: 0 4px 14px var(--qo-glow);
}

.qo-btn--main:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--qo-glow);
}

.qo-btn--alt {
  background: rgba(255, 255, 255, 0.08);
  color: var(--qo-text);
  border: 1px solid var(--qo-edge);
}

.qo-btn--alt:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--qo-edge-strong);
}

/* ——— Splash (hero) — first block, unique two-column layout ——— */
.qo-splash {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  min-height: 42vh;
  display: flex;
  align-items: center;
}

.qo-splash__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.qo-splash__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .qo-splash__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 3rem;
  }
}

.qo-splash__left {
  text-align: center;
}

@media (min-width: 768px) {
  .qo-splash__left {
    text-align: left;
  }
}

.qo-splash__strap {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--qo-text-muted);
  margin: 0 0 1rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--qo-edge);
}

.qo-splash__headline {
  font-family: var(--qo-font-head);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: var(--qo-text);
}

.qo-splash__headline span {
  background: linear-gradient(135deg, var(--qo-primary), var(--qo-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qo-splash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 768px) {
  .qo-splash__actions {
    justify-content: flex-start;
  }
}

.qo-splash__right {
  padding: 1.25rem 0;
}

.qo-splash__tagline {
  font-size: 1rem;
  color: var(--qo-text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 42ch;
}

@media (min-width: 768px) {
  .qo-splash__tagline {
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--qo-primary);
  }
}

.qo-strip--first {
  padding-top: 2.5rem;
}

/* ——— Section blocks (unique naming) ——— */
.qo-strip {
  padding: 3.5rem 0;
}

.qo-strip__top {
  text-align: center;
  margin-bottom: 2rem;
}

.qo-strip__heading {
  font-family: var(--qo-font-head);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--qo-text);
}

.qo-strip__sub {
  font-size: 0.95rem;
  color: var(--qo-text-muted);
  margin: 0;
}

/* Steps */
.qo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.qo-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--qo-edge);
  border-radius: var(--qo-round);
  padding: 1.5rem;
  text-align: center;
}

.qo-step__num {
  font-family: var(--qo-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--qo-primary);
  margin-bottom: 0.5rem;
}

.qo-step__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--qo-text);
}

.qo-step__text {
  font-size: 0.9rem;
  color: var(--qo-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Game cards */
.qo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.qo-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--qo-edge);
  border-radius: var(--qo-round);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.qo-card:hover {
  border-color: var(--qo-primary);
  transform: translateY(-2px);
}

.qo-card__img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--qo-mid);
}

.qo-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qo-card__body {
  padding: 1.25rem;
}

.qo-card__title {
  font-family: var(--qo-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--qo-text);
}

.qo-card__meta {
  font-size: 0.85rem;
  color: var(--qo-text-muted);
  margin: 0 0 1rem;
}

/* FAQ */
.qo-faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.qo-faq-item {
  border: 1px solid var(--qo-edge);
  border-radius: var(--qo-round);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.qo-faq-item[data-open="true"] .qo-faq-item__panel {
  display: block;
}

.qo-faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-family: var(--qo-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--qo-text);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.qo-faq-item__trigger:hover {
  background: rgba(255, 255, 255, 0.04);
}

.qo-faq-item__trigger::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--qo-primary);
  transition: transform 0.2s;
}

.qo-faq-item[data-open="true"] .qo-faq-item__trigger::after {
  content: '−';
}

.qo-faq-item__panel {
  display: none;
  padding: 0 1.25rem 1rem;
}

.qo-faq-item__panel p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--qo-text-muted);
  line-height: 1.6;
}

/* Legal strip */
.qo-legal-band {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--qo-edge);
  border-radius: var(--qo-round);
  padding: 1.5rem 2rem;
}

.qo-legal-band__title {
  font-family: var(--qo-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--qo-text);
}

.qo-legal-band__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--qo-text-muted);
  line-height: 1.6;
}

/* ——— Footer: three-row unique structure ——— */
.qo-sitefoot {
  margin-top: 3rem;
  border-top: 2px solid var(--qo-edge);
  padding-top: 2rem;
}

.qo-sitefoot__row1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--qo-edge);
}

.qo-sitefoot__brand {
  font-family: var(--qo-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--qo-text);
  margin-bottom: 0.4rem;
}

.qo-sitefoot__copy {
  font-size: 0.85rem;
  color: var(--qo-text-muted);
  margin: 0 0 0.35rem;
}

.qo-sitefoot__notice {
  font-size: 0.8rem;
  color: var(--qo-text-muted);
  margin: 0;
  line-height: 1.45;
}

.qo-sitefoot__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.qo-sitefoot__age {
  font-family: var(--qo-font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--qo-primary);
}

.qo-sitefoot__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.qo-sitefoot__badges a {
  display: inline-block;
  transition: opacity 0.2s;
}

.qo-sitefoot__badges a:hover {
  opacity: 0.85;
}

.qo-sitefoot__badges img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.qo-sitefoot__row2 {
  padding: 1.25rem 0;
}

.qo-sitefoot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  justify-content: center;
}

.qo-sitefoot__nav a {
  color: var(--qo-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.qo-sitefoot__nav a:hover {
  color: var(--qo-primary);
}

.qo-sitefoot__row3 {
  padding-top: 1.25rem;
  border-top: 1px solid var(--qo-edge);
}

.qo-sitefoot__disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--qo-text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Page sheet (inner pages) ——— */
.qo-sheet {
  padding: 2.5rem 0 4rem;
}

.qo-sheet__title {
  font-family: var(--qo-font-head);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--qo-text);
}

.qo-sheet__sub {
  font-size: 0.95rem;
  color: var(--qo-text-muted);
  margin: 0 0 2rem;
}

.qo-prose {
  max-width: 720px;
}

.qo-prose h2 {
  font-family: var(--qo-font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--qo-text);
}

.qo-prose h2:first-child {
  margin-top: 0;
}

.qo-prose p, .qo-prose li {
  margin: 0 0 1rem;
  color: var(--qo-text-muted);
  line-height: 1.65;
}

.qo-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.qo-prose a {
  color: var(--qo-primary);
  text-decoration: underline;
}

.qo-prose a:hover {
  color: var(--qo-secondary);
}

/* Bonus cards */
.qo-bonus-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.qo-bonus-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--qo-edge);
  border-radius: var(--qo-round);
  padding: 1.75rem;
  text-align: center;
}

.qo-bonus-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.qo-bonus-card__title {
  font-family: var(--qo-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--qo-text);
}

.qo-bonus-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--qo-text-muted);
  line-height: 1.55;
}

/* Leaderboard table */
.qo-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--qo-edge);
  border-radius: var(--qo-round);
  background: rgba(255, 255, 255, 0.03);
}

.qo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.qo-table th,
.qo-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--qo-edge);
}

.qo-table th {
  font-family: var(--qo-font-head);
  font-weight: 600;
  color: var(--qo-text);
  background: rgba(0, 0, 0, 0.2);
}

.qo-table td {
  color: var(--qo-text-muted);
}

.qo-table tbody tr:last-child td {
  border-bottom: none;
}

.qo-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}
