* { margin:0; padding:0; box-sizing:border-box; }
body { overflow:hidden; background:#e0f7fa; color:#333; font-family:"Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif; }

/* ── Intro overlay ───────────────────────────────────────── */
#intro {
  position:fixed; inset:0; z-index:100;
  display:flex; align-items:center; justify-content:center;
  background: radial-gradient(circle at 50% 120%, #cff9ff 0%, #99e8ff 45%, #6dd1ff 100%);
  overflow:hidden;
}
#intro.hidden { display:none; }

/* Rotating subtle Sunburst / Aura */
.sunburst {
  position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background: repeating-conic-gradient(from 0deg, transparent 0deg, transparent 15deg, rgba(255,255,255,0.15) 15deg, rgba(255,255,255,0.15) 30deg);
  animation: rotateSun 60s linear infinite;
  pointer-events:none;
}
@keyframes rotateSun { 100% { transform: rotate(360deg); } }

/* Light reflection on glass */
#intro::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 70%);
  animation: shineGlass 6s infinite;
}
@keyframes shineGlass {
  0% { transform:translateX(-100%) skewX(-15deg); }
  50%, 100% { transform:translateX(200%) skewX(-15deg); }
}

/* Bright Squeegee wipe line */
.squeegee {
  position:absolute; top:0; bottom:0; width:6px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.9) 20%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.9) 80%, transparent);
  filter: blur(2px);
  animation: squeegeeWipe 4s ease-in-out infinite;
  pointer-events:none;
  box-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 30px rgba(100,200,255,0.6);
}
@keyframes squeegeeWipe {
  0%   { left:-20px; opacity:0; }
  5%   { opacity:1; }
  45%  { left:105%; opacity:1; }
  50%  { opacity:0; left:105%; }
  100% { left:-20px; opacity:0; }
}

/* 3D Soap bubbles */
.bubbles { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:1; }
.bubble {
  position:absolute; bottom:-60px; border-radius:50%;
  border: 1px solid rgba(255,255,255,0.8);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8) 5%, rgba(255,255,255,0.2) 20%, rgba(0,180,255,0.1) 80%);
  box-shadow: inset -5px -5px 15px rgba(0,120,255,0.2), inset 0 0 10px rgba(255,255,255,0.5), 0 4px 12px rgba(0,50,150,0.1);
  animation: bubbleRise linear infinite;
  backdrop-filter: blur(3px);
}
@keyframes bubbleRise {
  0%   { transform:translateY(0) scale(1) translateX(0);   opacity:0.9; }
  50%  { transform:translateY(-55vh) scale(1.1) translateX(20px); }
  100% { transform:translateY(-110vh) scale(0.9) translateX(-10px); opacity:0; }
}

/* Grassy wavy hill skyline */
.skyline {
  position:absolute; bottom:0; left:0; right:0; height:200px; pointer-events:none; z-index:1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath fill='%236ed86e' opacity='0.8' d='M0,130 C150,200 350,50 600,100 C850,150 1050,80 1200,110 L1200,200 L0,200 Z'/%3E%3Cpath fill='%238df18d' opacity='0.9' d='M0,160 C250,80 450,180 700,140 C950,100 1100,170 1200,150 L1200,200 L0,200 Z'/%3E%3C/svg%3E") no-repeat bottom center / cover;
}

/* Frutiger Aero Face Mascot */
.mascot-container {
  display: flex; justify-content: center; margin-top:-90px; margin-bottom: 20px;
}
.aero-face {
  width: 140px; height: 140px; object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.9);
  box-shadow: 0 15px 35px rgba(0,100,200,0.4), inset 0 0 15px rgba(255,255,255,0.8);
  animation: floatMascot 4s ease-in-out infinite;
  background: radial-gradient(circle, rgba(255,255,255,1), rgba(200,240,255,1));
}
@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); box-shadow: 0 25px 45px rgba(0,150,255,0.4), inset 0 0 15px rgba(255,255,255,0.8); }
}

/* Glossy Frosted White panel */
.card {
  position:relative; z-index:10;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(25px) saturate(1.8);
  -webkit-backdrop-filter: blur(25px) saturate(1.8);
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 30px;
  padding: 0 52px 40px; /* modified top padding */
  max-width: 520px; width:90%;
  box-shadow: 0 20px 60px rgba(0,100,180,0.2), inset 0 2px 5px rgba(255,255,255,1);
  text-align:center;
}

/* Card inner glow border */
.card::before {
  content:'';
  position:absolute; inset:8px;
  border:1.5px solid rgba(255,255,255,0.6);
  border-radius:24px; pointer-events:none;
}

.card h1 {
  font-size:2.2rem; font-weight:800; letter-spacing:-0.03em;
  color:#004b87;
  text-shadow: 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(100,200,255,0.3);
  margin-bottom:4px;
  margin-top:0px;
}
.card .tagline {
  font-size:1.0rem; color:#0e8fa3; font-weight:bold;
  letter-spacing:0.04em; text-transform:uppercase;
  margin-bottom:24px;
}
.card p {
  font-size:1.1rem; line-height:1.6; color:#1a5c78;
  margin-bottom:28px; font-weight: 500;
}

/* Glossy Input Field */
.glass-input {
  padding:14px 24px; border-radius:30px; border:2px solid rgba(255,255,255,0.9);
  background:rgba(255,255,255,0.6); color:#004b87; font-size:1.1rem; text-align:center;
  width:280px; outline:none; backdrop-filter:blur(10px);
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.05), 0 5px 15px rgba(0,100,200,0.1);
  font-weight: bold;
  font-family: inherit;
  transition: all 0.3s ease;
}
.glass-input::placeholder { color: rgba(0, 100, 180, 0.5); }
.glass-input:focus { background:rgba(255,255,255,0.85); box-shadow: 0 0 20px rgba(100,200,255,0.6), inset 0 2px 4px rgba(0,0,0,0.02); }

/* Bright Gel AR Button */
#ar-btn-wrap { display:flex; justify-content:center; }
#ar-btn-wrap button, #ar-btn-wrap a {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  text-align:center !important; line-height:1 !important;
  position:relative !important; left:auto !important; bottom:auto !important;
  transform:none !important;
  padding:18px 44px !important; border-radius:50px !important;
  background: linear-gradient(180deg, #7cf07c 0%, #46cc46 45%, #2bad2b 50%, #158a15 100%) !important;
  color:#fff !important; font-size:1.25rem !important; font-weight:800 !important; letter-spacing:0.02em !important;
  border: 2px solid #58d658 !important;
  border-top-color: #a1f5a1 !important;
  border-bottom-color: #126e12 !important;
  cursor:pointer; text-decoration:none;
  box-shadow: 0 8px 25px rgba(0,150,50,0.4), inset 0 3px 5px rgba(255,255,255,0.6), inset 0 -3px 5px rgba(0,0,0,0.2) !important;
  animation: btnPulseGel 3s ease-in-out infinite;
  transition: transform 0.1s, box-shadow 0.1s, filter 0.2s;
  text-shadow: 0 -1px 1px rgba(0,100,0,0.5);
}

/* Classic glossy cap highlight using pseudo-element */
#ar-btn-wrap button::before, #ar-btn-wrap a::before {
  content: '';
  position: absolute; top: 2px; left: 10px; right: 10px; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.1) 100%);
  border-radius: 40px 40px 100px 100px / 40px 40px 20px 20px;
  pointer-events: none;
}

#ar-btn-wrap button:hover, #ar-btn-wrap a:hover {
  transform:scale(1.03) !important;
  filter: brightness(1.1) saturate(1.1);
  box-shadow: 0 12px 30px rgba(0,200,80,0.5), inset 0 3px 5px rgba(255,255,255,0.7), inset 0 -3px 5px rgba(0,0,0,0.2) !important;
}
#ar-btn-wrap button:active, #ar-btn-wrap a:active {
  transform:scale(0.97) !important;
  box-shadow: 0 4px 10px rgba(0,150,50,0.4), inset 0 6px 10px rgba(0,0,0,0.2) !important;
}

@keyframes btnPulseGel {
  0%,100% { box-shadow: 0 8px 25px rgba(0,150,50,0.4), inset 0 3px 5px rgba(255,255,255,0.6), inset 0 -3px 5px rgba(0,0,0,0.2) !important; }
  50%      { box-shadow: 0 8px 25px rgba(0,150,50,0.4), 0 0 0 10px rgba(80,255,100,0), inset 0 3px 5px rgba(255,255,255,0.6), inset 0 -3px 5px rgba(0,0,0,0.2) !important; }
}

/* Loading bar */
#load-wrap {
  margin-bottom: 18px;
}
#load-label {
  font-size: 0.85rem !important; color: #0e8fa3 !important; font-weight: 600 !important;
  margin-bottom: 8px !important; letter-spacing: 0.02em;
}
#load-bar-track {
  width: 100%; height: 10px; border-radius: 99px;
  background: rgba(0,100,180,0.12);
  border: 1.5px solid rgba(255,255,255,0.7);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}
#load-bar-fill {
  height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, #7cf07c, #46cc46);
  box-shadow: 0 0 8px rgba(80,220,80,0.6);
  transition: width 0.2s ease;
}

.drop-hint {
  margin-top:22px; font-size:0.85rem !important; color:#0e8fa3 !important; font-weight:600 !important;
  letter-spacing:0.02em;
}
