/* ==========================================================================
   GATE 2027 HERO — WordPress scoped version
   ========================================================================== */

.gate2027-hero {
  --gate-navy: #2E3A8C;
  --gate-navy-deep: #1B2559;
  --gate-navy-ink: #0E1740;
  --gate-orange: #F7941E;
  --gate-orange-2: #F26A21;
  --gate-pink: #E6007E;
  --gate-yellow: #FFC20E;
  --gate-blue: #2B5BD7;
  --gate-green: #00A86B;
  --gate-f: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gate-ease: cubic-bezier(.22, 1, .36, 1);

  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--gate-navy-ink);
  font-family: var(--gate-f);
  display: flex;
  flex-direction: column;
}

.gate2027-hero,
.gate2027-hero * {
  box-sizing: border-box;
}

.gate2027-hero a {
  text-decoration: none;
}

/* Background */

.gate2027-hero .gate-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.gate2027-hero .gate-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.gate2027-hero .gate-bg-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      60% 55% at 50% 28%,
      rgba(14,23,64,.5),
      rgba(14,23,64,.9) 72%
    ),
    linear-gradient(
      180deg,
      rgba(14,23,64,.7),
      rgba(14,23,64,.95) 55%,
      var(--gate-navy-ink) 100%
    );
}

.gate2027-hero .gate-bg-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    70% 60% at 50% 30%,
    #000,
    transparent 85%
  );
  -webkit-mask-image: radial-gradient(
    70% 60% at 50% 30%,
    #000,
    transparent 85%
  );
}

.gate2027-hero .gate-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .38;
  will-change: transform;
}

.gate2027-hero .gate-orb-a {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  right: -10vw;
  background: radial-gradient(
    circle at 35% 35%,
    var(--gate-pink),
    var(--gate-orange-2) 60%,
    transparent 75%
  );
  animation: gate2027-drift-a 22s ease-in-out infinite;
}

.gate2027-hero .gate-orb-b {
  width: 40vw;
  height: 40vw;
  bottom: -14vw;
  left: -12vw;
  background: radial-gradient(
    circle at 60% 40%,
    var(--gate-blue),
    var(--gate-green) 65%,
    transparent 78%
  );
  animation: gate2027-drift-b 26s ease-in-out infinite;
}

@keyframes gate2027-drift-a {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-4%, 5%) scale(1.08);
  }
}

@keyframes gate2027-drift-b {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, -4%) scale(1.1);
  }
}

.gate2027-hero .gate-bg-rainbow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  z-index: 5;
  background: linear-gradient(
    90deg,
    var(--gate-blue),
    var(--gate-green),
    var(--gate-yellow),
    var(--gate-orange),
    var(--gate-pink)
  );
}

/* Content */

.gate2027-hero .gate-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding:
    clamp(64px, 11vh, 108px)
    clamp(20px, 5vw, 40px)
    48px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gate2027-hero [data-gate-rise] {
  opacity: 0;
  transform: translateY(16px);
  animation: gate2027-rise .7s var(--gate-ease) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes gate2027-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Brand */

.gate2027-hero .gate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.gate2027-hero .gate-brand-mark {
  width: 44px;
  height: 44px;
}

.gate2027-hero .gate-brand-word {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}

.gate2027-hero .gate-brand-word b {
  font-weight: 800;
  margin-left: .1em;
  background: linear-gradient(
    90deg,
    var(--gate-orange),
    var(--gate-pink)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tag */

.gate2027-hero .gate-tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.9);
}

/* Heading */

.gate2027-hero .gate-title {
  margin: 0 0 20px;
  font-family: var(--gate-f);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-size: clamp(2rem, 5vw, 3rem);
}

.gate2027-hero .gate-title .gate-highlight {
  background: linear-gradient(
    90deg,
    var(--gate-yellow),
    var(--gate-orange) 55%,
    var(--gate-pink)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Description */

.gate2027-hero .gate-lede {
  margin: 0 auto 40px;
  max-width: 50ch;
  color: rgba(255,255,255,.68);
  font-size: clamp(.95rem, 1.6vw, 1.08rem);
  line-height: 1.7;
}

/* Countdown */

.gate2027-hero .gate-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.6vw, 14px);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gate2027-hero .gate-cd-cell {
  position: relative;
  min-width: 82px;
  padding: 18px 12px 15px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 16px 40px -20px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.16);
  overflow: hidden;
}

.gate2027-hero .gate-cd-cell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--gate-blue),
    var(--gate-green),
    var(--gate-yellow),
    var(--gate-orange),
    var(--gate-pink)
  );
  opacity: .8;
}

.gate2027-hero .gate-cd-cell b {
  display: block;
  font-family: var(--gate-f);
  font-size: clamp(1.7rem, 4.2vw, 2.3rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
}

.gate2027-hero .gate-cd-cell i {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.gate2027-hero .gate-cd-sep {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255,255,255,.25);
  margin-bottom: 18px;
}

/* Date */

.gate2027-hero .gate-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 34px;
  font-size: .86rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}

.gate2027-hero .gate-date-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--gate-green);
  box-shadow: 0 0 0 4px rgba(0,168,107,.22);
}

/* Contact */

.gate2027-hero .gate-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gate2027-hero .gate-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--gate-f);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.01em;
  background: linear-gradient(
    90deg,
    var(--gate-orange),
    var(--gate-orange-2)
  );
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(242,106,33,.85);
  transition:
    transform .3s var(--gate-ease),
    box-shadow .3s;
}

.gate2027-hero .gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgba(242,106,33,.95);
}

.gate2027-hero .gate-btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  box-shadow: none;
}

.gate2027-hero .gate-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
}

/* Ticker */

.gate2027-hero .gate-ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.18);
  padding: 14px 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.gate2027-hero .gate-ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: gate2027-scroll-left 34s linear infinite;
}

.gate2027-hero .gate-ticker-track span {
  font-family: var(--gate-f);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gate2027-hero .gate-ticker-track span::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--gate-orange);
}

@keyframes gate2027-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hero footer */

.gate2027-hero .gate-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 20px 30px;
  text-align: center;
}

.gate2027-hero .gate-footer img {
  filter: brightness(0) invert(1);
  opacity: .75;
}

.gate2027-hero .gate-footer p {
  margin: 0;
  max-width: 42ch;
  font-family: var(--gate-f);
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 480px) {
  .gate2027-hero .gate-cd-sep {
    display: none;
  }

  .gate2027-hero .gate-cd-cell {
    min-width: 68px;
    padding: 14px 8px 12px;
  }

  .gate2027-hero .gate-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gate2027-hero .gate-date-badge {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .gate2027-hero [data-gate-rise] {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .gate2027-hero .gate-orb-a,
  .gate2027-hero .gate-orb-b,
  .gate2027-hero .gate-ticker-track {
    animation: none;
  }
}

/* GATE 2027 only */
.gate2027-hero .gate-title {
  color: #fff !important;
}

.gate2027-hero .gate-brand-mark {
  width: 220px !important;
  height: auto !important;
}

/* GATE 2027 only */
.gate2027-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.gate2027-hero .gate-brand-mark {
  width: 180px !important;
  height: auto !important;
}