/* ===== GRA DZIENNA ===== */
#page-daily::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(46,204,113,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(245,200,66,0.1) 0%, transparent 60%);
}
.daily-day-badge {
  display: inline-block;
  background: rgba(46,204,113,0.15);
  border: 1px solid rgba(46,204,113,0.5);
  border-radius: 20px;
  padding: 5px 20px;
  font-size: 11px;
  letter-spacing: 4px;
  color: #2ecc71;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.daily-question-card {
  background: linear-gradient(145deg, rgba(26,46,32,0.9), rgba(15,30,20,0.95));
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: 20px;
  padding: 32px 24px 28px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.daily-question-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 4px;
  color: rgba(240,244,239,0.5);
  margin-bottom: 14px;
}
.daily-question-text {
  font-size: clamp(19px,4vw,26px);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 36px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.daily-tf-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.daily-tf-btn {
  width: 100%;
  padding: 28px 0;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 4px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.daily-tf-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
#daily-btn-true:hover:not(:disabled) {
  border-color: #2ecc71;
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
}
#daily-btn-false:hover:not(:disabled) {
  border-color: #e74c3c;
  background: rgba(231,76,60,0.15);
  color: #e74c3c;
}
.daily-tf-btn.correct { border-color: #2ecc71; background: rgba(46,204,113,0.25); color: #2ecc71; box-shadow: 0 0 20px rgba(46,204,113,0.3); }
.daily-tf-btn.wrong   { border-color: #e74c3c; background: rgba(231,76,60,0.2);  color: #e74c3c; }
.daily-tf-btn.reveal  { border-color: rgba(46,204,113,0.5); background: rgba(46,204,113,0.1); color: #2ecc71; }
.daily-tf-btn:disabled { cursor: default; transform: none; }
.daily-tf-btn .ripple { background: rgba(255,255,255,0.2); }
.daily-tf-btn-icon { display: block; font-size: 28px; margin-bottom: 4px; }
.daily-progress {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}
.daily-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: all 0.3s;
}
.daily-dot.done-correct { background: #2ecc71; box-shadow: 0 0 8px rgba(46,204,113,0.6); }
.daily-dot.done-wrong   { background: #e74c3c; }
.daily-dot.current      { background: var(--gold); box-shadow: 0 0 8px rgba(245,200,66,0.6); transform: scale(1.3); }
.daily-feedback {
  min-height: 22px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-top: 18px;
  font-family: 'Bebas Neue', sans-serif;
}
.daily-feedback.correct { color: #2ecc71; }
.daily-feedback.wrong   { color: #e74c3c; }
.daily-explanation {
  font-size: 13px;
  color: rgba(240,244,239,0.55);
  margin-top: 10px;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
}
.daily-locked {
  text-align: center;
  padding: 50px 20px;
}
.daily-locked-icon { font-size: 56px; margin-bottom: 16px; }
.daily-locked-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Kafelek na stronie głównej */
.daily-home-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(26,122,58,0.1);
  border: 2px solid rgba(26,122,58,0.4);
  border-radius: 16px;
  padding: 18px 24px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 16px;
  width: 100%;
  max-width: 640px;
  box-sizing: border-box;
}
.daily-home-card:hover {
  background: rgba(26,122,58,0.2);
  border-color: #2ecc71;
}
.daily-home-card.completed {
  background: rgba(46,204,113,0.08);
  border-color: rgba(46,204,113,0.5);
}

/* Timer odliczania — duży (obok strzałki) */
.daily-countdown-big {
  display: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 4vw, 30px);
  letter-spacing: 3px;
  color: rgba(46,204,113,0.6);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Timer odliczania — mały (pod opisem) */
.daily-countdown-small {
  display: none;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(46,204,113,0.7);
  margin-top: 2px;
  font-family: 'Barlow Condensed', sans-serif;
}

/* Mobile: chowaj duży timer, pokaż mały w body */
@media (max-width: 480px) {
  .daily-countdown-big { display: none !important; }
  .daily-home-card { padding: 14px 16px; gap: 12px; }
}
/* Desktop: chowaj mały timer, pokaż duży */
@media (min-width: 481px) {
  .daily-countdown-small { display: none !important; }
}
.daily-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
}

/* ===== GIERKA DNIA — PRZEJŚCIE ===== */
@keyframes dailyFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}
@keyframes dailyFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.daily-fade-out {
  animation: dailyFadeOut 0.4s ease forwards;
  pointer-events: none;
}
.daily-fade-in {
  animation: dailyFadeIn 0.4s ease forwards;
}
/* ===== DAILY LOCKED VIEW ===== */
.daily-locked-view { display: none; width: 100%; }
.daily-stats-header { text-align: center; margin-bottom: 20px; }
.daily-stats-badge { display: inline-block; background: rgba(46,204,113,0.15); border: 1px solid rgba(46,204,113,0.4); border-radius: 20px; padding: 5px 20px; font-size: 11px; letter-spacing: 4px; color: #2ecc71; margin-bottom: 10px; }
.daily-counters { display: flex; gap: 12px; margin-bottom: 20px; width: 100%; }
.daily-counter-box { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px; text-align: center; }
.daily-counter-value { font-family: 'Bebas Neue', sans-serif; font-size: 42px; color: var(--white); line-height: 1; }
.daily-counter-value--gold { color: var(--gold); }
.daily-counter-value--dim { color: rgba(240,244,239,0.7); }
.daily-counter-label { font-size: 10px; letter-spacing: 3px; color: rgba(240,244,239,0.4); margin-top: 4px; }
.daily-section-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 16px 14px; margin-bottom: 16px; }
.daily-section-title { font-size: 13px; letter-spacing: 3px; color: rgba(240,244,239,0.35); text-align: center; margin-bottom: 12px; }
.daily-history-chart { display: flex; align-items: flex-end; gap: 6px; height: 100px; border-bottom: 1px solid rgba(255,255,255,0.1); }

