:root {
    --fontTitle: 'Outfit', sans-serif;
    --fontBody: 'Quicksand', sans-serif;
    --primary: #ff7a4d;
    --black: #000;
    --white: #fff;
    --text: #fff;
    --bg: linear-gradient(0deg, #2c64b2, #17509c);
    --breakSize1: 0.7;
    --breakSize2: 0.9;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Medium.woff2') format('woff2'),
        url('../fonts/Quicksand-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Bold.woff2') format('woff2'),
        url('../fonts/Quicksand-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Medium.woff2') format('woff2'),
        url('../fonts/Outfit-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Bold.woff2') format('woff2'),
        url('../fonts/Outfit-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

* {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;

    margin: 0;
    padding: 0;
    min-height: 100%;

    font-size: 18px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #051e40;
    font-family: var(--fontBody);
    font-weight: 500;
    color: var(--text);
}


label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

button {
    outline: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    font-family: var(--fontTitle);
}

a {
    text-decoration: none;
}


h1 {
    margin: 0;
    padding: 0;
}

.top-area-blocker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 99999;
    background: transparent;
    pointer-events: auto;
    touch-action: none;
}

.app-container {
    position: relative;

    display: flex;
    flex-direction: column;

    transform-origin: top center;

    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;

    margin: 0 auto;

    box-shadow:
        -10px 0 20px rgba(14, 4, 75, 0.2),
        10px 0 20px rgba(14, 4, 75, 0.2);
}

.background {
    position: fixed;

    z-index: -1;

    background: var(--bg);
    background-size: 100% 100%;
    animation: pulseBackground 6s ease-in-out infinite;

    width: 100vw;
    height: 100dvh;
    height: 100vh;
    max-width: 1200px;
    min-height: 500px;

    margin: 0 auto;

    pointer-events: none;
}

.background-shapes,
.bg-shape-wrapper,
.bg-shape {
    position: absolute;
}

.background-shapes {
    visibility: hidden;
    width: 100%;
    height: 100%;
}

.bg-shape {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5rem;
    z-index: 0;

    mix-blend-mode: overlay;

    animation: floatMove 20s linear infinite;
}

.bg-shape-wrapper {
    width: 400px;
    height: 400px;
}

.bg-shape-wrapper.shape-1 {
    top: -5%;
    left: -20%;
    transform: rotate(-40deg);
}

.bg-shape-wrapper.shape-2 {
    top: -10%;
    right: -15%;
    transform: rotate(20deg);
}

.bg-shape-wrapper.shape-3 {
    bottom: -5%;
    right: -15%;
    transform: rotate(-70deg);
}

.bg-shape-wrapper.shape-4 {
    bottom: -10%;
    left: -20%;
    transform: rotate(20deg);
}

.vignette-background {
    position: fixed;

    width: 100vw;
    height: auto;
    min-height: 100dvh;
    max-width: 1200px;

    margin: 0 auto;

    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0) 40%,
            rgba(2, 27, 61, 1) 100%);

    background-repeat: no-repeat;
    background-position: center;
}

.screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    margin-top: auto;
    margin-bottom: auto;

    box-sizing: border-box;
    text-align: center;
    z-index: 1;

    padding-left: 1rem;
    padding-right: 1rem;

    width: 100%;
}

.safe-area {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.active {
    display: flex;
}

.terms-button {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    text-decoration: none !important;
    mix-blend-mode: overlay;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    transition: background 0.3s;
}

.terms-button:hover {
    background: rgba(0, 0, 0, 0.3);
}

.main-button {
    color: #fff;
    border: none;
    padding: 0;
    width: 300px;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: transparent;
    background-image: url('../imgs/button-big.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;

    transform-origin: center center;
    cursor: pointer;

    filter: saturate(1) brightness(1);
    transition: filter 0.2s ease, transform 0.2s ease;
}

@supports (aspect-ratio: 1) {
    .main-button {
        aspect-ratio: 936 / 274;
        height: auto;
    }
}

.main-button span.large {
    display: inline-block;
    font-size: 3rem;
    transform: translate(0, -0.6rem);
}

.main-button span.regular {
    display: inline-block;
    font-size: 1.5rem;
    transform: translate(0, -0.3rem);
}

.main-button:hover {
    filter: saturate(1) brightness(1.2);
}

.main-button:disabled {
    cursor: default;

    filter: saturate(0.3) brightness(1);
    transition: filter 0.2s ease;
}

.main-button:disabled .regular {
    opacity: 0.5;
}

.main-button:disabled .large {
    opacity: 0.5;
}

.main-button.active {
    filter: saturate(1) brightness(1);
    transition: filter 0.2s ease;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

.fade-in-slow {
    opacity: 0;
    animation: fadeIn 3s ease-in forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in forwards;
}

.pulse-once {
    animation: scalePulseOnce 0.6s ease-in-out;
}

.score-scale-bounce {
    animation: scoreScaleBounce 0.3s ease-in-out infinite;
}

.screen-transition-out {
    animation: screenTransitionOut 0.5s ease-in forwards;
}

.subtle-bounce-in {
    animation: subtleBounceIn 0.6s ease-out forwards;
    transform-origin: center;
}

.logo {
    max-width: 150px;
    max-height: 100%;
    object-fit: contain;
    display: block;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.logo-tag {
    max-width: 220px;
    max-height: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    object-fit: contain;
    display: block;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.flash-screen {
    z-index: 9999;

    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    height: 100vh;
    background: white;

    pointer-events: none;

    opacity: 1;
    animation: flashOut 0.6s ease-out forwards;
}

#infoStatus {
    display: none;
    position: fixed;

    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;

    padding-left: 1rem;
    padding-right: 1rem;

    background-color: rgba(0, 0, 0, 1);
    z-index: 9999;

    justify-content: center;
    align-items: center;
    pointer-events: none;
    overflow: hidden;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Loader Style */

.loader {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;

    background: #000;

    box-sizing: border-box;
    text-align: center;

    width: 100vw;
    height: 100vh;
    height: 100dvh;

    z-index: 1000;
}

.loader .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 3s;
}

.loader .loading-text {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    margin-top: 0.5em;

    animation: scaleBounce 1s ease-in-out infinite;
}

.loader .logo {
    max-width: calc(150px * 0.5);
}

.loader .logo-tag {
    max-width: calc(220px * 0.5);
}

/* Info */

.info-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.info-title {
    color: #fff;
    margin-top: 10px;
    font-weight: 700;
    font-size: 2rem;
}

.info-message {
    color: #ccc;
    margin-top: 10px;
    font-size: 1rem;
    max-width: 450px;
    white-space: pre-wrap;
}

.info-container .logo {
    max-width: calc(150px * 0.5);
}

.info-container .logo-tag {
    max-width: calc(220px * 0.5);
}

.focus-title::before,
.focus-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: calc(1rem * (209/75));
    background: url('../imgs/focus-left-shape.png') no-repeat center / contain;
}

.focus-title::before {
    left: -1rem;
}

.focus-title::after {
    right: -1rem;
    background-image: url('../imgs/focus-right-shape.png');
}

/* Main Menu Style */

.main-menu {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.main-menu h1 {
    z-index: 1;
    width: 80%;

    font-size: 1.6rem;
}

.main-menu p {
    font-size: 1rem;
    margin-bottom: 3rem;
}

.main-menu .subtitle p {
    margin-top: 0;
    margin-bottom: 0.2rem;
    opacity: 0.7;
}

.main-menu .logo {
    animation: logoEnter 1s ease-out forwards;
}

.main-menu .logo-tag {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.5s;
}

.main-menu .title {
    width: 100%;
    position: relative;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.7s;
}

.main-menu .subtitle {
    opacity: 0.7;
    margin-bottom: 1rem;

    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 1s;
}

.main-menu .subtitle p:nth-of-type(2) {
    margin-bottom: 1.5rem;
}

.main-menu .prize-section {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 1.1s;
}

.main-menu .main-button-container {
    animation: scaleBounce 0.6s ease-in-out infinite;
}

.main-menu .main-button {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 1.2s;
}

.main-menu .terms-button {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 1.4s;
}

.main-menu .tag {
    position: relative;
    display: inline-block;
    background: var(--primary);

    font-family: var(--fontTitle);
    color: black;
    font-weight: bold;
    font-size: 1rem;

    padding-top: 0.35em;
    padding-bottom: 0.35em;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-bottom: 0.5rem;

    border: none;
    border-radius: 0.7rem;

    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.5);
}

.main-menu .tag .info {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    background: var(--black);
    color: var(--white);
    font-weight: bold;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-1rem, -1rem);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
}

.main-menu .prize {
    margin-bottom: 3rem;
}

.main-menu .prize p {
    font-weight: 500;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

/* Enter Form Style */

.enter-details {
    padding-top: 3rem;
    padding-bottom: 120px;
}

.enter-details .logo {
    animation: logoEnter 1s ease-out forwards;
}

.enter-details .logo-tag {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.5s;
}

.enter-details .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 450px;

    line-height: 1.5;

    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.7s;
}

.enter-details form {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.enter-details .terms-button {
    border-radius: 0.5rem;
    margin: 0.2rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

.enter-details label {
    font-size: 0.8rem;
}

.enter-details input.error,
.enter-details select.error {
    border-color: red;
    background-color: #ffe6e6;
}

.enter-details .field-group {
    padding: 0;
    margin: 0;
    width: 100%;

    animation: fadeInUp 0.5s ease forwards;
}

.enter-details .validation-message {
    display: none;
    font-size: 0.8rem;
    text-align: left;
    color: var(--white);
    opacity: 0.7;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.enter-details .validation-message.show {
    display: block;
}

.enter-details form input,
.enter-details form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #d9e2f3;
    color: black;
}

.enter-details form select {
    background-image: url('../imgs/arrow.png');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

.enter-details form input::placeholder {
    color: black;
}

.enter-details form input:not([type="checkbox"]):focus {
    outline: 4px solid #ffa44c;
    background: #fff;

    transition: outline 0.2s, background 0.2s;
}

.enter-details form select:focus {
    outline: 4px solid #ffa44c;
    background: #fff;

    background-image: url('../imgs/arrow.png');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;

    transition: outline 0.2s, background 0.2s;
}

.enter-details .field-group:nth-of-type(1) {
    opacity: 0;
    animation-delay: 1s;
}

.enter-details .field-group:nth-of-type(2) {
    opacity: 0;
    animation-delay: 1.1s;
}

.enter-details .field-group:nth-of-type(3) {
    opacity: 0;
    animation-delay: 1.2s;
}

.enter-details .field-group:nth-of-type(4) {
    opacity: 0;
    animation-delay: 1.3s;
}

.enter-details .field-group:nth-of-type(5) {
    opacity: 0;
    animation-delay: 1.4s;
}

.enter-details .field-group:nth-of-type(6) {
    opacity: 0;
    animation-delay: 1.5s;
}

.enter-details .field-group:nth-of-type(7) {
    margin-top: 20px;

    opacity: 0;
    animation-delay: 1.8s;
}

.enter-details .field-group:nth-of-type(8) {
    opacity: 0;
    animation-delay: 1.9s;
}

.enter-details .main-button {
    margin-top: 20px;

    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 2s;
}

.enter-details .main-button:disabled {
    filter: none;
    transition: none;
}

.enter-details form select {
    appearance: none;
}

.enter-details .checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 100%;
    text-align: left;
}

.enter-details .checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: auto;
    margin: 0;
}

.enter-details .checkbox span {
    flex-grow: 1;
}

/* Countdown Styles */

.countdown {
    justify-content: center;

    width: 100%;
    height: 100vh;
    height: 100dvh;
}

.countdown .container {
    position: relative;
    width: 9rem;
    height: 9rem;

    transform-origin: center;

    animation: scaleRotatePulse 0.6s ease-out forwards infinite;
}

.countdown .spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 10px solid rgba(255, 255, 255, 0.2);
    border-top: 10px solid white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    z-index: 1;
}

.countdown .spinner.done {
    border: 10px solid #fff;
    border-top: 10px solid #fff;
}

.countdown .number {
    font-family: var(--fontBody);
    font-weight: 700;
    font-size: 4rem;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    z-index: 2;
}

/* Quiz Styles */

.quiz {
    justify-content: space-between;
    gap: 0.2rem;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;

    margin-top: 0;
    margin-bottom: 0;

    padding-top: 1rem;
    padding-bottom: 4rem;
}

.quiz .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quiz .contents {
    display: flex;
    flex: 1;
    width: 100%;

    text-align: center;

    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quiz .footer {
    display: flex;
    padding-top: 20px;
    flex-direction: column;
    justify-content: flex-end;
}

.quiz .footer .logo {
    align-self: flex-start;
    max-width: 100px;
}

.quiz .title {
    width: 100%;
    position: relative;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz .score-container {
    top: 4rem;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    pointer-events: none;
}

.quiz .score-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #b0c6f7;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    pointer-events: none;
    touch-action: none;
}

.quiz .score-value {
    font-size: 2.5rem;
    font-weight: 700;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    pointer-events: none;
    touch-action: none;
}

.quiz .question-progress {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0.5rem;

    background-color: #052a6a;
    opacity: 0.7;
    border-radius: 1.5rem;

    top: 1rem;
    width: 100%;
    max-width: 450px;

    padding: 0.5rem;
    margin-bottom: 10px;
}

.quiz .question-progress .item {
    justify-content: center;
    align-items: center;
    max-width: 3rem;

    width: 100%;
    height: 1.2rem;
    box-sizing: border-box;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quiz .question-progress .item.active {
    background-image: url('../imgs/progress-current.png');
}

.quiz .question-progress .item.passed {
    background-image: url('../imgs/progress-passed.png');
}

.quiz .question-number {
    font-size: 16px;
    font-weight: bold;

    border-bottom: 4px solid #ffa44c;

    display: inline-block;
    width: fit-content;

    padding-bottom: 0.2rem;
    margin: 0.5rem 0 1rem;
    margin-left: auto;
    margin-right: auto;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    pointer-events: none;
}

.quiz .question-text {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    max-width: 400px;
    margin-bottom: 1.5rem;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    pointer-events: none;
}

.quiz .question-text .highlight {
    color: #76dc74;
}

.quiz .question-image {
    display: none;
}

.quiz .question-image img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quiz .time-bar-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 25px;
    border: 4px solid #051e42;
    overflow: visible;
    margin-bottom: 60px;

    border-radius: 10px;

    box-shadow: 0 0 8px rgba(0, 172, 255, 0.8);
}

.quiz .time-bar-contents {
    height: 100%;
    background: #002a63;
    border-radius: 10px;
    overflow: hidden;

    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.quiz .time-bar {
    height: 100%;
    background-color: #a2c9ff;
    width: 100%;
}

.quiz .time-bar.disabled {
    background-color: #ccc;
}

.quiz .time-bar.pulse-color {
    animation: pulseTimeColor 0.4s infinite ease-in-out;
}

.quiz .timer-icon {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 60px;
    height: 60px;
    z-index: 2;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    filter: none;
    animation: scaleBounce 0.6s ease-out forwards infinite;
}

.quiz .timer-icon.disabled {
    animation: none;
    filter: grayscale(100%) brightness(70%);
}

.quiz .options {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.quiz .options input {
    position: relative;
    padding: 1rem 1.5rem 1rem 1.5rem;
    font-size: 1.2rem;
    width: 100%;
    border-radius: 15px;
    background: #fff;
    color: black;
    cursor: pointer;

    border: 3px solid #f28254;
    box-shadow: 0 4px 0 #07275880;

    text-align: center;
    transition: transform 0.1s;

    z-index: 1;

    visibility: hidden;
    animation: subtleBounceIn 0.6s ease-out forwards;

    transform-origin: center;
}

.quiz .options input:disabled {
    background: #ccc;
}

.quiz .options .option-button {
    position: relative;
    padding: 1rem 1rem 1rem 4rem;
    font-size: 1.2rem;
    width: 100%;
    border-radius: 2rem;
    background: #fff;
    color: black;
    cursor: pointer;

    border: 3px solid #f28254;
    box-shadow: 0 4px 0 #07275880;

    text-align: center;
    transition: transform 0.1s;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    z-index: 1;

    visibility: hidden;
    animation: subtleBounceIn 0.6s ease-out forwards;

    transform-origin: center;
}

.quiz .options .option-button:nth-of-type(1),
.quiz .options input:nth-of-type(1) {
    visibility: hidden;
    animation-delay: 0.1s;
}

.quiz .options .option-button:nth-of-type(2),
.quiz .options input:nth-of-type(2) {
    visibility: hidden;
    animation-delay: 0.2s;
}

.quiz .options .option-button:nth-of-type(3),
.quiz .options input:nth-of-type(3) {
    visibility: hidden;
    animation-delay: 0.3s;
}

.quiz .options .option-button:nth-of-type(4),
.quiz .options input:nth-of-type(4) {
    visibility: hidden;
    animation-delay: 0.3s;
}

.quiz .options .option-button:disabled {
    cursor: default;
    pointer-events: none;
    transform: none;
    filter: saturate(0.3);
    transition: transform 0.1s, filter 0.2s ease
}

.quiz .options .option-button:hover {
    transform: scale(1.02);
}

.quiz .options .option-button.correct,
input.correct {
    cursor: default;
    pointer-events: none;
    background: #a8f7a7;

    border: 3px solid #deffca;
    box-shadow: 0 0 30px 15px #59d10fcc;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.quiz .options .option-button.wrong,
input.wrong {
    cursor: default;
    pointer-events: none;
    background: #fd9999;

    border: 3px solid #e06262;
    box-shadow: 0 0 30px 15px #c53232cc;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.quiz .options .option-button .info {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: #f28254;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quiz .options .option-button .overlay {
    position: absolute;
    display: none;
    background-color: #5f739a;
    z-index: 2;
    border-radius: 2rem;
    top: -0.15rem;
    left: -0.15em;
    right: -0.15rem;
    bottom: -0.15rem;
    mix-blend-mode: multiply;
}

.quiz .options .option-button .info.correct {
    background: #76dc74;
}

.quiz .options .option-button .info.wrong {
    background: #e64c4c;
}

.quiz .options .option-button .info.correct img {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 60px;
    background-size: contain;

    transform-origin: bottom center;
    animation: scaleBounce 0.6s ease-in-out;
}

.quiz .feedback {
    position: absolute;
    display: none;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 5px;
    padding: 3px;
    z-index: 5;
    opacity: 1;
    transition: top 0.5s ease, opacity 0.5s ease;
}

.quiz .feedback.show {
    top: -50px;
    opacity: 1;
}

.quiz .feedback .status,
.feedback .score {
    font-family: var(--fontBody);
    font-weight: 500;
    font-size: 1.6rem;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quiz .feedback .time {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-right: 5px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quiz .feedback .icon {
    width: 40px;
    height: 40px;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quiz .feedback .score {
    font-size: 2rem;
}

.free-entry-answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.free-entry-answer .prompt {
    position: relative;
    display: inline-block;
    color: var(--text);
    background: rgba(0, 0, 0, 0.6);
    font-size: 1rem;

    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    pointer-events: none;

    margin-bottom: 10px;
    border-radius: 20px;
}

.free-entry-answer .prompt img {
    position: absolute;
    right: -20px;
    top: 0;
    width: 30px;
    object-fit: contain;
    z-index: 5;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    transform-origin: top center;
    animation: scaleBounce 0.6s ease-in-out infinite;
}

.free-entry-answer .press-cursor {
    position: absolute;
    left: 0;
    top: 70px;
    height: 100px;
    object-fit: contain;
    z-index: 5;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    transform-origin: 40px 5px;
    animation: scaleBounce 0.7s ease-in-out infinite;
}

.free-entry-answer .input-group {
    position: relative;
    margin-bottom: 30px;
}

.free-entry-answer input:focus {
    outline: 4px solid #ffa44c;
}

.free-entry-answer .overlay {
    position: absolute;
    display: none;
    background-color: #5f739a;
    z-index: 2;

    border-radius: 15px;

    top: 50px;
    left: 0px;
    right: 0px;
    bottom: 0px;

    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Result */

.results {
    padding-top: 3rem;
    padding-bottom: 4rem;
    justify-content: center;
}

.results .logo {
    animation: logoEnter 1s ease-out forwards;
}

.results .logo-tag {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.5s;
}

.results .title {
    width: 100%;
    position: relative;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.6s;
}

.results .thanks {
    position: relative;
    font-size: 2.25rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.results .thanks::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 1rem;
    background-image: url('../imgs/underline-orange.png');
    background-size: 100% 100%;
    background-position: center;
    margin: 0;
    bottom: -8px;
    left: 0;
    z-index: -1;
}

.results .note {
    max-width: 450px;
    opacity: 0.7;
    margin-top: 1rem;
    line-height: 1.5;

    font-size: 1.4rem;

    opacity: 0;

    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.7s;
}

.results .score-container {
    opacity: 0;

    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.8s;
}

.results .score-label {
    font-family: var(--fontTitle);
    font-weight: 700;
    font-size: 2rem;
    color: #78a7e9;
    margin-top: 2rem;
}

.results .score-value {
    font-family: var(--fontTitle);
    font-weight: 700;
    font-size: 5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.results .main-button {
    width: 250px;
    height: 70px;

    opacity: 0;

    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 1s;
}

.results .terms-button {
    opacity: 0;

    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 1.5s;
}

/* Animations */

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes timeFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes logoEnter {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scoreScaleBounce {

    0%,
    100% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(0.95);
    }
}

@keyframes scaleBounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(0.97);
    }

    70% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotatePulse {
    0% {
        transform: rotate(0deg);
    }

    30% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(-2deg);
    }

    70% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes scaleRotatePulse {
    0% {
        transform: scale(1) rotate(0deg);
    }

    30% {
        transform: scale(1.05) rotate(3deg);
    }

    50% {
        transform: scale(0.95) rotate(-3deg);
    }

    70% {
        transform: scale(1.1) rotate(3deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}

@keyframes subtleBounceIn {
    0% {
        visibility: visible;
        opacity: 0;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    80% {
        transform: scale(0.98);
    }

    100% {
        visibility: visible;
        transform: scale(1);
    }
}

@keyframes explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes screenTransitionOut {
    to {
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes flashOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatMove {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.015);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes pixelateIn {
    0% {
        transform: scale(0.05);
        filter: blur(4px);
    }

    50% {
        transform: scale(1.05);
        filter: blur(2px);
    }

    100% {
        transform: scale(1);
        filter: none;
    }
}

@keyframes scalePulseOnce {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulseTimeColor {
    0% {
        background-color: #a2c9ff;
    }

    50% {
        background-color: #f1f7ff;
    }

    100% {
        background-color: #a2c9ff;
    }
}

@keyframes pulseBackground {

    0%,
    100% {
        background-size: 100% 100%;
    }

    50% {
        background-size: 105% 105%;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 767px) {
    html {
        font-size: calc(18px * var(--breakSize1));
    }

    .bg-shape-wrapper {
        width: calc(400px * var(--breakSize1));
        height: calc(400px * var(--breakSize1));
    }

    .main-button {
        width: calc(300px * var(--breakSize1));
        height: calc(85px * var(--breakSize1));
    }

    .logo {
        max-width: calc(150px * var(--breakSize1));
    }

    .logo-tag {
        max-width: calc(180px * var(--breakSize1));
    }

    .results .note {
        max-width: calc(450px * var(--breakSize1));
    }

    .enter-details form,
    .enter-details .subtitle {
        max-width: calc(450px * var(--breakSize1));
    }

    .quiz .question-progress {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    html {
        font-size: calc(18px * var(--breakSize2));
    }

    .bg-shape-wrapper {
        width: calc(400px * var(--breakSize2));
        height: calc(400px * var(--breakSize2));
    }

    .main-button {
        width: calc(300px * var(--breakSize2));
        height: calc(85px * var(--breakSize2));
    }

    .logo {
        max-width: calc(150px * var(--breakSize2));
    }

    .logo-tag {
        max-width: calc(220px * var(--breakSize2));
    }

    .results .note {
        max-width: calc(450px * var(--breakSize2));
    }

    .enter-details form,
    .enter-details .subtitle {
        max-width: calc(450px * var(--breakSize2));
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
}