/* 3D animated public shop website (site.html) */
body#landingBody {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #dce9f0;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(14, 124, 123, 0.35), transparent 60%),
    radial-gradient(900px 650px at -10% 110%, rgba(255, 122, 26, 0.28), transparent 55%),
    linear-gradient(165deg, #0d1b2a 0%, #12293a 45%, #0b3f40 100%);
  font-family: var(--font);
}
body#landingBody .muted { color: #9db8c4; }
body#landingBody .topbar {
  background: rgba(13, 27, 42, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}
body#landingBody .topbar .brand { color: #eef6f9; }
body#landingBody .topbar .brand span { color: #eef6f9; }
body#landingBody .auth-box .center h1 { color: #eef6f9; }
body#landingBody .auth-tabs .tab { color: #9db8c4; border-color: rgba(255, 255, 255, 0.2); }
body#landingBody .auth-tabs .tab.active { background: rgba(14, 124, 123, 0.35); color: #bff0ee; border-color: #0e7c7b; }
body#landingBody .field label { color: #9db8c4; }
body#landingBody .field input[type="text"],
body#landingBody .field input[type="email"],
body#landingBody .field input[type="password"],
body#landingBody .field input[type="number"],
body#landingBody .field textarea {
  background: rgba(10, 20, 30, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
  color: #eef6f9;
}
body#landingBody .field input::placeholder { color: #5f7396; }
body#landingBody .google-btn {
  background: rgba(10, 20, 30, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
  color: #eef6f9;
}
body#landingBody .divider { color: #7c93a8; }
body#landingBody .divider::before, body#landingBody .divider::after { background: rgba(255, 255, 255, 0.14); }
body#landingBody .consent-box { background: rgba(14, 124, 123, 0.18); border-color: rgba(14, 124, 123, 0.6); color: #d6eef0; }
body#landingBody .error-text { color: #ff9b90; }
body#landingBody .hero h1 { color: #eef6f9; }
body#landingBody .hero .badge { background: var(--teal); color: #fff; }

/* 3D animated public shop website (site.html) */
body#siteBody {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #dce9f0;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(14, 124, 123, 0.35), transparent 60%),
    radial-gradient(900px 650px at -10% 110%, rgba(255, 122, 26, 0.28), transparent 55%),
    linear-gradient(165deg, #0d1b2a 0%, #12293a 45%, #0b3f40 100%);
  font-family: var(--font);
}

#siteBody .muted { color: #9db8c4; }

/* ---- animated 3D background ---- */
.site3d-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.orb { position: absolute; border-radius: 50%; filter: blur(85px); opacity: 0.5; animation: orbFloat 18s ease-in-out infinite alternate; }
.orb1 { width: 430px; height: 430px; top: -90px; right: -70px; background: radial-gradient(circle, rgba(255, 122, 26, 0.85), transparent 70%); }
.orb2 { width: 540px; height: 540px; bottom: -150px; left: -110px; background: radial-gradient(circle, rgba(14, 124, 123, 0.9), transparent 70%); animation-delay: -6s; }
.orb3 { width: 320px; height: 320px; top: 42%; left: 44%; background: radial-gradient(circle, rgba(122, 96, 230, 0.7), transparent 70%); animation-delay: -12s; }
@keyframes orbFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(45px, -35px) scale(1.18); } }

.float-item { position: absolute; opacity: 0.32; animation: bob 6.5s ease-in-out infinite; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35)); }
.fi1 { top: 12%; left: 5%; font-size: 50px; }
.fi2 { top: 22%; right: 7%; font-size: 36px; animation-delay: -2s; }
.fi3 { bottom: 20%; left: 9%; font-size: 40px; animation-delay: -3s; }
.fi4 { bottom: 12%; right: 13%; font-size: 46px; animation-delay: -4s; }
.fi5 { top: 56%; left: 17%; font-size: 30px; animation-delay: -1s; }
.fi6 { top: 48%; right: 20%; font-size: 28px; animation-delay: -5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-24px) rotate(7deg); } }

/* ---- 3D hero ---- */
#content { position: relative; z-index: 1; }

.hero3d { perspective: 1000px; text-align: center; padding: 64px 0 28px; }
.hero3d-inner { transform-style: preserve-3d; transition: transform 0.25s ease-out; will-change: transform; animation: rise 0.8s ease both; }

.hero-emoji {
  display: inline-block;
  width: 180px;
  height: 180px;
  border-radius: 28px;
  object-fit: cover;
  transform: translateZ(70px);
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45), 0 0 34px rgba(255, 122, 26, 0.25);
  animation: float 3.4s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateZ(70px) translateY(0); } 50% { transform: translateZ(70px) translateY(-14px); } }

.hero3d h1 {
  font-size: 54px;
  margin: 16px 0 10px;
  letter-spacing: -1px;
  transform: translateZ(46px);
  background: linear-gradient(90deg, #ffd9b0, #ff7a1a 50%, #ffb26b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero3d .chip {
  display: inline-block;
  transform: translateZ(34px);
  background: rgba(14, 124, 123, 0.3);
  border: 1px solid rgba(14, 124, 123, 0.6);
  color: #bff0ee;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.hero-loc {
  transform: translateZ(26px);
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.92;
}

@keyframes rise { from { opacity: 0; transform: translateY(34px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---- 3D glass cards ---- */
.detail-grid { display: grid; gap: 18px; }
.pub-card {
  position: relative;
  background: rgba(18, 32, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: cardIn 0.7s ease both;
}
.pub-card:nth-child(1) { animation-delay: 0.15s; }
.pub-card:nth-child(2) { animation-delay: 0.28s; }
.pub-card:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-3deg) scale(1.015);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.5), 0 0 34px rgba(255, 122, 26, 0.18);
  border-color: rgba(255, 122, 26, 0.55);
}
.pub-card h3 { margin: 0 0 8px; font-size: 17px; color: #eef6f9; transform: translateZ(18px); }
.pub-card .muted, .pub-card > div, .pub-card > ul, .pub-card > p { transform: translateZ(26px); }
@keyframes cardIn { from { opacity: 0; transform: translateY(28px) scale(0.97); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(30px) scale(0.98); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- delivery badge on dark ---- */
.delivery-badge { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.delivery-yes { background: rgba(31, 149, 72, 0.28); color: #7fe0a0; border: 1px solid rgba(31, 149, 72, 0.5); }
.delivery-no { background: rgba(255, 122, 26, 0.18); color: #ffc08a; border: 1px solid rgba(255, 122, 26, 0.45); }

.pub-list { margin: 0; padding-left: 20px; color: #cfe0e8; }
.pub-list li { margin: 6px 0; }

/* ---- product gallery with real photos ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.p-card {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10, 20, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: cardIn 0.7s ease both;
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.p-card.tilt-3d {
  transition: transform 0.12s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
}
.p-card:nth-child(2) { animation-delay: 0.1s; }
.p-card:nth-child(3) { animation-delay: 0.2s; }
.p-card:nth-child(4) { animation-delay: 0.3s; }
.p-card:nth-child(5) { animation-delay: 0.4s; }
.p-card:nth-child(6) { animation-delay: 0.5s; }
.p-card:hover {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 26px rgba(255, 122, 26, 0.2);
  border-color: rgba(255, 122, 26, 0.55);
}
.p-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transform: translateZ(20px);
}
.p-info {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transform: translateZ(34px);
}
.p-info b { font-size: 14px; color: #eef6f9; }
.p-price { font-size: 13px; font-weight: 700; color: #ffb26b; white-space: nowrap; }

.site-footer { color: #8ba6b3; font-size: 13px; padding: 26px 0 40px; }

/* ---- loading / not-found glass panels ---- */
#siteBody .card { background: rgba(18, 32, 44, 0.75); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); color: #eef6f9; }

/* ---- signed-in hero cinematic 3D robot ---- */
.hero3d-mount {
  position: relative;
  z-index: 1;
  width: min(560px, 92vw);
  aspect-ratio: 1 / 1;
  margin: 20px auto 6px;
  border-radius: 18px;
  overflow: hidden;
  background: #050913;
  border: 1px solid rgba(120, 170, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(14, 124, 123, 0.18);
  pointer-events: auto;
}
.hero3d-mount iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
body#landingBody .hero .start-button {
  margin-top: 14px;
  background: linear-gradient(160deg, #ff7a1a, #e2540e);
  border: 1px solid rgba(255, 180, 120, 0.6);
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.4), 0 0 26px rgba(255, 122, 26, 0.25);
}
body#landingBody .hero .start-button:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 38px rgba(255, 122, 26, 0.55), 0 0 36px rgba(255, 122, 26, 0.35);
}

/* responsive */
@media (max-width: 640px) {
  .hero3d h1 { font-size: 38px; }
  .hero-emoji { font-size: 72px; }
  .hero3d-mount { width: min(440px, 92vw); }
}
