/* ===== Collector's Eye (collectors-eye.html) ===== */

.ce-hero { padding: 56px 0 40px; }
.ce-main { max-width: 720px; }

/* Game card */
.ce-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  min-height: 280px;
}
.ce-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.ce-puzzle-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ce-progress {
  font-size: 12px;
  color: var(--muted);
}
.ce-noscript { color: var(--muted); }

/* Sprite image for casting-ID questions (Sweet16Cars.png, 4x4 grid) */
.ce-sprite {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 264.75 / 118;
  margin: 0 auto 16px;
  border-radius: 10px;
  background-image: url(../RedlineImages/Sweet16Cars.png);
  background-size: 400% 400%;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
}

.ce-question {
  font-size: 18px;
  font-weight: 700;
  color: #e6eef6;
  line-height: 1.45;
  margin: 0 0 18px;
}

/* Options */
.ce-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ce-option {
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #e6eef6;
  font-size: 15px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ce-option:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(225,29,72,0.08);
}
.ce-option:disabled { cursor: default; opacity: .75; }
.ce-option.ce-correct {
  background: rgba(34,197,94,0.15);
  border-color: #22c55e;
  color: #fff;
  opacity: 1;
}
.ce-option.ce-wrong {
  background: rgba(225,29,72,0.15);
  border-color: var(--accent);
  color: #fff;
  opacity: 1;
}

/* Per-question feedback */
.ce-explain {
  margin-top: 16px;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
}
.ce-explain p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}
.ce-explain strong { color: #e6eef6; }
.ce-explain a { color: var(--accent); }
.ce-explain-good { background: rgba(34,197,94,0.07); border: 1px solid rgba(34,197,94,0.25); }
.ce-explain-bad { background: rgba(225,29,72,0.07); border: 1px solid rgba(225,29,72,0.25); }
.ce-next {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  transition: opacity .15s;
}
.ce-next:hover { opacity: .85; }

/* Results */
.ce-score {
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  text-align: center;
  line-height: 1;
  margin: 12px 0 6px;
}
.ce-score span { font-size: 28px; color: var(--muted); font-weight: 700; }
.ce-squares {
  text-align: center;
  font-size: 26px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.ce-verdict {
  text-align: center;
  font-size: 16px;
  color: #e6eef6;
  font-weight: 600;
  margin: 0 0 18px;
}
.ce-share {
  display: block;
  margin: 0 auto 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  cursor: pointer;
  transition: opacity .15s;
}
.ce-share:hover { opacity: .85; }
.ce-result-links p {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 10px;
}
.ce-result-links a { color: var(--accent); font-weight: 600; }
.ce-countdown {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 8px 0 0;
}

/* Stats row */
.ce-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.ce-stat {
  flex: 1;
  max-width: 160px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ce-stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.ce-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
}

/* About box */
.ce-about {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.ce-about h3 { margin: 0 0 10px; font-size: 15px; color: #e6eef6; }
.ce-about p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }
.ce-about a { color: var(--accent); }

@media (max-width: 600px) {
  .ce-card { padding: 18px; }
  .ce-score { font-size: 44px; }
}
