@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --bg-main: #09090b;
  --bg-panel: #15151a;
  --bg-panel-2: #1b1b22;
  --bg-overlay: rgba(9, 9, 11, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(139, 92, 246, 0.45);
  --purple: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.15);
  --cyan: #06b6d4;
  --green: #10b981;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-purple: 0 0 30px rgba(139, 92, 246, 0.25);
  --shadow-cyan: 0 0 26px rgba(6, 182, 212, 0.22);
  --ease: 0.24s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.12), transparent 30%),
    radial-gradient(circle at 90% 30%, rgba(6, 182, 212, 0.12), transparent 30%),
    var(--bg-main);
  min-height: 100vh;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.compliance {
  padding: 10px 14px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: #000;
}

.compliance strong {
  color: var(--purple);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(21, 21, 26, 0.78);
  backdrop-filter: blur(16px);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.brand-mark {
  width: 36px;
  height: 36px;
  fill: var(--purple);
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-name span {
  background: linear-gradient(120deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.actions,
.userbox {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 18px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
  background: linear-gradient(45deg, #7c3aed, var(--purple));
  box-shadow: var(--shadow-purple);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.btn-outline {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--ease), color var(--ease), box-shadow var(--ease);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.btn:disabled,
.btn-outline:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  filter: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px 6px 6px;
  background: rgba(255, 255, 255, 0.03);
}

.chip-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 900;
}

.chip-email {
  font-size: 0.8rem;
  color: var(--muted);
}

.ticker-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}

.ticker {
  display: flex;
  gap: 34px;
  width: max-content;
  padding: 9px 0;
  animation: ticker-scroll 34s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--muted);
}

.live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #00110b;
  background: var(--green);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  padding: 58px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.hero-card,
.panel,
.deck-card,
.info-card,
.board,
.faq,
.footer-card,
.policy-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.hero-card {
  padding: 34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--purple-soft);
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 7px 12px;
  margin-bottom: 16px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 690px;
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.stat {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
}

.stat span {
  display: block;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.67rem;
}

.panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.panel-title {
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-status {
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.slot-list {
  display: grid;
  gap: 10px;
}

.slot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px;
  background: rgba(255, 255, 255, 0.02);
}

.slot-code {
  min-width: 56px;
  text-align: center;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.1);
  color: #67e8f9;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}

.slot-copy strong,
.slot-copy span {
  display: block;
}

.slot-copy strong {
  font-size: 0.88rem;
}

.slot-copy span {
  color: var(--muted);
  font-size: 0.79rem;
}

.slot-tag {
  color: #a5b4fc;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.section {
  padding: 26px 0 66px;
}

.sec-head {
  margin-bottom: 18px;
}

.sec-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 900;
}

.sec-head h2 {
  margin: 9px 0 9px;
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.sec-head p {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
}

.deck-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.deck-card {
  padding: 18px;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.deck-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-purple);
}

.deck-card.active {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0.015));
}

.deck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tag {
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.rank {
  border-radius: 999px;
  padding: 5px 9px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.deck-card h3 {
  margin: 0;
  font-size: 1.18rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.deck-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.deck-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.count {
  border-radius: 999px;
  padding: 6px 9px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.1);
  color: #67e8f9;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.info-card {
  padding: 20px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.board {
  padding: 22px;
}

.board h3 {
  margin: 0 0 11px;
  text-transform: uppercase;
  font-size: 1rem;
}

.rows {
  display: grid;
  gap: 8px;
}

.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px;
}

.row strong,
.row span {
  display: block;
}

.row strong {
  font-size: 0.88rem;
}

.row span {
  color: var(--muted-2);
  font-size: 0.75rem;
}

.badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 900;
}

.score {
  color: #6ee7b7;
  font-size: 0.84rem;
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.faq {
  padding: 20px;
}

.faq h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.24), rgba(6, 182, 212, 0.1));
  padding: 24px;
}

.cta h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.cta p {
  margin: 0;
  color: #d4d4d8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #050507;
  padding: 34px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.footer-card {
  padding: 20px;
}

.footer-card h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  color: var(--muted-2);
}

.footer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.links a {
  text-decoration: none;
}

.links a:hover {
  color: var(--cyan);
}

.fine {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.74rem;
  line-height: 1.7;
}

.cookie {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  background: rgba(21, 21, 26, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-purple);
  padding: 15px;
}

.cookie-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.cookie p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.cookie a {
  color: var(--cyan);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  display: none;
  padding: 16px;
}

.overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #15151a, #101015);
}

.modal.auth {
  width: min(500px, 100%);
}

.modal-head {
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.modal-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 800;
}

.modal-head h2 {
  margin: 6px 0 0;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.modal-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.2rem;
  cursor: pointer;
}

.close:hover {
  border-color: var(--cyan);
}

.tabs {
  margin: 16px 20px 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.tab {
  border: 0;
  border-radius: 999px;
  padding: 9px 10px;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(45deg, #7c3aed, var(--purple));
  color: #fff;
}

.modal-body {
  padding: 20px;
}

.form {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.field input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  outline: none;
}

.field input:focus {
  border-color: var(--line-strong);
}

.subnote {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.legal {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.77rem;
}

.legal a {
  color: var(--cyan);
}

.quiz-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  margin-bottom: 12px;
}

.box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.box-label {
  color: var(--muted-2);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.q-head {
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.q-head h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.pill {
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.11);
  color: #67e8f9;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.line {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 10px 0;
}

.line-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  transition: width var(--ease);
}

.q-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.s {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.s strong,
.s span {
  display: block;
}

.s strong {
  font-size: 1.02rem;
}

.s span {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
}

.question {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.question p {
  margin: 8px 0 0;
  font-size: 1.15rem;
}

.choices {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.choice {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}

.choice:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.choice.correct {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.14);
}

.choice.wrong {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.12);
}

.choice:disabled {
  cursor: default;
  transform: none;
}

.feedback {
  min-height: 24px;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.feedback.ok {
  color: #6ee7b7;
}

.feedback.bad {
  color: #fda4af;
}

.final {
  display: none;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.18), rgba(6, 182, 212, 0.09));
}

.final.open {
  display: block;
}

.final h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
}

.final p {
  margin: 0;
  color: #d4d4d8;
  font-size: 0.9rem;
}

.final-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.f {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.f strong,
.f span {
  display: block;
}

.f strong {
  font-size: 1.03rem;
}

.f span {
  color: var(--muted-2);
  text-transform: uppercase;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.policy-page {
  padding: 30px 0 70px;
}

.policy-wrap {
  padding: 30px;
}

.policy-wrap h1 {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

.policy-meta {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.8rem;
}

.policy-wrap h2 {
  margin: 24px 0 8px;
  font-size: 1.08rem;
  text-transform: uppercase;
}

.policy-wrap p,
.policy-wrap li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.82;
}

.policy-wrap ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .deck-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-row,
  .actions,
  .userbox,
  .cookie-row,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-card,
  .panel,
  .board,
  .faq,
  .footer-card,
  .policy-wrap {
    padding: 18px;
  }

  .deck-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .quiz-top,
  .stats,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .overlay {
    padding: 10px;
  }

  .modal {
    max-height: calc(100vh - 20px);
  }

  .modal-head,
  .modal-body {
    padding: 16px;
  }

  .tabs {
    margin: 12px 16px 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 20px, 1220px);
  }

  .compliance {
    font-size: 0.67rem;
    line-height: 1.55;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p,
  .sec-head p {
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }
}
