/* footer */
footer{ padding: 26px 0 40px; color: rgba(246,242,255,.62); }
.foot{
  display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 14px;
}
.foot-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-links a {
  font-size: 12px;
  color: rgba(246,242,255,.6);
  transition: color .2s;
}
.foot-links a:hover {
  color: var(--blue);
}
.small{ font-size: 12.5px; }

/* responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
}
@media (max-width: 860px){
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .links{ display:none; }
}

/* tiny motion preference */
@media (prefers-reduced-motion: reduce){
  .mark:before{ animation:none; }
  .status-dot { animation: none; }
  .tile { animation: none; }
  .glow-orb,
  .stars,
  .bubbles,
  .status-banner::before,
  .meter:after,
  .btn.neon,
  .enter-btn,
  .highlight,
  .teaser-text,
  video {
    animation: none !important;
  }
}

/* fun: subtle floating glow bubbles */
.bubbles{
  position:fixed; inset:0; pointer-events:none; opacity:.38;
  background:
    radial-gradient(220px 220px at 15% 85%, rgba(255,59,212,.20), transparent 60%),
    radial-gradient(180px 180px at 78% 78%, rgba(49,227,255,.16), transparent 60%),
    radial-gradient(240px 240px at 70% 18%, rgba(155,92,255,.16), transparent 62%),
    radial-gradient(160px 160px at 30% 22%, rgba(183,255,74,.08), transparent 62%);
  filter: blur(2px);
  mix-blend-mode: screen;
}

/* QR Code styling */
.qr-section {
  text-align: center;
  padding: 20px;
}

.qr-code {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  border: 2px solid rgba(49,227,255,.25);
  box-shadow: var(--glow-blue);
  margin: 12px auto;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,59,212,.85), rgba(155,92,255,.85));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: var(--glow-violet), 0 8px 24px rgba(0,0,0,.5);
  color: var(--ink);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  user-select: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 30px rgba(255,59,212,.6), 0 0 50px rgba(155,92,255,.4), 0 12px 32px rgba(0,0,0,.6);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

/* Loading Progress Bar */
.loading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--blue));
  box-shadow: 0 0 10px rgba(255,59,212,.6);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Media Error State */
.media-error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,51,85,.1);
  border: 1px solid rgba(255,51,85,.3);
  border-radius: 12px;
  padding: 20px;
  color: rgba(246,242,255,.7);
  font-size: 13px;
}

/* Share Button */
.share-btn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(49,227,255,.85), rgba(183,255,74,.85));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: var(--glow-blue), 0 8px 24px rgba(0,0,0,.5);
  color: var(--bg0);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  user-select: none;
}

.share-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 30px rgba(49,227,255,.6), 0 0 50px rgba(183,255,74,.4), 0 12px 32px rgba(0,0,0,.6);
}

/* Form Validation Styles */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
  border-color: rgba(255,51,85,.4) !important;
  box-shadow: 0 0 0 3px rgba(255,51,85,.15);
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown),
select:valid:not(:placeholder-shown) {
  border-color: rgba(183,255,74,.4) !important;
}

.form-error {
  color: var(--red);
  font-size: 11px;
  margin-top: 4px;
  display: none;
}

/* Touch Feedback */
@media (hover: none) and (pointer: coarse) {
  .btn:active, .social-link:active, .back-to-top:active {
    transform: scale(0.95);
  }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

