@keyframes scFloatIn {
  0%   { transform: translateY(28px) scale(0.94); opacity: 0; }
  60%  { transform: translateY(-3px) scale(1.01); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes scSteam {
  0%   { transform: translateY(0) scaleX(1);   opacity: 0; }
  20%  { opacity: 0.55; }
  100% { transform: translateY(-11px) scaleX(1.4); opacity: 0; }
}
@keyframes scSheen {
  0%   { transform: translateX(-120%) rotate(8deg); }
  100% { transform: translateX(220%) rotate(8deg); }
}

.sarvarc-coffee-wrap {
  position: fixed;
  right: 22px;
  bottom: 100px;
  z-index: 10000;
  width: 302px;
  max-width: calc(100vw - 32px);
  padding: 1px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(0,194,255,0.65), rgba(0,115,230,0.12) 45%, rgba(0,229,255,0.5));
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,194,255,0.05);
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px) scale(0.94);
  transition: opacity 0.28s ease;
}
.sarvarc-coffee-wrap.show {
  opacity: 1;
  pointer-events: auto;
  animation: scFloatIn 0.6s cubic-bezier(.22,1.1,.32,1) forwards;
}

.sarvarc-coffee-card {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(175deg, var(--bg2) 0%, var(--bg3) 100%);
  padding: 18px 18px 16px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}
.sarvarc-coffee-card::before {
  content: '';
  position: absolute;
  top: -60%; left: -20%;
  width: 140%; height: 140%;
  background: radial-gradient(circle at 30% 0%, rgba(0,194,255,0.16), transparent 55%);
  pointer-events: none;
}

.sc-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 24px; height: 24px;
  border: none;
  background: rgba(255,255,255,0.04);
  color: var(--text3);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  z-index: 2;
}
.sc-close:hover { background: var(--surface2); color: var(--text); }

.sc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; position: relative; z-index: 1; }

.sc-badge {
  position: relative;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,194,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.sc-badge svg { position: relative; z-index: 2; }
.sc-badge .steam {
  position: absolute;
  top: -6px;
  width: 3px; height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.85);
  filter: blur(0.4px);
  transform-origin: bottom center;
}
.sc-badge .steam.s1 { left: 13px; animation: scSteam 2.6s ease-in-out infinite; }
.sc-badge .steam.s2 { left: 20px; animation: scSteam 2.6s ease-in-out 0.9s infinite; }
.sc-badge .steam.s3 { left: 27px; animation: scSteam 2.6s ease-in-out 1.7s infinite; }

.sc-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 2px 0;
}
.sarvarc-coffee-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

.sarvarc-coffee-card p {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.55;
  margin: 0 0 14px 0;
  position: relative; z-index: 1;
}

.sc-actions { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }

.sc-btn {
  position: relative;
  overflow: hidden;
  flex: 1;
  text-align: center;
  background: linear-gradient(95deg, var(--cyan), var(--purple));
  color: #06121F;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 8px 20px -6px rgba(0,194,255,0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sc-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(0,194,255,0.7); }
.sc-btn:active { transform: translateY(0); }
.sc-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: 0;
  width: 30%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-120%) rotate(8deg);
}
.sc-btn:hover::after { animation: scSheen 1s ease forwards; }

.sc-later {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.sc-later:hover { color: var(--text2); }

@media (max-width: 480px) {
  .sarvarc-coffee-wrap { right: 14px; bottom: 90px; left: 14px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .sarvarc-coffee-wrap.show { animation: none; opacity: 1; transform: none; }
  .sc-badge .steam, .sc-btn::after { animation: none; opacity: 0; }
}
