/* Launch screen (Admin -> Settings -> Launch screen): stage curtain + Launch button, then the app popup.
   Markup: application/views/web/partials/launch.php, behaviour: assets/web/js/launch.js.
   Everything is hidden unless <html> has .gb-launch-active (set before first paint in web/header). */

:root {
  --gbl-velvet-1: #4a0610;
  --gbl-velvet-2: #7d0d1d;
  --gbl-velvet-3: #a8142a;
  --gbl-gold: #e8b84a;
  --gbl-gold-hi: #fff1c1;
  --gbl-gold-deep: #a8740f;
  --gbl-cream: #fff6e3;
  --gbl-open: 2.6s;
}

.gbl { display: none; }
html.gb-launch-active { overflow: hidden; }
html.gb-launch-active .gbl { display: block; }

/* ---------- Stage ---------- */
.gbl {
  position: fixed; inset: 0; z-index: 3000;
  overflow: hidden;
  color: var(--gbl-cream);
  font-family: 'Hind', 'Segoe UI', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Velvet: repeated pleats, darker at the top and towards the floor */
.gbl-curtain {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .5) 100%),
    repeating-linear-gradient(90deg,
      var(--gbl-velvet-1) 0, var(--gbl-velvet-2) 1.6%, var(--gbl-velvet-3) 3.1%,
      #c41d36 3.6%, var(--gbl-velvet-3) 4.2%, var(--gbl-velvet-2) 5.8%, var(--gbl-velvet-1) 7.4%);
  will-change: transform;
}
.gbl-curtain-l { left: 0; transform-origin: 0 0; box-shadow: inset -10px 0 0 -4px var(--gbl-gold), inset -22px 0 30px -12px rgba(0, 0, 0, .7); }
.gbl-curtain-r { right: 0; transform-origin: 100% 0; box-shadow: inset 10px 0 0 -4px var(--gbl-gold), inset 22px 0 30px -12px rgba(0, 0, 0, .7); }

/* Gold hem with a woven pahadi zig-zag */
.gbl-hem {
  position: absolute; left: 0; right: 0; bottom: 0; height: 54px;
  background:
    linear-gradient(135deg, var(--gbl-velvet-1) 25%, transparent 25%) -11px 12px / 22px 22px repeat-x,
    linear-gradient(225deg, var(--gbl-velvet-1) 25%, transparent 25%) -11px 12px / 22px 22px repeat-x,
    linear-gradient(180deg, var(--gbl-gold-hi), var(--gbl-gold) 30%, var(--gbl-gold-deep));
  border-top: 3px solid var(--gbl-gold-deep);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .35);
}
.gbl-hem::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: repeating-linear-gradient(90deg, var(--gbl-gold) 0 3px, var(--gbl-gold-deep) 3px 6px);
}

/* Spotlight from above onto the closed curtain */
.gbl-spot {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 58% at 50% 48%, rgba(255, 214, 140, .28), rgba(255, 190, 90, .08) 55%, transparent 75%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55));
  animation: gblSpot 6s ease-in-out infinite alternate;
}
@keyframes gblSpot { from { opacity: .85; } to { opacity: 1; } }

/* Valance: deep pelmet with a gold braid and a marigold toran hanging from it */
.gbl-valance {
  position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 2;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 40px),
    linear-gradient(180deg, #2c0308, var(--gbl-velvet-2) 70%, var(--gbl-velvet-1));
  border-bottom: 5px solid var(--gbl-gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}
.gbl-valance::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 9px;
  background: radial-gradient(circle at 9px 0, var(--gbl-gold) 4px, transparent 5px) 0 0 / 18px 9px repeat-x;
}
.gbl-toran { position: absolute; left: 0; top: 66px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4)); }

/* Corner tools */
.gbl-lang { position: absolute; left: 16px; bottom: 70px; z-index: 3; }
.gbl .lang-toggle { background: rgba(0, 0, 0, .28); border-color: rgba(232, 184, 74, .45); }
.gbl .lang-toggle button { color: var(--gbl-cream); }
.gbl .lang-toggle button.active { background: var(--gbl-gold); color: #3b0710; }
.gbl-tools { position: absolute; right: 16px; bottom: 70px; z-index: 3; display: flex; gap: 8px; }
.gbl-tool {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(232, 184, 74, .45); background: rgba(0, 0, 0, .28);
  color: var(--gbl-cream); opacity: .55; transition: opacity .2s ease, background .2s ease;
}
.gbl-tool:hover, .gbl-tool:focus-visible { opacity: 1; background: rgba(0, 0, 0, .5); }

/* ---------- Centre content ---------- */
.gbl-content {
  position: absolute; inset: 120px 16px 70px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transition: opacity .7s ease, transform .9s cubic-bezier(.3, 0, .2, 1), filter .7s ease;
}
/* Deep velvet pool behind the text, so the gold seam where the curtains meet doesn't cut through it */
.gbl-content::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none;
  width: min(1100px, 130vw); height: 115%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(38, 3, 8, .82), rgba(38, 3, 8, .55) 55%, transparent);
}
/* Logo on an ivory plaque, hung from the valance by two gold cords, swaying gently */
.gbl-plaque {
  position: relative;
  width: min(460px, 78vw, 40vh);
  padding: clamp(10px, 1.4vw, 16px) clamp(16px, 2.2vw, 28px);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf6, #f7ecd2);
  box-shadow: 0 0 0 3px var(--gbl-gold), 0 0 0 7px rgba(74, 6, 16, .7), 0 0 0 9px var(--gbl-gold-deep), 0 22px 40px -12px rgba(0, 0, 0, .7);
  transform-origin: 50% -200px;
  animation: gblDrop 1.2s cubic-bezier(.3, 1.4, .5, 1) both, gblSway 6s 1.2s ease-in-out infinite;
  margin-bottom: .9rem;
}
.gbl-plaque::before, .gbl-plaque::after {
  content: ""; position: absolute; bottom: 100%; width: 3px; height: 600px;
  background: linear-gradient(90deg, var(--gbl-gold-deep), var(--gbl-gold-hi), var(--gbl-gold-deep));
}
.gbl-plaque::before { left: 18%; }
.gbl-plaque::after { right: 18%; }
.gbl-plaque img { display: block; width: 100%; height: auto; }
@keyframes gblDrop { from { transform: translateY(-120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gblSway { 0%, 100% { transform: rotate(-.8deg); } 50% { transform: rotate(.8deg); } }

.gbl-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  margin: .4rem 0 .2rem;
  font-size: clamp(.9rem, 1.5vw, 1.15rem); font-weight: 600;
  color: var(--gbl-gold);
  animation: gblRise 1s .5s both;
}
/* Spaced capitals in English only: letter-spacing breaks Devanagari conjuncts */
html[data-lang="en"] .gbl-eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: clamp(.8rem, 1.4vw, 1.05rem); }
.gbl-dot { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gbl-gold); }

.gbl-title {
  /* background-clip paints only inside the box: the padding keeps matras (ी, ि) above the line from being cut off */
  margin: -.22em 0 -.08em; padding: .22em .15em .08em; line-height: 1.2;
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, min(6vw, 8.5vh), 5.6rem);
  max-width: 18em; text-wrap: balance;
  color: var(--gbl-gold);
  background: linear-gradient(100deg, var(--gbl-gold-deep) 0%, var(--gbl-gold) 28%, var(--gbl-gold-hi) 45%, var(--gbl-gold) 60%, var(--gbl-gold-deep) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0 rgba(40, 3, 9, .55)) drop-shadow(0 0 28px rgba(255, 200, 100, .25));
  animation: gblRise 1.1s .7s both, gblShine 5s 2s ease-in-out infinite;
}
@keyframes gblShine { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

.gbl-tagline {
  margin: .4rem 0 0;
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif; font-weight: 600;
  font-size: clamp(1.15rem, min(2.8vw, 4vh), 2.2rem);
  color: var(--gbl-cream);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
  animation: gblRise 1s 1s both;
}

/* Countdown (visitors): four gold-framed velvet tiles; a digit that changes drops in */
.gbl-countdown { display: flex; gap: clamp(.5rem, 1.6vw, 1.2rem); margin: min(1.3rem, 2.2vh) 0 .4rem; animation: gblRise 1s 1.2s both; }
.gbl-cd-cell {
  width: clamp(4.4rem, min(9vw, 14vh), 7.4rem);
  padding: min(.7rem, 1.2vh) .3rem min(.55rem, 1vh);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(44, 3, 8, .85), rgba(74, 6, 16, .85));
  box-shadow: inset 0 0 0 2px var(--gbl-gold), inset 0 0 0 5px rgba(0, 0, 0, .35), 0 14px 30px -12px rgba(0, 0, 0, .8);
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.gbl-cd-num {
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif; font-weight: 800; line-height: 1;
  font-size: clamp(2rem, min(5.2vw, 7vh), 4.4rem);
  color: var(--gbl-gold-hi); text-shadow: 0 0 18px rgba(255, 200, 100, .45);
  font-variant-numeric: tabular-nums;
}
.gbl-cd-num.tick { animation: gblTick .45s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes gblTick { from { transform: translateY(-45%); opacity: 0; } to { transform: none; opacity: 1; } }
.gbl-cd-label { margin-top: .3rem; font-size: clamp(.75rem, 1.2vw, .95rem); color: rgba(255, 246, 227, .75); }
.gbl-date { margin: .5rem 0 0; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: var(--gbl-gold); animation: gblRise 1s 1.4s both; }
.gbl-countdown-out { opacity: 0; transform: scale(.9); transition: opacity .6s ease, transform .6s ease; }
/* Countdown ended on screen: the button rises in at once */
.gbl-launch.is-now { animation-delay: .1s; }

.gbl-legal {
  position: absolute; left: 50%; bottom: 66px; z-index: 3; transform: translateX(-50%);
  display: flex; gap: 1.2rem; white-space: nowrap; font-size: .85rem;
}
.gbl-legal a { color: rgba(255, 246, 227, .6); }
.gbl-legal a:hover { color: var(--gbl-gold-hi); }

/* Emotional lines, one at a time */
.gbl-lines {
  position: relative; width: min(760px, 100%); height: 3.2em;
  margin: min(.8rem, 1.4vh) 0 min(1.2rem, 2vh);
  font-size: clamp(1rem, min(1.8vw, 2.8vh), 1.35rem);
  animation: gblRise 1s 1.3s both;
}
.gbl-line {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 246, 227, .88); font-style: italic; line-height: 1.45;
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}
.gbl-line::before, .gbl-line::after { content: "❝"; color: var(--gbl-gold); opacity: .7; font-style: normal; margin: 0 .5rem; align-self: flex-start; }
.gbl-line::after { content: "❞"; align-self: flex-end; }
.gbl-line.is-on { opacity: 1; transform: none; transition: opacity .9s .45s ease, transform .9s .45s ease; }	/* old line fades out first */

@keyframes gblRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Launch button with a diya */
.gbl-launch {
  position: relative;
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .7rem 2.4rem .7rem 1.1rem;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, var(--gbl-gold-hi), var(--gbl-gold) 45%, var(--gbl-gold-deep));
  color: #3b0710;
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif; font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  box-shadow: 0 0 0 3px rgba(74, 6, 16, .6), 0 0 0 5px var(--gbl-gold), 0 18px 40px -10px rgba(0, 0, 0, .7);
  cursor: pointer;
  animation: gblRise 1s 1.6s both;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gbl-launch::before, .gbl-launch::after {
  content: ""; position: absolute; inset: -5px; border-radius: inherit;
  border: 2px solid var(--gbl-gold); opacity: 0; pointer-events: none;
  animation: gblPulse 2.4s 2.6s ease-out infinite;
}
.gbl-launch::after { animation-delay: 3.8s; }
@keyframes gblPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35, 1.7); opacity: 0; } }
.gbl-launch:hover { transform: translateY(-3px) scale(1.03); }
.gbl-launch:focus-visible { outline: 3px solid var(--gbl-cream); outline-offset: 8px; }
.gbl-launch:disabled { cursor: default; }

.gbl-diya { width: 3.1rem; height: 3.1rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 70%, #5a0b16, #2c0308); }
.gbl-diya svg { width: 82%; height: 82%; overflow: visible; }
.gbl-flame { fill: #ff9800; transform-origin: 32px 36px; transform: scale(.25); opacity: .55; transition: transform .7s cubic-bezier(.2, 1.6, .4, 1), opacity .4s ease; }
.gbl-flame-core { fill: #fff3b0; transform-origin: 32px 34px; transform: scale(0); transition: transform .7s .1s cubic-bezier(.2, 1.6, .4, 1); }
.gbl-launch:hover .gbl-flame { transform: scale(.4); opacity: .8; }
.gbl.is-lit .gbl-flame { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 6px #ffb300) drop-shadow(0 0 14px #ff6f00); animation: gblFlicker .18s .7s ease-in-out infinite alternate; }
.gbl.is-lit .gbl-flame-core { transform: scale(1); }
@keyframes gblFlicker { from { transform: scale(1.12) skewX(-3deg); } to { transform: scale(1.2, 1.1) skewX(3deg); } }
.gbl.is-lit .gbl-launch { box-shadow: 0 0 0 3px rgba(74, 6, 16, .6), 0 0 0 5px var(--gbl-gold), 0 0 60px 10px rgba(255, 179, 0, .55); }
.gbl.is-lit .gbl-launch::before, .gbl.is-lit .gbl-launch::after { animation: none; }
.gbl.is-lit .gbl-spot { animation: none; opacity: 1; background: radial-gradient(ellipse 60% 70% at 50% 60%, rgba(255, 200, 110, .45), transparent 70%); transition: background 1s ease; }


/* ---------- Opening ---------- */
.gbl.is-open .gbl-content { opacity: 0; transform: translateY(-30px) scale(1.06); filter: blur(4px); pointer-events: none; }
.gbl.is-open .gbl-curtain-l { animation: gblOpenL var(--gbl-open) cubic-bezier(.65, 0, .25, 1) forwards; }
.gbl.is-open .gbl-curtain-r { animation: gblOpenR var(--gbl-open) cubic-bezier(.65, 0, .25, 1) forwards; }
/* Pulled aside and gathered: pleats bunch up as the cloth narrows, the hem lifts like a tied-back drape */
@keyframes gblOpenL {
  0% { transform: none; }
  15% { transform: translateX(-2%) skewY(.4deg); }
  100% { transform: scaleX(.07) skewY(4deg); }
}
@keyframes gblOpenR {
  0% { transform: none; }
  15% { transform: translateX(2%) skewY(-.4deg); }
  100% { transform: scaleX(.07) skewY(-4deg); }
}
.gbl.is-open .gbl-spot { opacity: 0; transition: opacity 1.2s ease; }
.gbl.is-open .gbl-lang, .gbl.is-open .gbl-tools { opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.gbl.is-open .gbl-valance { transform: translateY(-100%); transition: transform 1.4s 1.6s cubic-bezier(.6, 0, .3, 1); }
.gbl.is-open .gbl-toran { opacity: 0; transition: opacity .8s 1.4s ease; }
.gbl.is-open { pointer-events: none; }
.gbl.is-done { opacity: 0; transition: opacity .8s ease; }

/* Falling buransh petals and marigolds (canvas sits above everything, clicks pass through) */
.gbl-petals { position: fixed; inset: 0; z-index: 3200; pointer-events: none; }

/* ---------- App popup ---------- */
.gbl-app {
  position: fixed; inset: 0; z-index: 3100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: radial-gradient(ellipse at 50% 40%, rgba(18, 32, 108, .78), rgba(6, 10, 40, .92));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .5s ease;
  overflow-y: auto;
}
.gbl-app.is-in { opacity: 1; }
html.gbl-app-open { overflow: hidden; }

.gbl-app-card {
  position: relative;
  width: min(1180px, 100%); margin: auto;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 1.5rem;
  padding: clamp(1.6rem, 3.5vh, 2.6rem) clamp(1.8rem, 3.5vw, 3.2rem) clamp(1.6rem, 3.5vh, 2.6rem) 1rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at 0% 100%, rgba(232, 184, 74, .18), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(97, 0, 237, .28), transparent 50%),
    linear-gradient(160deg, #1a2a86, #12206c 45%, #0a1650);
  border: 1px solid rgba(232, 184, 74, .4);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #fff;
  transform: translateY(40px) scale(.94); opacity: 0;
  transition: transform .8s cubic-bezier(.2, 1.2, .3, 1), opacity .6s ease;
}
.gbl-app.is-in .gbl-app-card { transform: none; opacity: 1; }

.gbl-app-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.gbl-app-close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }

/* Coverflow of phones: JS sets --o (offset from the active screen) on each */
.gbl-phones { position: relative; height: min(620px, 68vh); perspective: 1600px; }
.gbl-phones-glow {
  position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 74, .45), rgba(97, 0, 237, .25) 45%, transparent 70%);
  filter: blur(10px);
  animation: gblGlow 4s ease-in-out infinite alternate;
}
@keyframes gblGlow { from { transform: translate(-50%, -50%) scale(.9); } to { transform: translate(-50%, -50%) scale(1.08); } }
.gbl-phone {
  --o: 0;
  position: absolute; left: 50%; top: 50%;
  height: 100%; aspect-ratio: 720 / 1520;
  padding: 9px; border-radius: 38px;
  background: linear-gradient(145deg, #2b2b3a, #0d0d14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 50px -18px rgba(0, 0, 0, .8);
  transform:
    translate(-50%, -50%)
    translateX(calc(var(--o) * 58%))
    translateZ(calc(var(--a, 0) * -160px))
    rotateY(calc(var(--o) * -28deg))
    scale(calc(1 - var(--a, 0) * .12));
  filter: brightness(calc(1 - var(--a, 0) * .38));
  z-index: calc(10 - var(--a, 0));
  transition: transform 1s cubic-bezier(.3, .7, .2, 1), opacity 1s ease, filter 1s ease;
}
.gbl-phone.is-far { opacity: 0; pointer-events: none; }
.gbl-phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 29px; }
.gbl-phone::after {
  content: ""; position: absolute; top: 14px; left: 50%; width: 22%; height: 5px; transform: translateX(-50%);
  border-radius: 9px; background: rgba(0, 0, 0, .55);
}
.gbl-phone.is-active { animation: gblFloat 3.2s ease-in-out infinite; }
.gbl-phone.is-active::before {
  content: ""; position: absolute; inset: 9px; border-radius: 29px; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%) -200% 0 / 200% 100% no-repeat;
  animation: gblGlare 1.2s .3s ease both;
}
@keyframes gblGlare { to { background-position: 200% 0; } }
@keyframes gblFloat { 50% { margin-top: -10px; } }

.gbl-app-info { position: relative; z-index: 2; }
.gbl-app-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem; border-radius: 999px;
  background: rgba(232, 184, 74, .16); border: 1px solid rgba(232, 184, 74, .5);
  color: var(--gbl-gold-hi); font-weight: 600; font-size: clamp(.9rem, 1.2vw, 1.15rem);
}
.gbl-app-logo { display: block; width: min(240px, 55%); height: auto; margin-bottom: 1.4rem; padding: 10px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px rgba(232, 184, 74, .6); }
.gbl-app-info h2 {
  margin: .9rem 0 .5rem; color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1.15;
  text-wrap: balance;
}
.gbl-app-sub { color: rgba(255, 255, 255, .8); font-size: clamp(1rem, 1.3vw, 1.2rem); margin-bottom: 1.3rem; max-width: 34em; }

.gbl-caption { position: relative; height: 2.9rem; }
.gbl-cap {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .95rem; border-radius: 12px;
  background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.25rem);
  white-space: nowrap;
  opacity: 0; transform: translateX(-14px);
  transition: opacity .5s ease, transform .5s ease;
}
.gbl-cap i { color: var(--gbl-gold); }
.gbl-cap.is-on { opacity: 1; transform: none; transition-delay: .25s; }

.gbl-dots { display: flex; gap: 8px; margin: 1rem 0 1.6rem; }
.gbl-dotbtn { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .3); transition: width .4s ease, background .4s ease; }
.gbl-dotbtn.is-on { width: 26px; background: var(--gbl-gold); }

.gbl-get { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.gbl-play {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .75rem 1.7rem .75rem 1.3rem; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: gblNudge 3s 1.5s ease-in-out infinite;
}
.gbl-play:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 0 0 3px var(--gbl-gold), 0 18px 34px -10px rgba(0, 0, 0, .7); }
.gbl-play i { font-size: 2.1rem; background: linear-gradient(135deg, #00d7fe, #00f076 40%, #ffd500 70%, #ff3a44); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gbl-play span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.gbl-play small { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.gbl-play strong { font-size: 1.5rem; font-weight: 600; }
@keyframes gblNudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateY(-4px); } 95% { transform: translateY(1px); } }

.gbl-qr-wrap { display: flex; align-items: center; gap: .7rem; }
.gbl-qr { padding: 7px; border-radius: 12px; background: #fff; line-height: 0; }
.gbl-qr { padding: 9px; border-radius: 14px; }
.gbl-qr img, .gbl-qr canvas { width: clamp(100px, 8vw, 128px); height: clamp(100px, 8vw, 128px); }
.gbl-qr-wrap small { max-width: 7em; }
.gbl-qr-wrap small { color: rgba(255, 255, 255, .8); font-size: clamp(.9rem, 1.1vw, 1.1rem); line-height: 1.3; }

.gbl-app-later {
  margin-top: 1.5rem; padding: 0; border: 0; background: none;
  color: rgba(255, 255, 255, .75); font-weight: 600; font-size: 1.05rem;
}
.gbl-app-later:hover { color: #fff; }

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
  .gbl-valance { height: 44px; }
  .gbl-toran { top: 46px; transform: scale(.75); transform-origin: 0 0; width: 134%; }
  .gbl-content { inset: 84px 16px 96px; }
  .gbl-plaque { margin-bottom: .6rem; }
  .gbl-countdown { margin-top: 1rem; }
  .gbl-cd-cell { border-radius: 12px; }
  .gbl-legal { bottom: 54px; gap: .8rem; font-size: .75rem; }
  .gbl-legal a[href^="mailto"] { display: none; }
  .gbl-lang { bottom: 46px; }
  .gbl-tools { bottom: 46px; }
  .gbl-hem { height: 38px; }
  .gbl-tool[data-gbl-fullscreen] { display: none; }
  .gbl-lines { height: 6em; margin: .8rem 0 1.2rem; }
  .gbl-line::before, .gbl-line::after { display: none; }

  .gbl-app { align-items: flex-start; }
  .gbl-app { padding: 10px; }
  .gbl-app-card { grid-template-columns: 1fr; padding: 1.4rem 1.2rem 1.6rem; gap: .4rem; text-align: center; border-radius: 24px; }
  .gbl-phones { height: 36vh; }
  .gbl-app-logo { display: none; }
  .gbl-app-info h2 { margin-top: .6rem; }
  .gbl-app-sub { margin-bottom: 1rem; }
  .gbl-dots { margin: .7rem 0 1.1rem; }
  .gbl-play strong { font-size: 1.4rem; }
  .gbl-caption { display: flex; justify-content: center; }
  .gbl-cap { left: 50%; transform: translateX(-50%) translateY(8px); }
  .gbl-cap.is-on { transform: translateX(-50%); }
  .gbl-dots, .gbl-get { justify-content: center; }
  .gbl-qr-wrap { display: none !important; }
}
/* Short screens (laptops, 720p projectors): a little tighter around the edges */
@media (max-height: 760px) and (min-width: 768px) {
  .gbl-content { inset: 104px 16px 84px; }
  .gbl-plaque { margin-bottom: .4rem; }
  .gbl-legal { bottom: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .gbl *, .gbl-app * { animation: none !important; }
  .gbl.is-open .gbl-curtain-l, .gbl.is-open .gbl-curtain-r { animation: none; opacity: 0; transition: opacity .6s ease; }
  .gbl-phone { transition: opacity .4s ease; }
}

/* ---------- Visitors: "launching soon" page (styled like the maintenance page) ---------- */
.gbs {
  overflow-y: auto;
  display: none;
  color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(circle at 88% 0%, rgba(97, 0, 237, .55), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(37, 99, 235, .35), transparent 45%),
    linear-gradient(160deg, #12206c, #0a1650);
}
html.gb-launch-active .gbs { display: flex; }
.gbs { flex-direction: column; align-items: center; padding: 32px 16px 120px; }	/* the card's auto margin centres it without cutting off the top on short screens */
/* Hills along the bottom */
.gbs::before, .gbs::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; pointer-events: none; }
.gbs::before { height: 180px; background: rgba(255, 255, 255, .05); clip-path: polygon(0 70%, 10% 35%, 22% 60%, 35% 15%, 48% 55%, 58% 30%, 70% 62%, 82% 20%, 92% 48%, 100% 30%, 100% 100%, 0 100%); }
.gbs::after { height: 90px; background: rgba(255, 255, 255, .07); clip-path: polygon(0 55%, 12% 30%, 26% 60%, 40% 25%, 55% 58%, 68% 28%, 82% 55%, 100% 25%, 100% 100%, 0 100%); }

.gbs .gbl-tools { top: 16px; bottom: auto; }
.gbs .gbl-tool { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }

.gbs-card { position: relative; z-index: 1; width: 100%; max-width: 680px; margin: auto; text-align: center; }
.gbs-logo { display: inline-block; background: #fff; padding: 10px 18px; border-radius: 14px; margin-bottom: 26px; animation: gblRise .8s both; }
.gbs-logo img { height: 60px; width: auto; display: block; }
.gbs-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  animation: gbsFloat 3.2s ease-in-out infinite;
}
@keyframes gbsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.gbs-eyebrow {
  display: inline-block; margin: 0 0 12px; padding: .3rem 1rem; border-radius: 999px;
  background: rgba(255, 183, 3, .14); border: 1px solid rgba(255, 183, 3, .45);
  color: #ffb703; font-weight: 600; font-size: .95rem;
}
.gbs h1 {
  color: #fff; margin: 0 0 12px; font-weight: 700; line-height: 1.25;
  font-family: 'Baloo Bhai 2', 'Hind', sans-serif;
  font-size: clamp(1.7rem, 4.6vw, 2.6rem); text-wrap: balance;
}
.gbs-tagline { font-size: 1.15rem; margin: 0 0 6px; color: rgba(255, 255, 255, .85); }

.gbs-countdown { display: flex; justify-content: center; gap: clamp(.5rem, 2vw, 1rem); margin: 26px 0 14px; }
.gbs-cd-cell {
  width: clamp(4.3rem, 15vw, 6.4rem); padding: .8rem .3rem .6rem; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.gbs .gbl-cd-num { color: #fff; text-shadow: none; font-size: clamp(2rem, 6vw, 3.2rem); }
.gbs-cd-label { margin-top: .25rem; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.gbs-date { margin: 0 0 6px; color: #ffb703; font-weight: 600; font-size: 1.05rem; }

.gbs .gbl-lines { width: 100%; height: 3.4em; margin: 14px auto 0; font-size: 1.08rem; animation: none; }
.gbs .gbl-line { font-style: normal; color: rgba(255, 255, 255, .85); line-height: 1.6; }
.gbs .gbl-line::before, .gbs .gbl-line::after { display: none; }

.gbs .gbs-launch { display: flex; width: max-content; margin: 22px auto 26px; }
.gbs-dots { display: flex; justify-content: center; gap: 8px; margin: 26px 0 24px; }
.gbs-dots span { width: 8px; height: 8px; border-radius: 50%; background: #ffb703; animation: gbsDot 1.4s ease-in-out infinite; }
.gbs-dots span:nth-child(2) { animation-delay: .2s; }
.gbs-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes gbsDot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

.gbs-lang { display: inline-flex; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px; }
.gbs-lang button { border: 0; background: transparent; color: rgba(255, 255, 255, .75); font: 600 .8rem 'Hind', sans-serif; padding: .4rem .9rem; border-radius: 999px; cursor: pointer; }
.gbs-lang button.active { background: #6100ed; color: #fff; }
.gbs-contact { margin: 18px 0 6px; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.gbs-contact a { color: #fff; text-decoration: underline; }
.gbs-legal { display: flex; justify-content: center; gap: 1.2rem; font-size: .82rem; }
.gbs-legal a { color: rgba(255, 255, 255, .5); }
.gbs-legal a:hover { color: #fff; }

/* Launch pressed: the page lifts away, then the app popup follows */
.gbs .gbs-card { transition: opacity .9s ease, transform 1s cubic-bezier(.3, 0, .2, 1); }
.gbs.is-open { pointer-events: none; opacity: 0; transition: opacity 1.1s .5s ease; }
.gbs.is-open .gbs-card { opacity: 0; transform: translateY(-24px) scale(1.04); }

@media (max-height: 760px) and (min-width: 768px) {
  .gbs { padding: 20px 16px 70px; }
  .gbs-logo { margin-bottom: 16px; padding: 8px 14px; }
  .gbs-logo img { height: 46px; }
  .gbs-icon { width: 50px; height: 50px; font-size: 24px; margin-bottom: 12px; }
  .gbs h1 { font-size: 2.1rem; }
  .gbs-countdown { margin: 16px 0 10px; }
  .gbs .gbl-cd-num { font-size: 2.6rem; }
  .gbs .gbl-lines { margin-top: 8px; }
  .gbs-dots { margin: 14px 0 16px; }
  .gbs .gbs-launch { margin: 14px auto 18px; }
  .gbs-contact { margin-top: 12px; }
}
@media (max-width: 767px) {
  .gbs { padding: 24px 16px 100px; }
  .gbs-logo img { height: 48px; }
  .gbs .gbl-tools { display: none; }
  .gbs .gbl-lines { height: 5em; }
}
@media (prefers-reduced-motion: reduce) { .gbs-icon, .gbs-dots span { animation: none; } }
