@font-face {
  font-family: 'Benguiat Bold';
  src: url('../fonts/Benguiat_Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Gotham-Bold';
  src: url('../fonts/Gotham-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'ProximaNova-Regular';
  src: url('../fonts/ProximaNova-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'ProximaNova-Bold';
  src: url('../fonts/ProximaNova-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'UberMove-Regular';
  src: url('../fonts/UberMove-Regular.otf') format('opentype');
}

html,
body {
  height: 100%;
  overflow: hidden;
}

/* =====================
   MOBILE ONLY BLOCK
===================== */
.desktop-warning {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

@media (min-width: 768px) {
  .desktop-warning {
    display: flex;
  }

  #app {
    display: none;
  }
}

/* =====================
   VARIABLES
===================== */
:root {
  --blue: #0055db;
  --bg: #000;
  --light: #f2f2f2;
  --danger: #ff4c4c;
  --success: #00ff7f;
  --option_bg: #a6a6a6;
}

/* =====================
   BASE
===================== */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

/* =====================
   START SCREEN DESIGN
===================== */

.start-bg {
  position: fixed;
  inset: 0;
  background: url("../images/bg-start.png") center / cover no-repeat;
  z-index: -1;
}

.start-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px 120px;
  z-index: 2;
}


.netflix-logo {
  width: 40px;
  max-width: 105px;
  margin: 20% 20px 0px;
}

.title-logo {
  width: 100%;
  max-width: 360px;
  margin-bottom: 20px;
}

.result-title-logo {
  width: 80%;
  max-width: 360px;
  margin-bottom: 20px;
}

.campaign-text {
  font-family: 'ProximaNova-Regular', sans-serif;
  font-size: clamp(18px, 6vw, 20px);
  line-height: 1.35;
  text-align: center;
  margin-bottom: 20px;
  /*font-weight: 500;*/
  /*opacity: 0.95;*/
}


/* Neon Button */
.start-btn {
  font-family: 'Benguiat Bold', sans-serif;

  /* Text */
  font-size: clamp(16px, 5vw, 18px);
  letter-spacing: 1px;
  color: #fff;

  /* Size */
  width: 100%;
  max-width: 248px;
  height: 60px;

  /* Background image */
  background: url("../images/button_outline.png") center / contain no-repeat;
  background-color: transparent;

  /* Reset defaults */
  border: none;
  border-radius: 0;
  box-shadow: none;
  animation: none;

  /* Touch */
  padding: 0;
  cursor: pointer;
}

.result-btn {
  font-family: 'Benguiat Bold', sans-serif;

  /* Text */
  /* font-size: clamp(18px, 5.55vw, 20px);*/
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;

  /* Size */
  width: 100%;
  max-width: 268px;
  height: 60px;

  /* Background image */
  background: url("../images/result_btn_outline.png") center / contain no-repeat;
  background-color: transparent;

  /* Reset defaults */
  border: none;
  border-radius: 0;
  box-shadow: none;
  animation: none;

  /* Touch */
  padding: 0;
  cursor: pointer;

  margin-top: 24px;
}

/* Footer */

.start-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px 14px;
}

/* Center Privacy */
.footer-center {
  grid-column: 2;
  text-align: center;
}

/* Right Dates */
.footer-right {
  font-family: 'ProximaNova-Regular', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.privacy {
  font-family: 'UberMove-Regular', sans-serif;
  font-size: clamp(9px, 3vw, 10px);
  line-height: 1.2;
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

/* Dates (BOTTOM) */
.start-footer .dates {
  font-family: 'ProximaNova-Regular', sans-serif;
  font-size: clamp(9px, 3vw, 10px);
  line-height: 1.35;
  text-align: right;
}

.start-footer .dates .date-val {
  font-family: 'Gotham-Bold', sans-serif;
  font-size: clamp(9px, 3vw, 10px);
}

.screen {
  height: 100vh;
  padding: 0;
  /* REMOVE padding */
  display: none;
  flex-direction: column;
  text-align: center;
}

.screen.active {
  display: flex;
  animation: slideUp 0.45s ease;
}

h1,
h2 {
  margin-bottom: 18px;
}

/* =====================
   BUTTONS
===================== */
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}




/* =====================
   QUIZ SCREEN (SCREEN 2)
===================== */
/* =====================
   SCREEN 2 – FULL SCREEN COMPOSITION
===================== */

#screen-quiz {
  position: relative;
  height: 100vh;
  background: black;
}

#screen-result {
  display: grid;
  grid-template-rows:
    1fr
    /* main content */
    auto;
  /* footer */
  height: 100vh;
}

/* Footer now participates in layout */
#screen-result .start-footer {
  position: relative;
  padding: 10px 16px 14px;
}

#screen-result .start-content {
  flex: unset;
  padding-bottom: 0px;
  /* normal spacing only */
}

/* Main grid */
.quiz-layout {
  height: 100%;
  display: grid;
  grid-template-rows:
    auto
    /* logo */
    1fr
    /* question + options */
    auto;
  /* next button */
  align-items: center;
  padding: 24px 16px 112px;
  /* reserve footer space */
  z-index: 2;
}

/* TOP */
.quiz-top {
  display: flex;
  justify-content: center;
}

.quiz-logo {
  width: 194px;
  /* PSD ÷ 3 */
}

/* MIDDLE */
.quiz-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.quiz-question {
  font-family: 'ProximaNova-Regular', sans-serif;
  /*font-size: clamp(16px, 5vw, 18px);*/
  line-height: 1.35;
  text-align: center;
  max-width: 320px;
}

/* OPTIONS */
.options {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* OPTION BUTTONS */
.option {
  font-family: 'ProximaNova-Bold', sans-serif;
  font-size: clamp(18px, 5.55vw, 20px);
  padding: 16px;
  border-radius: 6px;
  color: #000;
  background: var(--option_bg);
  position: relative;
  animation: fadeIn 0.3s ease;
  overflow: visible;
}

/* Correct / wrong colors already handled by your logic */
.option.correct {
  background: #1e90ff;
  color: #fff;
}

/* NEXT button (image-based) */
.quiz-next {
  margin-top: 28px;
  width: 100%;
  max-width: 248px;
  height: 60px;

  font-family: 'Benguiat Bold', sans-serif;
  font-size: clamp(16px, 5vw, 18px);
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;

  background: url("../images/button_outline.png") center / contain no-repeat;

  padding: 0;
  box-shadow: none;
  animation: none;

  cursor: pointer;
}

/* Disabled state */
.quiz-next:disabled,
.quiz-next.btn-disabled {
  opacity: 0.35;
  /* visually disabled */
  pointer-events: none;
  /* prevent taps */
}

/* Footer neon image */
.quiz-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  height: 112px;
  background: url("../images/neon-lines.png") center / cover no-repeat;
  z-index: 1;
}

/* =====================
   OPTIONS
===================== */
.options {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.option.correct {
  background: var(--blue);
  color: #fff;
  animation: pop 0.25s ease;
}

.option.wrong {
  animation: shake 0.3s ease;
}

.option.wrong::before {
  content: "✖";
  /*background: url("../images/wrong-option-highlight.png") center / contain no-repeat;*/
  position: absolute;
  top: -10px;
  /* moves above */
  left: -10px;
  /* moves outside */

  width: 22px;
  height: 22px;

  background: #ff2b2b;
  color: #fff;

  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 5;
}

/* =====================
   RESULT STATES
===================== */
#resultTitle {
  font-family: 'Benguiat Bold', sans-serif;
  font-size: clamp(28px, 9.44vw, 34px);
  margin: 16px 0;
}

#resultText {
  font-family: 'ProximaNova-Regular', sans-serif;
  font-size: clamp(18px, 5.55vw, 20px);
  line-height: 1.35;
}

#discoverMore {
  font-family: 'Benguiat Bold', sans-serif;
  font-size: clamp(18px, 5.55vw, 20px);
  line-height: 1.35;
}

/* PASS (WIN) */
.result-pass #resultTitle {
  font-size: clamp(28px, 9.44vw, 34px);
  /* PSD 104px */
  font-family: 'Benguiat Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.result-pass #resultText {
  font-size: clamp(18px, 5.55vw, 20px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

/* FAIL */
.result-fail #resultTitle {
  font-size: clamp(26px, 8.33vw, 30px);
  font-family: 'Benguiat Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.result-fail #resultText {
  font-size: clamp(16px, 4.44vw, 18px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}


/* =====================
   ANIMATIONS
===================== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pop {
  50% {
    transform: scale(1.06);
  }
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  50% {
    transform: translateX(4px);
  }

  75% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0);
  }
}

/* =====================
   MEDIA QUERIES */

@media (max-width: 408px) {
  .title-logo {
    width: 100%;
    max-width: 260px;
    margin-bottom: 20px;
  }

  .campaign-text {
    font-size: clamp(16px, 5vw, 18px);
  }

  .quiz-question {
    font-size: clamp(16px, 5vw, 18px);
  }

  .option {
    font-size: clamp(16px, 5vw, 18px);
  }

  .options {
    gap: 10px;
    max-width: 275px;
  }

  .quiz-next {
    margin-top: 20px;
    font-size: clamp(14px, 4.5vw, 16px);
    max-width: 200px;
  }
}