/* AUREA Daily Bingo — page styles (patch #95 frontend).
   Shell/hero/account styles come from styles.css + rewards.css;
   this file carries only the bingo board, stamps and celebration. */

.bingo-hero-img { max-width: 420px; margin-left: auto; margin-right: auto; }

.bingo-date { color: var(--gold, #FFD700); font-size: .55em; vertical-align: middle; }

/* --- stat cards (big-number pattern) ------------------------------- */
.bingo-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 18px 0 20px;
}
.bingo-stat {
  background: var(--surface, #101736);
  border: 1px solid rgba(255, 215, 0, .45); border-radius: 14px;
  box-shadow: 0 0 14px rgba(138, 43, 226, .18), inset 0 0 12px rgba(255, 215, 0, .05);
  padding: 14px 16px; text-align: center;
}
.bingo-stat .k { color: var(--muted, #A7ACC2); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.bingo-stat .v { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.15; }
.bingo-stat .v small { color: var(--muted, #A7ACC2); font-size: 14px; font-weight: 600; }

/* --- board ---------------------------------------------------------- */
.bingo-board-wrap { max-width: 520px; margin: 0 auto; }
.bingo-board {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.bingo-cell {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  min-height: 108px; padding: 12px 8px; text-align: center;
  background: linear-gradient(160deg, #131C42, #0D1330);
  border: 1px solid #39415F; border-radius: 14px;
  color: var(--text, #E8EAF6); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.bingo-cell:hover, .bingo-cell:focus-visible {
  border-color: rgba(255, 215, 0, .8); transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(255, 215, 0, .25), 0 0 10px rgba(138, 43, 226, .25);
}
.bingo-cell-label { font-size: 14px; font-weight: 700; line-height: 1.35; }
.bingo-cell-go { color: var(--gold, #FFD700); font-size: 18px; font-weight: 800; line-height: 1; }
.bingo-cell.done {
  border-color: rgba(255, 215, 0, .65); cursor: default;
  background: linear-gradient(160deg, #1B2450, #121A3E);
}
.bingo-cell.done:hover { transform: none; }
.bingo-cell.in-line {
  border-color: #FFD700;
  box-shadow: 0 0 18px rgba(255, 215, 0, .45), 0 0 12px rgba(138, 43, 226, .35);
  animation: bingoLinePulse 1.6s ease-in-out infinite;
}
@keyframes bingoLinePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 215, 0, .35), 0 0 8px rgba(138, 43, 226, .25); }
  50% { box-shadow: 0 0 24px rgba(255, 215, 0, .6), 0 0 16px rgba(138, 43, 226, .45); }
}
.bingo-cell.free {
  background: linear-gradient(160deg, #2A1E5C, #1B2450);
  border-color: rgba(168, 85, 247, .7);
}
.bingo-cell.free img.free-emblem { width: 40px; height: 40px; }
.bingo-cell .free-tag {
  color: #FFD700; font-size: 11px; font-weight: 800; letter-spacing: .14em;
}

/* --- stamp (official chick character) ------------------------------- */
.bingo-stamp {
  position: absolute; right: 6px; bottom: 6px; width: 44px; height: 44px;
  border-radius: 50%; border: 2px solid #FFD700; background: #0A0F1E;
  box-shadow: 0 0 10px rgba(255, 215, 0, .5);
  transform: rotate(-12deg); pointer-events: none;
}
.bingo-stamp img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.bingo-stamp.pop { animation: bingoStamp .45s cubic-bezier(.2, 2.2, .4, 1) both; }
@keyframes bingoStamp {
  0% { transform: rotate(-12deg) scale(2.4); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: rotate(-12deg) scale(1); opacity: 1; }
}

/* --- hint / week progress / claim ----------------------------------- */
.bingo-hint {
  text-align: center; margin: 16px 0 4px; min-height: 1.4em;
  color: #FFD700; font-weight: 800; font-size: 17px;
}
.bingo-weekbar {
  height: 10px; border-radius: 999px; margin-top: 10px;
  background: #1A2148; border: 1px solid #39415F; overflow: hidden;
}
.bingo-weekfill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #8A2BE2, #FFD700);
  transition: width .6s ease;
}
.bingo-weeknote { text-align: center; color: var(--muted, #A7ACC2); font-size: 13px; margin-top: 8px; min-height: 1.2em; }
.bingo-claim { display: block; margin: 16px auto 0; }
.bingo-claimed { text-align: center; color: var(--muted, #A7ACC2); margin-top: 14px; }

/* --- rewards card ----------------------------------------------------- */
.bingo-rewards { margin-top: 26px; }
.bingo-rwlist { list-style: none; margin: 10px 0 0; padding: 0; }
.bingo-rwlist li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 2px; border-bottom: 1px solid rgba(57, 65, 95, .5);
}
.bingo-rwlist li:last-child { border-bottom: none; }
.bingo-rwlist li span:first-child { flex: 1; }
.bingo-rwlist strong { color: #FFD700; white-space: nowrap; }
.bingo-rwstate { color: #7EE2A0; font-size: 12px; font-weight: 700; white-space: nowrap; }
.bingo-rwstate.pending { color: var(--muted, #A7ACC2); }

.bingo-how { margin: 6px 0 0 20px; padding: 0; }
.bingo-how li { margin: 8px 0; line-height: 1.55; }

/* --- celebration cut-in ---------------------------------------------- */
.bingo-celeb {
  position: fixed; inset: 0; z-index: 1200; display: none;
  align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  background: rgba(6, 8, 20, .72); text-align: center; padding: 20px;
}
.bingo-celeb.on { display: flex; animation: bingoCelebIn .3s ease both; }
.bingo-celeb img { width: 132px; height: 132px; animation: bingoCelebBounce .8s ease infinite alternate; }
.bingo-celeb .ttl {
  color: #FFD700; font-size: 34px; font-weight: 900; letter-spacing: .06em;
  text-shadow: 0 0 22px rgba(255, 215, 0, .65), 0 0 12px rgba(138, 43, 226, .6);
}
.bingo-celeb .sub { color: #fff; font-size: 16px; font-weight: 700; }
@keyframes bingoCelebIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bingoCelebBounce { from { transform: translateY(0) scale(1); } to { transform: translateY(-10px) scale(1.05); } }

@media (max-width: 560px) {
  .bingo-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bingo-stat .v { font-size: 23px; }
  .bingo-cell { min-height: 96px; padding: 10px 6px; }
  .bingo-cell-label { font-size: 12.5px; }
  .bingo-stamp { width: 36px; height: 36px; }
}
