/* Deluxe sheet + page effects — complements Tailwind utilities */

.page-bg {
  background: linear-gradient(
    135deg,
    #1c1410 0%,
    #1a1614 28%,
    #14110f 62%,
    #0a0508 100%
  );
}

.page-bg::before,
.page-bg::after {
  content: '';
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.page-bg::before {
  top: -80px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(189, 129, 101, 0.22), transparent 70%);
}

.page-bg::after {
  bottom: 120px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 184, 122, 0.16), transparent 70%);
}

.sheet-panel {
  background: linear-gradient(
    180deg,
    rgba(26, 22, 20, 0.97) 0%,
    rgba(20, 17, 15, 0.96) 45%,
    #0a0508 100%
  );
}

.sheet-glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.sheet-glow--gold {
  top: -40px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232, 184, 122, 0.2), transparent 70%);
}

.sheet-glow--bronze {
  top: 80px;
  left: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(189, 129, 101, 0.16), transparent 70%);
}

.sheet-glow--amber {
  bottom: 60px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
}

.glass-card {
  border: 1px solid rgba(189, 129, 101, 0.28);
  background: linear-gradient(
    135deg,
    rgba(26, 22, 20, 0.72) 0%,
    rgba(20, 17, 15, 0.82) 50%,
    rgba(10, 5, 8, 0.9) 100%
  );
  box-shadow: 0 8px 20px rgba(189, 129, 101, 0.1);
}

.gtm-primary-btn {
  background: linear-gradient(135deg, #e8b87a 0%, #bd8165 50%, #c89278 100%);
  box-shadow:
    0 6px 18px rgba(189, 129, 101, 0.5),
    0 2px 8px rgba(232, 184, 122, 0.12);
}

.sheet-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.sheet-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.download-sheet {
  transform: translateY(110%);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.download-sheet.is-visible {
  transform: translateY(0);
}

body.sheet-open {
  overflow: hidden;
}

#desktop-stores:not([hidden]) {
  display: grid;
}

.store-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(189, 129, 101, 0.35);
  background: rgba(10, 5, 8, 0.72);
  color: #e7d7cc;
  text-decoration: none;
  font-weight: 600;
}

.store-link:hover {
  border-color: rgba(189, 129, 101, 0.65);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .download-sheet {
    left: 50%;
    right: auto;
    width: min(420px, calc(100% - 32px));
    transform: translate(-50%, 110%);
  }

  .download-sheet.is-visible {
    transform: translate(-50%, 0);
  }
}
