/* ---- DAILY CHALLENGE STYLES ---- */

.daily-eyebrow {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0;
}

.dc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1rem;
}

.dc-loading {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 1rem 0;
}

.dc-loading span {
  animation: blink 1.2s infinite;
  opacity: 0;
}
.dc-loading span:nth-child(2) { animation-delay: 0.2s; }
.dc-loading span:nth-child(3) { animation-delay: 0.4s; }

/* Hints row */
.dc-hints {
  display: flex;
  align-items: stretch;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.dc-hint {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  gap: 6px;
}

.dc-hint-sep {
  width: 1px;
  background: var(--border);
  margin: 12px 0;
}

.dc-hint-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.dc-hint-value {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
}

/* Letter boxes */
.dc-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dc-box {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-muted);
  background: var(--surface2);
  transition: all 0.15s ease;
}

.dc-box.dc-known {
  border-color: rgba(201,168,76,0.6);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.dc-box.dc-filled {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

/* Input row */
.dc-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

.dc-input {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 0 14px;
  height: 48px;
  outline: none;
  transition: border-color var(--transition);
  caret-color: var(--gold);
}

.dc-input::placeholder { color: var(--text-muted); }
.dc-input:focus { border-color: var(--gold); }

.dc-btn {
  height: 48px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.dc-btn:hover { background: var(--gold-light); }
.dc-btn:active { transform: scale(0.97); }
.dc-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Guess result messages */
.dc-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.dc-msg.wrong {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
}

.dc-msg.error {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  color: #e57373;
  text-align: center;
}

/* Guest notice */
.dc-guest {
  margin-top: 1rem;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Solved card */
.dc-solved-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
}

.dc-solved-trophy {
  font-size: 64px;
  margin-bottom: 0.5rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dc-solved-headline {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 3px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.dc-solved-word {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 6px;
  color: var(--white);
  background: var(--surface2);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.dc-solved-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Admin result box */
.admin-result {
  margin-top: 1rem;
  background: var(--surface2);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.admin-result .ar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.admin-result .ar-word {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 4px;
  color: var(--gold);
}

.admin-result .ar-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
