/* ==========================================================================
   CODEXSEC LABS - TACTICAL REWARDS & INVENTORY VAULT (rewards.css)
   Mystery Crates • Digital Vouchers • Range Tickets • Cryo Boosters
   Full 4-Theme Support: Clean Light, Cyber Dark, Deep Nebula, Bloodhound Crimson
   ========================================================================== */

/* 1. Vault Hero & Stage Atmosphere */
.rewards-stage {
  position: relative;
  padding-bottom: 5rem;
  min-height: 80vh;
}

.rewards-stage::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(163, 230, 53, 0.12) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

[data-theme="light"] .rewards-stage::before {
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.08) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 70%);
}

/* 2. Daily Cipher Drop Banner */
.daily-drop-banner {
  background: linear-gradient(135deg, rgba(13, 19, 33, 0.9) 0%, rgba(20, 29, 51, 0.85) 100%);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: 1rem;
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .daily-drop-banner {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
}

.daily-drop-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--lime);
}

.daily-drop-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.daily-drop-icon-pod {
  width: 52px;
  height: 52px;
  border-radius: 0.85rem;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--lime);
}

[data-theme="light"] .daily-drop-icon-pod {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}

.daily-drop-icon-pod svg {
  width: 26px;
  height: 26px;
  animation: pulseRotate 6s infinite ease-in-out;
}

@keyframes pulseRotate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(6deg); }
}

.daily-drop-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.2rem;
}

[data-theme="light"] .daily-drop-text h4 {
  color: #0f172a !important;
}

.daily-drop-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.daily-drop-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.daily-timer-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-mono);
}

.daily-timer-val {
  font-size: 1rem;
  font-weight: 800;
  color: #fbbf24;
}

.daily-timer-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* 3. Section Headers & Filters */
.rewards-filter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.rewards-tabs-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.reward-tab-btn {
  background: rgba(13, 19, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

[data-theme="light"] .reward-tab-btn {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}

.reward-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .reward-tab-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.reward-tab-btn.active {
  background: rgba(163, 230, 53, 0.15);
  border-color: var(--lime);
  color: var(--lime);
}

[data-theme="light"] .reward-tab-btn.active {
  background: #f0fdf4 !important;
  border-color: #4ade80 !important;
  color: #15803d !important;
}

.reward-tab-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .reward-tab-count {
  background: #e2e8f0 !important;
  color: #475569 !important;
}

.rewards-search-box {
  position: relative;
  min-width: 260px;
}

.rewards-search-input {
  width: 100%;
  background: rgba(13, 19, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.42rem 1rem 0.42rem 2.2rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  outline: none;
  transition: border-color 0.2s ease;
}

[data-theme="light"] .rewards-search-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.rewards-search-input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
}

.rewards-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  pointer-events: none;
}

/* 4. Section Grid Containers */
.vault-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.2rem 0 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.65rem;
}

[data-theme="light"] .vault-section-title-row {
  border-bottom-color: #e2e8f0 !important;
}

.vault-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

[data-theme="light"] .vault-section-title {
  color: #0f172a !important;
}

.vault-section-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--lime);
}

.vault-section-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* 5. MYSTERY CRATES GRID */
.crates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.crate-card {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, rgba(13, 19, 33, 0.95) 75%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .crate-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
}

.crate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .crate-card:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12) !important;
}

/* Crate Rarity Variants */
.crate-card.rarity-mythic {
  border-color: #ef4444;
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.2);
}
.crate-card.rarity-legendary {
  border-color: #f59e0b;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.2);
}
.crate-card.rarity-epic {
  border-color: #a855f7;
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.2);
}

.crate-rarity-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-mythic {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.pill-legendary {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.pill-epic {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.crate-visual-stage {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1rem;
}

.crate-3d-box {
  width: 84px;
  height: 84px;
  position: relative;
  transform: perspective(600px) rotateX(15deg) rotateY(-20deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  animation: floatBox 4s ease-in-out infinite;
}

.crate-card:hover .crate-3d-box {
  transform: perspective(600px) rotateX(20deg) rotateY(35deg) scale(1.1);
}

@keyframes floatBox {
  0%, 100% { transform: perspective(600px) rotateX(15deg) rotateY(-20deg) translateY(0); }
  50% { transform: perspective(600px) rotateX(18deg) rotateY(-10deg) translateY(-8px); }
}

.crate-cube-side {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1.5px solid;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.15);
}

.rarity-mythic .crate-cube-side {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(153, 27, 27, 0.7));
  border-color: #ef4444;
  color: #fee2e2;
}

.rarity-legendary .crate-cube-side {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(180, 83, 9, 0.7));
  border-color: #f59e0b;
  color: #fef3c7;
}

.rarity-epic .crate-cube-side {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(107, 33, 168, 0.7));
  border-color: #a855f7;
  color: #f3e8ff;
}

.crate-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.35rem;
}

[data-theme="light"] .crate-content h3 {
  color: #0f172a !important;
}

.crate-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 0.95rem;
}

[data-theme="light"] .crate-content p {
  color: #475569 !important;
}

.crate-odds-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.crate-odds-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

[data-theme="light"] .crate-odds-tag {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

/* 6. VOUCHERS & COUPONS CARDS */
.vouchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.voucher-card {
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

[data-theme="light"] .voucher-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
}

.voucher-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--lime-glow);
}

.voucher-left {
  flex: 1;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.voucher-type-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.voucher-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}

[data-theme="light"] .voucher-title {
  color: #0f172a !important;
}

.voucher-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 0.85rem;
}

.voucher-code-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  width: fit-content;
}

[data-theme="light"] .voucher-code-strip {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

.voucher-code-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--lime);
}

[data-theme="light"] .voucher-code-val {
  color: #15803d !important;
}

.btn-copy-code {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.1rem;
  transition: color 0.2s;
}

.btn-copy-code:hover {
  color: var(--lime);
}

.voucher-right {
  width: 110px;
  background: rgba(13, 19, 33, 0.8);
  border-left: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  text-align: center;
}

[data-theme="light"] .voucher-right {
  background: #f8fafc !important;
  border-left-color: #e2e8f0 !important;
}

.voucher-discount-num {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  color: #fbbf24;
  margin-bottom: 0.2rem;
}

.voucher-discount-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.voucher-expiry-chip {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  margin-top: 0.65rem;
}

[data-theme="light"] .voucher-expiry-chip {
  background: #e2e8f0 !important;
  color: #475569 !important;
}

/* 7. VIP RANGE BOARDING PASS TICKETS */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ticket-card {
  background: linear-gradient(135deg, #0b1528 0%, #080d1a 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 1.15rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

[data-theme="light"] .ticket-card {
  background: #ffffff !important;
  border: 1px solid #7dd3fc !important;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.08) !important;
}

.ticket-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 15px 40px rgba(2, 132, 199, 0.25);
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ticket-id-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.08em;
}

.ticket-status-stamp {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  text-transform: uppercase;
}

.ticket-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0.75rem;
}

[data-theme="light"] .ticket-route {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

.ticket-station h4 {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
  color: var(--text-primary);
}

[data-theme="light"] .ticket-station h4 {
  color: #0f172a !important;
}

.ticket-station span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.ticket-plane-arrow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #38bdf8;
}

.ticket-plane-arrow svg {
  width: 20px;
  height: 20px;
}

.ticket-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
}

.ticket-meta-item span {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.ticket-meta-item strong {
  color: var(--text-primary);
}

[data-theme="light"] .ticket-meta-item strong {
  color: #0f172a !important;
}

/* 8. PROMO CODE REDEEM BAR */
.promo-redeem-console {
  background: #070c18;
  border: 1px solid rgba(163, 230, 53, 0.25);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.5rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  flex-wrap: wrap;
}

[data-theme="light"] .promo-redeem-console {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

.promo-redeem-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.35rem;
}

[data-theme="light"] .promo-redeem-info h3 {
  color: #0f172a !important;
}

.promo-redeem-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
}

[data-theme="light"] .promo-redeem-info p {
  color: #475569 !important;
}

.promo-input-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  max-width: 480px;
}

.promo-input {
  flex: 1;
  background: rgba(13, 19, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  outline: none;
  transition: all 0.2s;
}

[data-theme="light"] .promo-input {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.promo-input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 14px var(--lime-glow);
}

.quick-codes-hints {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  align-items: center;
  flex-wrap: wrap;
}

.quick-code-pill {
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  color: var(--lime);
}

[data-theme="light"] .quick-code-pill {
  background: #f1f5f9 !important;
  color: #15803d !important;
}

.quick-code-pill:hover {
  text-decoration: underline;
}

/* 9. UNBOXING CINEMATIC MODAL */
.unbox-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.88);
  backdrop-filter: blur(18px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.unbox-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.unbox-modal-dialog {
  width: 100%;
  max-width: 580px;
  background: radial-gradient(circle at 50% 0%, rgba(163, 230, 53, 0.12) 0%, rgba(9, 14, 26, 0.98) 75%);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: 1.75rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(163, 230, 53, 0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .unbox-modal-dialog {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

.unbox-modal-backdrop.open .unbox-modal-dialog {
  transform: scale(1) translateY(0);
}

.unbox-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 50%;
  display: flex;
  transition: color 0.2s;
}

.unbox-close-btn:hover {
  color: var(--lime);
}

.unbox-stage-visual {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1.5rem;
}

.unbox-spinning-crate {
  width: 110px;
  height: 110px;
  animation: crateUnboxSpin 2s infinite ease-in-out;
}

@keyframes crateUnboxSpin {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(15deg); }
  50% { transform: scale(0.95) rotate(-15deg); }
  75% { transform: scale(1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.unbox-revealed-spoils {
  display: none;
  animation: popReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popReveal {
  0% { opacity: 0; transform: scale(0.6) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.revealed-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.revealed-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 0.35rem;
  color: var(--text-primary);
}

[data-theme="light"] .revealed-title {
  color: #0f172a !important;
}

.revealed-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 440px;
  margin: 0 auto 1.5rem;
}

[data-theme="light"] .revealed-desc {
  color: #475569 !important;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .daily-drop-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .daily-drop-action {
    width: 100%;
    justify-content: space-between;
  }
  .promo-redeem-console {
    flex-direction: column;
    align-items: flex-start;
  }
  .promo-input-group {
    width: 100%;
  }
}
