/* --- ОБЩИЕ СТИЛИ --- */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  padding: 20px;
  box-sizing: border-box;
}

.video-container {
  min-height: 100vh;
  width: 26%;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

/* 1024–1279px */
@media (max-width: 1279px) {
  .video-container {
    width: 60% !important;
  }
  .quiz-container {
    width: 93% !important;
    max-width: 93% !important;
  }
}

/* 768–1023px */
@media (max-width: 1023px) {
  .video-container {
    width: 75% !important;
  }
  .quiz-container {
    width: 93% !important;
    max-width: 93% !important;
  }
}

/* 600–767px */
@media (max-width: 767px) {
  .video-container {
    width: 93% !important;
  }
  .quiz-container {
    width: 93% !important;
    max-width: 93% !important;
  }
}

/* <600px */
@media (max-width: 600px) {
  .video-container {
    width: 93% !important;
    padding: 15px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
  }

  .quiz-container {
    width: 93% !important;
    max-width: 93% !important;
    padding: 15px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

.hidden {
  display: none;
}

/* --- СТИЛИ ДЛЯ КВИЗА (index.html) --- */
.intro-box {
  background: #f0fdf4;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 2em;
}
.intro-box h2 {
  font-size: 1.4em;
  color: #0f172a;
}
.highlight-orange {
  color: #f97316;
}
.passive-tag {
  text-transform: uppercase;
  font-size: 0.8em;
}
.bonus-text strong {
  color: #10b981;
}
.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
}
.quiz-question {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 1em;
}
.answers::before {
  content: "Choose one to continue:";
  display: block;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0.5rem;
}
.answers label {
  display: block;
  background: #ffffff;
  padding: 0.8em;
  margin: 0.5em 0;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}
.answers label:hover {
  background: #e0f2fe;
}
#result-box {
  display: none;
  text-align: center;
}
.result-content h1 {
  color: #0f172a;
  font-size: 1.8em;
  font-weight: 700;
}
.result-content p {
  font-size: 1.1em;
}
.highlight-blue {
  color: #1d4ed8;
}
.form-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 400px;
  margin: 20px auto;
}
.input-filled {
  border: 1px solid #dbe0ea;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ВИДЕО (view/index.html) --- */
.video-section {
  margin-bottom: 25px;
}
.gift-box,
.guarantee-box {
  text-align: center;
  border: 1px dotted #ccc;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 5px;
}
.join-title {
  text-align: center;
  font-size: 1.8em;
  color: #470e0e;
  margin-bottom: 20px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}
.features-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}
.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* --- ОБЩИЕ ЭЛЕМЕНТЫ (Кнопки, футер) --- */
.cta-box {
  text-align: center;
  margin: 30px 0;
}
.cta-button,
.join-button {
  display: inline-block;
  background-color: #10b981;
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: 0;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  text-align: center;
  transition: background-color 0.3s;
}
.cta-button:hover,
.join-button:hover {
  background-color: #059669;
}
.footer {
  text-align: center;
  font-size: 0.85em;
  padding: 20px;
  color: #475569;
}
.footer a {
  color: #10b981;
  text-decoration: none;
}
