/*-------------------------------------------------
  Globe Visual Section (Scoped)
--------------------------------------------------*/

.globe-visual-section {
  --globe-visual-bg-1: #120f0b;
  --globe-visual-bg-2: #19140f;
  --globe-visual-bg-3: #231b14;
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(12px, 1.8vw, 24px) clamp(24px, 4vw, 48px) clamp(18px, 2.4vw, 34px);
  background:
    radial-gradient(circle at 14% 20%, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 46%),
    radial-gradient(circle at 84% 56%, rgba(212, 175, 55, 0.11) 0%, rgba(0, 0, 0, 0) 50%),
    linear-gradient(150deg, var(--globe-visual-bg-1) 0%, var(--globe-visual-bg-2) 52%, var(--globe-visual-bg-3) 100%);
}

.globe-visual-section::before,
.globe-visual-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-visual-section::before {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.22) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.95), transparent 82%);
}

.globe-visual-section::after {
  opacity: 0.18;
  background:
    radial-gradient(circle at 22% 26%, rgba(212, 175, 55, 0.12) 0, rgba(212, 175, 55, 0.12) 0.8px, transparent 1.1px),
    radial-gradient(circle at 76% 68%, rgba(212, 175, 55, 0.08) 0, rgba(212, 175, 55, 0.08) 0.75px, transparent 1px);
  background-size: 220px 220px, 280px 280px;
  background-position: 0 0, 44px 30px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), transparent 90%);
}

.globe-visual-stage {
  position: relative;
  width: min(132vw, 1700px);
  aspect-ratio: 1 / 1;
  isolation: isolate;
  transform: translate3d(0, 1%, 0);
  z-index: 2;
}

.globe-visual-stage::before,
.globe-visual-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.globe-visual-stage::before {
  inset: 6%;
  border: 1px solid rgba(212, 175, 55, 0.09);
}

.globe-visual-stage::after {
  inset: 3%;
  border: 1px dashed rgba(212, 175, 55, 0.07);
  animation: globe-visual-hud-spin 34s linear infinite;
}

.globe-visual-core-glow {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 62% 42%,
    rgba(212, 175, 55, 0.18) 0%,
    rgba(212, 175, 55, 0.07) 34%,
    rgba(0, 0, 0, 0) 72%
  );
  filter: blur(20px);
  z-index: 0;
}

.globe-visual-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(1.03) contrast(1.1) saturate(1.02);
}

.globe-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  pointer-events: none;
}

.globe-visual-content {
  max-width: 820px;
  text-align: center;
  pointer-events: auto;
}

.globe-visual-title {
  margin: 0 0 16px;
  max-width: 720px;
  color: rgba(245, 236, 210, 0.9);
  font-size: clamp(27px, 3.7vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-family: var(--tp-ff-unbounded);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

.globe-visual-subtitle {
  margin: 0 auto;
  max-width: 620px;
  color: rgba(245, 247, 245, 0.8);
  font-size: clamp(15px, 1.4vw, 22px);
  line-height: 1.56;
}

.globe-visual-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.globe-visual-btn {
  min-width: 190px;
  height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid #D4AF37;
  background-color: #D4AF37;
  color: #0c0b09;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.globe-visual-btn:hover {
  color: #D4AF37;
  background-color: rgba(17, 13, 10, 0.58);
}

@media (min-width: 992px) {
  .globe-visual-section {
    padding-top: 0;
  }

  .globe-visual-stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(132vw, 1700px);
    transform: translate3d(-50%, -54%, 0);
  }

  .globe-visual-overlay {
    padding-top: clamp(12px, 1.8vw, 28px);
    padding-bottom: clamp(8px, 1.2vw, 18px);
  }

  .globe-visual-content {
    transform: translateY(clamp(-2px, -5vw, -10px));
  }

  .globe-visual-title {
    max-width: 680px;
    margin-bottom: 12px;
    font-size: clamp(24px, 3.2vw, 54px);
    line-height: 1.02;
  }

  .globe-visual-subtitle {
    max-width: 580px;
    font-size: clamp(14px, 1.15vw, 19px);
    line-height: 1.48;
  }

  .globe-visual-actions {
    margin-top: 26px;
    gap: 12px;
  }
}

@keyframes globe-visual-hud-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .globe-visual-section {
    padding: 10px;
  }

  .globe-visual-stage {
    width: min(170vw, 980px);
    transform: translate3d(0, 8%, 0);
  }

  .globe-visual-core-glow {
    inset: 3%;
  }

  .globe-visual-title {
    margin-bottom: 14px;
    line-height: 1.1;
  }

  .globe-visual-subtitle {
    max-width: 88vw;
    line-height: 1.52;
  }

  .globe-visual-actions {
    margin-top: 28px;
    gap: 10px;
  }

  .globe-visual-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .globe-visual-stage::after {
    animation: none;
  }
}

/*-------------------------------------------------
  Homepage Video Hero
--------------------------------------------------*/

.globe-video-hero {
  --hero-gold: #DFAE4F;
  --hero-gold-rgb: 223, 174, 79;
  --hero-gold-glow: rgba(223, 174, 79, 0.45);
  --hero-bg: #050403;
  width: 100%;
  min-height: 100vh;
  background-color: var(--hero-bg);
  overflow: hidden;
}

.globe-video-hero__inner {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 47%, rgba(var(--hero-gold-rgb), 0.055) 0%, rgba(var(--hero-gold-rgb), 0.024) 28%, transparent 58%),
    linear-gradient(180deg, #050403 0%, #080705 48%, #050403 100%);
}

.globe-video-hero__inner::before,
.globe-video-hero__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-video-hero__inner::before {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 52%, rgba(5, 4, 3, 0.46) 0%, rgba(5, 4, 3, 0.26) 26%, rgba(5, 4, 3, 0.08) 48%, rgba(5, 4, 3, 0.72) 100%),
    linear-gradient(90deg, rgba(5, 4, 3, 0.78) 0%, rgba(5, 4, 3, 0.18) 38%, rgba(5, 4, 3, 0.18) 62%, rgba(5, 4, 3, 0.78) 100%);
}

.globe-video-hero__inner::after {
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(var(--hero-gold-rgb), 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--hero-gold-rgb), 0.13) 1px, transparent 1px);
  background-size: 110px 110px;
  -webkit-mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.9), transparent 74%);
  mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.9), transparent 74%);
}

.globe-video-hero__media {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  overflow: hidden;
  background-color: var(--hero-bg);
}

.globe-video-hero__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  background-color: var(--hero-bg);
}

.globe-video-hero__canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.92;
  filter: drop-shadow(0 0 20px rgba(var(--hero-gold-rgb), 0.16));
}

.globe-video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 4vw, 68px);
  pointer-events: none;
}

.globe-video-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
}

.globe-video-hero__title {
  margin: 0 0 14px;
  color: rgba(245, 247, 245, 0.96);
  font-family: var(--tp-ff-unbounded);
  font-size: clamp(26px, 4vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
  text-wrap: balance;
}

.globe-video-hero__subtitle {
  margin: 0 auto;
  max-width: 860px;
  color: rgba(245, 247, 245, 0.86);
  font-size: clamp(14px, 1.3vw, 22px);
  line-height: 1.48;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.62);
}

@media (max-width: 768px) {
  .globe-video-hero {
    --mobile-globe-zoom: 2.5; /* Increase for a closer mobile globe, decrease to show more of the full globe. */
    --mobile-hero-text-offset: -60px; /* Negative moves mobile hero text up, positive moves it down. */
    --mobile-hero-title-size: 25px; /* Mobile H1 size: increase/decrease this to tune the headline. */
    --mobile-hero-subtitle-size: 18px; /* Mobile paragraph size: increase/decrease this to tune the subtitle. */
    min-height: 78vh;
    padding: 58px 0 10px;
  }

  .globe-video-hero__inner {
    width: 100%;
    height: min(78vh, 640px);
  }

  .globe-video-hero__media {
    inset: 0;
    overflow: hidden;
  }

  .globe-video-hero__video {
    width: 100%;
    height: 100%;
    margin-top: 0;
    object-fit: contain;
    object-position: 50% 50%;
    transform: scale(var(--mobile-globe-zoom));
    transform-origin: 50% 50%;
    filter: brightness(1.18) contrast(1.08) saturate(1.06);
  }

  .globe-video-hero__canvas {
    opacity: 0.68;
  }

  .globe-video-hero__inner::before {
    background:
      radial-gradient(circle at 50% 34%, rgba(5, 4, 3, 0.08) 0%, rgba(5, 4, 3, 0.12) 38%, rgba(5, 4, 3, 0.78) 72%, rgba(5, 4, 3, 0.96) 100%),
      linear-gradient(180deg, rgba(5, 4, 3, 0.1) 0%, rgba(5, 4, 3, 0.18) 48%, rgba(5, 4, 3, 0.88) 72%, rgba(5, 4, 3, 0.96) 100%);
  }

  .globe-video-hero__overlay {
    align-items: flex-start;
    left: 0;
    right: 0;
    width: 100vw;
    padding: 390px 16px 18px;
  }

  .globe-video-hero__content {
    text-align: center;
    transform: translateY(var(--mobile-hero-text-offset));
  }

  .globe-video-hero__title {
    max-width: min(340px, calc(100vw - 32px));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    color: #f5f7f5;
    font-size: clamp(22px, 7vw, var(--mobile-hero-title-size));
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.015em;
    opacity: 1;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.92);
  }

  .globe-video-hero__subtitle {
    max-width: min(340px, calc(100vw - 32px));
    color: rgba(245, 247, 245, 0.9);
    font-weight: 500;
    font-size: var(--mobile-hero-subtitle-size);
    line-height: 1.5;
    opacity: 1;
    overflow-wrap: break-word;
  }
}
