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

:root {
  --bg: #000000;
  --fg: #ffffff;
  --card: #0d0d0d;
  --border: #1f3a14;
  --muted: #1a1a1a;
  --muted-fg: #9aa39a;
  --green: #53fc18;
  --green-dark: #2f9a0a;
  --pink: #ff2d95;
}

body {
  font-family: 'Hanken Grotesk', sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../images/gta-vi-bg.jpg') center / cover no-repeat
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .9)
}

h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 800
}

.stripe {
  height: 8px;
  background: var(--green)
}

.header {
  background: var(--card);
  border-bottom: 2px solid var(--border);
  padding: 10px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px
}

.header img {
  height: 34px;
  width: auto
}

.brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .06em;
  text-transform: uppercase
}

.brand b {
  color: var(--green)
}

.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 32px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center
}

.screen.active {
  display: flex
}

.tag {
  display: inline-block;
  background: var(--green);
  color: #000;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px
}

.btn {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid var(--green);
  color: #000;
  background: var(--green);
  transition: transform .1s, background .1s;
  user-select: none
}

.btn:hover {
  transform: translateY(-1px)
}

.btn:active,
.btn.pressed {
  transform: translateY(2px)
}

.btn:disabled {
  opacity: .4;
  cursor: not-allowed
}

.btn-ghost {
  background: var(--card);
  color: var(--fg);
  border-color: var(--border)
}

.btn-ghost:hover,
.btn-ghost.pressed {
  border-color: var(--green);
  background: #12210b
}

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 20px;
  border: 2px solid var(--border)
}

.hero-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 24px
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 14px;
  border: 3px solid var(--green)
}

.hero-face {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
  background: #000
}

.progress-bar {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-top: 4px
}

.progress-brick {
  flex: 1;
  height: 10px;
  border-radius: 3px;
  background: var(--muted);
  transition: background .3s
}

.progress-brick.filled {
  background: var(--green)
}

.quiz-option {
  width: 100%;
  text-align: left;
  font-size: 17px;
  padding: 14px 18px;
  margin-bottom: 8px
}

textarea {
  width: 100%;
  height: 128px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--bg);
  padding: 14px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  color: var(--fg);
  resize: none;
  outline: none
}

textarea:focus {
  border-color: var(--green)
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.loading-brick {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--green);
  animation: bounce .6s ease-in-out infinite
}

.loading-bar {
  width: 100%;
  background: var(--muted);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
  margin-top: 24px
}

.loading-fill {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  transition: width .2s
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0);
    opacity: 1
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0
  }
}

.confetti {
  position: fixed;
  top: 0;
  border-radius: 3px;
  animation: confetti-fall 3s ease-in forwards;
  pointer-events: none;
  z-index: 50
}

.roulette-pointer {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid var(--fg);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10
}

.result-box {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 20px
}

.steps {
  text-align: left;
  list-style: none;
  counter-reset: step
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.4;
  padding: 8px 0
}

.steps li::before {
  content: counter(step);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center
}

.badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--green);
  object-fit: cover;
  background: #000;
  margin-bottom: 16px
}
  
