/* v0.8.4: width-first image rendering. The image keeps its original aspect
   ratio rather than being cropped to cover the browser viewport. */
html:has(.mvg-gateway),body:has(.mvg-gateway){margin:0!important;padding:0!important;overflow:hidden!important;height:100%!important;min-height:100%!important}
.mvg-gateway,.mvg-gateway *{box-sizing:border-box}
.mvg-gateway{position:fixed!important;inset:0!important;z-index:2147480000!important;display:block!important;
  width:100%!important;height:100vh!important;height:100dvh!important;padding:0!important;margin:0!important;
  color:#fff;background:#061b1a;overflow-x:hidden!important;overflow-y:auto!important;
  font-family:'Baloo Thambi 2','Noto Sans Tamil',system-ui,sans-serif}
/* The active slide remains in normal flow and determines the stage height.
   This also permits a tall picture to remain uncropped; visitors can scroll. */
.mvg-gateway__stage{position:relative!important;display:block!important;width:100%!important;
  height:auto!important;min-height:100vh!important;min-height:100dvh!important;
  overflow:visible!important;background:#061b1a}
.mvg-gateway__slide{position:relative!important;inset:auto!important;display:flex!important;
  align-items:center!important;justify-content:center!important;width:100%!important;
  height:auto!important;min-height:100vh!important;min-height:100dvh!important;
  background-size:cover;background-position:center;background-repeat:no-repeat;
  opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease}
.mvg-gateway__slide.is-active{opacity:1;visibility:visible}
/* 100% page width, proportional height; never crop or stretch the slide image.
   Do not use position:absolute / height:100% / object-fit:cover here. */
.mvg-gateway__image{position:relative!important;inset:auto!important;display:block!important;
  flex:0 0 auto!important;width:100%!important;height:auto!important;max-width:none!important;
  max-height:none!important;object-fit:contain!important;object-position:center center;
  opacity:1!important;border:0!important;border-radius:0!important;
  margin:0!important;padding:0!important;transform:none!important}

.mvg-gateway__slide[hidden]{display:none!important}
/* A soft vignette keeps the overlay readable on the slide image. */
.mvg-gateway__stage::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(0deg,rgba(0,0,0,.3),transparent 38%,rgba(0,0,0,.1));}
.mvg-gateway__entry{position:absolute;z-index:5;inset:0;display:flex;justify-content:center;align-items:center;
  padding:24px;pointer-events:none}
.mvg-gateway__enter{pointer-events:auto;display:inline-flex;justify-content:center;align-items:center;min-height:62px;
  max-width:95%;padding:15px 34px;border:2px solid rgba(255,255,255,.65);border-radius:999px;
  background:rgba(7,26,24,.75);color:#fff!important;text-decoration:none!important;text-align:center;
  font-family:'Baloo Thambi 2','Noto Sans Tamil',system-ui,sans-serif;font-weight:750;
  font-size:clamp(18px,2.2vw,27px);line-height:1.4;letter-spacing:0;
  box-shadow:0 10px 35px rgba(0,0,0,.38);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:background .2s ease,transform .2s ease}
.mvg-gateway__enter:hover{background:rgba(7,26,24,.92);transform:translateY(-2px)}
.mvg-gateway button{cursor:pointer;touch-action:manipulation}
.mvg-gateway :is(a,button):focus-visible{outline:3px solid #f8d48f;outline-offset:4px}
.mvg-gateway__arrows{position:absolute;z-index:6;top:50%;left:clamp(9px,2vw,32px);right:clamp(9px,2vw,32px);
  transform:translateY(-50%);display:flex;justify-content:space-between;pointer-events:none}
.mvg-gateway__arrows button{pointer-events:auto;display:grid;place-items:center;width:48px;height:48px;
  border-radius:50%;border:1px solid rgba(255,255,255,.55);background:rgba(0,0,0,.35);color:#fff;
  font-size:32px;line-height:1;backdrop-filter:blur(5px)}
.mvg-gateway__arrows button:hover{background:rgba(0,0,0,.65)}
.mvg-gateway__dots{position:absolute;z-index:6;bottom:clamp(20px,4vh,44px);left:0;right:0;
  display:flex;align-items:center;justify-content:center;gap:11px}
.mvg-gateway__dots button{width:12px;height:12px;padding:0;border-radius:20px;border:1px solid rgba(255,255,255,.85);
  background:rgba(255,255,255,.33);transition:width .2s ease,background .2s ease}
.mvg-gateway__dots button.is-active{width:28px;background:#fff}
@media(max-width:640px){
  .mvg-gateway__enter{padding:14px 22px;min-height:57px;font-size:clamp(16px,4.5vw,21px)}
  .mvg-gateway__arrows{left:7px;right:7px}
  .mvg-gateway__arrows button{width:35px;height:42px;font-size:27px}
}
@media(prefers-reduced-motion:reduce){.mvg-gateway__slide,.mvg-gateway__enter{transition:none!important}}
