:root {
  --frame-w: 393;
  --frame-h: 852;
  --bg-a: #1462A4;
  --bg-b: #043B69;
  --white: #ffffff;
  --black: #000000;
  --safe-top: #d9d9d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif;
  background: #0a2f53;
}

body {
  display: block;
}

.page-wrap {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

.figma-frame {
  position: relative;
  width: min(100vw, 393px);
  aspect-ratio: 393 / 852;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--bg-a) 0%, var(--bg-b) 100%);
}

.status-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(393 / var(--frame-w) * 100%);
  height: calc(44 / var(--frame-h) * 100%);
  background: var(--safe-top);
}

.brand-logo {
  position: absolute;
  left: calc(269 / var(--frame-w) * 100%);
  top: calc(64 / var(--frame-h) * 100%);
  width: calc(108 / var(--frame-w) * 100%);
  height: calc(47 / var(--frame-h) * 100%);
  object-fit: cover;
  display: block;
}

.hero-top {
  position: absolute;
  left: calc(-48 / var(--frame-w) * 100%);
  top: calc(129 / var(--frame-h) * 100%);
  width: calc(489 / var(--frame-w) * 100%);
  height: calc(241 / var(--frame-h) * 100%);
  object-fit: cover;
  display: block;
}

.question {
  position: absolute;
  left: calc(17 / var(--frame-w) * 100%);
  top: calc(370 / var(--frame-h) * 100%);
  width: calc(360 / var(--frame-w) * 100%);
  height: calc(59 / var(--frame-h) * 100%);
  margin: 0;
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: clamp(26px, 8.14vw, 32px);
  line-height: 1.362;
}

.prompt-box {
  position: absolute;
  left: calc(36 / var(--frame-w) * 100%);
  top: calc(422 / var(--frame-h) * 100%);
  width: calc(322 / var(--frame-w) * 100%);
  height: calc(65 / var(--frame-h) * 100%);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  place-items: center;
  z-index: 3;
}

.prompt-box p {
  margin: 0;
  width: calc(289 / 322 * 100%);
  color: var(--black);
  text-align: center;
  font-weight: 500;
  font-size: clamp(14px, 4.58vw, 18px);
  line-height: 1.362;
}

.tv-visual {
  position: absolute;
  left: calc(23 / var(--frame-w) * 100%);
  top: calc(408 / var(--frame-h) * 100%);
  width: calc(348 / var(--frame-w) * 100%);
  height: calc(348 / var(--frame-h) * 100%);
  object-fit: cover;
  display: block;
}

.prize-copy {
  position: absolute;
  left: calc(87 / var(--frame-w) * 100%);
  top: calc(685 / var(--frame-h) * 100%);
  width: calc(223 / var(--frame-w) * 100%);
  height: calc(109 / var(--frame-h) * 100%);
  color: var(--white);
  z-index: 4;
}

.prize-copy p {
  margin: 0;
  line-height: 1.362;
  position: absolute;
  text-align: center;
}

.line-small {
  left: calc(67 / 223 * 100%);
  top: 0;
  width: calc(85 / 223 * 100%);
  font-weight: 400;
  font-size: clamp(19px, 6.11vw, 24px);
}

.line-large {
  left: 0;
  top: calc(26 / 109 * 100%);
  width: calc(220 / 223 * 100%);
  font-weight: 700;
  font-size: clamp(30px, 10.18vw, 40px);
}

.line-mid {
  left: calc(113 / 223 * 100%);
  top: calc(76 / 109 * 100%);
  width: calc(110 / 223 * 100%);
  font-weight: 700;
  font-size: clamp(19px, 6.11vw, 24px);
}

.home-indicator {
  position: absolute;
  left: calc(133 / var(--frame-w) * 100%);
  top: calc(832 / var(--frame-h) * 100%);
  width: calc(134 / var(--frame-w) * 100%);
  height: calc(5 / var(--frame-h) * 100%);
  border-radius: 25px;
  background: #d9d9d9;
}

@media (min-width: 768px) {
  .figma-frame {
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.38);
  }
}
