:root {
  color-scheme: dark;
  --bg: #05050c;
  --surface: #101224;
  --surface-2: #0c0e1c;
  --surface-hover: #16182c;
  --border: rgba(168, 85, 247, 0.35);
  --border-strong: rgba(34, 211, 238, 0.45);
  --text: #eef0f8;
  --text-muted: #8b90a5;
  --text-faint: #6d7288;
  --accent: #22d3ee;
  --accent-contrast: #05050c;
  --violet: #a855f7;
  --magenta: #ec4899;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  --font-exo: "Exo 2", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--text);
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background: rgba(168, 85, 247, 0.35);
  color: #f5f3ff;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.orbs,
.grid-overlay,
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}

.orbs .a {
  width: 420px;
  height: 420px;
  left: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55), transparent 70%);
}

.orbs .b {
  width: 360px;
  height: 360px;
  right: -6%;
  top: 18%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.45), transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.orbs .c {
  width: 480px;
  height: 480px;
  left: 35%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%);
  animation-delay: -11s;
  animation-duration: 26s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, -30px) scale(1.08);
  }
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent);
}

.noise {
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: none;
  min-height: 64px;
  margin: 0;
  padding: 12px max(20px, calc((100% - 1100px) / 2));
  background: rgba(5, 5, 12, 0.72);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  backdrop-filter: blur(24px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .brand-name {
    background: linear-gradient(
      100deg,
      #b8bccd 0%,
      #b8bccd 40%,
      #ffffff 50%,
      #b8bccd 60%,
      #b8bccd 100%
    );
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.45));
    animation: brand-shimmer 3.5s ease-in-out infinite;
  }
}

@keyframes brand-shimmer {
  0% {
    background-position: 160% 0;
  }
  100% {
    background-position: -60% 0;
  }
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #22d3ee, #a855f7 55%, #ec4899);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.55);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  color: #05050c;
}

.site-header nav {
  color: var(--text-muted);
  font-family: var(--font-exo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.site-header nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px 8px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.35);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 36rem;
}

.sales-paused-banner {
  width: calc(100% - 40px);
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(16, 18, 36, 0.9), rgba(8, 10, 22, 0.75));
  color: var(--text-muted);
  font-size: 13.5px;
  text-align: center;
  box-shadow: 0 0 36px -12px rgba(168, 85, 247, 0.45);
}

.recent-orders {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.recent-orders-heading {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--font-exo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.5);
}

.recent-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(160deg, rgba(16, 18, 36, 0.9), rgba(8, 10, 22, 0.75));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  box-shadow: 0 0 28px -12px rgba(168, 85, 247, 0.55);
}

.recent-order-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
}

.recent-order-name {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.recent-order-info code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  color: var(--text);
  word-break: break-all;
}

.recent-order-pending {
  font-size: 12.5px;
  color: var(--text-faint);
}

.recent-order-copy {
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-exo);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-contrast);
  background: linear-gradient(105deg, #22d3ee, #a855f7 50%, #ec4899);
  cursor: pointer;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

.recent-order-copy:disabled {
  opacity: 0.6;
  cursor: default;
}

.product-grid {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(160deg, rgba(16, 18, 36, 0.9), rgba(8, 10, 22, 0.75));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.08) inset,
    0 0 36px -6px rgba(168, 85, 247, 0.45),
    0 20px 50px -24px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.15) inset,
    0 0 48px -4px rgba(168, 85, 247, 0.55),
    0 0 24px rgba(34, 211, 238, 0.25);
}

.card-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: #0a0a14;
  position: relative;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 12, 0.82), rgba(5, 5, 12, 0.12) 48%, transparent);
  pointer-events: none;
}

.card-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: rgba(34, 211, 238, 0.22);
  letter-spacing: 0.04em;
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.card-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-kicker {
  margin: 0;
  font-family: var(--font-exo);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.card-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  min-height: 40px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.tier-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: var(--font-exo);
  font-size: 12px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.tier-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.tier-pill.selected {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.4),
    0 0 14px rgba(34, 211, 238, 0.25);
}

.tier-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10.5px;
}

.tier-price {
  font-family: var(--font-sans);
  font-size: 12px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: none;
  padding-top: 4px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-family: var(--font-exo);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.buy-btn,
.recheck-btn,
.key-box button,
.modal-confirm {
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-exo);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-contrast);
  background: linear-gradient(105deg, #22d3ee, #a855f7 50%, #ec4899);
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 0 22px rgba(168, 85, 247, 0.5),
    0 0 40px rgba(34, 211, 238, 0.18);
  animation: pulse-neon 2.8s ease-in-out infinite;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.buy-btn:hover:not(:disabled),
.recheck-btn:hover:not(:disabled),
.key-box button:hover,
.modal-confirm:hover:not(:disabled) {
  filter: brightness(1.12);
  opacity: 1;
}

.buy-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.buy-btn:disabled,
.recheck-btn:disabled,
.modal-confirm:disabled {
  opacity: 0.5;
  cursor: default;
  animation: none;
}

@keyframes pulse-neon {
  0%,
  100% {
    box-shadow:
      0 0 18px rgba(168, 85, 247, 0.4),
      0 0 36px rgba(34, 211, 238, 0.12);
  }
  50% {
    box-shadow:
      0 0 28px rgba(236, 72, 153, 0.55),
      0 0 50px rgba(168, 85, 247, 0.35);
  }
}

.error-message,
.empty-message {
  color: var(--text-muted);
  font-size: 14px;
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
}

.site-footer {
  max-width: none;
  width: 100%;
  margin: auto 0 0;
  padding: 28px max(20px, calc((100% - 1100px) / 2)) 36px;
  color: var(--text-muted);
  font-size: 12.5px;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(5, 5, 12, 0.9);
}

.site-footer p {
  margin: 0;
}

.footer-contact,
.footer-legal {
  margin-top: 8px;
}

.footer-contact a,
.footer-legal a {
  color: var(--accent);
  border-bottom: none;
  padding-bottom: 0;
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.4);
  text-underline-offset: 3px;
}

.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--magenta);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.07);
  color: #a5f3fc;
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 0 14px -4px rgba(34, 211, 238, 0.4);
}

.payment-icon {
  width: 18px;
  height: auto;
  flex-shrink: 0;
}

.payment-icon-mark {
  width: 14px;
  height: 14px;
}

.payment-icon-body {
  fill: none;
  stroke: #a5f3fc;
  stroke-width: 1.2;
}

.payment-icon-stripe {
  fill: #a5f3fc;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.35);
}

.legal-updated {
  color: var(--text-faint);
  font-size: 12.5px;
  margin: 0 0 32px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  letter-spacing: 0.03em;
}

.legal-page p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 12px;
}

.legal-page strong {
  color: var(--text);
  font-weight: 600;
}

.legal-contact {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.4);
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--magenta);
  text-decoration-color: var(--magenta);
}

.success-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg, rgba(16, 18, 36, 0.94), rgba(8, 10, 22, 0.82));
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.35);
  backdrop-filter: blur(12px);
}

.success-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0 0 24px;
}

.success-card h1 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 20px;
}

#status {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.result-label {
  color: var(--accent);
  font-family: var(--font-exo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.5);
}

.key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(5, 5, 12, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 0 18px -8px rgba(34, 211, 238, 0.45);
}

.key-box button {
  flex-shrink: 0;
}

.key-box code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  word-break: break-all;
  text-align: left;
  color: var(--text);
}

.reference {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 12px;
  word-break: break-all;
}

.reference a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.4);
  text-underline-offset: 3px;
}

.reference a:hover {
  color: var(--magenta);
}

.recheck-btn {
  display: block;
  margin: 20px auto 0;
}

.redeem-help-btn,
.modal-cancel {
  display: block;
  margin: 16px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-family: var(--font-exo);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.modal-cancel {
  display: inline-flex;
  margin: 0;
}

.redeem-help-btn:hover,
.modal-cancel:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.14);
}

.back-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-exo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
}

.back-link:hover {
  color: var(--magenta);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: #0c0e1c;
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.45);
}

.modal-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.modal-order-summary {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: rgba(5, 5, 12, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text);
}

.modal-notice {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.modal-notice li {
  margin-bottom: 8px;
}

.modal-notice li:last-child {
  margin-bottom: 0;
}

.modal-notice strong {
  color: var(--text);
}

.modal-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.modal-agree input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}

.modal-agree a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.4);
  text-underline-offset: 2px;
}

.modal-agree a:hover {
  color: var(--magenta);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  padding: 0 16px;
  z-index: 200;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #0c0e1c;
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
  animation: toast-in 0.2s ease;
  pointer-events: auto;
}

.toast-message {
  flex: 1;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}

.toast-close {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--text-faint);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.toast-close:hover {
  color: var(--text);
}

.toast-hide {
  animation: toast-out 0.2s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(4px);
  }
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .orbs span,
  .buy-btn,
  .recheck-btn,
  .key-box button,
  .modal-confirm {
    animation: none;
  }

  .card:hover {
    transform: none;
  }
}

@media (max-width: 639px) {
  .site-header nav {
    max-width: 11rem;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .orbs .a,
  .orbs .b,
  .orbs .c {
    width: 280px;
    height: 280px;
    opacity: 0.35;
  }

  .card:hover {
    transform: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }
}
