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

:root {
  --blue: #006f72;
  --violet: #5a568f;
  --coral: #e36f54;
  --text: #17363b;
  --muted: #61777b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-width: 320px;
  height: 100%;
  min-height: 100%;
}

html {
  background: #eef8f4;
}

body {
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background: radial-gradient(circle at 8% 18%,
      rgba(23, 105, 224, 0.17),
      transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 95, 69, 0.15), transparent 25%),
    radial-gradient(circle at 78% 88%,
      rgba(121, 72, 216, 0.12),
      transparent 28%),
    linear-gradient(150deg, #fbfffd, #e6f5f0 52%, #fff4eb);
  background-attachment: fixed;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(23, 105, 224, 0.13) 1px,
      transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}

a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.app-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  height: 100%;
  min-height: 100%;
  padding-bottom: 30px;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: min(100% - 28px, 760px);
  height: 100%;
  min-height: 100%;
  margin: 0 auto;
}

.start {
  position: relative;
  display: flex;
  min-height: min(780px, calc(100vh - 110px));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 7vw, 64px) clamp(18px, 5vw, 48px);
  text-align: center;
  animation: rise-in 0.65s ease both;
}

.start__eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.start__title {
  max-width: 650px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(36px, 8vw, 66px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.start__visual {
  position: relative;
  display: grid;
  width: min(78vw, 370px);
  margin: 10px auto 4px;
  place-items: center;
}

.start__img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 250px;
  animation: brain-float 4.4s ease-in-out infinite;
}

.start__orb {
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.32;
}

.start__orb--blue {
  left: 3%;
  background: var(--blue);
}

.start__orb--coral {
  right: 3%;
  background: var(--coral);
}

.start__text {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(15px, 2.6vw, 18px);
  font-weight: 500;
  line-height: 1.55;
}

.start__btn-wrapper {
  width: min(100%, 390px);
  margin: 26px auto 0;
}

.start-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: 390px;
  min-height: 62px;
  padding: 14px 28px;
  border-radius: 18px;
  background: linear-gradient(110deg,
      var(--blue),
      var(--violet) 48%,
      var(--coral));
  box-shadow: 0 16px 34px rgba(47, 83, 180, 0.27);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.start-button::after {
  position: absolute;
  inset: -20% auto -20% -35%;
  width: 28%;
  content: "";
  background: rgba(255, 255, 255, 0.36);
  animation: sheen 3.2s ease-in-out infinite;
}

.start-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(47, 83, 180, 0.34);
}

.start-button[aria-disabled="true"] {
  pointer-events: none;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 550px;
  padding: 0 16px;
  margin: 0 auto;
  color: gray;
  font-size: 11px;
  line-height: normal;
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

@keyframes brain-float {

  0%,
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 18px 24px rgba(23, 105, 224, 0.2));
  }

  50% {
    transform: translateY(-9px) rotate(1deg);
    filter: drop-shadow(0 27px 30px rgba(255, 95, 69, 0.2));
  }
}

/* Dark IQ Test Guide variation */
:root {
  --blue: #5ee0d2;
  --violet: #aaa2ff;
  --coral: #ff8a72;
  --text: #f3f7f6;
  --muted: #a7bbb8;
}

html {
  background: #091817;
}

body {
  background: radial-gradient(circle at 10% 16%,
      rgba(94, 224, 210, 0.14),
      transparent 30%),
    radial-gradient(circle at 88% 12%,
      rgba(255, 138, 114, 0.12),
      transparent 26%),
    linear-gradient(145deg, #091817, #102a28 54%, #171927);
}

body::before {
  opacity: 0.45;
  background-image: radial-gradient(rgba(94, 224, 210, 0.22) 1px,
      transparent 1px);
  background-size: 30px 30px;
}

.start {
  margin: 24px 0;
  border: 1px solid rgba(94, 224, 210, 0.16);
  border-radius: 42px 10px 42px 10px;
  background: rgba(10, 28, 27, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.start__btn-wrapper {
  border-radius: 7px 22px 7px 22px;
}

.start-button {
  border-radius: 7px 22px 7px 22px;
  background: linear-gradient(110deg, #228f88, #665faa);
  box-shadow: 0 16px 36px rgba(94, 224, 210, 0.2);
}

@keyframes sheen {
  from {
    transform: translateX(-130%) skewX(-18deg);
  }

  to {
    transform: translateX(330%) skewX(-18deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (orientation: landscape) {
  .start {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    transform: none !important;
    scale: 1 !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }
}