/* HAALAND hero ? layout-specific marquee overlap */

/* Desktop nav ? solid background (main.js toggles transparent on scroll) */
body.bg-black .desktop-nav-container {
  background-color: #000 !important;
}

body:not(.bg-black) .desktop-nav-container {
  background-color: #005308 !important;
}

/* v1 ? anchor targets sit below fixed header */
#how-to-buy,
#about,
#roadmap,
#faq,
#videos {
  scroll-margin-top: 5.5rem;
}

@media (min-width: 1280px) {
  #how-to-buy,
  #about,
  #roadmap,
  #faq,
  #videos {
    scroll-margin-top: 6.75rem;
  }
}

/* Home 3 ? instant dark hero base (no white flash) */
section.noise {
  background-color: #000;
}

section.noise .hero-banner-wrap {
  margin-bottom: -2rem;
  line-height: 0;
}

section.noise .hero-banner-img {
  display: block;
  width: auto;
  max-width: min(100%, 700px);
  max-height: 580px;
  height: auto;
  margin-inline: auto;
  margin-bottom: -9rem;
  object-fit: contain;
  object-position: center bottom;
}

section.noise .hero-marquee-overlap {
  position: relative;
  z-index: 30;
}

@media (max-width: 767px) {
  section.noise .hero-banner-img {
    margin-bottom: -5.75rem;
  }

  section.noise .hero-marquee-overlap {
    margin-top: -3.25rem !important;
  }

  section.noise .hero-marquee-overlap .animated-text-strip:first-child {
    transform: translateY(4.25rem) rotate(7deg) !important;
  }

  section.noise .hero-marquee-overlap .animated-text-strip:nth-child(2) {
    margin-top: 0 !important;
    transform: translateY(1.5rem) rotate(-5deg) !important;
  }

  /* Room for full marquee strips ? clip horizontal overflow, keep vertical space */
  section.noise,
  .bg-cover.bg-no-repeat[data-bg] {
    overflow-x: clip !important;
    overflow-y: visible;
    padding-bottom: 3rem;
  }

  section.noise::before,
  .bg-cover.bg-no-repeat[data-bg]::before {
    height: 2.5rem !important;
    z-index: 1 !important;
  }

  .hero-marquee-overlap,
  section.noise .hero-marquee-overlap,
  .hero-marquee-overlap--home1 {
    overflow-x: clip !important;
    overflow-y: visible;
    padding-bottom: 2rem;
    margin-bottom: 0.25rem;
    min-height: 5.5rem;
    z-index: 20;
  }
}

@media (min-width: 768px) {
  section.noise .hero-banner-img {
    margin-bottom: -10rem;
  }
}

@media (min-width: 1024px) {
  section.noise .hero-banner-img {
    max-height: 620px;
    margin-bottom: -11rem;
  }
}

/* ?? Home 1 (grid hero) ?? */
@media (max-width: 767px) {
  .haaland-hero-home1-grid {
    flex-direction: column !important;
    align-items: center;
    gap: 0.75rem !important;
    padding-top: 6.25rem;
    text-align: center;
  }

  .haaland-hero-home1-copy {
    width: 100%;
    order: 1;
  }

  .haaland-hero-home1-grid .haaland-hero-title,
  .haaland-hero-home1-grid .landing-1-banner-title {
    font-size: clamp(2.125rem, 10.5vw, 2.875rem) !important;
    line-height: 1.05 !important;
    -webkit-text-stroke-width: 1px;
    text-shadow: -4px -2px 6px #e3ff10;
  }

  .haaland-hero-home1-grid .haaland-hero-subtitle {
    margin-inline: auto;
    margin-top: 0.625rem !important;
    max-width: 17.5rem !important;
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
  }

  .haaland-hero-home1-grid .haaland-hero-cta {
    justify-content: center;
    gap: 0.5rem !important;
    padding-top: 0.875rem !important;
  }

  .haaland-hero-home1-grid .haaland-hero-cta .button-primary {
    padding: 0.45rem 0.875rem !important;
    font-size: 0.75rem !important;
  }

  .haaland-hero-home1-grid .haaland-hero-cta .group {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  .haaland-hero-home1-grid .haaland-hero-cta .group .h5 {
    padding: 0.4rem 0.9rem !important;
    font-size: 0.75rem !important;
  }

  .haaland-hero-partners {
    display: none !important;
  }

  .haaland-hero-partners-spacer {
    display: none;
  }

  .haaland-hero-home1-grid .haaland-hero-mascot-wrap {
    order: 2;
    width: 100%;
    max-width: min(100%, 29rem);
    margin-inline: auto;
  }

  .bg-cover.bg-no-repeat .haaland-hero-home1-grid .hero-banner-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    margin-bottom: -5.75rem;
    object-fit: contain;
    object-position: center bottom;
  }
}

@media (min-width: 768px) {
  .haaland-hero-home1-grid {
    align-items: stretch;
  }

  .haaland-hero-home1-copy {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .haaland-hero-partners-spacer {
    flex: 1 1 auto;
    min-height: 4rem;
    max-height: 7.75rem;
  }

  .haaland-hero-partners {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: start;
    gap: 1.35rem 1.85rem;
    margin: 0;
    padding: 0 0 2.75rem;
    list-style: none;
    width: 100%;
    max-width: 34rem;
    flex-shrink: 0;
    position: relative;
    z-index: 12;
    visibility: hidden;
  }

  .haaland-hero-partners.is-visible {
    visibility: visible;
  }

  .haaland-hero-partners li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 2.5rem;
    padding: 0;
    overflow: hidden;
  }

  .haaland-hero-partners img {
    display: block;
    width: 100%;
    height: 1.9rem;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: left center;
    opacity: 0.78;
    filter: grayscale(1) brightness(1.25);
    transition:
      opacity 0.3s ease,
      filter 0.3s ease;
  }

  .haaland-hero-partners__item--solana img,
  .haaland-hero-partners__item--phantom img,
  .haaland-hero-partners__item--jupiter img,
  .haaland-hero-partners__item--pumpfun img,
  .haaland-hero-partners__item--raydium img,
  .haaland-hero-partners__item--coinmarketcap img {
    height: 1.9rem;
  }

  .haaland-hero-partners img:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
  }
}

@media (min-width: 1200px) {
  .haaland-hero-partners-spacer {
    min-height: 4.5rem;
    max-height: 8.5rem;
  }

  .haaland-hero-partners {
    max-width: 36rem;
    gap: 1.5rem 2.1rem;
    padding-bottom: 3rem;
  }

  .haaland-hero-partners img {
    height: 2rem;
  }

  .haaland-hero-partners__item--solana img,
  .haaland-hero-partners__item--phantom img,
  .haaland-hero-partners__item--jupiter img,
  .haaland-hero-partners__item--pumpfun img,
  .haaland-hero-partners__item--raydium img,
  .haaland-hero-partners__item--coinmarketcap img {
    height: 2rem;
  }
}

.bg-cover.bg-no-repeat .hero-banner-wrap {
  margin-bottom: 0;
  line-height: 0;
}

.bg-cover.bg-no-repeat .hero-banner-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: -3.5rem;
  object-fit: contain;
  object-position: center bottom;
}

.bg-cover.bg-no-repeat .hero-marquee-overlap--home1 {
  position: relative;
  z-index: 20;
}

@media (max-width: 767px) {
  .bg-cover.bg-no-repeat .hero-banner-img {
    margin-bottom: -5.75rem;
  }

  .bg-cover.bg-no-repeat .hero-marquee-overlap--home1 {
    margin-top: -3.25rem;
  }

  .bg-cover.bg-no-repeat .hero-marquee-overlap--home1 .animated-text-strip:first-child {
    transform: translateY(4.25rem) rotate(7deg) !important;
  }

  .bg-cover.bg-no-repeat .hero-marquee-overlap--home1 .animated-text-strip:nth-child(2) {
    margin-top: 0 !important;
    transform: translateY(1.5rem) rotate(-5deg) !important;
  }

  .home-1-how-to-buy,
  section.noise + section {
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 768px) {
  .bg-cover.bg-no-repeat .hero-banner-img {
    margin-bottom: -3.5rem;
  }
}

@media (min-width: 1024px) {
  .bg-cover.bg-no-repeat .hero-banner-img {
    margin-bottom: -4rem;
  }
}

@media (min-width: 1400px) {
  .bg-cover.bg-no-repeat .hero-banner-img {
    margin-bottom: -4.5rem;
  }
}

.hero-marquee-overlap .animated-text-strip.max-md\:mt-20 {
  margin-top: 0 !important;
}

@media (min-width: 768px) {
.hero-marquee-overlap .md\:max-xl\:mt-10 {
  margin-top: 0 !important;
  }
}

/* Hero intro ? GSAP (init-memeco-header.ts) */
.haaland-hero-title,
.haaland-hero-subtitle {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.haaland-hero-cta a {
  opacity: 0;
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .haaland-hero-partners__item {
    opacity: 0;
    will-change: transform, opacity, filter;
  }
}

.haaland-hero-mascot-wrap {
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: visible;
}

.haaland-hero-mascot {
  display: block;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  opacity: 0;
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
  .haaland-hero-title,
  .haaland-hero-subtitle,
  .haaland-hero-mascot,
  .haaland-hero-cta a,
  .haaland-hero-partners__item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .haaland-hero-partners.is-visible,
  .haaland-hero-partners {
    visibility: visible !important;
  }
}

/* About section ? same zoom-in as hero mascot */
.haaland-about-wrap {
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: visible;
}

.haaland-about-image {
  display: block;
  width: 100%;
  height: auto;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  opacity: 0;
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
  .haaland-about-image {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Scroll to top ? desktop only, visible after scroll (init-memeco-scroll-top.ts) */
.scroll-top {
  display: none !important;
  opacity: 0;
  transform: translateY(5rem);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

@media (min-width: 1200px) {
  .scroll-top {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
}

/* Roadmap floating ball ? softer, less intense */
.haaland-roadmap-ball {
  opacity: 0.55;
  filter: saturate(0.28) brightness(1.1) contrast(0.82);
}

/* Home 1 ? FAQ frame animation (faq0.png ? faq4.png) */
.haaland-faq-frames {
  display: block;
  width: 100%;
  line-height: 0;
}

.haaland-faq-frames img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  #faq .appear-downd,
  #faq .haaland-faq-frames {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header audio button ? pulse + play/stop icon */
.haaland-header-audio-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  animation: haaland-audio-pulse 2s ease-in-out infinite;
}

.haaland-header-audio-btn.is-playing {
  animation: none;
}

.haaland-header-audio-btn.needs-tap {
  animation: haaland-audio-pulse 1.1s ease-in-out infinite;
}

.haaland-header-audio-icon {
  display: flex;
  height: 1.1rem;
  width: 1.1rem;
  flex-shrink: 0;
}

.haaland-header-audio-icon svg {
  width: 100%;
  height: 100%;
}

.haaland-header-audio-label {
  white-space: nowrap;
}

.haaland-mobile-audio-btn {
  display: inline-flex !important;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(227, 255, 16, 0.45);
  background: rgba(0, 0, 0, 0.2);
  color: #e3ff10;
  padding: 0 !important;
  animation: haaland-audio-pulse 1.1s ease-in-out infinite;
}

.haaland-mobile-audio-btn.is-playing {
  animation: none;
  border-color: #e3ff10;
  background: rgba(227, 255, 16, 0.15);
}

.haaland-mobile-audio-btn .haaland-header-audio-icon {
  height: 1.25rem;
  width: 1.25rem;
}

@keyframes haaland-audio-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(227, 255, 16, 0.45),
      0 8px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(227, 255, 16, 0.12),
      0 8px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.04);
  }
}

/* Home 1 ? How to Buy step images */
.home-1-how-to-buy .how-to-buy > img {
  display: block;
  width: 40%;
  max-width: 40%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* Home 3 ? same HAALAND how-to-buy images as v1 (public root) */
#how-to-buy .how-to-buy-3 > img {
  display: block;
  width: 40%;
  max-width: 40%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* Home 3 / v3 ? compact footer CTA (left column) */
.haaland-footer-cta-col {
  max-width: 24rem;
}

.haaland-footer-cta-col .h5 {
  line-height: 1.25;
}

.haaland-footer-cta-box {
  min-height: 3.5rem;
}

.haaland-footer-cta-box a {
  text-decoration: none;
  white-space: nowrap;
}

/* v1 + the-man ? pump.fun hint inside green footer CTA */
.haaland-pump-hint {
  box-sizing: border-box;
}

/* Mobile ? footer top breathing room only */
@media (max-width: 767px) {
  footer.spt100px {
    padding-top: 5.5rem;
  }

  footer .container > .grid-cols-12 {
    padding-top: 3.5rem;
  }

  /* spl60px only sets left padding ? balance green CTA card on mobile */
  footer .spl60px.spy80px {
    padding-right: 30px;
  }

  footer .haaland-pump-hint {
    max-width: calc(100% - 0.75rem);
    padding-inline: 1rem;
  }

  /* v1 dark footer: JOIN CTA visible on mobile (sin mascot green) */
  footer .haaland-footer-cta-col {
    display: block;
    margin-bottom: 1.5rem;
  }
}

/* Home 1 ? GOAL MACHINE TV feature cards: 3 columns desktop */
.haaland-video-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .haaland-video-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.haaland-video-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 2rem 2.25rem;
}

@media (min-width: 768px) {
  .haaland-video-feature {
    padding: 2.25rem 2.5rem;
  }
}

.haaland-video-feature-icon {
  height: 4rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .haaland-video-feature-icon {
    height: 4.5rem;
  }
}

.haaland-video-feature .lead-text {
  margin-top: 1.25rem;
}

.haaland-video-feature .m-text {
  margin-top: 0.75rem;
  padding-inline: 0.5rem;
}

/* Video panel */
.haaland-video-stage {
  width: 100%;
}

.haaland-video-panel {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .haaland-video-panel {
    padding: 2rem 2.5rem;
  }
}

.haaland-video-panel-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.haaland-video-panel-header img {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
}

.haaland-video-main {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.haaland-video-player-frame {
  position: relative;
  width: min(100%, calc(46vh * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  border: 2px solid rgba(227, 255, 16, 0.2);
  background: #003d08;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

@media (min-width: 768px) {
  .haaland-video-player-frame {
    width: min(100%, 48rem, calc(50vh * 16 / 9));
  }
}

@media (min-width: 1024px) {
  .haaland-video-player-frame {
    width: min(100%, 56rem, calc(54vh * 16 / 9));
  }
}

.haaland-video-player {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.haaland-video-player-frame:fullscreen,
.haaland-video-player-frame:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.haaland-video-player:fullscreen,
.haaland-video-player:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  background: #000;
}

.haaland-video-player-frame:fullscreen .haaland-video-player,
.haaland-video-player-frame:-webkit-full-screen .haaland-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.haaland-video-title {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Carousel ? arrows only, no dots */
.haaland-video-carousel {
  position: relative;
  margin-top: 1.75rem;
  padding-inline: 3.25rem;
}

.haaland-video-swiper {
  overflow: hidden;
  padding: 0.5rem 0.25rem;
}

.haaland-video-swiper .swiper-slide {
  height: auto;
}

.haaland-video-thumb {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
  transition: transform 0.25s ease;
}

.haaland-video-thumb:hover {
  transform: translateY(-4px);
}

.haaland-video-thumb-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #003d08;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.haaland-video-thumb.is-active .haaland-video-thumb-frame {
  border-color: #e3ff10;
  box-shadow: 0 0 0 1px #e3ff10, 0 10px 28px rgba(227, 255, 16, 0.18);
}

.haaland-video-thumb video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  pointer-events: none;
}

.haaland-video-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 30, 4, 0.4);
  color: #e3ff10;
  font-size: 1.5rem;
  transition: background 0.2s ease;
}

.haaland-video-thumb:hover .haaland-video-thumb-play,
.haaland-video-thumb.is-active .haaland-video-thumb-play {
  background: rgba(0, 30, 4, 0.2);
}

.haaland-video-thumb-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  opacity: 0.85;
}

.haaland-video-thumb.is-active .haaland-video-thumb-label {
  color: #e3ff10;
  opacity: 1;
}

.haaland-video-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(227, 255, 16, 0.35);
  border-radius: 9999px;
  background: #e3ff10;
  color: #005308;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.haaland-video-nav-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(227, 255, 16, 0.3);
}

.haaland-video-prev {
  left: 0;
}

.haaland-video-next {
  right: 0;
}

.haaland-video-cta {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  text-align: center;
}

/* Home 3 / v3 ? dark GOAL MACHINE TV (v1 keeps green pitch via template inline styles) */
.haaland-video-section--dark {
  background-color: #000;
}

.haaland-video-section--dark .haaland-video-player-frame {
  border-color: rgba(152, 254, 56, 0.28);
  background: #0a0a0a;
}

.haaland-video-section--dark .haaland-video-thumb-frame {
  background: #0a0a0a;
}

.haaland-video-section--dark .haaland-video-thumb-play {
  background: rgba(0, 0, 0, 0.55);
}

.haaland-video-section--dark .haaland-video-thumb:hover .haaland-video-thumb-play,
.haaland-video-section--dark .haaland-video-thumb.is-active .haaland-video-thumb-play {
  background: rgba(0, 0, 0, 0.35);
}

.haaland-video-section--dark .haaland-video-thumb.is-active .haaland-video-thumb-frame {
  border-color: #98fe38;
  box-shadow: 0 0 0 1px #98fe38, 0 10px 28px rgba(152, 254, 56, 0.15);
}

.haaland-video-section--dark .haaland-video-thumb.is-active .haaland-video-thumb-label {
  color: #98fe38;
}

.haaland-video-section--dark .haaland-video-nav-btn {
  border-color: rgba(152, 254, 56, 0.45);
  background: #98fe38;
  color: #000;
}

.haaland-video-section--dark .haaland-video-nav-btn:hover {
  box-shadow: 0 6px 20px rgba(152, 254, 56, 0.28);
}

.haaland-video-section--dark .haaland-video-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hide any swiper pagination dots in video section */
.haaland-video-section .swiper-pagination {
  display: none !important;
}

/* ??? Mobile menu ? premium HAALAND panel ??? */
#overlay {
  position: fixed;
  inset: 0;
  z-index: 32;
  width: auto !important;
  height: auto !important;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

#overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.haaland-mobile-menu-open {
  overflow: hidden;
}

html {
  overflow-x: clip;
  max-width: 100%;
}

body {
  max-width: 100%;
}

body.haaland-the-man-route {
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 1279px) {
  html,
  body {
    overflow-x: hidden;
  }

  nav.fixed.xl\:hidden {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  nav.fixed.xl\:hidden .container {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-left: 0.875rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
    gap: 0.5rem;
    min-width: 0;
  }

  nav.fixed.xl\:hidden .container > a:first-child {
    min-width: 0;
    flex: 0 1 auto;
  }

  nav.fixed.xl\:hidden .container > .flex.items-center.gap-1 {
    flex-shrink: 0;
    width: auto !important;
    max-width: 100%;
    margin-left: auto;
    padding-right: 0;
    gap: 0.35rem;
  }

  nav.fixed.xl\:hidden .haaland-mobile-audio-btn,
  nav.fixed.xl\:hidden #menuToggle,
  nav.fixed.xl\:hidden .haaland-mobile-menu__toggle {
    box-sizing: border-box;
    flex-shrink: 0;
    animation: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  nav.fixed.xl\:hidden .haaland-mobile-audio-btn {
    height: 2rem !important;
    width: 2rem !important;
  }

  nav.fixed.xl\:hidden .haaland-mobile-audio-btn .haaland-header-audio-icon {
    height: 0.9rem;
    width: 0.9rem;
  }

  #menuToggle,
  .haaland-mobile-menu__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 2rem !important;
    width: 2rem !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #menuToggle i,
  .haaland-mobile-menu__toggle i {
    font-size: 1.25rem !important;
    line-height: 1;
  }

  .haaland-mobile-menu__toggle:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  #mobileMenu.haaland-mobile-menu {
    width: min(100%, 350px) !important;
    max-width: 350px !important;
  }

  .relative.w-full.xl\:hidden {
    max-width: 100%;
    overflow-x: clip;
  }
}

.haaland-mobile-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(227, 255, 16, 0.45);
  background: rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.haaland-mobile-menu__toggle:hover {
  transform: scale(1.05);
  background: rgba(227, 255, 16, 0.12);
  box-shadow: 0 0 0 4px rgba(227, 255, 16, 0.12);
}

.haaland-mobile-menu {
  --mobile-accent: #98ff38;
  --mobile-accent-hover: #e3ff10;
  --mobile-panel: #070b07;
  --mobile-panel-2: #0f1a0f;
  --mobile-border: rgba(152, 255, 56, 0.22);
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--mobile-panel-2) 0%, var(--mobile-panel) 55%, #000 100%);
  border-right: 1px solid var(--mobile-border);
  color: #fff;
}

.haaland-mobile-menu--v1 {
  --mobile-accent: #e3ff10;
  --mobile-accent-hover: #f5ff7a;
  --mobile-panel: #0a160c;
  --mobile-panel-2: #11691a;
  --mobile-border: rgba(227, 255, 16, 0.28);
}

.haaland-mobile-menu__glow {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: radial-gradient(ellipse 80% 70% at 20% 0%, rgba(152, 255, 56, 0.18), transparent 70%);
  opacity: 0.9;
}

.haaland-mobile-menu--v1 .haaland-mobile-menu__glow {
  background: radial-gradient(ellipse 80% 70% at 20% 0%, rgba(227, 255, 16, 0.2), transparent 70%);
}

.haaland-mobile-menu__header {
  position: relative;
  z-index: 1;
  border-bottom: none;
  padding-top: calc(2.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: 1rem !important;
}

.haaland-mobile-menu__close {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.haaland-mobile-menu__close:hover {
  transform: rotate(90deg) scale(1.05);
  border-color: var(--mobile-accent);
  background: var(--mobile-accent);
  color: #000;
}

.haaland-mobile-menu__nav {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding-top: 1.25rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.haaland-mobile-menu__item {
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.haaland-mobile-menu.is-open .haaland-mobile-menu__item {
  opacity: 1;
  transform: translateX(0);
}

.haaland-mobile-menu.is-open .haaland-mobile-menu__item:nth-child(1) {
  transition-delay: 0.05s;
}
.haaland-mobile-menu.is-open .haaland-mobile-menu__item:nth-child(2) {
  transition-delay: 0.1s;
}
.haaland-mobile-menu.is-open .haaland-mobile-menu__item:nth-child(3) {
  transition-delay: 0.15s;
}
.haaland-mobile-menu.is-open .haaland-mobile-menu__item:nth-child(4) {
  transition-delay: 0.2s;
}
.haaland-mobile-menu.is-open .haaland-mobile-menu__item:nth-child(5) {
  transition-delay: 0.25s;
}
.haaland-mobile-menu.is-open .haaland-mobile-menu__item:nth-child(6) {
  transition-delay: 0.3s;
}

.haaland-mobile-menu__link {
  display: flex !important;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem !important;
  padding: 0.85rem 1rem !important;
  font-family: inherit;
  font-size: 0.95rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease !important;
}

.haaland-mobile-menu__link i {
  font-size: 1.15rem;
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.haaland-mobile-menu__link:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.haaland-mobile-menu__footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.2s,
    transform 0.5s ease 0.2s;
}

.haaland-mobile-menu.is-open .haaland-mobile-menu__footer {
  opacity: 1;
  transform: translateY(0);
}

.haaland-mobile-menu__social-label {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.haaland-mobile-menu__socials {
  gap: 1rem;
  padding-bottom: 0.25rem;
}

.haaland-mobile-menu__social {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--mobile-accent);
  font-size: 1.2rem;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.haaland-mobile-menu__social:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--mobile-accent);
  background: var(--mobile-accent);
  color: #000;
  box-shadow: 0 8px 20px rgba(152, 255, 56, 0.25);
}

.haaland-mobile-menu--v1 .haaland-mobile-menu__social:hover {
  box-shadow: 0 8px 20px rgba(227, 255, 16, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .haaland-mobile-menu__item,
  .haaland-mobile-menu__footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .haaland-mobile-menu__close:hover {
    transform: none;
  }
}

/* Language selector (i18n) ? flags only */
.haaland-lang-slot {
  margin-right: 0.875rem;
}

.haaland-lang-slot--mobile-bar {
  margin-right: 0.625rem;
}

.haaland-flag-icon {
  display: block;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.haaland-lang-selector__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.45rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(227, 255, 16, 0.35);
  background: rgba(0, 45, 4, 0.85);
  color: #e3ff10;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  line-height: 0;
  min-height: 2.25rem;
}

.haaland-lang-selector__btn:hover {
  border-color: #e3ff10;
  background: rgba(0, 61, 8, 0.95);
}

.haaland-lang-selector__caret {
  font-size: 0.75rem;
  opacity: 0.85;
  flex-shrink: 0;
}

.haaland-lang-menu {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.35rem;
  margin: 0;
  list-style: none;
  border-radius: 0.625rem;
  border: 1px solid rgba(227, 255, 16, 0.25);
  background: rgba(0, 45, 4, 0.97);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.haaland-lang-menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.haaland-lang-menu__item:hover,
.haaland-lang-menu__item--active {
  background: rgba(227, 255, 16, 0.14);
  box-shadow: inset 0 0 0 1px rgba(227, 255, 16, 0.35);
}

.haaland-lang-menu__item .haaland-flag-icon,
.haaland-lang-selector__btn .haaland-flag-icon,
.haaland-lang-pill .haaland-flag-icon {
  transform: none;
}

.haaland-lang-pills {
  gap: 0.45rem;
}

.haaland-lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  line-height: 0;
}

.haaland-lang-pill:hover,
.haaland-lang-pill--active {
  border-color: #e3ff10;
  background: rgba(227, 255, 16, 0.12);
  box-shadow: 0 0 0 1px rgba(227, 255, 16, 0.25);
}

.haaland-lang-slot--mobile-bar .haaland-lang-selector__btn {
  padding: 0.4rem 0.55rem;
}

/* ??? Mobile-only roadmap/FAQ bits (Tailwind lg:hidden no aplica al HTML del template) ??? */
.haaland-roadmap-title-mobile,
.haaland-roadmap-ball-mobile,
.haaland-roadmap-summary,
.haaland-footer-join-mobile {
  display: none !important;
}

.haaland-roadmap-details {
  display: flex;
}

.haaland-footer-join-desktop {
  display: block;
}

.haaland-footer-mascot {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  margin: 0 auto 1.25rem;
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .haaland-footer-mascot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: min(42%, 420px);
    margin: 0;
  }
}

@media (max-width: 1023px) {
  .haaland-roadmap-title-mobile {
    display: block !important;
    margin: 0 auto 1rem;
    text-align: center;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    rotate: none !important;
    font-size: 2rem !important;
    line-height: 1.05 !important;
    letter-spacing: 0.04em;
    opacity: 1 !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    text-shadow: -2px -1px 6px #e3ff10;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #005909;
  }

  body.bg-black .haaland-roadmap-title-mobile {
    -webkit-text-fill-color: #98fe38 !important;
    color: #98fe38 !important;
    text-shadow: 0 0 14px rgba(152, 254, 56, 0.35);
    -webkit-text-stroke-width: 0;
  }

  .haaland-roadmap-ball-mobile {
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    width: 5rem;
    opacity: 0.7;
    filter: saturate(0.35) brightness(1.08);
  }

  .haaland-roadmap-summary {
    display: block !important;
    margin-top: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .haaland-roadmap-details {
    display: none !important;
  }

  .haaland-footer-join-desktop {
    display: none !important;
  }

  .haaland-footer-join-mobile {
    display: block !important;
    margin-top: 0.75rem;
  }

  #roadmap .haaland-roadmap-card {
    padding: 1.25rem 1.35rem !important;
    border-radius: 1.25rem;
  }

  #roadmap .haaland-roadmap-card .h3 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    line-height: 1.15;
  }

  #faq .haaland-faq-image-col {
    display: flex !important;
    justify-content: center;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 0.5rem;
  }

  #faq .haaland-faq-image-col .haaland-faq-frames {
    max-width: 220px;
    width: 100%;
  }

  #faq .haaland-faq-list {
    padding-top: 1.5rem !important;
  }

  #faq .appear-downd {
    padding: 0.9rem 1rem !important;
  }

  footer .haaland-footer-mascot {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

  footer .reveal_anim.relative.max-lg\:spt120px {
    padding-top: 3.5rem;
  }
}
