﻿:root {
  --container-max: 1240px;
  --color-primary: #E8898F;
  --color-secondary: #25345C;
  --color-accent: #E7A2A1;
  --color-text-dark: #25345C;
  --color-background-light: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #E7A2A1;
  --color-border: #25345C;
  --color-focus: #E7A2A1;
  --page-bg: #ffffff;
  --grid-line: #E7A2A1;
  --hero-blue: #25345C;
  --nav-ink: #25345C;
  --white: #ffffff;
  --yellow: #E8898F;
  --ink: #25345C;
  --badge-bg: #E7A2A1;
  --badge-text: #25345C;
}

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

body {
  min-height: 100vh;
  background-color: var(--page-bg);
  background-image:
    linear-gradient(var(--grid-line) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid-line) 2px, transparent 2px);
  background-size: 100% 92px, 92px 100%;
  font-family: "Cairo", "Noto Kufi Arabic", "Tahoma", sans-serif;
}

html {
  scroll-behavior: smooth;
}

#about-us,
#about-test,
#expected-results,
#after-test,
#test-features,
#faq {
  scroll-margin-top: 120px;
}

.top-navbar {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid #dfe3ea;
}

.nav-shell {
  width: min(var(--container-max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 76px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  flex: 0 0 auto;
  width: auto;
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  width: auto;
  height: 64px;
  max-width: 172px;
  object-fit: contain;
  display: block;
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.primary-nav a {
  color: var(--nav-ink);
  text-decoration: none;
  font-size: clamp(16px, 1.05vw, 18px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav a:hover {
  opacity: 0.82;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 999px;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.02;
}

.btn-login {
  color: var(--nav-ink);
  border: 2px solid #3f4349;
  background: var(--white);
  min-width: 162px;
  padding: 0 22px;
}

.btn-cta {
  color: #000000;
  border: 2px solid #171717;
  background: #f7ce0b;
  min-width: 178px;
  padding: 0 20px;
}

.lang-wrap {
  flex: 0 0 auto;
  margin-inline-start: 2px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 700;
  line-height: 1.02;
  cursor: pointer;
  padding: 0;
}

.lang-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #000000;
  transform: translateY(1px);
}

.page-wrap {
  width: min(var(--container-max), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 24px;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: 38px;
  background: var(--hero-blue);
  overflow: hidden;
  padding: 44px 42px 52px;
  direction: rtl;
}

.hero-mini-title {
  position: absolute;
  top: 40px;
  right: 44px;
  color: var(--white);
  font-family: "Cairo", sans-serif;
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.2px;
}

.hero-arrow {
  position: absolute;
  top: 62px;
  right: 34px;
  width: 132px;
  height: 84px;
  fill: none;
  stroke: #f4f7ff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-title {
  position: absolute;
  top: 154px;
  right: 44px;
  text-align: right;
  line-height: 0.95;
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-size: clamp(56px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.title-line {
  display: block;
  -webkit-text-stroke: 1.4px var(--ink);
  text-shadow:
    1px 0 0 var(--ink),
    -1px 0 0 var(--ink),
    0 1px 0 var(--ink),
    0 -1px 0 var(--ink),
    1px 1px 0 var(--ink),
    -1px 1px 0 var(--ink),
    1px -1px 0 var(--ink),
    -1px -1px 0 var(--ink),
    4px 4px 0 rgba(0, 0, 0, 0.28);
}

.title-line-one {
  color: var(--white);
}

.title-line-two {
  color: var(--yellow);
  margin-top: 8px;
}

.read-badge {
  position: absolute;
  left: 44px;
  bottom: 56px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border-radius: 999px;
  min-width: 138px;
  text-align: center;
  padding: 10px 20px;
  font-family: "Cairo", sans-serif;
  font-size: clamp(20px, 1.25vw, 26px);
  font-weight: 700;
  line-height: 1;
}

.skills-card-section {
  position: relative;
  margin-top: 22px;
  padding-bottom: 0;
}

.skills-card-base {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 120px));
  height: 168px;
  background: #e7e7e7;
  border-radius: 34px 34px 0 0;
}

.skills-card-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 42px;
  overflow: hidden;
}

.skills-card-image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.004);
  transform-origin: center;
}

.content-section {
  position: relative;
  background: transparent;
  margin-top: 0;
  padding: 52px 0 62px;
  width: 100%;
  margin-inline: auto;
}

.content-section::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1420px, calc(100vw - 72px));
  background: #ffffff;
  z-index: -1;
}

.content-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  direction: ltr;
}

.content-sidebar {
  direction: rtl;
  text-align: center;
  padding-top: 18px;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.sidebar-group-skills {
  margin-top: 110px;
}

.sidebar-title {
  font-size: clamp(24px, 1.75vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: #1562e8;
}

.content-sidebar a {
  text-decoration: none;
  color: #0d2d73;
  font-size: clamp(16px, 1.12vw, 18px);
  font-weight: 700;
  line-height: 1.35;
}

.content-main {
  direction: rtl;
  text-align: right;
  color: #050505;
}

.content-title {
  font-size: clamp(36px, 2.6vw, 42px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}

.content-title-second {
  margin-top: 30px;
  margin-bottom: 14px;
}

.content-title-final {
  margin-top: 30px;
  margin-bottom: 14px;
  text-align: center;
}

.content-paragraph {
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-summary {
  margin-top: 18px;
  margin-bottom: 0;
}

.bullet-block {
  margin-top: 8px;
  margin-bottom: 10px;
}

.bullet-block h4 {
  font-size: clamp(24px, 1.85vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.bullet-block p {
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 500;
  line-height: 1.8;
}

.games-showcase-section {
  margin-top: 16px;
  margin-bottom: 26px;
}

.games-showcase-shell {
  background: #efefef;
  border-radius: 32px;
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  gap: 64px;
  overflow: hidden;
}

.showcase-carousel-col {
  position: relative;
  width: 580px;
  flex: 0 0 580px;
}

.showcase-stack {
  position: relative;
  width: 520px;
  height: 620px;
}

.showcase-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 520px;
  height: 620px;
  border: 2px solid #1f2328;
  border-radius: 22px;
  overflow: hidden;
  background: #f2f2f2;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.showcase-card.pos-1 {
  z-index: 5;
  transform: translateX(0) scale(1);
  opacity: 1;
}

.showcase-card.pos-2 {
  z-index: 4;
  transform: translateX(-60px) scale(0.96);
  opacity: 1;
}

.showcase-card.pos-3 {
  z-index: 3;
  transform: translateX(-120px) scale(0.92);
  opacity: 1;
}

.showcase-card.pos-4 {
  z-index: 2;
  transform: translateX(-180px) scale(0.88);
  opacity: 1;
}

.showcase-card.pos-5 {
  z-index: 1;
  transform: translateX(-240px) scale(0.84);
  opacity: 1;
}

.showcase-card-head {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  direction: ltr;
}

.showcase-card-head--blue {
  background: #4f82af;
}

.showcase-card-head--beige {
  background: #cfbc9f;
}

.showcase-card-head--orange {
  background: #ffab0a;
}

.showcase-card-head--teal {
  background: #1f5b5d;
}

.showcase-card-head--green {
  background: #7f1328;
}

.showcase-card-head h3 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.35px;
  text-shadow:
    1px 0 0 #111,
    -1px 0 0 #111,
    0 1px 0 #111,
    0 -1px 0 #111,
    3px 3px 0 rgba(0, 0, 0, 0.35);
}

.showcase-head-stripes {
  width: 200px;
  height: 100%;
  background-image: repeating-linear-gradient(
    -24deg,
    rgba(255, 255, 255, 0.65) 0px,
    rgba(255, 255, 255, 0.65) 1.4px,
    transparent 1.4px,
    transparent 6.5px
  );
}

.showcase-card-body {
  margin: 9px;
  border-radius: 28px;
  background: #fbfbfb;
  padding: 10px 10px 12px;
}

.showcase-media-row {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 12px;
  direction: ltr;
}

.showcase-thumb,
.showcase-hero-shot {
  width: 100%;
  height: 198px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.showcase-meta-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr;
}

.showcase-cta {
  width: 196px;
  height: 40px;
  border-radius: 999px;
  border: 1.8px solid #2a2a2a;
  background: #f7cd08;
  color: #000;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.showcase-benefits {
  direction: rtl;
  text-align: right;
}

.showcase-benefits h4 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.showcase-benefits p {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.showcase-info-box {
  margin-top: 12px;
  background: #f6f6f6;
  border-radius: 14px;
  padding: 8px 11px 7px;
  box-shadow: inset 0 0 0 1px #f0f0f0;
  text-align: right;
}

.showcase-info-box h4 {
  color: #0c0c0c;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.06;
}

.showcase-info-box p {
  margin-top: 6px;
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.showcase-card-foot {
  height: 30px;
}

.showcase-card-foot--blue {
  background: #4f82af;
}

.showcase-card-foot--beige {
  background: #cfbc9f;
}

.showcase-card-foot--orange {
  background: #ffab0a;
}

.showcase-card-foot--teal {
  background: #1f5b5d;
}

.showcase-card-foot--green {
  background: #7f1328;
}

.showcase-nav {
  position: absolute;
  top: 50%;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid #2f343a;
  background: #ffffff;
  color: #111317;
  font-size: 46px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
  z-index: 9;
  cursor: pointer;
}

.showcase-nav--prev {
  left: -56px;
}

.showcase-nav--next {
  right: 0;
}

.showcase-headline-col {
  flex: 0 0 260px;
  text-align: right;
  direction: rtl;
  align-self: flex-start;
  padding-top: 20px;
}

.showcase-side-title {
  color: #1461e8;
  font-size: clamp(58px, 4.5vw, 92px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.8px;
}

.showcase-kid-figure {
  margin-top: 18px;
  width: 260px;
  margin-inline-start: auto;
}

.showcase-kid-figure img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1200px) {
  .games-showcase-shell {
    direction: rtl;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 16px;
  }

  .showcase-headline-col {
    flex: 0 0 auto;
    align-self: flex-start;
    padding-top: 0;
  }

  .showcase-side-title {
    font-size: clamp(42px, 9vw, 58px);
    line-height: 1;
  }

  .showcase-kid-figure {
    width: min(220px, 70%);
  }

  .showcase-carousel-col {
    width: 100%;
    flex: 0 0 auto;
  }

  .showcase-stack {
    width: 100%;
    height: 460px;
  }

  .showcase-card {
    width: min(560px, 100%);
    height: 460px;
  }

  .showcase-card.pos-2 {
    transform: translateX(-30px) scale(0.95);
  }

  .showcase-card.pos-3 {
    transform: translateX(-60px) scale(0.9);
  }

  .showcase-card.pos-4 {
    transform: translateX(-90px) scale(0.86);
  }

  .showcase-card.pos-5 {
    transform: translateX(-120px) scale(0.82);
  }

  .showcase-nav {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }

  .showcase-nav--prev {
    left: -10px;
  }

  .showcase-nav--next {
    right: -10px;
  }

  .showcase-card-head h3 {
    font-size: 30px;
  }

  .showcase-head-stripes {
    width: 140px;
  }

  .showcase-media-row {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-thumb,
  .showcase-hero-shot {
    height: 140px;
  }
}

.game-card-section {
  margin-top: 2px;
  display: flex;
  justify-content: center;
}

.game-card {
  width: min(736px, 100%);
  border: 2px solid #1f2328;
  border-radius: 22px;
  background: #f2f2f2;
  overflow: hidden;
}

.game-card-header {
  height: 82px;
  background: #7e9079;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  direction: ltr;
}

.game-card-header h3 {
  color: #ffffff;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.35px;
  text-shadow:
    1px 0 0 #111,
    -1px 0 0 #111,
    0 1px 0 #111,
    0 -1px 0 #111,
    3px 3px 0 rgba(0, 0, 0, 0.35);
}

.header-stripes {
  width: 220px;
  height: 100%;
  background-image: repeating-linear-gradient(
    -24deg,
    rgba(255, 255, 255, 0.65) 0px,
    rgba(255, 255, 255, 0.65) 1.4px,
    transparent 1.4px,
    transparent 6.5px
  );
}

.game-card-body {
  margin: 9px;
  border-radius: 28px;
  background: #fbfbfb;
  padding: 10px 10px 12px;
}

.game-preview-row {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 12px;
  direction: ltr;
}

.game-thumb {
  width: 196px;
  height: 194px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.game-loading-area {
  border-radius: 12px;
  min-height: 194px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.loading-spinner {
  display: none;
}

.loading-spinner span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: -5px;
  background: #a9a9a9;
}

.loading-spinner span:nth-child(1) { transform: rotate(0deg) translateY(-22px); background: #4b4b4b; }
.loading-spinner span:nth-child(2) { transform: rotate(30deg) translateY(-22px); background: #6a6a6a; }
.loading-spinner span:nth-child(3) { transform: rotate(60deg) translateY(-22px); background: #7e7e7e; }
.loading-spinner span:nth-child(4) { transform: rotate(90deg) translateY(-22px); background: #959595; }
.loading-spinner span:nth-child(5) { transform: rotate(120deg) translateY(-22px); background: #a8a8a8; }
.loading-spinner span:nth-child(6) { transform: rotate(150deg) translateY(-22px); background: #bebebe; }
.loading-spinner span:nth-child(7) { transform: rotate(180deg) translateY(-22px); background: #d1d1d1; }
.loading-spinner span:nth-child(8) { transform: rotate(210deg) translateY(-22px); background: #dfdfdf; }
.loading-spinner span:nth-child(9) { transform: rotate(240deg) translateY(-22px); background: #ececec; }
.loading-spinner span:nth-child(10) { transform: rotate(270deg) translateY(-22px); background: #f2f2f2; }
.loading-spinner span:nth-child(11) { transform: rotate(300deg) translateY(-22px); background: #f6f6f6; }
.loading-spinner span:nth-child(12) { transform: rotate(330deg) translateY(-22px); background: #f8f8f8; }

.game-meta-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr;
}

.game-cta {
  width: 196px;
  height: 40px;
  border-radius: 999px;
  border: 1.8px solid #2a2a2a;
  background: #f7cd08;
  color: #000;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.benefit-block {
  direction: rtl;
  text-align: right;
}

.benefit-block h4 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.benefit-block p {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.game-description {
  margin-top: 12px;
  background: #f6f6f6;
  border-radius: 14px;
  padding: 8px 11px 7px;
  box-shadow: inset 0 0 0 1px #f0f0f0;
}

.game-description h4 {
  color: #0c0c0c;
  font-size: 22px;
  font-weight: 800;
  text-align: right;
  line-height: 1.06;
}

.game-description p {
  margin-top: 6px;
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.skills-headline {
  margin-top: 10px;
  color: #123b82;
  font-size: 22px;
  font-weight: 800;
  text-align: right;
  line-height: 1.1;
}

.skills-grid {
  margin-top: 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.skill-box {
  background: #f7f7f7;
  border-radius: 13px;
  padding: 9px 11px 8px;
  box-shadow: inset 0 0 0 1px #f0f0f0;
  min-height: 108px;
}

.skill-box h5 {
  color: #1b3679;
  font-size: 20px;
  font-weight: 800;
  text-align: right;
  line-height: 1.15;
  position: relative;
  padding-inline-end: 22px;
}

.skill-box h5::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.6px solid #8f97aa;
}

.skill-box ul {
  margin-top: 5px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 9px;
  direction: rtl;
}

.skill-box li {
  color: #2a61d5;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.game-card-footer {
  height: 30px;
  background: #7e9079;
}

.game-card-section-second {
  margin-top: 26px;
}

.game-card--capital {
  width: min(736px, 100%);
  border-radius: 22px;
  border-color: #262626;
  background: #f0f0f0;
}

.game-card-header--capital {
  height: 82px;
  background: #cfbc9f;
  padding: 0 15px 0 18px;
}

.game-card-header--capital h3 {
  font-size: 50px;
  letter-spacing: -0.35px;
  text-shadow:
    1px 0 0 #101010,
    -1px 0 0 #101010,
    0 1px 0 #101010,
    0 -1px 0 #101010,
    3px 3px 0 rgba(0, 0, 0, 0.36);
}

.header-stripes--capital {
  width: 220px;
  background-image: repeating-linear-gradient(
    -25deg,
    rgba(255, 255, 255, 0.66) 0px,
    rgba(255, 255, 255, 0.66) 1.4px,
    transparent 1.4px,
    transparent 6.4px
  );
}

.game-card-body--capital {
  margin: 9px;
  padding: 10px 10px 12px;
  border-radius: 26px;
  background: #fcfcfc;
}

.game-preview-row--capital {
  grid-template-columns: 196px 1fr;
  gap: 12px;
}

.game-thumb--capital-left {
  width: 196px;
  height: 194px;
  border-radius: 10px;
}

.game-thumb--capital-right {
  width: 100%;
  height: 194px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.game-meta-row--capital {
  margin-top: 10px;
  gap: 14px;
}

.game-cta--capital {
  width: 196px;
  height: 40px;
  font-size: 27px;
  border-width: 1.8px;
}

.benefit-block--capital h4 {
  font-size: 24px;
}

.benefit-block--capital p {
  margin-top: 4px;
  font-size: 18px;
}

.game-description--capital {
  margin-top: 10px;
  border-radius: 14px;
  padding: 8px 11px 7px;
  background: #f5f5f5;
}

.game-description--capital h4 {
  font-size: 22px;
}

.game-description--capital p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.skills-headline--capital {
  margin-top: 9px;
  font-size: 22px;
  color: #173e84;
}

.skills-grid--capital {
  margin-top: 7px;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.skill-box--capital {
  min-height: 108px;
  border-radius: 13px;
  padding: 9px 11px 8px;
}

.skill-box--capital h5 {
  font-size: 20px;
}

.skill-box--capital ul {
  margin-top: 5px;
  grid-template-columns: 1fr 1fr;
  gap: 3px 9px;
}

.skill-box--capital li {
  font-size: 14px;
  line-height: 1.35;
}

.game-card-footer--capital {
  height: 32px;
  background: #d2bfa3;
}

.game-card-section-third {
  margin-top: 28px;
}

.game-card--arabic {
  width: min(736px, 100%);
  border-radius: 22px;
  border-color: #252525;
  background: #f0f0f0;
}

.game-card-header--arabic {
  height: 82px;
  background: #ffab0a;
  padding: 0 15px 0 18px;
}

.game-card-header--arabic h3 {
  font-size: 50px;
  letter-spacing: -0.35px;
  text-shadow:
    1px 0 0 #111,
    -1px 0 0 #111,
    0 1px 0 #111,
    0 -1px 0 #111,
    3px 3px 0 rgba(0, 0, 0, 0.38);
}

.header-stripes--arabic {
  width: 220px;
  background-image: repeating-linear-gradient(
    -25deg,
    rgba(255, 255, 255, 0.64) 0px,
    rgba(255, 255, 255, 0.64) 1.4px,
    transparent 1.4px,
    transparent 6.4px
  );
}

.game-card-body--arabic {
  margin: 9px;
  padding: 10px 10px 12px;
  border-radius: 26px;
  background: #fcfcfc;
}

.game-preview-row--arabic {
  grid-template-columns: 196px 1fr;
  gap: 12px;
}

.game-thumb--arabic-left {
  width: 196px;
  height: 194px;
  border-radius: 10px;
}

.game-thumb--arabic-right {
  width: 100%;
  height: 194px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.game-meta-row--arabic {
  margin-top: 10px;
  gap: 14px;
}

.game-cta--arabic {
  width: 196px;
  height: 40px;
  font-size: 27px;
  border-width: 1.8px;
}

.benefit-block--arabic h4 {
  font-size: 24px;
}

.benefit-block--arabic p {
  margin-top: 4px;
  font-size: 18px;
}

.game-description--arabic {
  margin-top: 10px;
  border-radius: 14px;
  padding: 8px 11px 7px;
  background: #f5f5f5;
}

.game-description--arabic h4 {
  font-size: 22px;
}

.game-description--arabic p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.skills-headline--arabic {
  margin-top: 9px;
  font-size: 22px;
  color: #173e84;
}

.skills-grid--arabic {
  margin-top: 7px;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.skill-box--arabic {
  min-height: 108px;
  border-radius: 13px;
  padding: 9px 11px 8px;
}

.skill-box--arabic h5 {
  font-size: 20px;
}

.skill-box--arabic ul {
  margin-top: 5px;
  grid-template-columns: 1fr 1fr;
  gap: 3px 9px;
}

.skill-box--arabic li {
  font-size: 14px;
  line-height: 1.35;
}

.game-card-footer--arabic {
  height: 32px;
  background: #ffab0a;
}

.game-card-section-fourth {
  margin-top: 28px;
}

.game-card--number {
  width: min(736px, 100%);
  border-radius: 22px;
  border-color: #1f2728;
  background: #f0f0f0;
}

.game-card-header--number {
  height: 82px;
  background: #1f5b5d;
  padding: 0 15px 0 18px;
}

.game-card-header--number h3 {
  font-size: 50px;
  letter-spacing: -0.35px;
  text-shadow:
    1px 0 0 #111,
    -1px 0 0 #111,
    0 1px 0 #111,
    0 -1px 0 #111,
    3px 3px 0 rgba(0, 0, 0, 0.38);
}

.header-stripes--number {
  width: 220px;
  background-image: repeating-linear-gradient(
    -25deg,
    rgba(255, 255, 255, 0.64) 0px,
    rgba(255, 255, 255, 0.64) 1.4px,
    transparent 1.4px,
    transparent 6.4px
  );
}

.game-card-body--number {
  margin: 9px;
  padding: 10px 10px 12px;
  border-radius: 26px;
  background: #fcfcfc;
}

.game-preview-row--number {
  grid-template-columns: 196px 1fr;
  gap: 12px;
}

.game-thumb--number-left {
  width: 196px;
  height: 194px;
  border-radius: 10px;
}

.game-thumb--number-right {
  width: 100%;
  height: 194px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.game-meta-row--number {
  margin-top: 10px;
  gap: 14px;
}

.game-cta--number {
  width: 196px;
  height: 40px;
  font-size: 27px;
  border-width: 1.8px;
}

.benefit-block--number h4 {
  font-size: 24px;
}

.benefit-block--number p {
  margin-top: 4px;
  font-size: 18px;
}

.game-description--number {
  margin-top: 10px;
  border-radius: 14px;
  padding: 8px 11px 7px;
  background: #f5f5f5;
}

.game-description--number h4 {
  font-size: 22px;
}

.game-description--number p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.skills-headline--number {
  margin-top: 9px;
  font-size: 22px;
  color: #173e84;
}

.skills-grid--number {
  margin-top: 7px;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.skill-box--number {
  min-height: 108px;
  border-radius: 13px;
  padding: 9px 11px 8px;
}

.skill-box--number h5 {
  font-size: 20px;
}

.skill-box--number ul {
  margin-top: 5px;
  grid-template-columns: 1fr 1fr;
  gap: 3px 9px;
}

.skill-box--number li {
  font-size: 14px;
  line-height: 1.35;
}

.game-card-footer--number {
  height: 32px;
  background: #1f5b5d;
}

.game-card-section-fifth {
  margin-top: 28px;
}

.game-card--shape {
  width: min(736px, 100%);
  border-radius: 22px;
  border-color: #23191d;
  background: #f0f0f0;
}

.game-card-header--shape {
  height: 82px;
  background: #7f1328;
  padding: 0 15px 0 18px;
}

.game-card-header--shape h3 {
  font-size: 50px;
  letter-spacing: -0.35px;
  text-shadow:
    1px 0 0 #111,
    -1px 0 0 #111,
    0 1px 0 #111,
    0 -1px 0 #111,
    3px 3px 0 rgba(0, 0, 0, 0.38);
}

.header-stripes--shape {
  width: 220px;
  background-image: repeating-linear-gradient(
    -25deg,
    rgba(255, 255, 255, 0.64) 0px,
    rgba(255, 255, 255, 0.64) 1.4px,
    transparent 1.4px,
    transparent 6.4px
  );
}

.game-card-body--shape {
  margin: 9px;
  padding: 10px 10px 12px;
  border-radius: 26px;
  background: #fcfcfc;
}

.game-preview-row--shape {
  grid-template-columns: 196px 1fr;
  gap: 12px;
}

.game-thumb--shape-left {
  width: 196px;
  height: 194px;
  border-radius: 10px;
}

.game-thumb--shape-right {
  width: 100%;
  height: 194px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.game-meta-row--shape {
  margin-top: 10px;
  gap: 14px;
}

.game-cta--shape {
  width: 196px;
  height: 40px;
  font-size: 27px;
  border-width: 1.8px;
}

.benefit-block--shape h4 {
  font-size: 24px;
}

.benefit-block--shape p {
  margin-top: 4px;
  font-size: 18px;
}

.game-description--shape {
  margin-top: 10px;
  border-radius: 14px;
  padding: 8px 11px 7px;
  background: #f5f5f5;
}

.game-description--shape h4 {
  font-size: 22px;
}

.game-description--shape p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.skills-headline--shape {
  margin-top: 9px;
  font-size: 22px;
  color: #173e84;
}

.skills-grid--shape {
  margin-top: 7px;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.skill-box--shape {
  min-height: 108px;
  border-radius: 13px;
  padding: 9px 11px 8px;
}

.skill-box--shape h5 {
  font-size: 20px;
}

.skill-box--shape ul {
  margin-top: 5px;
  grid-template-columns: 1fr 1fr;
  gap: 3px 9px;
}

.skill-box--shape li {
  font-size: 14px;
  line-height: 1.35;
}

.game-card-footer--shape {
  height: 32px;
  background: #7f1328;
}

.faq-section {
  margin-top: 28px;
  margin-bottom: 34px;
  direction: rtl;
  text-align: right;
}

.faq-title {
  color: #0f0f10;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 14px;
}

.faq-item {
  margin-bottom: 14px;
}

.faq-question {
  color: #06070a;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.13;
  margin-bottom: 6px;
}

.faq-answer {
  color: #111111;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.62;
}

.faq-link {
  color: #1f66e5;
  text-decoration: none;
}

.faq-link:hover {
  text-decoration: underline;
}

.featured-games-section {
  margin-top: 26px;
  margin-bottom: 34px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}

.featured-games-shell {
  width: 100%;
  max-width: 100%;
  background: #ffd500;
  border: 4px solid #111111;
  border-radius: 34px;
  padding: 0 16px 14px;
  box-sizing: border-box;
  overflow: hidden;
}

.featured-games-topbar {
  margin: -4px -4px 14px;
  padding: 16px 22px;
  background: #f4f3e7;
  border: 4px solid #111111;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  box-sizing: border-box;
  min-width: 0;
}

.featured-games-title {
  direction: rtl;
  color: #090909;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.featured-filter {
  border: 3px solid #161616;
  background: #ffd500;
  border-radius: 999px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f0f10;
  font-size: 27px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}

.featured-filter-arrow {
  font-size: 15px;
  transform: translateY(-1px);
}

.featured-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.featured-game-card {
  background: #f7f7f7;
  border: 4px solid #111111;
  border-radius: 32px;
  overflow: hidden;
  min-height: 382px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.featured-game-image {
  width: 100%;
  height: 248px;
  object-fit: cover;
  display: block;
}

.featured-game-body {
  background: #f6f6f6;
  padding: 10px 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-game-en {
  color: #0f1116;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
}

.featured-game-ar {
  margin-top: 5px;
  color: #0a0a0a;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.featured-game-skill {
  margin-top: 6px;
  color: #0a0a0a;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.15;
}

.featured-game-skill-only {
  margin-top: 12px;
}

.featured-game-icons {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.featured-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f6d74f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.featured-more-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.featured-more-btn {
  height: 44px;
  min-width: 110px;
  border-radius: 999px;
  border: 3px solid #111111;
  background: #ffffff;
  color: #0c0d10;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  padding: 0 18px;
  cursor: pointer;
}

.marquee-section {
  margin-top: 24px;
  margin-bottom: 26px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-radius: 0;
}

.marquee-viewport {
  width: 100%;
  background: #f7cb05;
  overflow: hidden;
  height: 118px;
  display: flex;
  align-items: center;
  direction: ltr;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  direction: ltr;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-inline: 26px;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: max-content;
}

.marquee-word {
  color: #7b6205;
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-size: clamp(54px, 3.8vw, 76px);
  font-weight: 700;
  line-height: 1.1;
}

.marquee-star {
  color: #ffffff;
  font-size: clamp(56px, 3.9vw, 72px);
  font-weight: 800;
  line-height: 1;
  text-shadow:
    2px 0 0 #0d3f9f,
    -2px 0 0 #0d3f9f,
    0 2px 0 #0d3f9f,
    0 -2px 0 #0d3f9f,
    1px 1px 0 #0d3f9f,
    -1px 1px 0 #0d3f9f,
    1px -1px 0 #0d3f9f,
    -1px -1px 0 #0d3f9f;
}

.help-cta-section {
  margin-top: 26px;
  margin-bottom: 30px;
}

.help-cta-shell {
  width: min(1360px, calc(100vw - 92px));
  margin-inline: auto;
  background: #ffd500;
  border: 3px solid #171717;
  border-radius: 34px;
  padding: 28px 42px;
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: center;
  gap: 44px;
  direction: ltr;
}

.help-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.help-btn {
  height: 46px;
  border-radius: 999px;
  border: 3px solid #1b1b1b;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  padding: 0 30px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.help-btn-primary {
  background: #1268ef;
  color: #ffffff;
  min-width: 206px;
}

.help-btn-secondary {
  background: #ffffff;
  color: #0f1218;
  min-width: 258px;
}

.help-cta-content {
  direction: rtl;
  text-align: right;
}

.help-cta-title {
  color: #6b4c00;
  font-size: 84px;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.3px;
}

.help-cta-divider {
  height: 2px;
  background: #5e4a13;
  margin-top: 14px;
  margin-bottom: 14px;
}

.help-cta-text {
  color: #61490e;
  font-size: 41px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 1200px) {
  .nav-shell {
    min-height: 72px;
    width: calc(100% - 32px);
    padding: 8px 0;
    gap: 14px;
  }

  .brand-logo {
    width: 148px;
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 15px;
  }

  .btn {
    height: 40px;
    font-size: 14px;
  }

  .btn-login {
    min-width: 136px;
    padding: 0 16px;
    border-width: 2px;
  }

  .btn-cta {
    min-width: 146px;
    padding: 0 14px;
    border-width: 2px;
  }

  .lang-switch {
    font-size: 15px;
  }

  .lang-arrow {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }

  .page-wrap {
    width: calc(100% - 32px);
    padding-top: 20px;
  }

  .hero-banner {
    min-height: 332px;
    border-radius: 32px;
    padding: 36px 34px 44px;
  }

  .hero-mini-title {
    right: 34px;
    top: 34px;
  }

  .hero-arrow {
    right: 24px;
    top: 56px;
    width: 114px;
  }

  .hero-title {
    right: 34px;
    top: 140px;
  }

  .read-badge {
    left: 34px;
    bottom: 46px;
    min-width: 128px;
    padding: 9px 16px;
  }

  .skills-card-section {
    margin-top: 18px;
    padding-bottom: 0;
  }

  .skills-card-base {
    width: calc(100% - 90px);
    height: 140px;
    border-radius: 28px 28px 0 0;
  }

  .skills-card-frame {
    border-radius: 34px;
  }

  .content-section {
    padding: 40px 0 46px;
  }

  .content-shell {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sidebar-group {
    gap: 20px;
  }

  .sidebar-group-skills {
    margin-top: 74px;
  }

  .sidebar-title {
    font-size: 24px;
  }

  .content-sidebar a {
    font-size: 16px;
  }

  .content-title {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .content-title-second {
    margin-top: 24px;
  }

  .content-paragraph {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .bullet-block h4 {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .bullet-block p {
    font-size: 16px;
  }

  .game-card {
    width: min(620px, 100%);
  }

  .game-card-header {
    height: 78px;
  }

  .game-card-header h3 {
    font-size: 46px;
  }

  .header-stripes {
    width: 190px;
  }

  .game-preview-row {
    grid-template-columns: 196px 1fr;
  }

  .game-thumb {
    width: 196px;
    height: 194px;
  }

  .game-loading-area {
    min-height: 194px;
  }

  .game-cta {
    width: 196px;
    height: 48px;
    font-size: 32px;
  }

  .benefit-block h4 {
    font-size: 34px;
  }

  .benefit-block p {
    font-size: 30px;
  }

  .game-description h4 {
    font-size: 36px;
  }

  .game-description p {
    font-size: 24px;
  }

  .skills-headline {
    font-size: 37px;
  }

  .skill-box h5 {
    font-size: 31px;
  }

  .skill-box li {
    font-size: 24px;
  }

  .game-card--capital {
    width: min(760px, 100%);
  }

  .game-card-header--capital {
    height: 78px;
  }

  .game-card-header--capital h3 {
    font-size: 48px;
  }

  .header-stripes--capital {
    width: 188px;
  }

  .game-preview-row--capital {
    grid-template-columns: 188px 1fr;
  }

  .game-thumb--capital-left,
  .game-thumb--capital-right {
    height: 188px;
  }

  .game-thumb--capital-left {
    width: 188px;
  }

  .game-cta--capital {
    width: 188px;
    font-size: 27px;
  }

  .benefit-block--capital h4 {
    font-size: 30px;
  }

  .benefit-block--capital p {
    font-size: 25px;
  }

  .game-description--capital h4 {
    font-size: 27px;
  }

  .game-description--capital p {
    font-size: 17px;
  }

  .skills-headline--capital {
    font-size: 28px;
  }

  .skill-box--capital h5 {
    font-size: 24px;
  }

  .skill-box--capital li {
    font-size: 18px;
  }

  .game-card--arabic {
    width: min(760px, 100%);
  }

  .game-card-header--arabic {
    height: 78px;
  }

  .game-card-header--arabic h3 {
    font-size: 48px;
  }

  .header-stripes--arabic {
    width: 188px;
  }

  .game-preview-row--arabic {
    grid-template-columns: 188px 1fr;
  }

  .game-thumb--arabic-left,
  .game-thumb--arabic-right {
    height: 188px;
  }

  .game-thumb--arabic-left {
    width: 188px;
  }

  .game-cta--arabic {
    width: 188px;
    font-size: 27px;
  }

  .benefit-block--arabic h4 {
    font-size: 30px;
  }

  .benefit-block--arabic p {
    font-size: 25px;
  }

  .game-description--arabic h4 {
    font-size: 27px;
  }

  .game-description--arabic p {
    font-size: 17px;
  }

  .skills-headline--arabic {
    font-size: 28px;
  }

  .skill-box--arabic h5 {
    font-size: 24px;
  }

  .skill-box--arabic li {
    font-size: 18px;
  }

  .game-card--number {
    width: min(760px, 100%);
  }

  .game-card-header--number {
    height: 78px;
  }

  .game-card-header--number h3 {
    font-size: 48px;
  }

  .header-stripes--number {
    width: 188px;
  }

  .game-preview-row--number {
    grid-template-columns: 188px 1fr;
  }

  .game-thumb--number-left,
  .game-thumb--number-right {
    height: 188px;
  }

  .game-thumb--number-left {
    width: 188px;
  }

  .game-cta--number {
    width: 188px;
    font-size: 27px;
  }

  .benefit-block--number h4 {
    font-size: 30px;
  }

  .benefit-block--number p {
    font-size: 25px;
  }

  .game-description--number h4 {
    font-size: 27px;
  }

  .game-description--number p {
    font-size: 17px;
  }

  .skills-headline--number {
    font-size: 28px;
  }

  .skill-box--number h5 {
    font-size: 24px;
  }

  .skill-box--number li {
    font-size: 18px;
  }

  .game-card--shape {
    width: min(760px, 100%);
  }

  .game-card-header--shape {
    height: 78px;
  }

  .game-card-header--shape h3 {
    font-size: 48px;
  }

  .header-stripes--shape {
    width: 188px;
  }

  .game-preview-row--shape {
    grid-template-columns: 188px 1fr;
  }

  .game-thumb--shape-left,
  .game-thumb--shape-right {
    height: 188px;
  }

  .game-thumb--shape-left {
    width: 188px;
  }

  .game-cta--shape {
    width: 188px;
    font-size: 27px;
  }

  .benefit-block--shape h4 {
    font-size: 30px;
  }

  .benefit-block--shape p {
    font-size: 25px;
  }

  .game-description--shape h4 {
    font-size: 27px;
  }

  .game-description--shape p {
    font-size: 17px;
  }

  .skills-headline--shape {
    font-size: 28px;
  }

  .skill-box--shape h5 {
    font-size: 24px;
  }

  .skill-box--shape li {
    font-size: 18px;
  }

  .faq-section {
    margin-top: 24px;
    margin-bottom: 30px;
  }

  .faq-title {
    font-size: 44px;
    margin-bottom: 12px;
  }

  .faq-item {
    margin-bottom: 12px;
  }

  .faq-question {
    font-size: 44px;
    margin-bottom: 5px;
  }

  .faq-answer {
    font-size: 19px;
    line-height: 1.58;
  }

  .featured-games-section {
    margin-top: 22px;
    margin-bottom: 32px;
  }

  .featured-games-shell {
    border-width: 3px;
    border-radius: 28px;
    padding: 0 14px 14px;
  }

  .featured-games-topbar {
    margin: -3px -3px 14px;
    padding: 16px 18px;
    border-width: 3px;
    border-radius: 24px;
  }

  .featured-games-title {
    font-size: 35px;
  }

  .featured-filter {
    height: 42px;
    padding: 0 16px;
    font-size: 24px;
    border-width: 2px;
  }

  .featured-games-grid {
    gap: 14px;
  }

  .featured-game-card {
    border-width: 3px;
    border-radius: 24px;
    min-height: 390px;
  }

  .featured-game-image {
    height: 238px;
  }

  .featured-game-body {
    padding: 10px 10px 12px;
  }

  .featured-game-en {
    font-size: 25px;
  }

  .featured-game-ar {
    font-size: 24px;
  }

  .featured-game-skill {
    font-size: 27px;
  }

  .featured-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .featured-more-btn {
    height: 44px;
    font-size: 27px;
    border-width: 2px;
  }

  .marquee-viewport {
    height: 88px;
  }

  .marquee-group {
    gap: 24px;
  }

  .marquee-word {
    font-size: 56px;
  }

  .marquee-star {
    font-size: 46px;
  }

  .help-cta-section {
    margin-top: 22px;
  }

  .help-cta-shell {
    width: calc(100vw - 56px);
    padding: 20px 24px;
    border-width: 2px;
    border-radius: 26px;
    grid-template-columns: 300px 1fr;
    gap: 24px;
  }

  .help-cta-actions {
    gap: 12px;
  }

  .help-btn {
    height: 40px;
    border-width: 2px;
    font-size: 26px;
    padding: 0 18px;
  }

  .help-btn-primary {
    min-width: 146px;
  }

  .help-btn-secondary {
    min-width: 176px;
  }

  .help-cta-title {
    font-size: 58px;
  }

  .help-cta-text {
    font-size: 24px;
  }
}

@media (max-width: 860px) {
  .top-navbar {
    padding-inline: 10px;
  }

  .nav-shell {
    min-height: 68px;
    width: calc(100% - 8px);
    padding: 8px 0;
    gap: 8px;
    overflow-x: auto;
  }

  .brand-logo {
    width: 130px;
  }

  .primary-nav {
    gap: 12px;
  }

  .primary-nav a {
    font-size: 14px;
  }

  .btn {
    height: 36px;
    font-size: 14px;
  }

  .btn-login,
  .btn-cta {
    min-width: auto;
    padding: 0 10px;
  }

  .lang-switch {
    font-size: 14px;
  }

  .lang-arrow {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }

  .page-wrap {
    width: calc(100% - 14px);
    padding-top: 16px;
  }

  .hero-banner {
    min-height: 300px;
    border-radius: 28px;
    padding: 28px;
  }

  .hero-mini-title {
    top: 28px;
    right: 28px;
    font-size: clamp(20px, 5vw, 30px);
  }

  .hero-arrow {
    top: 52px;
    right: 20px;
    width: 102px;
    height: 66px;
    stroke-width: 4;
  }

  .hero-title {
    top: 134px;
    right: 26px;
    font-size: clamp(38px, 8vw, 52px);
  }

  .title-line {
    -webkit-text-stroke: 1.1px var(--ink);
    text-shadow:
      1px 0 0 var(--ink),
      -1px 0 0 var(--ink),
      0 1px 0 var(--ink),
      0 -1px 0 var(--ink),
      3px 3px 0 rgba(0, 0, 0, 0.25);
  }

  .read-badge {
    left: 26px;
    bottom: 28px;
    min-width: 110px;
    padding: 8px 14px;
    font-size: clamp(16px, 3.2vw, 22px);
  }

  .skills-card-section {
    margin-top: 16px;
    padding-bottom: 10px;
  }

  .skills-card-base {
    width: calc(100% - 40px);
    height: 106px;
    border-radius: 20px 20px 0 0;
  }

  .skills-card-frame {
    border-radius: 28px;
  }

  .skills-card-image {
    transform: scale(1.008);
  }

  .content-section {
    padding: 28px 0 34px;
  }

  .content-shell {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .content-sidebar {
    order: 2;
    text-align: right;
    padding-top: 0;
  }

  .sidebar-group {
    align-items: flex-start;
    gap: 16px;
  }

  .sidebar-group-skills {
    margin-top: 30px;
  }

  .sidebar-title {
    font-size: 24px;
  }

  .content-sidebar a {
    font-size: 18px;
  }

  .content-main {
    order: 1;
  }

  .content-title {
    font-size: clamp(30px, 7.4vw, 40px);
    margin-bottom: 12px;
  }

  .content-title-second {
    margin-top: 22px;
  }

  .content-title-final {
    text-align: right;
    margin-top: 24px;
  }

  .content-paragraph {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 12px;
  }

  .bullet-block h4 {
    font-size: clamp(22px, 5.4vw, 30px);
  }

  .bullet-block p {
    font-size: clamp(16px, 4vw, 20px);
  }

  .game-card-section {
    margin-top: 20px;
  }

  .game-card {
    width: 100%;
  }

  .game-card-header {
    height: 62px;
    padding: 0 10px;
  }

  .game-card-header h3 {
    font-size: clamp(24px, 6.8vw, 34px);
    letter-spacing: 0;
  }

  .header-stripes {
    width: 88px;
  }

  .game-card-body {
    margin: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .game-preview-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .game-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .game-loading-area {
    min-height: 120px;
  }

  .loading-spinner {
    transform: scale(0.85);
  }

  .game-meta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .game-cta {
    width: 100%;
    height: 44px;
    font-size: 26px;
  }

  .benefit-block h4 {
    font-size: 28px;
  }

  .benefit-block p {
    font-size: 23px;
  }

  .game-description h4 {
    font-size: 30px;
  }

  .game-description p {
    font-size: 19px;
    line-height: 1.55;
  }

  .skills-headline {
    font-size: 30px;
  }

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

  .skill-box h5 {
    font-size: 25px;
  }

  .skill-box li {
    font-size: 19px;
  }

  .faq-section {
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .faq-title {
    font-size: clamp(34px, 6.8vw, 42px);
  }

  .faq-question {
    font-size: clamp(30px, 6.2vw, 40px);
    line-height: 1.2;
  }

  .faq-answer {
    font-size: clamp(16px, 3.8vw, 19px);
  }

  .featured-games-shell {
    padding: 0 10px 12px;
    border-radius: 20px;
  }

  .featured-games-topbar {
    margin: -3px -3px 12px;
    padding: 10px 12px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .featured-games-title {
    font-size: clamp(24px, 5.8vw, 34px);
    text-align: right;
  }

  .featured-filter {
    align-self: flex-start;
    height: 38px;
    font-size: clamp(17px, 4vw, 24px);
    padding: 0 12px;
  }

  .featured-games-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-game-card {
    min-height: auto;
  }

  .featured-game-image {
    height: 220px;
  }

  .featured-game-en {
    font-size: clamp(21px, 4.8vw, 30px);
  }

  .featured-game-ar {
    font-size: clamp(20px, 4.6vw, 28px);
  }

  .featured-game-skill {
    font-size: clamp(22px, 4.8vw, 30px);
  }

  .featured-more-btn {
    height: 42px;
    font-size: clamp(20px, 4.5vw, 28px);
  }

  .marquee-viewport {
    height: 72px;
  }

  .marquee-group {
    gap: 16px;
    padding-inline: 12px;
  }

  .marquee-word {
    font-size: clamp(32px, 8vw, 44px);
  }

  .marquee-star {
    font-size: clamp(28px, 7vw, 40px);
  }

  .help-cta-section {
    margin-top: 18px;
    margin-bottom: 22px;
  }

  .help-cta-shell {
    width: calc(100vw - 28px);
    padding: 14px;
    border-radius: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .help-cta-actions {
    justify-content: center;
    gap: 10px;
  }

  .help-btn {
    height: 38px;
    font-size: clamp(18px, 4.2vw, 24px);
    padding: 0 14px;
    border-width: 2px;
  }

  .help-btn-primary,
  .help-btn-secondary {
    min-width: auto;
  }

  .help-cta-title {
    font-size: clamp(36px, 8.2vw, 52px);
  }

  .help-cta-divider {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .help-cta-text {
    font-size: clamp(17px, 4.1vw, 24px);
  }
}

.site-footer {
  position: relative;
  margin-top: 36px;
  padding: 96px 0 34px;
  background: #f5f5f6;
}

.footer-top-btn {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #111419;
  background: #106df2;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.footer-shell {
  width: min(1500px, calc(100% - 104px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.95fr 1.15fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.footer-col {
  text-align: right;
}

.footer-logo {
  width: auto;
  max-width: min(100%, 220px);
  height: 140px;
  object-fit: contain;
  display: block;
  margin-bottom: 22px;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-policy-links a {
  color: #1f5ff2;
  text-decoration: none;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
}

.footer-brand-text {
  color: #111316;
  font-size: 40px;
  line-height: 1.35;
  font-weight: 600;
  max-width: 560px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.social-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #0d3f32;
  background: #f2cb2d;
  color: #0c0f10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.footer-links h4 {
  color: #1768f2;
  font-size: 58px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  color: #0f1012;
  text-decoration: none;
  font-size: 49px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-news-card {
  position: relative;
  background: #1269ee;
  border: 3px solid #0f1112;
  border-radius: 22px;
  padding: 24px 26px 20px;
  box-shadow: 16px 16px 0 #060707;
  text-align: right;
}

.footer-news-card h4 {
  color: #ffffff;
  font-size: 54px;
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-news-card p {
  color: #ffffff;
  font-size: 36px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-news-card input {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #7c7f87;
  font-family: inherit;
  font-size: 38px;
  line-height: 1;
  padding: 0 18px;
  margin-bottom: 14px;
}

.footer-news-card button {
  height: 54px;
  min-width: 140px;
  border-radius: 999px;
  border: 3px solid #0f1012;
  background: #f6ce17;
  color: #0b0d10;
  font-family: inherit;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  padding: 0 28px;
  cursor: pointer;
}

.footer-divider {
  margin-top: 44px;
  border-top: 2px solid #1f2022;
}

@media (max-width: 1600px) {
  .site-footer {
    padding-top: 82px;
  }

  .footer-shell {
    width: min(1320px, calc(100% - 84px));
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-logo {
    width: 260px;
  }

  .footer-policy-links a {
    font-size: 28px;
  }

  .footer-brand-text {
    font-size: 28px;
    max-width: 390px;
  }

  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .footer-links h4 {
    font-size: 43px;
    margin-bottom: 12px;
  }

  .footer-links a {
    font-size: 33px;
    margin-bottom: 6px;
  }

  .footer-news-card {
    border-radius: 18px;
    padding: 18px 20px 16px;
    box-shadow: 12px 12px 0 #060707;
  }

  .footer-news-card h4 {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .footer-news-card p {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .footer-news-card input {
    height: 48px;
    font-size: 28px;
    margin-bottom: 10px;
  }

  .footer-news-card button {
    height: 44px;
    min-width: 120px;
    font-size: 30px;
  }

  .footer-divider {
    margin-top: 30px;
  }
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-news-card {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: start;
  }
}

/* Global scale normalization aligned to WonderTree live Arabic proportions */
html {
  zoom: 1 !important;
}

body {
  font-size: 16px;
}

.nav-shell,
.page-wrap {
  width: min(var(--container-max), calc(100% - 56px));
}

.top-navbar {
  border-bottom: 1px solid #e2e6ed;
}

.nav-shell {
  min-height: 78px;
  padding: 10px 0;
}

.brand-logo {
  width: auto;
}

.brand-logo img {
  height: 68px;
  max-width: 188px;
}

.primary-nav a {
  font-size: 17px;
}

.btn {
  height: 44px;
  font-size: 17px;
}

.btn-login {
  min-width: 178px;
}

.btn-cta {
  min-width: 212px;
}

.page-wrap {
  padding-top: 22px;
}

.hero-banner {
  min-height: 392px;
}

.hero-mini-title {
  font-size: clamp(30px, 2.1vw, 38px);
}

.hero-title {
  font-size: clamp(60px, 4.6vw, 76px);
}

.content-section::before {
  width: min(1560px, calc(100vw - 96px));
}

.content-shell {
  width: min(var(--container-max), calc(100% - 24px));
  grid-template-columns: 1fr;
  gap: 46px;
}

.content-title {
  font-size: clamp(40px, 2.8vw, 50px);
  margin-bottom: 12px;
}

.content-paragraph,
.bullet-block p {
  font-size: clamp(18px, 1.16vw, 19px);
  line-height: 1.78;
}

.bullet-block h4 {
  font-size: clamp(27px, 1.9vw, 32px);
}

.faq-section {
  margin-top: 30px;
  margin-bottom: 36px;
}

.faq-title {
  font-size: clamp(42px, 2.8vw, 54px);
  margin-bottom: 12px;
}

.faq-question {
  font-size: clamp(40px, 2.6vw, 50px);
}

.faq-answer {
  font-size: clamp(18px, 1.15vw, 20px);
  line-height: 1.64;
}

.featured-games-section {
  margin-top: 32px;
}

.featured-games-shell {
  border-width: 3px;
  border-radius: 34px;
  padding: 0 18px 16px;
}

.featured-games-topbar {
  border-width: 3px;
  margin: -3px -3px 16px;
  padding: 15px 24px;
}

.featured-games-title {
  font-size: clamp(34px, 2.4vw, 42px);
}

.featured-filter {
  height: 46px;
  font-size: 22px;
  border-width: 2px;
}

.featured-games-grid {
  gap: 16px;
}

.featured-game-card {
  border-width: 3px;
  border-radius: 30px;
  min-height: 356px;
}

.featured-game-image {
  height: 220px;
}

.featured-game-body {
  padding: 10px 14px 11px;
}

.featured-game-en {
  font-size: 17px;
}

.featured-game-ar {
  margin-top: 6px;
  font-size: 15px;
}

.featured-game-skill {
  margin-top: 8px;
  font-size: 18px;
}

.featured-icon {
  width: 42px;
  height: 42px;
  font-size: 21px;
}

.featured-more-btn {
  height: 48px;
  min-width: 156px;
  border-width: 2px;
  font-size: 33px;
}

.marquee-section {
  margin-top: 30px;
}

.marquee-viewport {
  height: 114px;
}

.marquee-group {
  gap: 32px;
}

.marquee-word {
  font-size: clamp(54px, 3.8vw, 66px);
}

.marquee-star {
  font-size: clamp(49px, 3.3vw, 60px);
}

.help-cta-section {
  margin-top: 34px;
  margin-bottom: 34px;
}

.help-cta-shell {
  width: min(1360px, calc(100vw - 96px));
  padding: 26px 38px;
  gap: 44px;
  border-radius: 32px;
  grid-template-columns: 360px 1fr;
}

.help-btn {
  height: 48px;
  font-size: 22px;
  border-width: 2px;
  padding: 0 24px;
}

.help-btn-primary {
  min-width: 148px;
}

.help-btn-secondary {
  min-width: 178px;
}

.help-cta-title {
  font-size: clamp(58px, 4vw, 74px);
}

.help-cta-text {
  font-size: clamp(22px, 1.5vw, 29px);
}

.site-footer {
  margin-top: 40px;
  padding: 70px 0 28px;
}

.footer-top-btn {
  width: 46px;
  height: 46px;
  font-size: 30px;
  border-width: 2px;
}

.footer-shell {
  width: min(1280px, calc(100% - 88px));
}

.footer-grid {
  grid-template-columns: 1.1fr 0.82fr 0.92fr 1.1fr 1fr;
  gap: 28px;
}

.footer-logo {
  width: 244px;
  margin-bottom: 12px;
}

.footer-policy-links {
  gap: 6px;
  margin-bottom: 6px;
}

.footer-policy-links a {
  font-size: 16px;
}

.footer-brand-text {
  font-size: 14px;
  line-height: 1.48;
  max-width: 320px;
  margin-bottom: 12px;
}

.footer-socials {
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  font-size: 18px;
  border-width: 2px;
}

.footer-links h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 4px;
}

.footer-news-card {
  border-width: 2px;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 9px 9px 0 #060707;
}

.footer-news-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-news-card p {
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 10px;
}

.footer-news-card input {
  height: 42px;
  border-radius: 9px;
  font-size: 12px;
  margin-bottom: 10px;
}

.footer-news-card button {
  height: 40px;
  min-width: 84px;
  border-width: 2px;
  font-size: 16px;
}

.footer-divider {
  margin-top: 28px;
}

@media (max-width: 1280px) {
  .nav-shell,
  .page-wrap {
    width: calc(100% - 36px);
  }

  .content-section::before {
    width: calc(100vw - 42px);
  }

  .content-shell {
    width: calc(100% - 10px);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-banner {
    min-height: 340px;
  }

  .featured-game-image {
    height: 198px;
  }

  .help-cta-shell {
    width: calc(100vw - 48px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .help-cta-actions {
    justify-content: center;
  }

  .footer-shell {
    width: calc(100% - 48px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-news-card {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: start;
  }
}

/* Kids quiz page */
.quiz-main {
  position: relative;
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.celebration-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 120;
  overflow: hidden;
  opacity: 0;
}

.celebration-layer.is-active {
  opacity: 1;
}

.celebration-message {
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #ffffff;
  border: 3px solid #111317;
  border-radius: 999px;
  padding: 10px 22px;
  color: #18712f;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 8px 0 #111317;
  z-index: 121;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.celebration-message.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.balloon {
  position: absolute;
  bottom: -90px;
  width: 26px;
  height: 34px;
  border-radius: 50% 50% 45% 45%;
  border: 2px solid rgba(0, 0, 0, 0.18);
  animation-name: balloonRise;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

@keyframes balloonRise {
  0% {
    transform: translateY(0) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateY(-115vh) translateX(14px) scale(1.06);
    opacity: 0;
  }
}

.quiz-stage {
  position: relative;
  border-radius: 36px;
  border: 3px solid #111317;
  background:
    radial-gradient(circle at 12% 18%, #fff7bf 0, #fff7bf 10%, transparent 11%),
    radial-gradient(circle at 88% 26%, #ffd6e2 0, #ffd6e2 12%, transparent 13%),
    radial-gradient(circle at 18% 82%, #d6f0ff 0, #d6f0ff 12%, transparent 13%),
    #ffdd14;
  padding: 34px 34px 32px;
  overflow: hidden;
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 2px solid #121418;
  border-radius: 999px;
  background: #ffffff;
  color: #1662e9;
  font-size: 18px;
  font-weight: 800;
  padding: 0 18px;
}

.quiz-title {
  margin-top: 12px;
  color: #152033;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.12;
  font-weight: 800;
}

.quiz-subtitle {
  margin-top: 6px;
  color: #3d3322;
  font-size: 20px;
  font-weight: 700;
}

.quiz-progress {
  margin-top: 18px;
  width: min(760px, 100%);
  background: #fffaf0;
  border: 3px solid #141519;
  border-radius: 20px;
  padding: 14px 16px 12px;
  box-shadow: 8px 8px 0 #111317;
}

.quiz-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #152033;
  font-size: 18px;
  font-weight: 800;
}

.quiz-progress-track {
  margin-top: 10px;
  height: 16px;
  background: #e4e8ff;
  border: 2px solid #1a1c22;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #19a974 0%, #32c4ff 48%, #4f7cff 100%);
  transition: width 0.35s ease;
}

.quiz-progress-stars {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #a5afcc;
  font-size: 19px;
}

.quiz-progress-stars span {
  transition: transform 0.2s ease, color 0.2s ease;
}

.quiz-progress-stars span.is-active {
  color: #ff9f1a;
  transform: translateY(-2px) scale(1.08);
}

.mcq-card {
  margin-top: 18px;
  width: min(760px, 100%);
  background: #ffffff;
  border: 3px solid #141519;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 10px 10px 0 #111317;
}

.assessment-header {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.assessment-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.assessment-level-label {
  color: #1f2a4a;
  font-size: 18px;
  font-weight: 800;
}

.assessment-skill-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assessment-skill-value {
  color: #164fd8;
  font-size: 18px;
  font-weight: 800;
}

.assessment-difficulty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: fit-content;
  border-radius: 999px;
  border: 2px solid #1d2026;
  padding: 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.difficulty-easy {
  background: #dff6d8;
  color: #226334;
}

.difficulty-medium {
  background: #fff1bf;
  color: #7a5300;
}

.difficulty-hard {
  background: #ffe0df;
  color: #a02c28;
}

.assessment-student-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.assessment-student-field {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #1f2a4a;
  font-size: 15px;
  font-weight: 700;
}

.assessment-student-field input,
.assessment-textarea-wrap textarea {
  width: 100%;
  border: 2px solid #1d2026;
  border-radius: 14px;
  background: #ffffff;
  color: #11141b;
  font-family: inherit;
  font-size: 17px;
  padding: 12px 14px;
}

.assessment-secondary-btn,
.assessment-submit {
  min-height: 48px;
  border: 2px solid #141519;
  border-radius: 14px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.assessment-secondary-btn {
  background: #ffffff;
  color: #164fd8;
}

.assessment-submit {
  background: #1e64f0;
  color: #ffffff;
}

.assessment-test-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.assessment-test-nav__btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.mcq-question {
  color: #11141b;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 18px;
}

.assessment-audio-inline {
  margin: -4px 0 18px;
  padding: 14px 16px;
  border: 2px solid #20345f;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.assessment-audio-inline__btn {
  min-width: 160px;
  flex-shrink: 0;
}

.assessment-audio-inline__note {
  margin: 0;
  color: #20345f;
  font-size: 16px;
  font-weight: 800;
}

.assessment-asset-box {
  margin-bottom: 18px;
  border: 2px dashed #1d2026;
  border-radius: 22px;
  background: #fafbff;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.assessment-asset-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 2px solid #1d2026;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.assessment-asset-icon::before {
  content: "";
  width: 26px;
  height: 26px;
  background: center / contain no-repeat url("images/logo.png");
  opacity: 0.95;
}

.assessment-asset-label {
  color: #11141b;
  font-size: 20px;
  font-weight: 800;
}

.assessment-asset-note {
  color: #4b5875;
  font-size: 16px;
  font-weight: 700;
}

.assessment-asset-stage {
  min-height: 120px;
  border-radius: 18px;
  background: linear-gradient(180deg, #eef3ff 0%, #f9fbff 100%);
  border: 2px solid #d9deee;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.quiz-page .assessment-asset-box[hidden] {
  display: none !important;
}

.quiz-page .mcq-card {
  transform: translateY(0);
  opacity: 1;
  transition: box-shadow 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

.quiz-page .mcq-card.is-question-enter {
  animation: academic-card-in 0.34s ease both;
}

.quiz-page .assessment-skill-value,
.quiz-page .assessment-difficulty {
  transition: color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.quiz-page .is-meta-refresh {
  animation: academic-meta-fade 0.28s ease both;
}

.quiz-page .assessment-asset-box {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.quiz-page .assessment-asset-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Arabic-first typography pass for both quiz pages */
.quiz-page,
.quiz-page button,
.quiz-page input,
.quiz-page textarea,
.quiz-page select {
  font-family: "Cairo", "Noto Naskh Arabic", "Noto Kufi Arabic", "Tahoma", sans-serif;
  letter-spacing: normal;
  word-spacing: normal;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

.quiz-page .mcq-question,
.quiz-page .quiz-subtitle,
.quiz-page .mcq-feedback,
.quiz-page .quiz-result-text,
.quiz-page .assessment-level-label,
.quiz-page .assessment-skill-value,
.quiz-page .assessment-difficulty,
.quiz-page .assessment-asset-label,
.quiz-page .assessment-asset-note,
.quiz-page .assessment-visual-sequence-label,
.quiz-page .assessment-location-current-prompt,
.quiz-page .assessment-location-answer-label,
.quiz-page .assessment-location-answer-status,
.quiz-page .assessment-location-preview-label,
.quiz-page .assessment-path-status,
.quiz-page .assessment-puzzle-preview-note,
.quiz-page .assessment-preview-hidden-message p,
.quiz-page .assessment-textarea-wrap,
.quiz-page .assessment-student-field,
.quiz-page .assessment-memory-sentence-visual__caption {
  letter-spacing: normal !important;
  word-spacing: 0.04em;
  line-height: 1.55;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.quiz-page .mcq-question {
  line-height: 1.38;
}

.quiz-page .assessment-secondary-btn,
.quiz-page .assessment-submit,
.quiz-page .mcq-next,
.quiz-page .assessment-option,
.quiz-page .assessment-sequence-choice,
.quiz-page .assessment-sequence-pill,
.quiz-page .assessment-sequence-clear,
.quiz-page .assessment-letter-memory-choice,
.quiz-page .assessment-letter-memory-pill,
.quiz-page .assessment-direction-sequence-choice,
.quiz-page .assessment-direction-sequence-pill,
.quiz-page .assessment-direction-recognition__choice,
.quiz-page .assessment-arrow-choice,
.quiz-page .assessment-sentence-word,
.quiz-page .assessment-sentence-pill,
.quiz-page .assessment-image-match-word,
.quiz-page .assessment-toy-card,
.quiz-page .assessment-word-recognition__word,
.quiz-page .assessment-text-visual-search__word,
.quiz-page .academic-choice-btn,
.quiz-page .academic-image-card,
.quiz-page .academic-letter-chip,
.quiz-page .academic-word-pill {
  letter-spacing: normal !important;
  word-spacing: 0.04em;
  line-height: 1.4;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
  text-align: center;
  align-content: center;
}

.quiz-page .assessment-secondary-btn,
.quiz-page .assessment-submit,
.quiz-page .mcq-next,
.quiz-page .assessment-sequence-clear {
  min-height: 52px;
  padding-inline: 16px;
}

.quiz-page .assessment-option,
.quiz-page .assessment-sequence-choice,
.quiz-page .assessment-sequence-pill,
.quiz-page .assessment-letter-memory-choice,
.quiz-page .assessment-letter-memory-pill,
.quiz-page .assessment-direction-sequence-choice,
.quiz-page .assessment-direction-sequence-pill,
.quiz-page .assessment-image-match-word,
.quiz-page .assessment-toy-card,
.quiz-page .assessment-sentence-word,
.quiz-page .assessment-sentence-pill,
.quiz-page .academic-choice-btn,
.quiz-page .academic-image-card,
.quiz-page .academic-letter-chip,
.quiz-page .academic-word-pill {
  padding-inline: 14px;
}

.quiz-page .assessment-level-label,
.quiz-page .assessment-skill-value,
.quiz-page .assessment-difficulty {
  line-height: 1.35;
}

.quiz-page .assessment-topline,
.quiz-page .assessment-skill-line,
.quiz-page .assessment-action-row,
.quiz-page .assessment-test-nav,
.quiz-page .assessment-student-bar,
.quiz-page .assessment-location-memory-head,
.quiz-page .assessment-puzzle-head {
  align-items: center;
}

.quiz-page .assessment-image-match-slot-label,
.quiz-page .assessment-location-answer-status,
.quiz-page .assessment-path-status,
.quiz-page .assessment-letter-memory-status,
.quiz-page .assessment-direction-sequence-status,
.quiz-page .assessment-dot-to-dot__status,
.quiz-page .assessment-text-tracking-recall__status,
.quiz-page .assessment-hidden-object__status,
.quiz-page .assessment-puzzle-timer,
.quiz-page .assessment-location-memory-progress {
  letter-spacing: normal !important;
  word-spacing: 0.04em;
  line-height: 1.45;
}

.quiz-page .academic-choice-btn,
.quiz-page .academic-image-card,
.quiz-page .academic-letter-chip,
.quiz-page .academic-word-pill,
.quiz-page .assessment-secondary-btn,
.quiz-page .assessment-submit,
.quiz-page .mcq-next {
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  will-change: transform;
}

.quiz-page .academic-choice-btn:hover,
.quiz-page .academic-image-card:hover,
.quiz-page .academic-letter-chip:hover,
.quiz-page .academic-word-pill:hover,
.quiz-page .assessment-secondary-btn:hover,
.quiz-page .assessment-submit:hover,
.quiz-page .mcq-next:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 16px rgba(25, 33, 55, 0.14);
}

.quiz-page .academic-choice-btn:active,
.quiz-page .academic-image-card:active,
.quiz-page .academic-letter-chip:active,
.quiz-page .academic-word-pill:active,
.quiz-page .assessment-secondary-btn:active,
.quiz-page .assessment-submit:active,
.quiz-page .mcq-next:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 3px 8px rgba(25, 33, 55, 0.12);
}

.quiz-page .academic-choice-btn.is-selected,
.quiz-page .academic-image-card.is-selected,
.quiz-page .academic-word-pill.is-assigned {
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quiz-page .mcq-feedback {
  transition: color 0.24s ease, opacity 0.24s ease;
}

@keyframes academic-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes academic-meta-fade {
  from {
    opacity: 0.5;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-page .mcq-card,
  .quiz-page .assessment-asset-box,
  .quiz-page .academic-choice-btn,
  .quiz-page .academic-image-card,
  .quiz-page .academic-letter-chip,
  .quiz-page .academic-word-pill,
  .quiz-page .assessment-option,
  .quiz-page .assessment-secondary-btn,
  .quiz-page .assessment-submit,
  .quiz-page .mcq-next,
  .quiz-page .mcq-feedback,
  .quiz-page .assessment-skill-value,
  .quiz-page .assessment-difficulty {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.assessment-asset-block {
  min-width: 92px;
  min-height: 68px;
  border-radius: 16px;
  border: 2px dashed #93a3c8;
  background: rgba(255, 255, 255, 0.82);
  color: #506284;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
}

.assessment-answer-form {
  display: grid;
  gap: 14px;
}

.mcq-answers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.assessment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.assessment-options--visual .assessment-option {
  min-height: 78px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
}

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

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

.assessment-options--emotion-scenes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.assessment-option--color {
  gap: 12px;
  align-items: center;
}

.assessment-option--emotion-scene {
  min-height: 220px;
  padding: 18px 16px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.assessment-emotion-scene-art {
  width: 132px;
  height: 132px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assessment-emotion-scene-art svg {
  width: 100%;
  height: 100%;
}

.assessment-emotion-scene-label {
  line-height: 1.35;
}

.assessment-option--size {
  justify-content: center;
  min-height: 140px;
  padding: 18px;
}

.assessment-color-chip {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 18px;
  border: 2px solid rgba(17, 20, 27, 0.18);
  background: var(--choice-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.assessment-color-label {
  flex: 1;
}

.assessment-size-stage {
  width: 100%;
  min-height: 98px;
  border-radius: 18px;
  border: 2px dashed rgba(92, 107, 192, 0.25);
  background: linear-gradient(180deg, #fafbff 0%, #eef2ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.assessment-size-shape {
  width: var(--shape-size);
  height: var(--shape-size);
  background: var(--shape-color);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 10px 22px rgba(92, 107, 192, 0.2);
  animation: assessment-size-pulse 1.6s ease-in-out infinite;
}

.assessment-size-shape--circle {
  border-radius: 999px;
}

@keyframes assessment-size-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.92);
  }
}

.assessment-option {
  min-height: 60px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #f4f6ff;
  color: #11141b;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.quiz-page .assessment-option:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 10px 18px rgba(26, 31, 47, 0.16);
}

.quiz-page .assessment-option:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 10px rgba(26, 31, 47, 0.12);
}

.assessment-preview-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.assessment-audio-button {
  width: 70px;
  height: 70px;
  border: 2px solid #1d2026;
  border-radius: 50%;
  background: #ffffff;
  color: #1e64f0;
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
}

.assessment-audio-waves {
  display: flex;
  align-items: end;
  gap: 6px;
  min-height: 60px;
}

.assessment-audio-waves span {
  width: 10px;
  border-radius: 999px;
  background: #9cb8ff;
}

.assessment-audio-waves span:nth-child(1) { height: 22px; }
.assessment-audio-waves span:nth-child(2) { height: 40px; }
.assessment-audio-waves span:nth-child(3) { height: 30px; }
.assessment-audio-waves span:nth-child(4) { height: 48px; }

.assessment-option input {
  width: 20px;
  height: 20px;
  accent-color: #1e64f0;
}

.assessment-spatial-distance {
  width: 100%;
}

.assessment-spatial-distance__stage {
  position: relative;
  min-height: 320px;
  border: 2px solid #1d2026;
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(255, 107, 107, 0.12) 0, rgba(255, 107, 107, 0.12) 70px, transparent 72px),
    linear-gradient(180deg, #fbfcff 0%, #eef3ff 100%);
  overflow: hidden;
}

.assessment-spatial-distance__point {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #ef5350;
  box-shadow: 0 0 0 8px rgba(239, 83, 80, 0.18);
  transform: translate(-50%, -50%);
}

.assessment-spatial-distance__item {
  position: absolute;
  width: var(--distance-item-size);
  height: var(--distance-item-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.assessment-spatial-distance__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.assessment-spatial-distance__shape {
  width: 100%;
  height: 100%;
  border: 3px solid #1d2026;
  background: var(--distance-item-color);
  box-shadow: 0 10px 20px rgba(29, 32, 38, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
}

.assessment-spatial-distance__item--circle .assessment-spatial-distance__shape {
  border-radius: 999px;
}

.assessment-spatial-distance__item--square .assessment-spatial-distance__shape {
  border-radius: 12px;
}

.assessment-spatial-distance__item:hover .assessment-spatial-distance__shape,
.assessment-spatial-distance__item:focus-within .assessment-spatial-distance__shape {
  transform: scale(1.08);
}

.assessment-spatial-distance__item input:checked + .assessment-spatial-distance__shape {
  outline: 4px solid #1e64f0;
  outline-offset: 4px;
  box-shadow: 0 14px 26px rgba(30, 100, 240, 0.24);
}

.assessment-textarea-wrap {
  display: grid;
  gap: 8px;
  color: #1f2a4a;
  font-size: 16px;
  font-weight: 700;
}

.assessment-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assessment-sequence-builder {
  display: grid;
  gap: 14px;
}

.assessment-sequence-source,
.assessment-sequence-target {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 74px;
  padding: 12px;
  border-radius: 18px;
  border: 2px dashed #b9c5e6;
  background: #f8faff;
}

.assessment-sequence-choice,
.assessment-sequence-pill,
.assessment-sequence-clear {
  min-height: 46px;
  border: 2px solid #1d2026;
  border-radius: 14px;
  background: #ffffff;
  color: #11141b;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.assessment-sequence-pill {
  background: #e7f0ff;
}

.assessment-sequence-clear {
  width: fit-content;
  color: #164fd8;
}

.assessment-letter-memory-preview,
.assessment-letter-memory {
  display: grid;
  gap: 14px;
}

.assessment-letter-memory-preview-row,
.assessment-letter-memory-choices,
.assessment-letter-memory-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
}

.assessment-letter-memory-preview-letter,
.assessment-letter-memory-choice,
.assessment-letter-memory-pill,
.assessment-letter-memory-slot {
  min-height: 64px;
  border: 2px solid #1d2026;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
}

.assessment-letter-memory-preview-letter {
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  box-shadow: 0 10px 20px rgba(30, 100, 240, 0.12);
}

.assessment-letter-memory-choice {
  background: #ffffff;
  color: #143a96;
  cursor: pointer;
}

.assessment-letter-memory-choice[hidden] {
  display: none;
}

.assessment-letter-memory-choice:disabled {
  opacity: 0.45;
  cursor: default;
}

.assessment-letter-memory-slot {
  position: relative;
  background: #f8faff;
  border-style: dashed;
}

.assessment-letter-memory-slot-index {
  color: #8a97b3;
  font-size: 18px;
  font-weight: 800;
}

.assessment-letter-memory-pill {
  width: 100%;
  min-height: 60px;
  background: #e7f0ff;
  cursor: pointer;
}

.assessment-letter-memory-status {
  color: #4f5f7c;
  font-size: 15px;
  font-weight: 700;
}

.assessment-direction-sequence {
  display: grid;
  gap: 14px;
}

.assessment-direction-sequence-slots,
.assessment-direction-sequence-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
}

.assessment-direction-sequence-slot,
.assessment-direction-sequence-choice,
.assessment-direction-sequence-pill {
  min-height: 64px;
  border: 2px solid #1d2026;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
}

.assessment-direction-sequence-slot {
  background: #f8faff;
  border-style: dashed;
}

.assessment-direction-sequence-slot-index {
  color: #8a97b3;
  font-size: 18px;
  font-weight: 800;
}

.assessment-direction-sequence-choice {
  background: #ffffff;
  color: #143a96;
  cursor: pointer;
}

.assessment-direction-sequence-pill {
  width: 100%;
  min-height: 60px;
  background: #e7f0ff;
  cursor: pointer;
}

.assessment-direction-sequence-status {
  color: #4f5f7c;
  font-size: 15px;
  font-weight: 700;
}

.assessment-options--arrows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 12px;
}

.assessment-option--arrow {
  min-height: 88px;
  border: 2px solid #1d2026;
  border-radius: 22px;
  background: #ffffff;
}

.assessment-arrow-choice {
  width: 100%;
  min-height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #143a96;
  font-size: 44px;
  font-weight: 800;
}

.assessment-direction-recognition__board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 12px;
}

.assessment-direction-recognition__choice {
  min-height: 88px;
  border: 2px solid #1d2026;
  border-radius: 22px;
  background: #ffffff;
  color: #143a96;
  font-size: 44px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.assessment-direction-recognition__choice:hover {
  transform: translateY(-2px);
}

.assessment-direction-recognition__choice.is-selected {
  background: #e7f0ff;
  box-shadow: 0 12px 24px rgba(20, 58, 150, 0.18);
}

.assessment-balance-observation {
  display: flex;
  justify-content: center;
  padding: 16px 0 4px;
}

.assessment-balance-observation__shape {
  width: 74px;
  height: 74px;
  border: 3px solid #1d2026;
  border-radius: 18px;
  background: #ffd54f;
  box-shadow: 0 12px 22px rgba(29, 32, 38, 0.16);
}

.assessment-balance-observation--line {
  padding: 34px 14px 18px;
}

.assessment-balance-observation__line {
  width: min(100%, 340px);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef5350 0%, #ff8a65 100%);
  box-shadow: 0 10px 24px rgba(239, 83, 80, 0.24);
}

.assessment-color-target-asset {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.assessment-color-target-asset__shape {
  display: block;
  width: 110px;
  height: 110px;
  border: 4px solid #1d2026;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(30, 100, 240, 0.12);
}

.assessment-color-target-asset__shape--circle {
  border-radius: 999px;
}

.assessment-direction-color-reference {
  width: min(100%, 540px);
  min-height: 240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.assessment-direction-color-reference__item {
  min-height: 160px;
  border: 2px solid #1d2026;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfcff 0%, #eef3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.assessment-direction-color-reference__arrow {
  font-size: 5rem;
  line-height: 1;
  color: var(--direction-color, #1f3f7a);
}

.assessment-dot-to-dot {
  display: grid;
  gap: 12px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.assessment-dot-to-dot__status {
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #f7f4ea;
  color: #3b4b66;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.assessment-dot-to-dot__board {
  position: relative;
  min-height: 260px;
  border: 2px solid #1d2026;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfcff 0%, #eef3ff 100%);
  overflow: hidden;
}

.assessment-dot-to-dot__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.assessment-dot-to-dot__path {
  fill: none;
  stroke: #1e64f0;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assessment-dot-to-dot__point {
  position: absolute;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 3px solid #1d2026;
  border-radius: 50%;
  background: #ffffff;
  color: #143a96;
  font-size: 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(20, 58, 150, 0.12);
}

.assessment-dot-to-dot__point.is-complete {
  background: #1e64f0;
  color: #ffffff;
}

.assessment-observation-options {
  display: grid;
  gap: 12px;
}

.assessment-option--observation {
  min-height: 68px;
  border: 2px solid #1d2026;
  border-radius: 20px;
  background: #ffffff;
}

.assessment-option--observation span {
  font-size: 22px;
  font-weight: 800;
  color: #13254b;
}

.assessment-path-tracing {
  display: grid;
  gap: 12px;
}

.assessment-path-tracing__status {
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #f7f4ea;
  color: #3b4b66;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.assessment-path-tracing__board {
  position: relative;
  min-height: 280px;
  border: 2px solid #1d2026;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfcff 0%, #eef3ff 100%);
  overflow: hidden;
  touch-action: none;
}

.assessment-path-tracing__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.assessment-path-tracing__track {
  fill: none;
  stroke: var(--path-track-color, #4c6ef5);
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.22;
}

.assessment-path-tracing__start,
.assessment-path-tracing__end {
  position: absolute;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #1d2026;
  font-size: 14px;
  font-weight: 800;
  color: #13254b;
}

.assessment-path-tracing__start {
  right: auto;
  left: 20px;
  bottom: 24px;
}

.assessment-path-tracing__end {
  right: 20px;
  top: 20px;
}

.assessment-path-tracing__marker {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid #1d2026;
  border-radius: 999px;
  background: var(--path-marker-color, #ff8a65);
  box-shadow: 0 10px 18px rgba(29, 32, 38, 0.18);
  cursor: grab;
  touch-action: none;
}

.assessment-sentence-image-match {
  display: grid;
  gap: 18px;
}

.assessment-sentence-image-match__card {
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 16px 20px;
  border: 2px dashed #1f3f7a;
  border-radius: 22px;
  background: #fffdf6;
  color: #173160;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: grab;
}

.assessment-sentence-image-match__board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.assessment-sentence-image-match__target {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 2px solid #c9d6f5;
  border-radius: 22px;
  background: #ffffff;
  color: #173160;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.assessment-sentence-image-match__target.is-over,
.assessment-sentence-image-match__target.is-selected {
  border-color: #1f3f7a;
  background: #eef3ff;
  transform: translateY(-2px);
}

.assessment-sentence-image-match__art svg {
  display: block;
  width: 100%;
  height: auto;
}

.assessment-sentence-image-match__label {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.assessment-visual-memory-selection,
.assessment-color-sequence,
.assessment-direction-reference,
.assessment-text-tracking-recall {
  width: min(100%, 820px);
  margin: 0 auto;
}

.assessment-visual-memory-selection {
  display: grid;
  gap: 16px;
}

.assessment-visual-memory-selection__preview,
.assessment-visual-memory-selection__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
}

.assessment-visual-memory-selection__item,
.assessment-visual-memory-selection__choice {
  min-height: 110px;
  border: 2px solid #c9d6f5;
  border-radius: 22px;
  background: #fffdf6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assessment-visual-memory-selection__choice {
  cursor: pointer;
}

.assessment-visual-memory-selection__choice.is-selected {
  border-color: #1f3f7a;
  background: #eef3ff;
}

.assessment-visual-memory-selection__status,
.assessment-color-sequence__status,
.assessment-text-tracking-recall__status {
  min-height: 46px;
  padding: 10px 14px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #f7f4ea;
  color: #3b4b66;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.assessment-color-sequence {
  display: grid;
  gap: 16px;
}

.assessment-color-sequence__preview,
.assessment-color-sequence__choices,
.assessment-color-sequence__slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.assessment-color-sequence__preview-chip,
.assessment-color-sequence__choice,
.assessment-color-sequence__slot-fill {
  display: block;
  width: 100%;
  min-height: 74px;
  border-radius: 20px;
}

.assessment-color-sequence__preview-chip,
.assessment-color-sequence__choice {
  border: 2px solid #1d2026;
}

.assessment-color-sequence__choice {
  cursor: pointer;
}

.assessment-color-sequence__preview-chip,
.assessment-color-sequence__choice,
.assessment-color-sequence__slot-fill {
  background: var(--sequence-color, transparent) !important;
}

.assessment-direction-reference {
  min-height: 260px;
  border: 2px solid #1d2026;
  border-radius: 28px;
  background: linear-gradient(180deg, #fcfcff 0%, #eef3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.assessment-direction-reference__arrow {
  font-size: 6rem;
  line-height: 1;
  color: #1f3f7a;
}

.assessment-text-tracking-recall {
  display: grid;
  gap: 16px;
}

.assessment-text-tracking-recall__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 2px solid #1f3f7a;
  border-radius: 28px;
  background: #fffdf6;
}

.assessment-text-tracking-recall__word {
  padding: 8px 14px;
  border-radius: 16px;
  color: #1f2f53;
  font-size: 1.35rem;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.assessment-text-tracking-recall__word.is-active,
.assessment-text-tracking-recall__word.is-last {
  background: #e6edff;
  color: #173160;
  transform: translateY(-2px);
}

.assessment-catch-dot {
  display: grid;
  gap: 12px;
}

.assessment-catch-dot__status {
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #f7f4ea;
  color: #3b4b66;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.assessment-catch-dot__board {
  position: relative;
  min-height: 280px;
  border: 2px solid #1d2026;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfcff 0%, #eef3ff 100%);
  overflow: hidden;
}

.assessment-catch-dot__target {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid #1d2026;
  border-radius: 999px;
  background: #ef5350;
  box-shadow: 0 10px 18px rgba(29, 32, 38, 0.18);
  cursor: pointer;
  transition: left 0.22s ease, top 0.22s ease, transform 0.12s ease;
}

.assessment-catch-dot__target:active {
  transform: scale(0.92);
}

.assessment-text-visual-search {
  width: min(100%, 820px);
  margin: 0 auto;
}

.assessment-text-visual-search__board {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  justify-content: center;
  padding: 24px;
  border: 2px solid #1f3f7a;
  border-radius: 28px;
  background: #fffdf6;
}

.assessment-text-visual-search__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0;
  line-height: 1.9;
}

.assessment-text-visual-search__word {
  border: 2px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #1f2f53;
  padding: 6px 10px;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.assessment-text-visual-search__word:hover {
  border-color: #5f76b5;
  background: #eef3ff;
}

.assessment-text-visual-search__word.is-selected {
  border-color: #1f3f7a;
  background: #e6edff;
}

.assessment-text-visual-search__word.is-found {
  border-color: #1d8f52;
  background: #dff6e8;
  color: #17653c;
}

.assessment-word-recognition {
  width: min(100%, 820px);
  margin: 0 auto;
}

.assessment-word-recognition__reference {
  width: min(100%, 180px);
  margin: 0 auto 18px;
  padding: 16px 20px;
  border: 2px solid #1f3f7a;
  border-radius: 24px;
  background: #f2f6ff;
  color: #173160;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
}

.assessment-word-recognition__board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
  border: 2px solid #1f3f7a;
  border-radius: 28px;
  background: #fffdf6;
}

.assessment-word-recognition__word {
  min-width: 104px;
  border: 2px solid #b9c5e6;
  border-radius: 18px;
  background: #ffffff;
  color: #1f2f53;
  padding: 12px 18px;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.assessment-word-recognition__word:hover {
  border-color: #5f76b5;
  background: #eef3ff;
}

.assessment-word-recognition__word.is-selected {
  border-color: #1f3f7a;
  background: #e6edff;
}

.assessment-word-recognition__word.is-found {
  border-color: #1d8f52;
  background: #dff6e8;
  color: #17653c;
}

.assessment-sentence-completion {
  width: min(100%, 760px);
  margin: 0 auto;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 2px solid #1f3f7a;
  border-radius: 28px;
  background: #fffdf6;
}

.assessment-sentence-completion__sentence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #1f2f53;
  font-size: 1.55rem;
  font-weight: 800;
  text-align: center;
}

.assessment-sentence-completion__blank {
  min-width: 110px;
  padding: 6px 14px;
  border-bottom: 4px solid #1f3f7a;
  color: #1e64f0;
}

.assessment-apple-image-selection {
  width: min(100%, 820px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.assessment-apple-image-selection__choice {
  border: 2px solid #1f3f7a;
  border-radius: 24px;
  background: #ffffff;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.assessment-apple-image-selection__choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(31, 63, 122, 0.12);
  background: #f8fbff;
}

.assessment-apple-image-selection__choice.is-selected {
  background: #e8f0ff;
  box-shadow: 0 16px 26px rgba(30, 100, 240, 0.18);
}

.assessment-apple-image-selection__art {
  width: 110px;
  height: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assessment-apple-image-selection__art svg {
  width: 100%;
  height: 100%;
}

.assessment-apple-image-selection__label {
  color: #1f2f53;
  font-size: 1.2rem;
  font-weight: 800;
}

.assessment-pattern-reference {
  width: min(100%, 760px);
  margin: 0 auto;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 2px solid #1f3f7a;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffdf7 0%, #eef4ff 100%);
}

.assessment-asset-box--pattern {
  gap: 14px;
  margin-bottom: 26px;
  padding: 22px;
}

.assessment-asset-box--pattern .assessment-asset-label {
  margin-bottom: 4px;
}

.assessment-asset-box--pattern .assessment-asset-note {
  margin-bottom: 10px;
}

.assessment-pattern-reference__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.assessment-pattern-reference__item {
  display: inline-block;
  width: 68px;
  height: 68px;
}

.assessment-pattern-reference__item--circle {
  border-radius: 999px;
  background: #42a5f5;
}

.assessment-pattern-reference__item--square {
  border-radius: 18px;
  background: #66bb6a;
}

.assessment-pattern-reference__item--triangle {
  width: 0;
  height: 0;
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-bottom: 62px solid #f7c948;
}

.assessment-answer-area--pattern {
  margin-top: 6px;
}

.assessment-options--pattern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  align-items: stretch;
}

.assessment-options--pattern .assessment-option {
  min-height: 72px;
  width: 100%;
  padding: 14px 18px;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  line-height: 1.35;
}

.assessment-options--pattern .assessment-option input {
  flex: 0 0 auto;
  margin: 0;
  width: 22px;
  height: 22px;
}

.assessment-options--pattern .assessment-option span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.assessment-answer-area--pattern + .assessment-form-actions,
.assessment-answer-area--pattern ~ .assessment-form-actions {
  margin-top: 20px;
}

.assessment-visual-search {
  display: grid;
  gap: 12px;
  width: min(100%, 800px);
  margin-inline: auto;
}

.assessment-visual-search__head {
  display: flex;
  justify-content: center;
}

.assessment-visual-search__counter {
  min-width: 76px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid #1d2026;
  border-radius: 999px;
  background: #e7f0ff;
  color: #143a96;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.assessment-visual-search__board {
  position: relative;
  width: 100%;
  min-height: 360px;
  height: min(62vh, 520px);
  border: 2px solid #1d2026;
  border-radius: 24px;
  overflow: hidden;
  background: #f7efe2;
}

.assessment-visual-search__scene {
  position: absolute;
  inset: 0;
}

.assessment-visual-search__scene svg {
  width: 100%;
  height: 100%;
  display: block;
}

.assessment-visual-search__board--single {
  height: min(48vh, 380px);
  min-height: 320px;
}

.assessment-visual-search__simple-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.75) 0, rgba(255, 255, 255, 0) 16%),
    linear-gradient(180deg, #fff9ec 0%, #f1f7ff 100%);
}

.assessment-visual-search__simple-scene--differences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #fff9ec 0%, #f1f7ff 100%);
}

.assessment-visual-search__panel {
  position: relative;
  border: 2px solid #c9d6f5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.assessment-visual-search__cloud,
.assessment-visual-search__sun,
.assessment-visual-search__tree,
.assessment-visual-search__ball {
  position: absolute;
}

.assessment-visual-search__cloud {
  width: 58px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 18px 4px 0 -4px #ffffff, 34px 0 0 -6px #ffffff;
}

.assessment-visual-search__cloud--one {
  left: 12%;
  top: 14%;
}

.assessment-visual-search__cloud--two {
  left: 16%;
  top: 18%;
}

.assessment-visual-search__sun {
  right: 14%;
  top: 12%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffd54f;
}

.assessment-visual-search__sun--alt {
  background: #ffb74d;
}

.assessment-visual-search__tree {
  left: 54%;
  bottom: 20%;
  width: 20px;
  height: 60px;
  border-radius: 10px;
  background: #8d6e63;
}

.assessment-visual-search__tree::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 66px;
  height: 66px;
  margin-left: -33px;
  border-radius: 50%;
  background: #66bb6a;
}

.assessment-visual-search__tree--alt::before {
  background: #4caf50;
}

.assessment-visual-search__ball {
  left: 22%;
  bottom: 16%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #42a5f5;
}

.assessment-visual-search__simple-circle,
.assessment-visual-search__simple-triangle {
  position: absolute;
}

.assessment-visual-search__simple-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.assessment-visual-search__simple-circle--one {
  left: 16%;
  top: 24%;
  background: #ffd54f;
}

.assessment-visual-search__simple-circle--two {
  right: 14%;
  bottom: 18%;
  background: #4fc3f7;
}

.assessment-visual-search__simple-triangle {
  left: 26%;
  bottom: 18%;
  width: 0;
  height: 0;
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  border-bottom: 74px solid #81c784;
}

.assessment-visual-search__target {
  position: absolute;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 3px solid transparent;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.assessment-visual-search__target.is-found {
  border-color: #1e64f0;
  background: rgba(30, 100, 240, 0.16);
  box-shadow: 0 0 0 4px rgba(30, 100, 240, 0.12);
}

.assessment-visual-search__target--cat {
  left: 61.9%;
  top: 31.8%;
}

.assessment-visual-search__target--car {
  left: 52.5%;
  top: 50%;
  width: 72px;
  border-radius: 18px;
}

.assessment-visual-search__target--ball {
  left: 23.1%;
  top: 64.5%;
}

.assessment-visual-search__target--star {
  width: 62px;
  height: 62px;
  border-radius: 18px;
}

.assessment-visual-search__target--star::before {
  content: "★";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb300;
  font-size: 44px;
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.assessment-visual-search__cat-shape {
  position: absolute;
  left: 65%;
  top: 37%;
  width: 34px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 16px 16px 14px 14px;
  background: #ab47bc;
}

.assessment-visual-search__cat-shape::before,
.assessment-visual-search__cat-shape::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 10px;
  height: 12px;
  background: #ab47bc;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.assessment-visual-search__cat-shape::before {
  left: 4px;
}

.assessment-visual-search__cat-shape::after {
  right: 4px;
}

.assessment-visual-search__car-shape {
  position: absolute;
  left: 56%;
  top: 56%;
  width: 52px;
  height: 24px;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: #ffcc80;
}

.assessment-moving-differences {
  display: grid;
  gap: 14px;
}

.assessment-moving-differences__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.assessment-moving-differences__counter {
  min-width: 76px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid #1d2026;
  border-radius: 999px;
  background: #e7f0ff;
  color: #143a96;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.assessment-moving-differences__board {
  position: relative;
  min-height: 320px;
  border: 2px solid #1d2026;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
  overflow: hidden;
}

.assessment-moving-differences__item {
  position: absolute;
  width: var(--moving-item-size);
  height: var(--moving-item-size);
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: assessmentMovingDifferenceFloat var(--moving-item-duration) ease-in-out var(--moving-item-delay) infinite alternate;
}

.assessment-moving-differences__shape {
  width: 100%;
  height: 100%;
  border: 3px solid #1d2026;
  background: var(--moving-item-color);
  box-shadow: 0 10px 18px rgba(29, 32, 38, 0.16);
  display: block;
}

.assessment-moving-differences__item--circle .assessment-moving-differences__shape {
  border-radius: 999px;
}

.assessment-moving-differences__item--square .assessment-moving-differences__shape {
  border-radius: 12px;
}

.assessment-moving-differences__item.is-caught {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.assessment-moving-differences__item.is-miss .assessment-moving-differences__shape {
  animation: assessmentMovingDifferenceMiss 0.22s ease;
}

@keyframes assessmentMovingDifferenceFloat {
  0% {
    transform: translate(-50%, -50%) translate(0, 0);
  }
  100% {
    transform: translate(-50%, -50%) translate(var(--moving-item-dx), var(--moving-item-dy));
  }
}

@keyframes assessmentMovingDifferenceMiss {
  0%, 100% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.08);
  }
  70% {
    transform: scale(0.94);
  }
}

.assessment-hidden-object {
  display: grid;
  gap: 14px;
}

.assessment-hidden-object--asset {
  width: min(100%, 760px);
  margin: 0 auto;
}

.assessment-hidden-object__head {
  display: grid;
  gap: 8px;
}

.assessment-hidden-object__status {
  min-height: 42px;
  padding: 10px 14px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #f7f4ea;
  color: #4b5568;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.assessment-hidden-object__board {
  position: relative;
  min-height: 340px;
  border: 2px solid #1d2026;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 76% 34%, rgba(255, 255, 255, 0.72) 0, rgba(255, 255, 255, 0) 20%),
    linear-gradient(180deg, #fff9ec 0%, #f6f0df 100%);
  overflow: hidden;
}

.assessment-hidden-object__item {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.assessment-hidden-object__item:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.assessment-hidden-object__item.is-selected {
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)) drop-shadow(0 10px 20px rgba(20, 58, 150, 0.24));
}

.assessment-hidden-object__item.is-selected .assessment-shape-chip--hidden-object {
  outline: 4px solid #143a96;
  outline-offset: 6px;
  border-radius: 18px;
}

.assessment-shape-chip--hidden-object {
  width: 100%;
  height: 100%;
}

.assessment-preview-grid--shapes {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

.assessment-preview-timer {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff4cf;
  color: #6b4e00;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.assessment-shape-preview-card {
  min-height: 92px;
  border: 2px dashed #93a3c8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.assessment-shape-chip {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assessment-shape-chip svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(17, 20, 27, 0.12));
}

.assessment-shape-chip--choice {
  width: 66px;
  height: 66px;
}

.assessment-shape-chip--slot {
  width: 62px;
  height: 62px;
}

.assessment-visual-sequence {
  display: grid;
  gap: 14px;
}

.assessment-sentence-ordering {
  display: grid;
  gap: 14px;
}

.assessment-event-sequencing {
  display: grid;
  gap: 14px;
}

.assessment-visual-sequence-panel {
  display: grid;
  gap: 10px;
}

.assessment-visual-sequence-label {
  margin: 0;
  color: #1f2a4a;
  font-size: 18px;
  font-weight: 800;
}

.assessment-shape-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.assessment-shape-slot {
  min-height: 104px;
  border: 2px dashed #b9c5e6;
  border-radius: 18px;
  background: #f8faff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.assessment-shape-slot.is-over {
  border-color: #1e64f0;
  background: #edf4ff;
  transform: translateY(-2px);
}

.assessment-shape-slot-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #dce8ff;
  color: #1747b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.assessment-shape-source {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 96px;
  padding: 12px;
  border-radius: 18px;
  border: 2px dashed #b9c5e6;
  background: #f8faff;
}

.assessment-sentence-source,
.assessment-sentence-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 74px;
  padding: 12px;
  border-radius: 18px;
  border: 2px dashed #b9c5e6;
  background: #f8faff;
}

.assessment-event-source,
.assessment-event-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  min-height: 96px;
  padding: 12px;
  border-radius: 18px;
  border: 2px dashed #b9c5e6;
  background: #f8faff;
}

.assessment-event-source-btn,
.assessment-event-pill {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: grab;
}

.assessment-event-source-btn[hidden] {
  display: none;
}

.assessment-event-slot {
  min-height: 170px;
  border-radius: 18px;
  border: 2px dashed #9bb4de;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.assessment-event-slot.is-over {
  border-color: #1e64f0;
  background: #edf4ff;
}

.assessment-event-slot-label {
  color: #1747b7;
  font-size: 17px;
  font-weight: 800;
}

.assessment-event-card {
  min-height: 154px;
  border: 2px solid #1d2026;
  border-radius: 18px;
  background: #ffffff;
  display: grid;
  gap: 8px;
  padding: 10px;
}

.assessment-event-card-art {
  display: block;
}

.assessment-event-card-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.assessment-event-card-title {
  color: #11141b;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.assessment-event-card--placed {
  width: 100%;
}

.assessment-drawing-wrap {
  display: grid;
  gap: 12px;
}

.assessment-drawing-reference {
  width: 100%;
  display: grid;
  gap: 12px;
}

.assessment-drawing-reference-shape {
  min-height: 180px;
  border-radius: 20px;
  border: 2px dashed #b9c5e6;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.assessment-drawing-reference-shape svg {
  width: 120px;
  height: 120px;
  display: block;
}

.assessment-memory-sentence-visual {
  display: grid;
  gap: 10px;
  width: min(100%, 320px);
  margin: 0 auto 10px;
}

.assessment-memory-sentence-visual__scene {
  width: 100%;
  aspect-ratio: 18 / 11;
  border-radius: 22px;
  border: 3px solid #ffffff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 24px rgba(17, 20, 27, 0.12);
}

.assessment-memory-sentence-visual__caption {
  margin: 0;
  color: #36507f;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.assessment-drawing-canvas {
  width: 100%;
  min-height: 280px;
  border-radius: 20px;
  border: 2px dashed #9bb4de;
  background: #ffffff;
  touch-action: none;
  display: block;
}

.assessment-position-memory-preview,
.assessment-position-layout,
.assessment-position-board-wrap,
.assessment-position-source-wrap {
  display: grid;
  gap: 12px;
}

.assessment-position-board {
  direction: ltr;
  display: grid;
  gap: 12px;
}

.assessment-position-slot {
  min-height: 120px;
  border-radius: 20px;
  border: 2px dashed #9bb4de;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.assessment-position-slot.is-over {
  border-color: #1e64f0;
  background: #edf4ff;
}

.assessment-position-slot.is-snapped {
  transform: scale(1.02);
}

.assessment-position-slot-index {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #dce8ff;
  color: #1747b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.assessment-toy-card {
  min-height: 110px;
  border: 2px solid #1d2026;
  border-radius: 18px;
  background: #ffffff;
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: center;
  padding: 10px;
  cursor: grab;
  font-family: inherit;
}

.assessment-toy-card[hidden] {
  display: none;
}

.assessment-toy-card--placed,
.assessment-toy-card--preview {
  width: 100%;
}

.assessment-toy-card--placed {
  background: #eaf2ff;
  cursor: pointer;
}

.assessment-toy-art {
  width: 72px;
  height: 72px;
  display: inline-flex;
}

.assessment-toy-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.assessment-toy-label {
  color: #11141b;
  font-size: 16px;
  font-weight: 800;
}

.assessment-position-source {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.assessment-room-memory-preview {
  display: grid;
  gap: 12px;
}

.assessment-room-scene {
  width: min(320px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  border: 3px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(17, 20, 27, 0.16);
  overflow: hidden;
}

.assessment-room-scene svg {
  width: 100%;
  height: auto;
  display: block;
}

.assessment-image-match-layout {
  display: grid;
  gap: 14px;
}

.assessment-image-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.assessment-image-match-card {
  display: grid;
  gap: 10px;
}

.assessment-image-match-art {
  min-height: 118px;
  border: 2px solid #1d2026;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.assessment-image-match-art svg {
  width: 88px;
  height: 88px;
  display: block;
}

.assessment-image-match-slot {
  min-height: 58px;
  border-radius: 16px;
  border: 2px dashed #9bb4de;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.assessment-image-match-slot.is-over {
  border-color: #1e64f0;
  background: #edf4ff;
}

.assessment-image-match-slot-label {
  color: #6e7b99;
  font-size: 15px;
  font-weight: 700;
}

.assessment-image-match-source {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assessment-image-match-word {
  min-height: 48px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #ffffff;
  color: #11141b;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  padding: 0 16px;
  cursor: grab;
}

.assessment-image-match-word--placed {
  width: 100%;
  background: #eaf2ff;
  cursor: pointer;
}

.assessment-image-match-word[hidden] {
  display: none;
}

.assessment-location-memory {
  display: grid;
  gap: 14px;
}

.assessment-location-memory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assessment-location-memory-progress {
  min-width: 72px;
  min-height: 36px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1747b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  padding: 0 12px;
}

.assessment-location-current-prompt {
  min-height: 54px;
  border-radius: 16px;
  border: 2px solid #bfd1f6;
  background: #f6f9ff;
  color: #102046;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  padding: 10px 14px;
}

.assessment-location-prompt-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.assessment-location-prompt-art {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.assessment-location-prompt-art svg {
  width: 100%;
  height: 100%;
}

.assessment-location-prompt-text {
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.assessment-location-grid {
  direction: ltr;
  display: grid;
  gap: 12px;
}

.assessment-location-grid--preview {
  margin-top: 10px;
}

.assessment-location-cell {
  min-height: 86px;
  border-radius: 18px;
  border: 2px dashed #9bb4de;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #fdfefe 0%, #eef5ff 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 -8px 16px rgba(113, 144, 201, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.assessment-location-cell--preview {
  cursor: default;
}

.assessment-location-cell-frame {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  min-height: 56px;
  border-radius: 14px;
  border: 2px solid rgba(30, 100, 240, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 244, 255, 0.88) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    inset 0 -10px 14px rgba(85, 120, 190, 0.08);
  position: relative;
}

.assessment-location-cell-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 10px;
  border: 2px dashed rgba(98, 131, 196, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(228, 238, 255, 0.55) 100%);
}

.assessment-location-cell-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  border: 2px solid rgba(97, 129, 188, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 243, 255, 0.9) 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.assessment-location-cell:hover,
.assessment-location-cell.is-current {
  border-color: #1e64f0;
  box-shadow: inset 0 -8px 16px rgba(30, 100, 240, 0.12);
}

.assessment-location-cell.is-selected {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #f7fbff 0%, #dfeaff 100%);
  border-style: solid;
  box-shadow:
    0 0 0 3px rgba(30, 100, 240, 0.16),
    inset 0 -10px 18px rgba(30, 100, 240, 0.16);
}

.assessment-location-cell.is-selected .assessment-location-cell-frame {
  border-color: rgba(30, 100, 240, 0.72);
  background: linear-gradient(180deg, #ffffff 0%, #dce9ff 100%);
}

.assessment-location-cell.is-selected .assessment-location-cell-frame::before {
  border-color: rgba(30, 100, 240, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(212, 229, 255, 0.7) 100%);
}

.assessment-location-cell.is-selected .assessment-location-cell-frame::after {
  border-color: rgba(30, 100, 240, 0.52);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(214, 229, 255, 0.96) 100%);
}

.assessment-location-preview-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  z-index: 1;
}

.assessment-location-preview-art {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assessment-location-preview-art svg {
  width: 100%;
  height: 100%;
}

.assessment-location-preview-label {
  color: #54657f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.assessment-location-answer-list {
  display: grid;
  gap: 10px;
}

.assessment-location-answer-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 16px;
  border: 2px solid #d6def0;
  background: #ffffff;
  padding: 8px 12px;
}

.assessment-location-answer-row.is-done {
  border-color: #8fb2ff;
  background: #f6f9ff;
}

.assessment-location-answer-order {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #dce8ff;
  color: #1747b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.assessment-location-answer-label {
  color: #11141b;
  font-size: 16px;
  font-weight: 800;
}

.assessment-location-answer-label .assessment-location-prompt-card {
  justify-content: flex-start;
}

.assessment-location-answer-label .assessment-location-prompt-art {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.assessment-location-answer-status {
  color: #55627f;
  font-size: 14px;
  font-weight: 700;
}

.assessment-path-preview,
.assessment-path-answer {
  display: grid;
  gap: 12px;
}

.assessment-path-board {
  display: grid;
  gap: 10px;
  direction: ltr;
}

.assessment-path-cell {
  min-height: 72px;
  position: relative;
  border-radius: 18px;
  border: 2px dashed #9bb4de;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.assessment-path-cell-frame {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  min-height: 52px;
  border-radius: 14px;
  border: 2px solid rgba(30, 100, 240, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 244, 255, 0.86) 100%);
}

.assessment-path-cell.is-visited .assessment-path-cell-frame {
  background: linear-gradient(180deg, #f7fbff 0%, #dfeaff 100%);
  border-color: rgba(30, 100, 240, 0.42);
}

.assessment-path-cell.is-current {
  border-style: solid;
  border-color: #1e64f0;
  box-shadow: 0 0 0 3px rgba(30, 100, 240, 0.14);
}

.assessment-path-boy {
  position: absolute;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assessment-path-boy svg {
  width: 100%;
  height: 100%;
}

.assessment-path-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.assessment-path-control {
  min-height: 52px;
  border: 2px solid #c7d6f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  color: #1e64f0;
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
}

.assessment-path-control:disabled {
  opacity: 0.5;
  cursor: default;
}

.assessment-path-status {
  text-align: center;
  color: #5d6d86;
  font-size: 14px;
  font-weight: 700;
}

.assessment-sentence-word,
.assessment-sentence-pill {
  min-height: 50px;
  border: 2px solid #1d2026;
  border-radius: 16px;
  background: #ffffff;
  color: #11141b;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  padding: 0 16px;
  cursor: grab;
}

.assessment-sentence-pill {
  background: #eaf2ff;
  cursor: pointer;
}

.assessment-sentence-word[hidden] {
  display: none;
}

.assessment-sentence-slot {
  min-width: 88px;
  min-height: 58px;
  border-radius: 16px;
  border: 2px dashed #9bb4de;
  background: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.assessment-sentence-slot.is-over {
  border-color: #1e64f0;
  background: #edf4ff;
}

.assessment-sentence-slot-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #dce8ff;
  color: #1747b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.assessment-shape-choice,
.assessment-shape-slot-item {
  width: 94px;
  min-height: 94px;
  border: 2px solid #1d2026;
  border-radius: 20px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: grab;
}

.assessment-shape-choice[hidden] {
  display: none;
}

.assessment-shape-slot-item {
  width: 100%;
  min-height: 86px;
  background: #eaf2ff;
  cursor: pointer;
}

.assessment-puzzle-preview {
  width: 100%;
  display: grid;
  gap: 10px;
}

.assessment-puzzle-preview-image {
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 20px;
  border: 3px solid #ffffff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 24px rgba(17, 20, 27, 0.16);
}

.assessment-puzzle-preview-note {
  margin: 0;
  color: #1f2a4a;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.assessment-puzzle-layout {
  display: grid;
  gap: 14px;
}

.assessment-puzzle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.assessment-puzzle-board-wrap,
.assessment-puzzle-source-wrap {
  display: grid;
  gap: 10px;
}

.assessment-puzzle-timer {
  min-width: 110px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 2px solid #1d2026;
  background: #fff4cf;
  color: #6b4e00;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.assessment-puzzle-timer strong {
  color: #1f2a4a;
  font-size: 20px;
}

.assessment-puzzle-board {
  display: grid;
  grid-template-columns: repeat(var(--puzzle-cols), minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  border: 2px dashed #b9c5e6;
  background-color: #f7fbff;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  direction: ltr;
}

.assessment-puzzle-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
}

.assessment-puzzle-slot {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 2px dashed #9bb4de;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.assessment-puzzle-slot.is-over {
  border-color: #1e64f0;
  background: rgba(232, 242, 255, 0.95);
  transform: scale(1.02);
}

.assessment-puzzle-slot.is-filled {
  border-style: solid;
  border-color: #5f86d9;
  background: rgba(255, 255, 255, 0.08);
}

.assessment-puzzle-slot-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(220, 232, 255, 0.95);
  color: #1747b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.assessment-puzzle-source {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 106px;
  padding: 12px;
  border-radius: 18px;
  border: 2px dashed #b9c5e6;
  background: #f8faff;
  direction: ltr;
}

.assessment-puzzle-piece {
  width: 96px;
  aspect-ratio: 1 / 1;
  border: 2px solid #1d2026;
  border-radius: 18px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  cursor: grab;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.assessment-puzzle-piece:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(17, 20, 27, 0.12);
}

.assessment-puzzle-piece[hidden] {
  display: none;
}

.assessment-puzzle-piece--placed {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.assessment-puzzle-piece--placed.is-snapped {
  animation: puzzleSnapIn 0.24s ease;
}

.assessment-puzzle-piece-art {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background-repeat: no-repeat;
  background-color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.assessment-puzzle-piece-art--placed {
  border-radius: 10px;
}

@keyframes puzzleSnapIn {
  0% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

.assessment-preview-hidden-message {
  width: 100%;
  min-height: 120px;
  border-radius: 18px;
  border: 2px dashed #b9c5e6;
  background: #f8faff;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  color: #1f2a4a;
}

.assessment-preview-hidden-message p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.assessment-preview-hidden-message--compact {
  min-height: 88px;
}

.assessment-preview-hidden-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #dce8ff;
  color: #1747b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

@media (max-width: 760px) {
  .assessment-shape-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assessment-shape-choice,
  .assessment-shape-slot-item {
    width: 84px;
    min-height: 84px;
  }

  .assessment-puzzle-piece {
    width: 84px;
  }

  .assessment-puzzle-board {
    gap: 8px;
    padding: 8px;
  }
}

.mcq-answer.is-correct {
  background: #dff6d8;
  border-color: #3e8f2f;
}

.mcq-answer.is-wrong {
  background: #ffe0df;
  border-color: #cf3e3a;
}

.mcq-answer,
.assessment-option {
  transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.2s ease;
}

.mcq-feedback {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 800;
  color: #21408e;
}

.mcq-feedback.is-correct {
  color: #2d7e30;
}

.mcq-feedback.is-wrong {
  color: #bf2f2a;
}

.mcq-feedback.is-neutral {
  color: #21408e;
}

.mcq-next {
  display: none;
  margin-top: 8px;
  min-height: 50px;
  border: 2px solid #141519;
  border-radius: 14px;
  padding: 0 20px;
  background: #1e64f0;
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

.mcq-next.is-show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mcq-next.is-retry {
  display: inline-flex;
  margin-top: 14px;
  background: #1f8f3a;
}

.quiz-result {
  margin-top: 12px;
  border: 3px dashed #1a1c22;
  border-radius: 18px;
  background: #f6ffea;
  padding: 16px;
  text-align: center;
}

.quiz-result-title {
  color: #15411f;
  font-size: 30px;
  margin: 0;
}

.quiz-result-text {
  margin-top: 8px;
  color: #1f2a4a;
  font-size: 20px;
  font-weight: 700;
}

.quiz-result-percent {
  margin-top: 10px;
  color: #0d55d8;
  font-size: 42px;
  font-weight: 800;
}

.quiz-decoration {
  position: absolute;
  inset-inline-end: 28px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  color: #1562e8;
  font-size: 26px;
}

@media (max-width: 900px) {
  .quiz-main {
    width: calc(100% - 30px);
  }

  .quiz-stage {
    padding: 24px 18px 24px;
  }

  .mcq-card {
    width: 100%;
    padding: 18px;
    box-shadow: 6px 6px 0 #111317;
  }

  .quiz-progress {
    width: 100%;
    box-shadow: 6px 6px 0 #111317;
  }

  .mcq-answers {
    grid-template-columns: 1fr;
  }

  .assessment-options {
    grid-template-columns: 1fr;
  }

  .celebration-message {
    top: 86px;
    font-size: 22px;
    padding: 9px 18px;
  }
}

/* Responsive nav + type scaling (mobile/tablet only, desktop unchanged) */
.nav-toggle {
  display: none;
  border: 2px solid #1b1d22;
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 100%;
  height: 2.5px;
  background: #121419;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav-panel {
  display: none;
}

@media (max-width: 1024px) {
  .content-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .content-sidebar {
    display: none;
  }

  .nav-shell {
    width: calc(100% - 28px);
    min-height: 70px;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-shell .primary-nav,
  .nav-shell .nav-actions,
  .nav-shell .lang-wrap {
    display: none;
  }

  .brand-logo {
    width: 150px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: calc(100% - 28px);
    margin: 0 auto 10px;
    padding: 16px 14px;
    background: #ffffff;
    border: 1px solid #dfe3ea;
    border-radius: 16px;
  }

  .mobile-nav-panel[hidden] {
    display: none;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-nav-links a {
    color: var(--nav-ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
  }

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

  .mobile-nav-actions .btn {
    height: 40px;
    min-width: 150px;
    font-size: 15px;
    padding: 0 14px;
  }

  .mobile-lang-wrap .lang-switch {
    font-size: 15px;
  }

  .hero-title {
    font-size: clamp(42px, 7vw, 58px);
  }

  .content-title {
    font-size: clamp(30px, 5vw, 38px);
  }

  .content-paragraph,
  .bullet-block p {
    font-size: clamp(16px, 2.8vw, 18px);
  }

  .footer-links h4 {
    font-size: 18px;
  }

  .footer-links a {
    font-size: 15px;
  }

  .quiz-title {
    font-size: clamp(28px, 5vw, 38px);
  }

  .quiz-subtitle,
  .quiz-progress-head,
  .mcq-feedback,
  .quiz-result-text {
    font-size: clamp(16px, 2.6vw, 20px);
  }

  .mcq-question {
    font-size: clamp(22px, 3.5vw, 28px);
  }

  .mcq-answer {
    font-size: clamp(18px, 3vw, 22px);
  }
}

@media (max-width: 768px) {
  .nav-shell {
    width: calc(100% - 18px);
    min-height: 64px;
  }

  .brand-logo {
    width: 130px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .mobile-nav-panel {
    width: calc(100% - 18px);
    padding: 14px 12px;
  }

  .mobile-nav-links a {
    font-size: 15px;
  }

  .mobile-nav-actions .btn {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }

  .page-wrap {
    width: calc(100% - 14px);
  }

  .hero-mini-title {
    font-size: clamp(18px, 4.8vw, 24px);
  }

  .content-title {
    font-size: clamp(24px, 7vw, 31px);
  }

  .content-paragraph,
  .bullet-block p,
  .content-sidebar a {
    font-size: clamp(14px, 4vw, 17px);
  }

  .footer-brand-text,
  .footer-policy-links a {
    font-size: 13px;
  }

  .quiz-main {
    width: calc(100% - 18px);
  }

  .quiz-badge {
    font-size: 15px;
    height: 34px;
    padding: 0 12px;
  }
}

/* FAQ screenshot match */
.faq-section-v2 {
  margin-top: 34px;
  margin-bottom: 34px;
  background: #efefef;
  border-radius: 32px;
  padding: 34px 44px 28px;
}

.faq-v2-hero {
  display: grid;
  grid-template-columns: 1fr 420px 260px;
  align-items: center;
  gap: 24px;
  direction: ltr;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.faq-v2-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-v2-scribble svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  fill: none;
  stroke: #2457ba;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-v2-hero-figure {
  justify-self: center;
  width: min(100%, 430px);
}

.faq-v2-hero-figure img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  display: block;
  transform: scale(1.18);
  transform-origin: center center;
}

.faq-v2-title {
  direction: rtl;
  text-align: right;
  color: #121212;
  font-size: clamp(52px, 3.7vw, 78px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-shadow: 3px 3px 0 #f2c80d;
}

.faq-v2-list {
  margin-top: 24px;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.faq-v2-item {
  border-bottom: 1px solid #cfd4dd;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.faq-v2-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-v2-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 12px 46px 12px 12px;
  direction: rtl;
  color: #0f1114;
  font-size: clamp(20px, 1.45vw, 36px);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.faq-v2-item summary::-webkit-details-marker {
  display: none;
}

.faq-v2-item summary::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #24272d;
  border-bottom: 2px solid #24272d;
  transform: translateY(-58%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-v2-item summary:hover {
  color: #164dc8;
  transform: translateX(-3px);
}

.faq-v2-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-v2-item p {
  padding: 0 12px 12px;
  direction: rtl;
  text-align: right;
  color: #52555b;
  font-size: clamp(15px, 1vw, 20px);
  line-height: 1.6;
}

.faq-v2-item[open] p {
  animation: faqAnswerIn 0.24s ease;
}

.faq-v2-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.faq-v2-more-btn {
  min-width: 240px;
  height: 72px;
  padding: 0 34px;
  border-radius: 999px;
  border: 4px solid #131519;
  background: #ffffff;
  color: #14161b;
  font-family: inherit;
  font-size: clamp(36px, 2.2vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 2px 2px 0 #f2c80d;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-v2-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #131519;
}

@keyframes faqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-v2-hero,
  .faq-v2-item,
  .faq-v2-item summary,
  .faq-v2-item summary::after,
  .faq-v2-more-btn {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1200px) {
  .faq-section-v2 {
    padding: 22px 16px 18px;
    border-radius: 24px;
  }

  .faq-v2-hero {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-v2-hero-figure {
    order: 1;
    width: min(100%, 320px);
  }

  .faq-v2-title {
    order: 0;
    font-size: clamp(40px, 8vw, 58px);
  }

  .faq-v2-item summary {
    font-size: clamp(17px, 4vw, 24px);
    padding-inline-start: 12px;
    padding-inline-end: 38px;
  }

  .faq-v2-more-btn {
    height: 52px;
    min-width: 170px;
    padding: 0 22px;
    font-size: 28px;
    border-width: 3px;
  }
}

/* Hero replacement under navbar (screenshot style) */
.hero-banner-v2 {
  background: #f7cb05;
  border-radius: 42px;
  min-height: 640px;
  padding: 34px 42px;
}

.hero-banner-v2 .hero-v2-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  direction: ltr;
}

.hero-banner-v2 .hero-v2-media {
  width: 100%;
}

.hero-banner-v2 .hero-v2-video-frame {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #000000;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-v2 .hero-v2-video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.hero-banner-v2 .hero-v2-content {
  direction: rtl;
  text-align: right;
  padding-inline-end: 12px;
}

.hero-banner-v2 .hero-v2-title {
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  color: #1469ee;
  font-size: clamp(72px, 5.6vw, 118px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -1px;
  text-shadow:
    1px 0 0 #0b0f14,
    -1px 0 0 #0b0f14,
    0 1px 0 #0b0f14,
    0 -1px 0 #0b0f14,
    4px 6px 0 #0b0f14;
}

.hero-banner-v2 .hero-v2-title span {
  display: block;
}

.hero-banner-v2 .hero-v2-subtitle {
  margin-top: 16px;
  color: #101317;
  font-size: clamp(30px, 2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.hero-banner-v2 .hero-v2-text {
  margin-top: 14px;
  color: #11141a;
  font-size: clamp(17px, 1.08vw, 22px);
  font-weight: 700;
  line-height: 1.55;
  max-width: 540px;
}

.hero-banner-v2 .hero-v2-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 56px;
  border-radius: 999px;
  border: 3px solid #103768;
  background: #1269ee;
  color: #ffffff;
  text-decoration: none;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  padding: 0 22px;
}

@media (max-width: 1200px) {
  .hero-banner-v2 {
    min-height: auto;
    border-radius: 28px;
    padding: 18px 16px;
  }

  .hero-banner-v2 .hero-v2-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-banner-v2 .hero-v2-video-frame,
  .hero-banner-v2 .hero-v2-video {
    min-height: 280px;
  }

  .hero-banner-v2 .hero-v2-content {
    padding-inline-end: 0;
  }

  .hero-banner-v2 .hero-v2-title {
    font-size: clamp(48px, 12vw, 76px);
  }

  .hero-banner-v2 .hero-v2-subtitle {
    font-size: clamp(22px, 5.5vw, 30px);
  }

  .hero-banner-v2 .hero-v2-text {
    font-size: clamp(15px, 3.8vw, 18px);
  }

  .hero-banner-v2 .hero-v2-cta {
    min-width: 100px;
    height: 46px;
    font-size: 28px;
    border-width: 2px;
  }
}

/* Who we help section */
.helped-section {
  margin-top: 18px;
  margin-bottom: 28px;
}

.helped-shell {
  position: relative;
  background: #efefef;
  border-radius: 36px;
  padding: 34px 34px 30px;
  overflow: hidden;
}

.helped-bg-line {
  position: absolute;
  inset-inline-start: 52%;
  top: 214px;
  width: 700px;
  opacity: 0.32;
  pointer-events: none;
}

.helped-title {
  text-align: right;
  color: #111317;
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-size: clamp(72px, 5.2vw, 108px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.7px;
  text-shadow: 4px 4px 0 #f2c80d;
}

.helped-tabs {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  direction: rtl;
}

.helped-tab {
  min-height: 54px;
  border: 1.8px solid #21242a;
  border-radius: 12px 12px 0 0;
  background: #f0f0f0;
  color: #1665eb;
  font-family: inherit;
  font-size: clamp(18px, 1.2vw, 30px);
  font-weight: 700;
  line-height: 1;
  padding: 0 18px;
  cursor: pointer;
}

.helped-tab.is-active {
  background: #1668ef;
  color: #ffffff;
}

.helped-card {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  background: #ece7d6;
  border: 2px solid #26292f;
  border-radius: 28px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
  padding: 22px 26px 24px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
  direction: ltr;
}

.helped-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.helped-card-icon svg {
  width: 120px;
  height: auto;
}

.helped-card-content {
  direction: rtl;
  text-align: right;
}

.helped-card-content h3 {
  color: #0e1117;
  font-size: clamp(40px, 2.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
}

.helped-card-content p {
  margin-top: 10px;
  border-top: 1.4px solid #2b2f34;
  padding-top: 12px;
  color: #111318;
  font-size: clamp(18px, 1.2vw, 30px);
  font-weight: 500;
  line-height: 1.62;
}

.helped-card-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid #181b20;
  background: #f7cd07;
  color: #0f1114;
  text-decoration: none;
  font-size: clamp(26px, 1.7vw, 34px);
  font-weight: 800;
  line-height: 1;
  padding: 0 22px;
}

@media (max-width: 1200px) {
  .helped-shell {
    border-radius: 24px;
    padding: 22px 14px 18px;
  }

  .helped-bg-line {
    width: 420px;
    top: 176px;
    inset-inline-start: 44%;
  }

  .helped-title {
    font-size: clamp(44px, 9vw, 68px);
  }

  .helped-tabs {
    justify-content: flex-start;
    gap: 6px;
  }

  .helped-tab {
    min-height: 42px;
    font-size: 15px;
    padding: 0 12px;
    border-radius: 10px 10px 0 0;
  }

  .helped-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 14px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
  }

  .helped-card-icon svg {
    width: 90px;
  }

  .helped-card-content h3 {
    font-size: clamp(28px, 6.8vw, 40px);
  }

  .helped-card-content p {
    font-size: clamp(15px, 3.6vw, 18px);
  }

  .helped-card-btn {
    min-width: 146px;
    height: 44px;
    font-size: 21px;
  }
}

/* Global scale fix (desktop-first, no redesign) */
html {
  font-size: 16px !important;
  zoom: 1 !important;
}

body {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

:root {
  --container-max: 1180px !important;
}

.nav-shell,
.page-wrap,
.content-shell {
  width: min(1180px, calc(100% - 44px)) !important;
}

.nav-shell {
  min-height: 72px !important;
  padding: 8px 0 !important;
}

.brand-logo {
  width: auto !important;
}

.brand-logo img {
  height: 60px !important;
  max-width: 170px !important;
}

.primary-nav a {
  font-size: 16px !important;
}

.btn {
  height: 42px !important;
  font-size: 16px !important;
  padding: 0 16px !important;
}

.btn-login,
.btn-cta {
  min-width: 150px !important;
}

.hero-banner-v2 {
  min-height: auto !important;
  padding: 24px 28px !important;
  border-radius: 28px !important;
}

.hero-banner-v2 .hero-v2-shell {
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}

.hero-banner-v2 .hero-v2-video-frame,
.hero-banner-v2 .hero-v2-video {
  min-height: 360px !important;
}

.hero-banner-v2 .hero-v2-title {
  font-size: clamp(42px, 4vw, 56px) !important;
  line-height: 0.98 !important;
}

.hero-banner-v2 .hero-v2-subtitle {
  font-size: clamp(20px, 1.6vw, 28px) !important;
}

.hero-banner-v2 .hero-v2-text {
  font-size: clamp(16px, 1.02vw, 18px) !important;
  line-height: 1.6 !important;
}

.hero-banner-v2 .hero-v2-cta {
  height: 44px !important;
  min-width: 100px !important;
  font-size: 24px !important;
  border-width: 2px !important;
}

.content-section {
  padding: 34px 0 40px !important;
}

.content-shell {
  grid-template-columns: 1fr !important;
  gap: 22px !important;
}

.content-title {
  font-size: clamp(32px, 2.4vw, 40px) !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

.content-paragraph,
.bullet-block p {
  font-size: clamp(16px, 1.05vw, 18px) !important;
  line-height: 1.75 !important;
}

.bullet-block h4 {
  font-size: clamp(22px, 1.65vw, 28px) !important;
}

.games-showcase-shell {
  padding: 28px 28px !important;
  gap: 36px !important;
  border-radius: 28px !important;
}

.showcase-carousel-col {
  width: 520px !important;
  flex: 0 0 520px !important;
}

.showcase-stack {
  width: 460px !important;
  height: 430px !important;
}

.showcase-card {
  width: 460px !important;
  height: 430px !important;
}

.showcase-card-head h3 {
  font-size: 32px !important;
}

.showcase-media-row {
  grid-template-columns: 168px 1fr !important;
}

.showcase-thumb,
.showcase-hero-shot {
  height: 160px !important;
}

.showcase-cta {
  width: 168px !important;
  height: 38px !important;
  font-size: 20px !important;
}

.showcase-benefits h4 {
  font-size: 20px !important;
}

.showcase-benefits p {
  font-size: 15px !important;
}

.showcase-info-box h4 {
  font-size: 20px !important;
}

.showcase-info-box p {
  font-size: 14px !important;
}

.showcase-side-title {
  font-size: clamp(48px, 3.8vw, 64px) !important;
}

.showcase-kid-figure {
  width: 220px !important;
}

.marquee-viewport {
  height: 90px !important;
}

.marquee-word {
  font-size: clamp(42px, 3vw, 54px) !important;
}

.marquee-star {
  font-size: clamp(42px, 3vw, 54px) !important;
}

.helped-shell {
  padding: 24px 24px 22px !important;
  border-radius: 28px !important;
}

.helped-title {
  font-size: clamp(46px, 4vw, 62px) !important;
}

.helped-tab {
  min-height: 44px !important;
  font-size: 16px !important;
  padding: 0 14px !important;
}

.helped-card {
  grid-template-columns: 140px 1fr !important;
  padding: 16px 18px !important;
  gap: 14px !important;
}

.helped-card-icon svg {
  width: 90px !important;
}

.helped-card-content h3 {
  font-size: clamp(28px, 2.2vw, 36px) !important;
}

.helped-card-content p {
  font-size: clamp(16px, 1vw, 18px) !important;
}

.helped-card-btn {
  min-width: 150px !important;
  height: 42px !important;
  font-size: 20px !important;
}

.faq-section-v2 {
  padding: 24px 24px 20px !important;
  border-radius: 28px !important;
}

.faq-v2-title {
  font-size: clamp(44px, 3.6vw, 58px) !important;
}

.faq-v2-hero-figure {
  width: min(100%, 360px) !important;
}

.faq-v2-item summary {
  font-size: clamp(18px, 1.2vw, 24px) !important;
  padding: 10px 40px 10px 10px !important;
}

.faq-v2-item p {
  font-size: clamp(15px, 1vw, 17px) !important;
}

.faq-v2-more-btn {
  min-width: 170px !important;
  height: 48px !important;
  font-size: 24px !important;
  border-width: 3px !important;
}

.featured-games-section {
  margin-top: 22px !important;
}

.featured-games-shell {
  border-radius: 24px !important;
  padding: 0 14px 14px !important;
}

.featured-games-title {
  font-size: clamp(28px, 2vw, 36px) !important;
}

.featured-filter {
  height: 40px !important;
  font-size: 18px !important;
}

.featured-game-card {
  min-height: 310px !important;
}

.featured-game-image {
  height: 170px !important;
}

.featured-game-en {
  font-size: 15px !important;
}

.featured-game-ar,
.featured-game-skill {
  font-size: 14px !important;
}

.featured-icon {
  width: 36px !important;
  height: 36px !important;
  font-size: 18px !important;
}

.featured-more-btn {
  height: 40px !important;
  min-width: 128px !important;
  font-size: 22px !important;
}

.help-cta-section {
  margin-top: 22px !important;
  margin-bottom: 24px !important;
}

.help-cta-shell {
  width: min(1180px, calc(100vw - 44px)) !important;
  grid-template-columns: 300px 1fr !important;
  gap: 24px !important;
  padding: 18px 24px !important;
  border-radius: 24px !important;
}

.help-btn {
  height: 42px !important;
  font-size: 18px !important;
  padding: 0 16px !important;
}

.help-cta-title {
  font-size: clamp(40px, 3.2vw, 54px) !important;
}

.help-cta-text {
  font-size: clamp(16px, 1.05vw, 19px) !important;
}

.site-footer {
  margin-top: 28px !important;
  padding: 40px 0 20px !important;
}

.footer-shell {
  width: min(1180px, calc(100% - 44px)) !important;
}

.footer-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
  gap: 20px !important;
}

.footer-logo {
  width: auto !important;
  max-width: min(100%, 190px) !important;
  height: 120px !important;
}

.footer-policy-links a,
.footer-brand-text,
.footer-links a,
.footer-news-card p {
  font-size: 14px !important;
}

.footer-links h4 {
  font-size: 20px !important;
}

.social-icon {
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
}

.footer-news-card {
  padding: 14px !important;
  border-radius: 14px !important;
  box-shadow: 7px 7px 0 #060707 !important;
}

.footer-news-card h4 {
  font-size: 18px !important;
}

.footer-news-card input {
  height: 38px !important;
  font-size: 13px !important;
}

.footer-news-card button {
  height: 38px !important;
  font-size: 15px !important;
}

.skills-dev-section {
  margin-top: 18px;
  margin-bottom: 26px;
}

.skills-dev-shell {
  position: relative;
  background: #efefef;
  border-radius: 34px;
  padding: 28px 26px 28px;
  overflow: hidden;
}

.skills-dev-arrow {
  position: absolute;
  left: 34px;
  top: 74px;
  width: min(330px, 32%);
  opacity: 0.9;
}

.skills-dev-title {
  direction: rtl;
  text-align: right;
  color: #1567ee;
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-size: clamp(46px, 4.2vw, 78px);
  line-height: 0.95;
  font-weight: 800;
  margin-inline-start: auto;
  width: fit-content;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.skills-dev-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.skills-dev-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  direction: rtl;
}

.skills-dev-card {
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.skills-dev-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skills-dev-icon {
  width: min(100%, 190px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(5px 8px 0 #06090f);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.skills-dev-card h3 {
  margin-top: 10px;
  color: #101a56;
  font-size: clamp(24px, 1.8vw, 34px) !important;
  font-weight: 800;
  line-height: 1.2;
}

.skills-dev-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  height: 44px;
  border-radius: 16px;
  border: 2px solid #1b1d22;
  background: #ffffff;
  color: #101318;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 6px 6px 0 #05070c;
  padding: 0 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.skills-dev-card:hover .skills-dev-icon {
  transform: translateY(-4px) rotate(-1deg);
  filter: drop-shadow(7px 10px 0 #06090f);
}

.skills-dev-card:hover .skills-dev-btn {
  transform: translateY(-2px);
  box-shadow: 8px 8px 0 #05070c;
}

.skills-dev-arrow {
  animation: skillsArrowFloat 2.8s ease-in-out infinite;
}

@keyframes skillsArrowFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .skills-dev-title,
  .skills-dev-card,
  .skills-dev-icon,
  .skills-dev-btn,
  .skills-dev-arrow {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 1200px) {
  .skills-dev-shell {
    border-radius: 24px;
    padding: 20px 14px 18px;
  }

  .skills-dev-arrow {
    width: min(260px, 42%);
    left: 14px;
    top: 88px;
  }

  .skills-dev-title {
    font-size: clamp(38px, 8.6vw, 56px);
  }

  .skills-dev-grid {
    margin-top: 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .skills-dev-icon {
    width: min(100%, 146px);
  }

  .skills-dev-card h3 {
    font-size: clamp(19px, 4.7vw, 26px) !important;
  }

  .skills-dev-btn {
    min-width: 136px;
    height: 38px;
    font-size: 15px;
    box-shadow: 4px 4px 0 #05070c;
  }
}

@media (max-width: 700px) {
  .skills-dev-grid {
    grid-template-columns: 1fr;
  }
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* Final responsive patch (mobile/tablet only, desktop unchanged) */
@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav-shell,
  .page-wrap,
  .content-shell,
  .footer-shell {
    width: calc(100% - 24px) !important;
  }

  .hero-banner-v2 {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .hero-banner-v2 .hero-v2-shell {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hero-banner-v2 .hero-v2-video-frame,
  .hero-banner-v2 .hero-v2-video {
    min-height: 220px !important;
  }

  .hero-banner-v2 .hero-v2-title {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1 !important;
  }

  .hero-banner-v2 .hero-v2-subtitle {
    font-size: clamp(18px, 4.6vw, 24px) !important;
  }

  .hero-banner-v2 .hero-v2-text {
    font-size: clamp(14px, 3.6vw, 17px) !important;
  }

  .content-section {
    padding: 20px 0 24px !important;
  }

  .content-shell {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .games-showcase-shell {
    padding: 14px !important;
    gap: 14px !important;
    border-radius: 18px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  .showcase-headline-col {
    order: 0;
    align-self: flex-start !important;
  }

  .showcase-carousel-col {
    order: 1;
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .showcase-stack {
    width: 100% !important;
    height: 390px !important;
  }

  .showcase-card {
    width: min(430px, 100%) !important;
    height: 390px !important;
  }

  .showcase-card.pos-2 { transform: translateX(-22px) scale(0.95) !important; }
  .showcase-card.pos-3 { transform: translateX(-44px) scale(0.9) !important; }
  .showcase-card.pos-4 { transform: translateX(-66px) scale(0.86) !important; }
  .showcase-card.pos-5 { transform: translateX(-88px) scale(0.82) !important; }

  .showcase-nav {
    width: 42px !important;
    height: 42px !important;
    font-size: 28px !important;
  }

  .showcase-nav--prev { left: -2px !important; }
  .showcase-nav--next { right: -2px !important; }

  .showcase-media-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .showcase-thumb,
  .showcase-hero-shot {
    height: 120px !important;
  }

  .showcase-cta {
    width: 138px !important;
    height: 34px !important;
    font-size: 17px !important;
  }

  .showcase-side-title {
    font-size: clamp(34px, 9vw, 48px) !important;
  }

  .showcase-kid-figure {
    width: 150px !important;
  }

  .marquee-viewport {
    height: 74px !important;
  }

  .marquee-group {
    gap: 28px !important;
    padding-inline: 14px !important;
  }

  .marquee-word,
  .marquee-star {
    font-size: clamp(32px, 8vw, 42px) !important;
  }

  .helped-shell,
  .skills-dev-shell,
  .faq-section-v2 {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .helped-title,
  .skills-dev-title,
  .faq-v2-title {
    font-size: clamp(32px, 8.4vw, 46px) !important;
    line-height: 1 !important;
  }

  .helped-tabs {
    justify-content: flex-start !important;
  }

  .helped-tab {
    min-height: 38px !important;
    font-size: 14px !important;
    padding: 0 10px !important;
  }

  .helped-card {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
    gap: 8px !important;
  }

  .helped-card-content h3 {
    font-size: clamp(22px, 6vw, 30px) !important;
  }

  .helped-card-content p {
    font-size: clamp(14px, 3.6vw, 16px) !important;
  }

  .helped-card-btn,
  .skills-dev-btn,
  .faq-v2-more-btn,
  .featured-more-btn {
    height: 38px !important;
    min-width: 128px !important;
    font-size: 16px !important;
  }

  .skills-dev-grid {
    margin-top: 20px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .skills-dev-icon {
    width: min(100%, 120px) !important;
  }

  .skills-dev-card h3 {
    font-size: clamp(17px, 4.4vw, 22px) !important;
  }

  .faq-v2-hero {
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
    gap: 8px !important;
  }

  .faq-v2-hero-figure {
    width: min(100%, 280px) !important;
    justify-self: center !important;
  }

  .faq-v2-list {
    margin-top: 12px !important;
  }

  .faq-v2-item summary {
    font-size: clamp(16px, 4vw, 20px) !important;
    padding: 10px 34px 10px 8px !important;
  }

  .faq-v2-item p {
    font-size: clamp(14px, 3.4vw, 16px) !important;
    padding: 0 8px 10px !important;
  }

  .featured-games-shell {
    border-radius: 16px !important;
    padding: 0 10px 12px !important;
  }

  .featured-games-topbar {
    padding: 10px 12px !important;
  }

  .featured-games-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .featured-game-card {
    min-height: 0 !important;
  }

  .featured-game-image {
    height: 150px !important;
  }

  .help-cta-shell {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .help-btn {
    height: 38px !important;
    font-size: 15px !important;
  }

  .help-cta-title {
    font-size: clamp(30px, 7vw, 40px) !important;
  }

  .help-cta-text {
    font-size: clamp(14px, 3.6vw, 16px) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  .footer-news-card {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 680px) {
  .page-wrap,
  .content-shell,
  .footer-shell {
    width: calc(100% - 14px) !important;
  }

  .nav-shell {
    width: calc(100% - 14px) !important;
    min-height: 62px !important;
  }

  .brand-logo {
    width: 128px !important;
  }

  .skills-dev-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Brain Berry design system overrides */
html,
body {
  background-color: var(--color-background-light) !important;
  color: var(--color-text-dark) !important;
}

body {
  background-image:
    linear-gradient(var(--color-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
span,
label,
strong,
em,
small,
dt,
dd {
  color: inherit;
}

a {
  color: var(--color-secondary) !important;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-primary) !important;
}

:focus-visible {
  outline: 3px solid var(--color-focus) !important;
  outline-offset: 3px;
}

.top-navbar,
.site-footer,
.footer-shell {
  background: var(--color-secondary) !important;
  border-color: var(--color-border) !important;
}

.top-navbar {
  border-bottom: 1px solid var(--color-border) !important;
}

.site-footer {
  margin-top: 28px !important;
}

.primary-nav a,
.lang-switch,
.footer-policy-links a,
.footer-brand-text,
.footer-links a,
.footer-links h4,
.footer-news-card h4,
.footer-news-card p,
.footer-news-card button,
.footer-top-btn {
  color: var(--color-background-light) !important;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-links a:hover,
.footer-policy-links a:hover {
  color: var(--color-primary) !important;
}

.btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn-cta,
.showcase-cta,
.helped-card-btn,
.skills-dev-btn,
.faq-v2-more-btn,
.featured-more-btn,
.help-btn,
.footer-news-card button,
.hero-banner-v2 .hero-v2-cta,
.footer-top-btn {
  background: var(--color-primary) !important;
  color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  box-shadow: none !important;
}

.btn-login,
.featured-filter,
.faq-v2-item summary,
.helped-tab,
.showcase-nav,
.quiz-badge,
.featured-icon,
.social-icon {
  background: var(--color-background-light) !important;
  color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  box-shadow: none !important;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.btn-cta:hover,
.showcase-cta:hover,
.helped-card-btn:hover,
.skills-dev-btn:hover,
.faq-v2-more-btn:hover,
.featured-more-btn:hover,
.help-btn:hover,
.footer-news-card button:hover,
.hero-banner-v2 .hero-v2-cta:hover,
.footer-top-btn:hover,
.helped-tab:hover,
.helped-tab.is-active,
.showcase-nav:hover {
  background: var(--color-accent) !important;
  color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
}

.hero-banner,
.hero-banner-v2,
.showcase-card-head,
.showcase-card-foot,
.showcase-card-head--blue,
.showcase-card-head--beige,
.showcase-card-head--orange,
.showcase-card-head--teal,
.showcase-card-head--green,
.showcase-card-foot--blue,
.showcase-card-foot--beige,
.showcase-card-foot--orange,
.showcase-card-foot--teal,
.showcase-card-foot--green,
.featured-games-topbar,
.help-cta-shell,
.footer-news-card,
.quiz-progress-track,
.quiz-progress-fill {
  background: var(--color-secondary) !important;
  color: var(--color-background-light) !important;
}

.hero-mini-title,
.hero-banner-v2 .hero-v2-title,
.hero-banner-v2 .hero-v2-title span,
.hero-banner-v2 .hero-v2-subtitle,
.hero-banner-v2 .hero-v2-text,
.showcase-card-head h3,
.showcase-side-title,
.help-cta-title,
.help-cta-text {
  color: var(--color-background-light) !important;
}

.games-showcase-shell,
.showcase-card,
.showcase-card-body,
.showcase-benefits,
.showcase-info-box,
.helped-shell,
.helped-card,
.skills-dev-shell,
.skills-dev-card,
.faq-v2-hero,
.faq-v2-item,
.featured-games-shell,
.featured-game-card,
.quiz-stage,
.quiz-result,
.quiz-option,
.featured-filter,
.helped-tab {
  background: var(--color-accent) !important;
  color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  box-shadow: none !important;
}

.helped-card {
  background: #ffffff !important;
}

.helped-tab {
  background: #ffffff !important;
}

.showcase-card,
.showcase-card-body {
  background: #ffffff !important;
}

.showcase-benefits,
.showcase-info-box {
  background: #ffffff !important;
}

.skills-dev-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 18px 14px 20px !important;
}

.content-main {
  background: #ffffff !important;
  border-radius: 32px !important;
  border: 2px solid #1f3f7a !important;
  box-shadow: 0 16px 40px rgba(19, 39, 84, 0.12) !important;
  padding: 28px 32px !important;
}

.showcase-benefits h4,
.showcase-benefits p,
.showcase-info-box h4,
.showcase-info-box p,
.faq-title,
.faq-v2-title,
.faq-v2-item p,
.featured-games-title,
.featured-game-en,
.featured-game-ar,
.featured-game-skill,
.featured-game-skill-only,
.helped-title,
.helped-card-content h3,
.helped-card-content p,
.skills-dev-title,
.skills-dev-card h3,
.quiz-title,
.quiz-subtitle,
.quiz-progress-head,
.quiz-result-title,
.quiz-result-text,
.quiz-result-percent {
  color: var(--color-secondary) !important;
}

.title-line,
.hero-banner-v2 .hero-v2-title,
.faq-v2-title,
.helped-title,
.skills-dev-title,
.featured-games-title,
.help-cta-title,
.quiz-title {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

.title-line-one,
.title-line-two {
  color: var(--color-background-light) !important;
}

.showcase-head-stripes,
.hero-arrow,
.faq-v2-scribble svg,
.skills-dev-arrow {
  stroke: var(--color-primary) !important;
}

.lang-arrow,
.faq-v2-item summary::after {
  border-top-color: var(--color-primary) !important;
  border-right-color: var(--color-primary) !important;
}

.helped-card-icon svg,
.featured-icon,
.social-icon {
  fill: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

input,
select,
textarea,
.footer-news-card input {
  background: var(--color-background-light) !important;
  color: var(--color-secondary) !important;
  border: 2px solid var(--color-secondary) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-secondary) !important;
}

input:focus,
select:focus,
textarea:focus,
.footer-news-card input:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px var(--color-accent) !important;
}

.loading-spinner span {
  background: var(--color-primary) !important;
}

.footer-divider,
.featured-game-card,
.helped-card,
.skills-dev-card,
.faq-v2-item,
.quiz-option,
.quiz-stage,
.quiz-result,
.showcase-card,
.featured-filter,
.helped-tab,
.footer-news-card input {
  border: 2px solid var(--color-secondary) !important;
}

.auth-page {
  min-height: 100vh;
}

.auth-main {
  width: min(var(--container-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.auth-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.auth-hero-copy,
.auth-hero-panel,
.auth-card {
  border: 2px solid var(--color-secondary);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 8px 10px 0 var(--color-secondary);
}

.auth-hero-copy {
  padding: 40px 38px;
  background:
    radial-gradient(circle at top right, rgba(232, 137, 143, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 230, 0.92));
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--color-secondary);
  background: #f7ce0b;
  color: var(--color-secondary);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
}

.auth-hero-copy h1 {
  color: var(--color-secondary);
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.auth-hero-copy p {
  max-width: 58ch;
  color: rgba(37, 52, 92, 0.9);
  font-size: 19px;
  line-height: 1.9;
}

.auth-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.auth-feature-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid rgba(37, 52, 92, 0.16);
  border-radius: 999px;
  background: rgba(231, 162, 161, 0.18);
  color: var(--color-secondary);
  font-size: 16px;
  font-weight: 700;
}

.auth-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.auth-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--color-secondary);
  background: #f7dfde;
  color: var(--color-secondary);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.auth-switch-btn.is-active {
  background: var(--color-secondary);
  color: #ffffff;
}

.auth-switch-btn:hover {
  transform: translateY(-2px);
}

.auth-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(247, 206, 11, 0.28), transparent 22%),
    linear-gradient(180deg, #25345c 0%, #31457d 100%);
}

.auth-badge {
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 800;
}

.auth-hero-figure {
  width: min(100%, 260px);
  object-fit: contain;
  display: block;
  margin: 18px auto;
  filter: drop-shadow(0 12px 24px rgba(10, 18, 41, 0.3));
}

.auth-panel-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-secondary);
}

.auth-panel-card strong {
  display: block;
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.auth-panel-card p {
  font-size: 16px;
  line-height: 1.8;
}

.auth-orbit {
  position: absolute;
  border-radius: 999px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.auth-orbit-one {
  inset: 18px auto auto 22px;
  width: 100px;
  height: 100px;
}

.auth-orbit-two {
  inset: auto 18px 126px auto;
  width: 138px;
  height: 138px;
}

.auth-grid {
  display: block;
}

.auth-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
}

.auth-card[hidden] {
  display: none !important;
}

.auth-card-accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 223, 222, 0.98));
}

.auth-card-head {
  margin-bottom: 22px;
}

.auth-card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 52, 92, 0.08);
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.auth-card-head h2 {
  color: var(--color-secondary);
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  margin-bottom: 10px;
}

.auth-card-head p,
.auth-helper-note {
  color: rgba(37, 52, 92, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.auth-field span {
  color: var(--color-secondary);
  font-size: 15px;
  font-weight: 800;
}

.auth-field input,
.auth-field select {
  width: 100%;
  min-height: 56px;
  border-radius: 20px;
  padding: 14px 18px;
  background: #ffffff;
  color: var(--color-secondary);
  border: 2px solid rgba(37, 52, 92, 0.2);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.auth-field input:focus,
.auth-field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(232, 137, 143, 0.16);
}

.auth-double-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-size: 15px;
  font-weight: 700;
}

.auth-check input {
  inline-size: 18px;
  block-size: 18px;
}

.auth-text-link {
  color: var(--color-secondary);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.auth-submit-btn {
  min-height: 58px;
  border-radius: 999px;
  border: 2px solid var(--color-secondary);
  background: #f7ce0b;
  color: var(--color-secondary);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.auth-submit-btn:hover,
.auth-text-link:hover {
  opacity: 0.9;
}

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

  .auth-hero-copy p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .auth-main {
    width: min(var(--container-max), calc(100% - 26px));
    padding: 22px 0 56px;
  }

  .auth-hero-copy,
  .auth-hero-panel,
  .auth-card {
    border-radius: 26px;
    box-shadow: 5px 6px 0 var(--color-secondary);
  }

  .auth-hero-copy,
  .auth-hero-panel,
  .auth-card {
    padding: 24px 20px;
  }

  .auth-hero-copy h1 {
    font-size: clamp(31px, 8vw, 42px);
  }

  .auth-hero-actions,
  .auth-inline-row {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-switch-btn,
  .auth-submit-btn {
    width: 100%;
  }

  .auth-panel-card strong {
    font-size: 24px;
  }
}

/* Developmental renderer compatibility block for the rebuilt runtime */
.quiz-page .assessment-asset-box {
  opacity: 1;
  transform: none;
}

.quiz-page .assessment-asset-box.is-visible {
  opacity: 1;
  transform: none;
}

.quiz-page .assessment-asset-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.quiz-page .assessment-asset-stage > * {
  width: 100%;
  max-width: 100%;
}

.quiz-page .mcq-answers > * {
  width: 100%;
}

.assessment-preview-controls,
.assessment-sequence-builder,
.assessment-position-layout {
  display: grid;
  gap: 16px;
}

.assessment-preview-controls {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}

.assessment-preview-countdown,
.assessment-empty-stage,
.assessment-instruction-card,
.assessment-choice-card,
.assessment-sequence-slot,
.assessment-sequence-token,
.assessment-position-token,
.assessment-grid-cell,
.assessment-scene-slot,
.assessment-route-end,
.assessment-path-point,
.assessment-target-block,
.assessment-audio-preview {
  border: 2px solid var(--color-secondary);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 8px 10px 0 rgba(37, 52, 92, 0.14);
}

.assessment-empty-stage,
.assessment-preview-countdown,
.assessment-target-block,
.assessment-instruction-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: var(--color-secondary);
  font-weight: 700;
}

.assessment-choice-grid,
.assessment-grid-block,
.assessment-sequence-slots,
.assessment-sequence-source,
.assessment-position-tray,
.assessment-pattern-preview,
.assessment-route-block,
.assessment-text-line {
  display: grid;
  gap: 14px;
}

.assessment-choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

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

.assessment-sequence-slots {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.assessment-position-tray,
.assessment-route-block,
.assessment-pattern-preview,
.assessment-text-line {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.assessment-choice-card,
.assessment-sequence-slot,
.assessment-sequence-token,
.assessment-position-token,
.assessment-grid-cell,
.assessment-target-block,
.assessment-route-step {
  min-height: 112px;
  padding: 14px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background-color 0.16s ease;
}

.assessment-choice-card,
.assessment-sequence-token,
.assessment-position-token,
.assessment-word-chip,
.assessment-difference-spot,
.assessment-path-point,
.assessment-scene-slot.is-clickable {
  cursor: pointer;
}

.assessment-choice-card:hover,
.assessment-sequence-token:hover,
.assessment-position-token:hover,
.assessment-word-chip:hover,
.assessment-path-point:hover {
  transform: translateY(-2px);
  box-shadow: 10px 12px 0 rgba(37, 52, 92, 0.16);
}

.assessment-choice-card:active,
.assessment-sequence-token:active,
.assessment-position-token:active,
.assessment-word-chip:active,
.assessment-path-point:active {
  transform: scale(0.98);
}

.assessment-choice-card.is-selected,
.assessment-sequence-token.is-selected,
.assessment-sequence-slot.is-filled,
.assessment-position-token.is-selected,
.assessment-word-chip.is-selected,
.assessment-difference-spot.is-selected,
.assessment-path-point.is-selected,
.assessment-scene-slot.is-filled {
  border-color: var(--color-primary);
  background: #fff7f7;
  box-shadow: 0 0 0 4px rgba(232, 137, 143, 0.18);
}

.assessment-sequence-token.is-drag-source,
.assessment-position-token.is-drag-source,
.assessment-choice-card.is-drag-source {
  border-color: var(--color-primary);
  background: #fff6f7;
}

.assessment-sequence-token.is-dragging,
.assessment-position-token.is-dragging {
  opacity: 0.9;
  transform: scale(1.04);
  box-shadow: 14px 16px 0 rgba(37, 52, 92, 0.18);
}

.assessment-choice-label,
.assessment-sequence-slot-label,
.assessment-instruction-text,
.assessment-audio-transcript {
  color: var(--color-secondary);
  font-size: 0.98rem;
  font-weight: 700;
}

.assessment-item {
  width: 100%;
  min-height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.assessment-item svg {
  width: 72px;
  height: 72px;
}

.assessment-item.size-sm svg {
  width: 54px;
  height: 54px;
}

.assessment-item.size-lg svg {
  width: 88px;
  height: 88px;
}

.assessment-color-swatch {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 4px solid rgba(37, 52, 92, 0.12);
}

.assessment-shape {
  display: inline-block;
  background: var(--shape-color);
}

.assessment-shape--circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.assessment-shape--square {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.assessment-shape--rectangle {
  width: 76px;
  height: 46px;
  border-radius: 16px;
}

.assessment-shape--triangle {
  width: 0;
  height: 0;
  border-right: 32px solid transparent;
  border-left: 32px solid transparent;
  border-bottom: 58px solid var(--shape-color);
  background: transparent;
}

.assessment-number-badge,
.assessment-direction-badge,
.assessment-position-badge,
.assessment-word-value,
.assessment-word-chip,
.assessment-grid-position,
.assessment-route-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  border: 2px solid var(--color-secondary);
  background: #f8e6e4;
  color: var(--color-secondary);
  font-weight: 800;
}

.assessment-number-badge {
  font-size: 2rem;
}

.assessment-direction-badge {
  min-width: 56px;
  font-size: 1.8rem;
}

.assessment-sequence-preview,
.assessment-difference-wrap {
  display: grid;
  gap: 14px;
}

.assessment-sequence-preview {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.assessment-sequence-preview__item {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.assessment-scene,
.assessment-path-board,
.assessment-route-board {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 2px solid var(--color-secondary);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff8fb 0%, #fffdfd 60%, #f8e6e4 60%, #f8e6e4 100%);
  box-shadow: 8px 10px 0 rgba(37, 52, 92, 0.14);
}

.assessment-scene--garden {
  background: linear-gradient(180deg, #eef8ff 0%, #fffdfd 58%, #dfeec1 58%, #b9dc7e 100%);
}

.assessment-scene-slot,
.assessment-difference-spot,
.assessment-path-point,
.assessment-route-end {
  position: absolute;
  transform: translate(-50%, -50%);
}

.assessment-scene-slot {
  width: 92px;
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 12px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background-color 0.16s ease;
}

.assessment-scene-slot.is-clickable {
  background: rgba(255, 255, 255, 0.92);
}

.assessment-sequence-slot.is-drop-target,
.assessment-scene-slot.is-drop-target {
  border-color: var(--color-primary);
  background: #fff0f2;
  box-shadow: 0 0 0 4px rgba(232, 137, 143, 0.18);
  transform: scale(1.03);
}

.assessment-sequence-slot.is-drop-success,
.assessment-scene-slot.is-drop-success {
  animation: assessment-drop-settle 0.28s ease;
}

@keyframes assessment-drop-settle {
  0% {
    transform: scale(1.08);
  }
  60% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

.assessment-scene-reference {
  outline: 3px dashed #f7ce0b;
  outline-offset: 4px;
}

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

.assessment-difference-spot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px dashed var(--color-primary);
  background: rgba(255, 255, 255, 0.38);
}

.assessment-path-svg,
.assessment-route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.assessment-path-svg path,
.assessment-route-svg path {
  fill: none;
  stroke: #e8898f;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 6;
}

.assessment-path-point {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 0;
}

.assessment-route-start {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 14px;
  border-radius: 16px;
  border: 2px solid var(--color-secondary);
  background: #ffffff;
  color: var(--color-secondary);
  font-weight: 800;
}

.assessment-route-end {
  width: 84px;
  min-height: 84px;
  display: grid;
  place-items: center;
}

.assessment-audio-preview {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.assessment-instruction-card {
  gap: 12px;
}

.assessment-instruction-icon {
  font-size: 2rem;
}

@media (max-width: 720px) {
  .assessment-preview-controls,
  .assessment-difference-wrap {
    grid-template-columns: 1fr;
  }

  .assessment-scene,
  .assessment-path-board,
  .assessment-route-board {
    min-height: 280px;
  }
}
