:root {
  --primary-color: #0D1B2A;
  --primary-hover-color: #1A1A2E;
  --secondary-color: #1A1A2E;
  --secondary-hover-color: #0D1B2A;
  --accent-color: #0D1B2A;
  --background-gradient-start: #0D1B2A;
  --background-gradient-end: #1A1A2E;
  --section-color: rgba(255, 255, 255, 0.95);
  --text-color: #FFFFFF;
  --subtext-color: #FFFFFF;
  --border-color: rgba(255, 255, 255, 0.2);
  --shadow-color: rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: linear-gradient(135deg, var(--background-gradient-start), var(--background-gradient-end));
  background-attachment: fixed;
  color: var(--text-color);
}

.container {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 20px 20px 20px;
  text-align: center;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  height: 80px;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.logo {
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-color);
  text-shadow: 0 0 12px #f8f819;
}

.logo img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

main {
  min-height: calc(100vh - 220px);
}

.footer {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--text-color);
  text-align: center;
  font-size: 14px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.banner {
  width: 100%;
  border-radius: 20px;
  max-width: 580px;
  margin: 30px auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--border-color);
}

.step {
  display: none;
}

.step.active {
  display: block !important;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step#step-quiz {
  background: transparent;
}

.step#step-quiz .description {
  font-size: 22px;
  font-weight: 700;
  margin: 35px 0;
  color: var(--text-color);
  line-height: 1.5;
}

.main-title {
  font-size: 38px;
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-color);
  text-shadow: 0 0 12px #00ff77;
}

.subtext {
  font-size: 26px;
  color: var(--text-color);
  margin: 30px 0;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 0 12px #00ff77;
}

input {
  width: 100%;
  max-width: 440px;
  padding: 20px 26px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  font-size: 19px;
  margin: 25px auto;
  color: var(--text-color);
  transition: all 0.4s;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.15);
}

.primary-btn {
  width: 100%;
  background: linear-gradient(45deg, #007bff, #000000);
  color: #FFFFFF;
  padding: 20px 0;
  border: none;
  border-radius: 16px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.4s;
  text-decoration: none;
  margin: 35px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-weight: 800;
}

.primary-btn:hover {
  background: linear-gradient(45deg, #007bff, #000000);
  transform: translateY(-5px) scale(1.02);
}

.primary-btn img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.big-counter {
  font-size: 56px;
  font-weight: 800;
  padding: 30px;
  margin: 35px auto;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 30px var(--shadow-color);
  border: 2px solid var(--border-color);
}

.stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  padding: 25px 5px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.stats .item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 6px 20px var(--shadow-color);
}

.stats .item p {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-color);
  text-align: center;
  text-shadow: 0 0 4px #00ff77;

}

.stats .item span {
  font-size: 21px;
  font-weight: 800;
  color: #00ff28;
  white-space: nowrap;
}

.results-container {
  padding: 45px 35px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
  border: 2px solid var(--border-color);
  max-width: 580px;
  margin: 30px auto;
}

.results-container .title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 35px;
}

.results-container .description {
  font-size: 26px;
  font-weight: 700;
  margin: 25px 0;
  line-height: 1.4;
  color: var(--text-color);
}

.results-container .description span {
  color: var(--text-color);
}

.results-container .important {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-color);
  padding: 25px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  margin: 30px 0;
  border: 2px solid var(--border-color);
}

.results-container .subtext {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin: 25px 0;
}

.question-counter {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-color);
  margin: 45px 0;
  text-transform: uppercase;
}

.video-container {
  width: 100%;
  margin: 0 auto;
  max-width: 440px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid #00ff28;
}

.video-container video {
  width: 100%;
  display: block;
}

.video-container .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95) url('./assets/play.png') no-repeat center center;
  background-size: 100%;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s;
}

.video-container .play-button:hover {
  transform: translate(-50%, -50%) scale(1.15);
}