/* ─── Buy me a coffee card ─── */
.coffee-card {
  position: relative; overflow: hidden; text-align: center; padding: 28px 20px 18px;
  background: linear-gradient(160deg, #fff7e6 0%, #ffe3b3 100%); border: 1px solid #fcd9a0; color: #4a2c0a;
}
body.dark .coffee-card { background: linear-gradient(160deg, #2a1d10 0%, #3d2812 100%); border-color: #5a3b18; color: #fde8c8; }
.coffee-glow {
  position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, .45), transparent 70%); pointer-events: none;
}
.coffee-cup {
  position: relative; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%;
  background: #ffdd00; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 170, 0, .45); animation: coffee-float 3s ease-in-out infinite;
}
.coffee-cup > .ti { font-size: 36px; color: #3b1f06; }
.steam {
  position: absolute; top: -14px; width: 4px; height: 16px; border-radius: 4px;
  background: rgba(120, 80, 30, .35); opacity: 0; animation: coffee-steam 2.2s ease-in infinite;
}
.steam.s1 { left: 26px; } .steam.s2 { left: 36px; animation-delay: .5s; } .steam.s3 { left: 46px; animation-delay: 1s; }
@keyframes coffee-steam { 0% { transform: translateY(6px) scaleY(.6); opacity: 0; } 40% { opacity: .8; } 100% { transform: translateY(-12px) scaleY(1.2); opacity: 0; } }
@keyframes coffee-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(3deg); } }
.coffee-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.coffee-msg { font-size: 13px; opacity: .8; line-height: 1.45; margin-bottom: 16px; }
.coffee-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  background: #ffdd00; color: #1a1005; font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 4px 0 #d4b100, 0 8px 18px rgba(255, 170, 0, .35); transition: transform .15s, box-shadow .15s;
}
.coffee-btn i { color: #e11d48; }
.coffee-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #d4b100, 0 12px 22px rgba(255, 170, 0, .45); }
.coffee-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #d4b100; }
.coffee-hint { margin-top: 18px; padding-top: 12px; border-top: 1px dashed rgba(120, 80, 30, .3); font-size: 11.5px; opacity: .65; }

/* ─── Compact coffee card in the top summary row ─── */
.summary-card.coffee-mini {
  text-decoration: none; position: relative; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, #ffdd00, #ffb300); border-color: #f5b800; color: #2b1705;
  box-shadow: 0 4px 14px rgba(255, 170, 0, .35); transition: transform .15s, box-shadow .15s;
}
.summary-card.coffee-mini::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: coffee-shine 3.5s ease-in-out infinite;
}
@keyframes coffee-shine { 0%, 60% { left: -80%; } 100% { left: 140%; } }
.summary-card.coffee-mini:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 170, 0, .5); }
.coffee-mini-icon { background: #2b1705; color: #ffdd00; animation: coffee-float 3s ease-in-out infinite; }
.coffee-mini-title { font-weight: 700; line-height: 1.2; }
.coffee-mini-sub { font-weight: 500; margin-top: 3px; opacity: .8; }
.coffee-mini-sub i { color: #e11d48; }
