.roast-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.roast-card {
  background: var(--surface);
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

/* Level pills */
.roast-level-row {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--border);
}

.level-pills {
  display: flex;
  gap: 8px;
  margin-top: 0.6rem;
}

.level-pill {
  flex: 1;
  background: var(--surface2);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px;
  transition: all 0.2s;
  text-align: center;
}

.level-pill:hover { border-color: var(--border-hover); color: var(--white); }
.level-pill.active {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}

/* Example cars */
.example-cars { margin-bottom: 1.25rem; }

.example-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.6rem;
}

.example-row button {
  background: var(--surface2);
  border: 0.5px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  transition: all 0.2s;
}

.example-row button:hover {
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
  background: rgba(239,68,68,0.06);
}

/* Roast button */
#roast-btn {
  width: 100%;
  background: #E8FF47;
  border: none;
  border-radius: var(--radius-sm);
  color: #000;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  transition: opacity 0.2s, transform 0.2s;
  margin-bottom: 0.75rem;
}

#roast-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

#roast-btn:disabled {
  background: var(--surface3);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  opacity: 1;
}

/* Roast result */
.roast-result-card {
  background: rgba(239,68,68,0.06);
  border: 0.5px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  animation: fadeUp 0.4s ease;
  margin-bottom: 1rem;
}

.roast-car-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #ef4444;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-align: center;
}

.roast-line {
  font-size: 15px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(239,68,68,0.3);
  text-align: left;
}

.roast-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.25rem 0;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 0.5px solid var(--border);
  justify-content: center;
}

.roast-rating-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.roast-rating-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #ef4444;
  letter-spacing: 1px;
}

.roast-rating-bar {
  flex: 1;
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
}

.roast-rating-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 3px;
  transition: width 1s ease;
}

.roast-compliment {
  background: var(--green-bg);
  border: 0.5px solid var(--green-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--green);
  line-height: 1.6;
}

.share-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-dim), rgba(232, 255, 71, 0.08));
  border: 1px solid rgba(232, 255, 71, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  margin-bottom: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(232, 255, 71, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.share-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.share-btn:hover {
  background: linear-gradient(135deg, rgba(232, 255, 71, 0.18), rgba(232, 255, 71, 0.12));
  border-color: rgba(232, 255, 71, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 255, 71, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.share-btn:hover::before {
  opacity: 1;
}

.share-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232, 255, 71, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.reset-btn {
  width: 100%;
  background: transparent;
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 13px;
  transition: all 0.2s;
}

.reset-btn:hover {
  border-color: rgba(239,68,68,0.4);
  color: #ef4444;
}

.copied-msg {
  text-align: center;
  font-size: 12px;
  color: var(--green);
  margin-top: 6px;
  display: none;
}

@media (max-width: 480px) {
  .header-nav { display: none; }
  .level-pills { flex-direction: column; }
}


.roast-line-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.roast-line-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: rgba(249,115,22,0.3);
  flex-shrink: 0;
  line-height: 1.4;
}

.roast-line {
  font-size: 14px;
  color: #ddd;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .roast-score-big { font-size: 64px; }
  .roast-lines { gap: 0.5rem; }
  .roast-line { padding: 1rem; font-size: 14px; }
  .roast-car-name { font-size: 18px; }
}