* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Playfair Display", serif;
  overflow-x: hidden;
}

html,
body {
  height: 100%;
}

/* WELCOME OVERLAY */

/* Scroll lock */
body.sb-no-scroll { overflow: hidden; }

/* Fullscreen overlay */
.sb-welcome-overlay{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  padding: 20px;
  display: grid;
  place-items: center;
  z-index: 99999;

  /* cinematic depth */
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(255,255,255,0.08), transparent 55%),
    radial-gradient(900px 600px at 80% 90%, rgba(255,255,255,0.06), transparent 55%),
    rgba(0,0,0,0.82);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
}

.sb-welcome-overlay.sb-hide{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Card container */
.sb-welcome-card{
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 720px;
  max-height: 330px;
  padding: 40px 34px 30px;
  border-radius: 26px;
  text-align: center;
  overflow: hidden;

  /* premium black base */
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, #171717 0%, #0d0d0d 100%);

  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 28px 90px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.08);

  transform: translateY(16px) scale(.985);
  opacity: 0;
  animation: sb-card-in .70s cubic-bezier(.2,.9,.2,1) forwards;
}

/* Subtle “frame” look */
.sb-welcome-card::before{
  content:"";
  position:absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events:none;
}

/* Soft diagonal shine */
.sb-welcome-card::after{
  content:"";
  position:absolute;
  inset:-60% -20%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.08) 50%, transparent 65%);
  transform: rotate(10deg);
  opacity: .55;
  pointer-events:none;
  animation: sb-shine 6.5s ease-in-out infinite;
}

/* Grain texture */
.sb-welcome-overlay::before{
  content:"";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
  opacity: .08;
  pointer-events:none;
}

/* Full centered logo watermark */
.sb-logo-bg{
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/common_logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(78%, 250px);
  opacity: 0.16;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.75));
  transform: scale(1.02);
  pointer-events: none;
  z-index: 0;
}

/* Keep text above logo */
.sb-welcome-card > *:not(.sb-logo-bg){
  position: relative;
  z-index: 2;
}

/* Badge – elegant monochrome */
.sb-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;

  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);

  margin-bottom: 14px;
}

/* tiny dot in badge */
.sb-badge::before{
  content:"";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

/* Title */
.sb-title{
  font-family: "Playfair Display", serif;
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 10px;
  color: rgba(150, 105, 25, 1);
  /* color: rgba(245, 191, 3, 1); */
  text-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* Subtitle */
.sb-subtitle{
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

.sb-subtitle span{
  color: #ffffff;
  font-weight: 700;
}

/* Divider – classy */
.sb-divider{
  width: 100px;
  height: 2px;
  margin: 0 auto 14px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.65), transparent);
}

/* Note */
.sb-note{
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 22px;
}

/* Button row */
.sb-btn-row{
  display:flex;
  justify-content:center;
}

/* Button */
.sb-btn{
  border: 0;
  cursor: pointer;
  padding: 12px 30px;
  border-radius: 12px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .20em;
  text-transform: uppercase;

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

/* Creative monochrome button */
.sb-primary{
  background: #ffffff;
  color: #0c0c0c;

  box-shadow:
    0 18px 50px rgba(0,0,0,0.65),
    inset 0 -2px 0 rgba(0,0,0,0.12);
}

/* Hover: slight lift + glow */
.sb-primary:hover{
  transform: translateY(-2px);
  background: #f0f0f0;
  box-shadow:
    0 24px 70px rgba(0,0,0,0.75),
    0 0 0 6px rgba(255,255,255,0.06);
}

/* Active */
.sb-primary:active{
  transform: translateY(0);
}

/* Animations */
@keyframes sb-card-in{
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes sb-shine{
  0%, 100% { transform: rotate(10deg) translateX(-6%); opacity: .45; }
  50% { transform: rotate(10deg) translateX(6%); opacity: .70; }
}

/* Mobile tuning */
@media (max-width: 768px){
  .sb-welcome-card{
    padding: 28px 18px 22px;
    border-radius: 18px;
  }

  .sb-title{ font-size: 28px; }

  .sb-subtitle{ font-size: 14px; }

  .sb-note{ font-size: 13px; }

  .sb-btn{ width: 80%; padding: 12px 18px; }

  .sb-logo-bg{
    background-size: 86%;
    opacity: 0.14;
  }
}


.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh; /* iOS stable viewport */
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
}
.logo-container {
  margin-bottom: 2rem;
}

.main-logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  margin-top: 4rem;
}

.title {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.description {
  font-size: 1.1rem;
  font-style: italic;
  max-width: 900px;
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  padding: 0 1rem;
}

.location-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.location-link {
  transition: transform 0.3s ease;
  display: block;
}

.location-link:hover {
  transform: scale(1.05);
}

.location-link img {
  width: 320px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .title {
    font-size: 3.5rem;
  }
  .location-link img {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 2.8rem;
  }
  .description {
    margin-bottom: 2rem;
  }
  .location-logos {
    gap: 1.5rem;
  }
  .location-link img {
    width: 210px;
  }
}

/* @media (max-width: 395px){

} */

@media (max-width: 480px) {

  .title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .main-logo {
    max-width: 200px;
    margin-top: 2rem;
  }
  .description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .location-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; /* Reduced from 1.5rem to bring logos closer */
    width: 100%;
    padding: 0 1rem;
    margin-top: 2rem; /* Pulls the whole group up slightly */
  }

  .location-link {
    width: 100%;
    max-width: 280px;
    margin-bottom: -0.5rem; /* Further reduces space between logos */
  }

  .location-link img {
    width: 100%;
    margin-top: 0;
    transform: scale(
      0.95
    ); /* Slightly reduces each logo's size to create more space */
    transition: transform 0.3s ease;
  }

  .location-link:hover img {
    transform: scale(1); /* Returns to normal size on hover */
  }
  
  
  .video-background {
    height: 110vh;
    height: 110svh;
  }

  .content {
    min-height: 110vh;
    min-height: 110svh;
  }
}

@media (max-width:540px){

  .location-logos{
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .main-logo {
    width: 180px;
  }

  .description{
    font-size: 0.9rem;
  }

  .content {
    padding-bottom: 50px;
  }
}


@media (max-width: 360px) {
  .title {
    font-size: 2rem;
  }
  .location-link {
    max-width: 260px;
  }

}
