.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(229, 211, 179, 0.2);
  box-shadow: 0 60px 60px -10px rgba(0, 0, 0, 0.04), 0 10px 10px rgba(0, 0, 0, 0.02);
}

.champagne-gradient {
  background-color: #fff9ef;
  background-image:
    radial-gradient(circle at top right, rgba(229, 211, 179, 0.15), transparent 40%),
    radial-gradient(circle at bottom left, rgba(229, 211, 179, 0.1), transparent 40%);
}

.hairline-divider {
  height: 1px;
  background-color: #e5d3b3;
  opacity: 0.3;
}

.minimal-input {
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-bottom: 1px solid #e5d3b3;
  transition: all 0.3s ease;
}

.minimal-input:focus {
  outline: none;
  box-shadow: none;
  border-bottom-color: #6a5d43;
  background: rgba(255, 255, 255, 0.8);
}

.btn-primary {
  background-color: #e5d3b3;
  color: #675a41;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #e5d3b3;
  color: #1d1b16;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(229, 211, 179, 0.1);
}

.site-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: #4c463d;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-auth-btn:hover {
  color: #6a5d43;
  background-color: rgba(229, 211, 179, 0.15);
}

.site-auth-btn .material-symbols-outlined {
  font-size: 20px;
}

.store-badge-link {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge-link:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.store-badge {
  height: 44px;
  width: auto;
  display: block;
}

.store-trademark {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  line-height: 1.4;
  color: rgba(76, 70, 61, 0.6);
  max-width: 28rem;
  text-align: center;
}

/* iOS-style golden ambient bubbles (CreateBubbleScene-inspired) */
#background-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

body.has-bubble-bg > :not(#background-wrap) {
  position: relative;
  z-index: 1;
}

@keyframes animateBubble {
  0% { margin-top: 1000px; opacity: 0; }
  8% { opacity: 0.85; }
  92% { opacity: 0.85; }
  100% { margin-top: -120%; opacity: 0; }
}

@keyframes sideWays {
  0% { margin-left: 0; }
  100% { margin-left: 50px; }
}

.bubble {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(212, 175, 55, 0.28) 52%, rgba(212, 175, 55, 0.72) 100%);
  box-shadow:
    0 20px 30px rgba(106, 93, 67, 0.14),
    inset 0 10px 30px 5px rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0;
  will-change: margin-top, margin-left, opacity;
}

.bubble::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.28);
}

.bubble.x1 {
  animation: animateBubble 28s linear infinite, sideWays 2s ease-in-out infinite alternate;
  animation-delay: 0s, 0s;
  left: -5%;
  top: 5%;
  transform: scale(0.6);
}

.bubble.x2 {
  animation: animateBubble 24s linear infinite, sideWays 4s ease-in-out infinite alternate;
  animation-delay: 2.8s, 0.4s;
  left: 5%;
  top: 80%;
  transform: scale(0.4);
}

.bubble.x3 {
  animation: animateBubble 32s linear infinite, sideWays 2s ease-in-out infinite alternate;
  animation-delay: 5.6s, 0.8s;
  left: 10%;
  top: 40%;
  transform: scale(0.7);
}

.bubble.x4 {
  animation: animateBubble 26s linear infinite, sideWays 3s ease-in-out infinite alternate;
  animation-delay: 8.4s, 1.2s;
  left: 20%;
  top: 0;
  transform: scale(0.3);
}

.bubble.x5 {
  animation: animateBubble 30s linear infinite, sideWays 4s ease-in-out infinite alternate;
  animation-delay: 11.2s, 1.6s;
  left: 30%;
  top: 50%;
  transform: scale(0.5);
}

.bubble.x6 {
  animation: animateBubble 25s linear infinite, sideWays 2s ease-in-out infinite alternate;
  animation-delay: 14s, 2s;
  left: 50%;
  top: 0;
  transform: scale(0.8);
}

.bubble.x7 {
  animation: animateBubble 24s linear infinite, sideWays 2s ease-in-out infinite alternate;
  animation-delay: 16.8s, 2.4s;
  left: 65%;
  top: 70%;
  transform: scale(0.4);
}

.bubble.x8 {
  animation: animateBubble 27s linear infinite, sideWays 3s ease-in-out infinite alternate;
  animation-delay: 19.6s, 2.8s;
  left: 80%;
  top: 10%;
  transform: scale(0.3);
}

.bubble.x9 {
  animation: animateBubble 31s linear infinite, sideWays 4s ease-in-out infinite alternate;
  animation-delay: 22.4s, 3.2s;
  left: 90%;
  top: 50%;
  transform: scale(0.6);
}

.bubble.x10 {
  animation: animateBubble 29s linear infinite, sideWays 2s ease-in-out infinite alternate;
  animation-delay: 25.2s, 3.6s;
  left: 80%;
  top: 80%;
  transform: scale(0.3);
}

@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none !important;
    opacity: 0.35;
  }
}

.qr-preview-box {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(229, 211, 179, 0.3);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qr-preview-box svg {
  width: 100% !important;
  height: 100% !important;
}
