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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #7f0000 0%, #b71c1c 50%, #d32f2f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

.screen {
  display: none;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.screen.active {
  display: block;
}

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

/* Logo */
.llt-logo {
  width: 180px;
  margin: 0 auto 16px;
  display: block;
}

h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

h2 {
  font-size: 22px;
  margin-bottom: 24px;
  line-height: 1.3;
}

.subtitle {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* Buttons */
.btn-primary {
  background: #fff;
  color: #b71c1c;
  border: none;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: #f5f5f5;
  transform: scale(1.05);
}

.btn-primary:disabled {
  background: #888;
  color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #ffd600;
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 20%;
}

.question-counter {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 24px;
}

/* Options */
.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.option {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
}

.option:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.option input[type="radio"] {
  display: none;
}

.option input[type="radio"]:checked + span {
  font-weight: 700;
}

.option:has(input:checked) {
  background: rgba(255, 214, 0, 0.25);
  border-color: #ffd600;
}

.option span {
  flex: 1;
  text-align: left;
}

/* Free text input */
.text-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-family: inherit;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  resize: vertical;
  margin-bottom: 32px;
  outline: none;
  transition: border-color 0.2s;
}

.text-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.text-input:focus {
  border-color: rgba(255,255,255,0.5);
}

/* Nav buttons */
.nav-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Wheel */
.wheel-wrapper {
  position: relative;
  display: inline-block;
  margin: 24px auto;
}

.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  color: #ffd600;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

canvas {
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 214, 0, 0.3), 0 0 60px rgba(0,0,0,0.3);
}

.btn-spin {
  margin-top: 20px;
  font-size: 22px;
  padding: 18px 60px;
}

/* Result */
#result-content {
  margin-bottom: 32px;
}

.result-icon {
  font-size: 80px;
  margin-bottom: 16px;
}

.result-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.result-message {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Contest form */
.contest-input {
  display: block;
  margin-bottom: 12px;
}

.contest-input + .contest-input {
  margin-top: 0;
}

textarea.contest-input {
  margin-bottom: 8px;
}

.disclaimer {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.45;
  margin: 4px 4px 20px;
  text-align: left;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 4px 16px;
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #ffd600;
  cursor: pointer;
}

.consent-row a {
  color: #ffd600;
  font-weight: 600;
}

.form-error {
  display: none;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 214, 0, 0.5);
  color: #ffd600;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: left;
}

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

.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  top: 0;
  animation: confetti-fall 3s ease-in forwards;
  z-index: 1000;
}
