:root {
  --qb-emerald-900: #052e23;
  --qb-emerald-800: #084534;
  --qb-emerald-700: #0b5e47;
  --qb-emerald-600: #0f7a5c;
  --qb-emerald-500: #14a070;
  --qb-mint-300: #7eefcb;
  --qb-mint-200: #b8f5e0;
  --qb-gold-400: #f5d78e;
  --qb-gold-500: #e8c060;
  --qb-cream: #f8f6f1;
  --qb-slate-900: #0f1419;
  --qb-slate-700: #2d3748;
  --qb-slate-500: #64748b;
  --qb-slate-300: #cbd5e1;
  --qb-white: #ffffff;
  --qb-font-body: 'Outfit', system-ui, sans-serif;
  --qb-font-display: 'Playfair Display', Georgia, serif;
  --qb-radius-sm: 8px;
  --qb-radius-md: 14px;
  --qb-radius-lg: 20px;
  --qb-shadow-sm: 0 2px 8px rgba(5, 46, 35, 0.08);
  --qb-shadow-md: 0 8px 24px rgba(5, 46, 35, 0.12);
  --qb-shadow-lg: 0 16px 48px rgba(5, 46, 35, 0.16);
  --qb-container: 1180px;
  --qb-topbar-h: 36px;
  --qb-header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--qb-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--qb-slate-900);
  background: var(--qb-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--qb-emerald-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--qb-emerald-500);
}

.qb-container {
  width: 100%;
  max-width: var(--qb-container);
  margin-inline: auto;
  padding-inline: 20px;
}

.qb-topbar {
  background: linear-gradient(135deg, var(--qb-emerald-900) 0%, var(--qb-emerald-800) 100%);
  color: var(--qb-mint-200);
  font-size: 0.75rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(126, 239, 203, 0.15);
}

.qb-topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--qb-topbar-h);
  padding-block: 6px;
}

.qb-topbar__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  background: var(--qb-gold-400);
  color: var(--qb-emerald-900);
  font-weight: 700;
  font-size: 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.qb-topbar__text {
  font-weight: 400;
  opacity: 0.92;
}

.qb-header {
  position: relative;
  background: var(--qb-white);
  border-bottom: 1px solid rgba(11, 94, 71, 0.08);
  box-shadow: var(--qb-shadow-sm);
}

.qb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--qb-header-h);
  gap: 24px;
}

.qb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--qb-emerald-800);
  text-decoration: none;
  flex-shrink: 0;
}

.qb-logo:hover {
  color: var(--qb-emerald-600);
}

.qb-logo__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.qb-logo__icon svg {
  width: 100%;
  height: 100%;
  border-radius: var(--qb-radius-sm);
  box-shadow: var(--qb-shadow-sm);
}

.qb-logo__text {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1.1;
}

.qb-logo__name {
  font-family: var(--qb-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.qb-logo__domain {
  font-family: var(--qb-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--qb-emerald-500);
}

.qb-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(11, 94, 71, 0.15);
  border-radius: var(--qb-radius-sm);
  cursor: pointer;
  z-index: 110;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.qb-nav-toggle:hover {
  background: rgba(11, 94, 71, 0.05);
  border-color: rgba(11, 94, 71, 0.25);
}

.qb-nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--qb-emerald-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.qb-nav-toggle.is-active .qb-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.qb-nav-toggle.is-active .qb-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.qb-nav-toggle.is-active .qb-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.qb-nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.qb-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--qb-slate-700);
  border-radius: var(--qb-radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.qb-nav__link:hover {
  background: rgba(11, 94, 71, 0.06);
  color: var(--qb-emerald-700);
}

.qb-nav__link.is-active {
  background: rgba(11, 94, 71, 0.1);
  color: var(--qb-emerald-700);
  font-weight: 600;
}

.qb-nav-overlay {
  display: none;
}

.qb-main {
  flex: 1;
}

.qb-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--qb-emerald-800) 0%, var(--qb-emerald-900) 55%, #031f18 100%);
  color: var(--qb-white);
  padding-block: 48px 52px;
}

.qb-hero--minimal {
  padding-block: 56px 60px;
}

.qb-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
}

.qb-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.qb-hero__title {
  font-family: var(--qb-font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--qb-white);
}

.qb-hero__subtitle {
  font-family: var(--qb-font-body);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--qb-mint-200);
  opacity: 0.92;
}

.qb-hero__accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.qb-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.qb-hero__orb--1 {
  width: 280px;
  height: 280px;
  background: var(--qb-emerald-500);
  top: -80px;
  right: -40px;
}

.qb-hero__orb--2 {
  width: 180px;
  height: 180px;
  background: var(--qb-gold-400);
  bottom: -60px;
  right: 20%;
  opacity: 0.2;
}

.qb-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--qb-gold-400) 0%, var(--qb-gold-500) 100%);
  color: var(--qb-emerald-900);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--qb-radius-sm);
  box-shadow: 0 4px 16px rgba(245, 215, 142, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qb-btn:hover {
  color: var(--qb-emerald-900);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 215, 142, 0.4);
}

.qb-listing {
  padding-block: 56px 64px;
  background: var(--qb-cream);
}

.qb-listing__header {
  text-align: center;
  margin-bottom: 40px;
}

.qb-listing__title {
  font-family: var(--qb-font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--qb-emerald-800);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.qb-listing__lead {
  font-size: 1rem;
  color: var(--qb-slate-500);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.6;
}

.qb-listing__offers {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qb-offer {
  background: var(--qb-white);
  border-radius: var(--qb-radius-lg);
  border: 1px solid rgba(11, 94, 71, 0.1);
  box-shadow: var(--qb-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.qb-offer:hover {
  box-shadow: var(--qb-shadow-md);
  border-color: rgba(11, 94, 71, 0.18);
}

.qb-offer--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--qb-white), var(--qb-white)) padding-box,
    linear-gradient(135deg, var(--qb-gold-400) 0%, var(--qb-emerald-500) 50%, var(--qb-emerald-700) 100%) border-box;
  box-shadow: var(--qb-shadow-md);
}

.qb-offer__row {
  display: grid;
  grid-template-columns: 56px 100px 1fr 1.4fr 100px 130px;
  align-items: center;
  gap: 16px 20px;
  padding: 22px 24px;
}

.qb-offer__actions {
  display: contents;
}

.qb-offer__col--rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qb-offer__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--qb-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--qb-emerald-800);
  background: linear-gradient(145deg, var(--qb-mint-200) 0%, rgba(126, 239, 203, 0.4) 100%);
  border-radius: 50%;
  line-height: 1;
}

.qb-offer--featured .qb-offer__rank {
  background: linear-gradient(145deg, var(--qb-gold-400) 0%, var(--qb-gold-500) 100%);
  color: var(--qb-emerald-900);
  box-shadow: 0 4px 12px rgba(245, 215, 142, 0.45);
}

.qb-offer__badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--qb-emerald-700);
  background: rgba(20, 160, 112, 0.12);
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.qb-offer__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 56px;
  padding: 8px;
  background: var(--qb-cream);
  border-radius: var(--qb-radius-sm);
  border: 1px solid rgba(11, 94, 71, 0.08);
}

.qb-offer__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qb-offer__name {
  font-family: var(--qb-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--qb-slate-900);
  line-height: 1.2;
  margin-bottom: 4px;
}

.qb-offer__tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--qb-emerald-600);
}

.qb-offer__bonus-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--qb-slate-500);
  margin-bottom: 4px;
}

.qb-offer__bonus {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--qb-emerald-800);
  line-height: 1.4;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(126, 239, 203, 0.25) 0%, rgba(126, 239, 203, 0.05) 100%);
  border-left: 3px solid var(--qb-emerald-500);
  border-radius: 0 var(--qb-radius-sm) var(--qb-radius-sm) 0;
}

.qb-offer__score {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: 96px;
  padding: 10px 10px 8px;
  background: linear-gradient(160deg, var(--qb-emerald-900) 0%, var(--qb-emerald-800) 100%);
  border-radius: var(--qb-radius-md);
  box-shadow: inset 0 1px 0 rgba(126, 239, 203, 0.15), 0 4px 12px rgba(5, 46, 35, 0.2);
}

.qb-offer--featured .qb-offer__score {
  background: linear-gradient(160deg, #1a3d32 0%, var(--qb-emerald-900) 100%);
  box-shadow:
    inset 0 1px 0 rgba(245, 215, 142, 0.25),
    0 0 0 1px rgba(245, 215, 142, 0.35),
    0 4px 14px rgba(5, 46, 35, 0.25);
}

.qb-offer__score-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.qb-offer__score-icon {
  width: 14px;
  height: 14px;
  color: var(--qb-gold-400);
  flex-shrink: 0;
  align-self: center;
  margin-right: 2px;
  filter: drop-shadow(0 1px 2px rgba(245, 215, 142, 0.4));
}

.qb-offer__score-value {
  font-family: var(--qb-font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--qb-gold-400);
  letter-spacing: -0.03em;
}

.qb-offer__score-max {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--qb-mint-300);
  opacity: 0.7;
}

.qb-offer__score-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.qb-offer__score-bar-fill {
  display: block;
  height: 100%;
  width: var(--qb-score-pct);
  background: linear-gradient(90deg, var(--qb-gold-400) 0%, var(--qb-mint-300) 100%);
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(245, 215, 142, 0.45);
}

.qb-offer__score-label {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--qb-mint-200);
  text-align: center;
  opacity: 0.75;
}

.qb-offer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--qb-white);
  background: linear-gradient(135deg, var(--qb-emerald-600) 0%, var(--qb-emerald-800) 100%);
  border-radius: var(--qb-radius-sm);
  box-shadow: 0 4px 14px rgba(11, 94, 71, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.qb-offer__btn:hover {
  color: var(--qb-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 94, 71, 0.4);
}

.qb-offer--featured .qb-offer__btn {
  background: linear-gradient(135deg, var(--qb-gold-400) 0%, var(--qb-gold-500) 100%);
  color: var(--qb-emerald-900);
  box-shadow: 0 4px 14px rgba(245, 215, 142, 0.4);
}

.qb-offer--featured .qb-offer__btn:hover {
  color: var(--qb-emerald-900);
  box-shadow: 0 6px 20px rgba(245, 215, 142, 0.55);
}

.qb-offer__disclaimer {
  padding: 12px 24px 16px;
  background: linear-gradient(180deg, rgba(11, 94, 71, 0.04) 0%, rgba(11, 94, 71, 0.07) 100%);
  border-top: 1px dashed rgba(11, 94, 71, 0.15);
}

.qb-offer__disclaimer p {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--qb-slate-500);
}

@media (max-width: 1024px) {
  .qb-offer__row {
    grid-template-columns: 48px 88px 1fr 1.2fr 96px 110px;
    gap: 12px 14px;
    padding: 18px 18px;
  }

  .qb-offer__image {
    width: 88px;
    height: 50px;
  }

  .qb-offer__score {
    max-width: 88px;
    padding: 8px 8px 7px;
  }

  .qb-offer__score-value {
    font-size: 1.25rem;
  }
}

@media (max-width: 900px) {
  .qb-listing {
    padding-block: 40px 48px;
  }

  .qb-listing__header {
    margin-bottom: 28px;
    padding-inline: 4px;
  }

  .qb-offer__row {
    display: grid;
    grid-template-columns: 48px 80px 1fr;
    grid-template-areas:
      "rank image name"
      "bonus bonus bonus"
      "actions actions actions";
    gap: 14px 12px;
    padding: 16px;
    align-items: center;
  }

  .qb-offer__actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    grid-area: actions;
  }

  .qb-offer__col--rank {
    grid-area: rank;
    align-self: start;
    padding-top: 2px;
  }

  .qb-offer__col--image {
    grid-area: image;
  }

  .qb-offer__col--name {
    grid-area: name;
    align-self: center;
    min-width: 0;
  }

  .qb-offer__col--bonus {
    grid-area: bonus;
    min-width: 0;
  }

  .qb-offer__col--score {
    flex-shrink: 0;
  }

  .qb-offer__col--cta {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
  }

  .qb-offer__image {
    width: 80px;
    height: 48px;
  }

  .qb-offer__name {
    font-size: 1.05rem;
    word-wrap: break-word;
  }

  .qb-offer__tag {
    display: block;
    margin-top: 2px;
    line-height: 1.35;
  }

  .qb-offer__badge {
    font-size: 0.52rem;
    padding: 2px 5px;
    max-width: 48px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .qb-offer__bonus {
    font-size: 0.88rem;
    word-break: break-word;
  }

  .qb-offer__score {
    max-width: 84px;
    min-width: 76px;
    width: 76px;
  }

  .qb-offer__btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.92rem;
    white-space: normal;
    line-height: 1.25;
  }

  .qb-offer__disclaimer {
    padding: 12px 16px 14px;
  }

  .qb-offer__disclaimer p {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .qb-offer__row {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "rank name"
      "image image"
      "bonus bonus"
      "actions actions";
    gap: 12px;
    padding: 14px;
  }

  .qb-offer__col--rank {
    align-self: center;
  }

  .qb-offer__col--image {
    justify-self: center;
    width: 100%;
  }

  .qb-offer__image {
    width: 100%;
    max-width: 160px;
    height: 56px;
    margin-inline: auto;
  }

  .qb-offer__col--name {
    align-self: center;
  }

  .qb-offer__name {
    font-size: 1.1rem;
  }

  .qb-offer__actions {
    flex-direction: row;
    gap: 10px;
  }

  .qb-offer__score {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    padding: 8px 7px 7px;
  }

  .qb-offer__score-value {
    font-size: 1.15rem;
  }

  .qb-offer__score-icon {
    width: 12px;
    height: 12px;
  }

  .qb-offer__btn {
    padding: 12px 14px;
    font-size: 0.88rem;
    min-height: 100%;
    align-self: stretch;
  }
}

@media (max-width: 360px) {
  .qb-offer__actions {
    flex-direction: column;
    gap: 10px;
  }

  .qb-offer__score {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 12px;
  }

  .qb-offer__score-head {
    flex: 0 0 auto;
  }

  .qb-offer__score-bar {
    flex: 1 1 80px;
    min-width: 60px;
    order: 3;
  }

  .qb-offer__score-label {
    flex: 1 1 auto;
    text-align: left;
    order: 2;
  }

  .qb-offer__btn {
    min-height: 48px;
  }
}

.qb-page-hero {
  background: linear-gradient(160deg, var(--qb-emerald-800) 0%, var(--qb-emerald-900) 100%);
  color: var(--qb-white);
  padding-block: 36px 40px;
}

.qb-page-hero__inner {
  max-width: 720px;
}

.qb-page-hero__title {
  font-family: var(--qb-font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.qb-page-hero__lead {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: var(--qb-mint-200);
  opacity: 0.92;
}

.qb-page {
  padding-block: 40px 56px;
}

.qb-page__content {
  max-width: 760px;
  margin-inline: auto;
}

.qb-page__content h2 {
  font-family: var(--qb-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--qb-emerald-800);
  margin-top: 32px;
  margin-bottom: 12px;
}

.qb-page__content h2:first-child {
  margin-top: 0;
}

.qb-page__content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--qb-emerald-700);
  margin-top: 20px;
  margin-bottom: 8px;
}

.qb-page__content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--qb-slate-700);
  margin-bottom: 14px;
}

.qb-page__content ul {
  margin-bottom: 16px;
  padding-left: 1.25rem;
}

.qb-page__content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--qb-slate-700);
  margin-bottom: 6px;
}

.qb-page__content a {
  color: var(--qb-emerald-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qb-page__content a:hover {
  color: var(--qb-emerald-500);
}

.qb-page__content strong {
  color: var(--qb-slate-900);
  font-weight: 600;
}

.qb-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  margin-block: 20px 28px;
  background: linear-gradient(135deg, rgba(126, 239, 203, 0.2) 0%, rgba(126, 239, 203, 0.05) 100%);
  border-left: 4px solid var(--qb-emerald-500);
  border-radius: 0 var(--qb-radius-md) var(--qb-radius-md) 0;
}

.qb-contact-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--qb-slate-500);
}

.qb-contact-card__email {
  font-family: var(--qb-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--qb-emerald-800);
  text-decoration: none;
}

.qb-contact-card__email:hover {
  color: var(--qb-emerald-600);
}

@media (max-width: 768px) {
  .qb-page {
    padding-block: 32px 40px;
  }

  .qb-page-hero {
    padding-block: 28px 32px;
  }

  .qb-page__content h2 {
    font-size: 1.15rem;
    margin-top: 26px;
  }

  .qb-contact-card {
    padding: 16px 18px;
  }

  .qb-contact-card__email {
    font-size: 1.05rem;
    word-break: break-all;
  }
}

.qb-footer {
  background: var(--qb-slate-900);
  color: var(--qb-slate-300);
  padding-block: 48px 32px;
  margin-top: auto;
}

.qb-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.qb-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--qb-mint-200);
}

.qb-footer__logo-icon {
  width: 22px;
  height: 22px;
  color: var(--qb-gold-400);
}

.qb-footer__name {
  font-family: var(--qb-font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.qb-footer__disclaimers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
  width: 100%;
}

.qb-footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.82;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--qb-radius-sm);
  border-left: 3px solid rgba(126, 239, 203, 0.35);
  text-align: left;
}

.qb-footer__policies {
  width: 100%;
  max-width: 900px;
}

.qb-footer__policy-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
}

.qb-footer__policy-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--qb-mint-200);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.qb-footer__policy-link:hover {
  color: var(--qb-gold-400);
  border-bottom-color: rgba(245, 215, 142, 0.4);
}

.qb-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  width: 100%;
  padding: 20px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qb-footer__badge-link,
.qb-footer__badge-img {
  display: block;
}

.qb-footer__badge img {
  width: auto;
  height: 44px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.qb-footer__badge-link:hover img {
  opacity: 1;
}

.qb-footer__copy {
  font-size: 0.75rem;
  opacity: 0.55;
}

.qb-age-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.qb-age-modal[hidden],
.qb-age-restrict[hidden],
.qb-cookie-banner[hidden] {
  display: none !important;
}

html.qb-age-ok .qb-age-modal {
  display: none !important;
}

html.qb-age-restricted #qb-site {
  display: none !important;
}

html.qb-age-restricted .qb-age-restrict {
  display: flex !important;
}

.qb-age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 46, 35, 0.88);
  backdrop-filter: blur(6px);
}

.qb-age-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 32px;
  background: var(--qb-white);
  border-radius: var(--qb-radius-lg);
  box-shadow: var(--qb-shadow-lg);
  text-align: center;
}

.qb-age-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--qb-emerald-900);
  background: linear-gradient(135deg, var(--qb-gold-400) 0%, var(--qb-gold-500) 100%);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(245, 215, 142, 0.45);
}

.qb-age-modal__title {
  font-family: var(--qb-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--qb-emerald-800);
  margin-bottom: 12px;
}

.qb-age-modal__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--qb-slate-500);
  margin-bottom: 24px;
}

.qb-age-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qb-age-modal__btn {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--qb-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--qb-radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qb-age-modal__btn--yes {
  color: var(--qb-white);
  background: linear-gradient(135deg, var(--qb-emerald-600) 0%, var(--qb-emerald-800) 100%);
  box-shadow: 0 4px 14px rgba(11, 94, 71, 0.3);
}

.qb-age-modal__btn--yes:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 94, 71, 0.4);
}

.qb-age-modal__btn--no {
  color: var(--qb-slate-500);
  background: var(--qb-cream);
  border: 1px solid rgba(11, 94, 71, 0.12);
}

.qb-age-modal__btn--no:hover {
  background: rgba(11, 94, 71, 0.06);
  color: var(--qb-slate-700);
}

body.qb-age-lock {
  overflow: hidden;
}

.qb-age-restrict {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, var(--qb-emerald-900) 0%, #031f18 100%);
}

.qb-age-restrict__inner {
  max-width: 480px;
  text-align: center;
  color: var(--qb-white);
}

.qb-age-restrict__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--qb-emerald-900);
  background: var(--qb-gold-400);
  border-radius: 50%;
}

.qb-age-restrict__title {
  font-family: var(--qb-font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.qb-age-restrict__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--qb-mint-200);
  opacity: 0.92;
  margin-bottom: 12px;
}

.qb-age-restrict__note {
  font-size: 0.8rem;
  color: var(--qb-mint-300);
  opacity: 0.65;
}

.qb-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--qb-white);
  border-top: 1px solid rgba(11, 94, 71, 0.12);
  box-shadow: 0 -8px 32px rgba(5, 46, 35, 0.12);
  padding-block: 16px;
}

.qb-cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.qb-cookie-banner__content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.qb-cookie-banner__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--qb-emerald-800);
  margin-bottom: 4px;
}

.qb-cookie-banner__text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--qb-slate-500);
}

.qb-cookie-banner__text a {
  color: var(--qb-emerald-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qb-cookie-banner__actions {
  flex-shrink: 0;
}

.qb-cookie-banner__btn {
  padding: 12px 28px;
  font-family: var(--qb-font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--qb-white);
  background: linear-gradient(135deg, var(--qb-emerald-600) 0%, var(--qb-emerald-800) 100%);
  border: none;
  border-radius: var(--qb-radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 94, 71, 0.25);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.qb-cookie-banner__btn:hover {
  transform: translateY(-1px);
}

body.qb-cookie-visible .qb-footer {
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .qb-footer__disclaimer {
    font-size: 0.74rem;
    padding: 10px 12px;
  }

  .qb-footer__policy-list {
    flex-direction: column;
    gap: 4px;
  }

  .qb-footer__badges {
    gap: 12px 16px;
  }

  .qb-footer__badge img {
    height: 36px;
    max-width: 100px;
  }

  .qb-age-modal__card {
    padding: 28px 22px 24px;
  }

  .qb-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .qb-cookie-banner__actions {
    width: 100%;
  }

  .qb-cookie-banner__btn {
    width: 100%;
  }

  body.qb-cookie-visible .qb-footer {
    padding-bottom: 160px;
  }

  .qb-topbar__text {
    font-size: 0.7rem;
  }

  .qb-nav-toggle {
    display: flex;
  }

  .qb-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--qb-white);
    padding: calc(var(--qb-topbar-h) + var(--qb-header-h) + 16px) 24px 32px;
    box-shadow: var(--qb-shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    overflow-y: auto;
  }

  .qb-nav.is-open {
    transform: translateX(0);
  }

  .qb-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .qb-nav__link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--qb-radius-md);
  }

  .qb-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(5, 46, 35, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 90;
  }

  .qb-nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .qb-hero {
    padding-block: 36px 40px;
  }

  .qb-logo__name {
    font-size: 1.15rem;
  }

  .qb-logo__icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 400px) {
  .qb-topbar__inner {
    gap: 8px;
  }

  .qb-topbar__badge {
    width: 26px;
    height: 20px;
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
