@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body{
  padding: 5%;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url("img/bg.png");
  background-size: cover;
  background-position: center;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Montserrat', sans-serif; }

#oqf-quiz {
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  min-height: 480px;
}

.oqf-header {
  background: #e52322;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oqf-logo {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.oqf-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.oqf-progress-bar {
  width: 160px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.oqf-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.oqf-progress-label {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

.oqf-body {
  padding: 28px 28px 24px;
}

.oqf-question-num {
  font-size: 11px;
  font-weight: 700;
  color: #e52322;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.oqf-question-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 24px;
}

.oqf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oqf-option {
  background: #111;
  border: 1.5px solid #333;
  border-radius: 8px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #ccc;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  text-align: left;
  line-height: 1.4;
}

.oqf-option:hover {
  border-color: #e52322;
  color: #fff;
  background: #1a0000;
}

.oqf-option.selected {
  border-color: #e52322;
  background: #e52322;
  color: #fff;
}

.oqf-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.oqf-btn {
  background: #e52322;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.1s;
}

.oqf-btn:hover { background: #bc120d; }
.oqf-btn:active { transform: scale(0.97); }
.oqf-btn:disabled { background: #444; cursor: not-allowed; }

.oqf-lead {
  padding: 28px;
  display: none;
  flex-direction: column;
  gap: 14px;
}

.oqf-lead-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.oqf-lead-sub {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 10px;
  line-height: 1.5;
}

.oqf-input {
  background: #111;
  border: 1.5px solid #333;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.oqf-input:focus {
  outline: none;
  border-color: #e52322;
}

.oqf-lead-error {
  font-size: 12px;
  color: #ff6b6b;
  font-weight: 600;
  display: none;
}

.oqf-result {
  padding: 28px;
  display: none;
  flex-direction: column;
  gap: 0;
}

.oqf-result-tag {
  font-size: 11px;
  font-weight: 700;
  color: #e52322;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.oqf-result-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.oqf-result-sub {
  font-size: 13px;
  font-weight: 600;
  color: #e52322;
  margin-bottom: 16px;
}

.oqf-result-desc {
  font-size: 14px;
  color: #bbb;
  line-height: 1.65;
  margin-bottom: 20px;
}

.oqf-result-loss {
  background: #111;
  border-left: 3px solid #e52322;
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.oqf-result-cta {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  font-weight: 600;
}

.oqf-result-btn {
  background: #e52322;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  align-self: flex-start;
}

.oqf-result-btn:hover { background: #bc120d; }

.oqf-score-bar-wrap {
  margin-bottom: 20px;
}

.oqf-result-video-title {
  font-weight: 600;
  font-size: 12px;  
  color: grey;
}

.oqf-result-video {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.oqf-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.oqf-score-label {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  width: 10%;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.oqf-score-track {
  flex: 1;
  height: 6px;
  background: #222;
  border-radius: 3px;
  overflow: hidden;
}

.oqf-score-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s ease;
}

.oqf-score-num {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  width: 24px;
  text-align: right;
}

@media (max-width: 768px) {
    .oqf-score-label {
        width: 30%;
    }
}