:root {
  --bg: #f0f4f8;        /* Πολύ απαλό γκρι-μπλε υπόβαθρο */
  --panel: #ffffff;      /* Καθαρό λευκό για τα πάνελ */
  --panel-2: #f7fafc;    /* Ελαφρώς πιο σκούρο για διαφοροποίηση */
  --border: #e2e8f0;     /* Διακριτικό γκρι περίγραμμα */
  --text: #1a202c;       /* Σκούρο γκρι-μπλε για κείμενο */
  --text-dim: #4a5568;   /* Μεσαίο γκρι για δευτερεύοντα */
  --accent: #3182ce;     /* Φωτεινό μπλε */
  --accent-2: #ed8936;   /* Ζεστό πορτοκαλί */
  --green: #38a169;      /* Πράσινο */
  --red: #e53e3e;        /* Κόκκινο */
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);  /* ΑΦΑΙΡΕΣΑΜΕ ΤΟ ΣΚΟΥΡΟ GRADIENT */
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.site-header {
  text-align: center;
  margin-bottom: 28px;
}

.site-header h1 {
  font-size: 2.2rem;
  margin: 0 0 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.95rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--text);
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 500;
}

textarea, select, input[type="text"] {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s;
}

textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.model-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

@media (max-width: 560px) {
  .model-select { grid-template-columns: 1fr; }
  .answers-grid { grid-template-columns: 1fr !important; }
}

.btn-primary, .btn-secondary {
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  margin-right: 10px;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
}

.btn-primary:hover { 
  opacity: 0.85;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
}

.btn-secondary {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #edf2f7;
}

.alert {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.prompt-echo {
  color: var(--text-dim);
  font-style: italic;
  padding: 8px 12px;
  background: var(--panel-2);
  border-radius: 8px;
}

.answers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.answer-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.answer-card h3 {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.score {
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(49, 130, 206, 0.1);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.answer-text {
  font-size: 0.92rem;
  color: var(--text);
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.bars { margin-top: 12px; }

.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 30px;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.bar-label { 
  color: var(--text-dim);
  font-weight: 500;
}

.bar-track {
  background: var(--panel-2);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
}

.bar-fill {
  background: linear-gradient(90deg, var(--accent), var(--green));
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
}

.bar-value { 
  text-align: right; 
  color: var(--text-dim);
  font-weight: 500;
}

.verdict-card p { 
  margin-top: 0;
  font-size: 1.05rem;
}

.reveal-card .badge {
  display: inline-block;
  background: rgba(49, 130, 206, 0.1);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.winner-line {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
}

table.leaderboard {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.leaderboard th, table.leaderboard td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

table.leaderboard th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.leaderboard tr:hover {
  background: var(--panel-2);
}

.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.history-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.history-list li:last-child {
  border-bottom: none;
}

.history-date {
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.site-footer code {
  background: var(--panel-2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}