@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&display=swap");

:root {
  --bg: #0b0f14;
  --text: #ffffff;
  --muted: #9fb3c8;

  --accent: #5022AA;
  --glow-1: #905BFF;
  --glow-2: #E3B3FA;

  --ea-gap: clamp(12px, 2.2vw, 24px);
  --ea-pad-x: clamp(18px, 5vw, 72px);
  --ea-hero-top: clamp(88px, 9vh, 140px);
  --faq-peek: clamp(56px, 8vh, 140px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, sans-serif;
}

body::-webkit-scrollbar { width: 0; height: 0; }

/* =========================
   HEADER
========================= */
/* Sticky hover transition */
.sticky-hover {
  transition: transform 0.2s ease, scale 0.2s ease;
}

/* Header base */
.header {
  position: fixed;
  top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
}

.header-right { right: 2rem; top: 1.7rem }
.header-left  { left: 2rem; transition: transform 0.4s ease; }

.header-logo {
  width: 12rem;
  height: 7rem;
  margin-top: -2rem;
  cursor: pointer;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 1rem;
  z-index: 10000;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.header-logo:hover {
  opacity: 1;
}

#logo-link-mobile {
  width: 3rem;
  height: 3rem;
}

.nav-link {
  margin: 0;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.4s ease;
  cursor: pointer;
}

.nav-link:hover { opacity: 1; }

/* Burger */
.burger-mobile {
  display: none;
  flex-direction: column;
  width: 1.5rem;
  height: 1.5rem;
  gap: 0.4rem;
  justify-content: center;
  opacity: 0.4;
  transition: all 0.4s ease;
  cursor: pointer;
}

.burger-mobile:hover { gap: 0.25rem; opacity: 1; }

.burger-line {
  width: 100%;
  height: 0.125rem;
  background: white;
  transition: all 0.4s ease;
  border-radius: 1rem;
}

.burger-mobile:hover .burger-line { height: 0.25rem; }

/* Social icons */
.social-icons { display: flex; gap: 0.75rem; }

.social-icon {
  display: inline-block;
  opacity: 0.4;
  transition: all 0.2s ease;
}
.social-icon:hover { opacity: 1; }

.social-icon svg,
.social-icon img {
  width: 1rem;
  height: 1rem;
}

/* Audio */
.audio-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.2rem);
  padding: 0.25rem 0.5rem;
  transition: opacity 0.2s ease;
}

.audio-toggle {
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.audio-toggle:hover { opacity: 1; }

.icon-sound-on { display: none; width: 100%; height: 100%; }
.icon-sound-off { display: block; width: 100%; height: 100%; }

.visualizer {
  display: flex;
  gap: 0.25rem;
  margin-left: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  align-items: center;
}
.visualizer .bar {
  width: 0.25rem;
  height: 0.25rem;
  background: #fff;
  border-radius: 0.125rem;
  transition: height 0.1s ease, background-color 0.2s ease;
}

.audio-control.off .visualizer { opacity: 0.4; }
.audio-control.off .bar { height: 0.25rem !important; background-color: #fff !important; }

/* Mobile menu modal */
.mobile-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transition: opacity 0.3s ease;
}

.mobile-menu-modal.closed {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-container {
  background: rgb(0 0 0 / 80%);
  -webkit-backdrop-filter: blur(0.8rem);
  backdrop-filter: blur(0.8rem);
  width: 100vw;
  max-width: 75rem;
  height: 90vh;
  border: 2px solid rgb(255 255 255 / 10%);
  border-top: 0;
  padding: 2rem 4rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.4s ease;
  border-bottom-left-radius: 1.4rem;
  border-bottom-right-radius: 1.4rem;
  transform: translateY(-100%);
}

.mobile-menu-modal.open .mobile-menu-container { transform: translateY(0); }

.mobile-menu-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  gap: 2.5rem;
}

.mobile-nav-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.social-icons-mobile { display: flex; gap: 0.75rem; }

@media only screen and (min-width: 680px) {
  .mobile-menu-modal { display: none; }
}

/* Handle */
.legal-modal-handle {
  display: flex;
  align-items: center;
  align-self: center;
  cursor: grab;
  padding: 0.2rem;
}
.legal-modal-handle-fill {
  width: 4rem;
  height: 0.4rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.legal-modal-handle:hover .legal-modal-handle-fill {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
  transform: scale(1.2);
}

/* Gradients (mobile) */
.header-gradient {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 8rem;
  background: linear-gradient(180deg, #000000d9, transparent);
  z-index: 100;
  pointer-events: none;
}
@media only screen and (max-width: 840px) {
  .header-gradient { display: block; }
}

/* Responsive tweaks */
@media only screen and (max-width: 840px) {
  .header-logo { width: 50px; height: 50px; margin-top: unset; }
}
@media only screen and (max-width: 540px) {
  .visualizer { display: none; }
  .audio-control { padding: 0.25rem; }
}
@media only screen and (max-width: 500px) {
  .header { top: 1rem; gap: 0.8rem; }
  .header-right { right: 1rem; }
  .header-left { left: 1rem; }
  .header-logo {
    margin-top: -0.5rem;
  }
}
@media only screen and (max-width: 360px) {
  .header-left .social-icons { display: none; }
}
@media only screen and (max-width: 679px) {
  .burger-mobile { display: flex; }
  .social-icons {
    display: none !important;
  }
  .social-icons.left-nav { display: none !important; }
}
@media only screen and (max-width: 439px) {
  .social-icons { display: none; }
}

/* =========================
   BACKGROUND
========================= */
.bg-block, .bg-video, .bg-overlay, .bg-smoke { pointer-events: none; }

.bg-block {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: #05021c;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 2, 28, 0.4) 30%, #05021ccf 100%);
}

.tiled-overlay {
  width: 100%;
  height: 100%;
  display: block;
}

.bg-smoke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter: contrast(1.5);
  z-index: 3;
}

.ea-header, .ea-hero, .ea-faq { position: relative; z-index: 2; }

/* =========================
   LAYOUT
========================= */
.ea-wrap {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* =========================
   HERO
========================= */
.ea-hero {
  width: 100%;
  min-height: calc(100vh - var(--faq-peek));
  min-height: calc(100dvh - var(--faq-peek));

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 64px);

  padding-inline: var(--ea-pad-x);
  padding-bottom: clamp(18px, 4vh, 48px);

  align-items: center;
}

.ea-left {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vh, 16px);
  min-width: 0;
  perspective: 900px;
}

.ea-left img {
  width: 100%;
  height: 100%;
  max-width: clamp(300px, 45vw, 100%);
  max-height: clamp(400px, 50vh, 100%);
  margin: 0;
  object-position: center;
  display: block;
  aspect-ratio: 16/9;
  transform-style: preserve-3d;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  border: 1px solid var(--accent);
  will-change: transform;
  border-radius: 0.25rem;
}

.ea-left:hover img {
  filter:
    drop-shadow(0 10px 28px rgba(158, 11, 220, .28))
    drop-shadow(0 0 36px rgba(227, 179, 250, .35));
  box-shadow:
    0 0 0 1px rgba(227,179,250,.35),
    0 14px 42px rgba(158,11,220,.25),
    0 40px 110px rgba(158,11,220,.20);
}

/* RIGHT */
.ea-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  max-width: 44rem;
  gap: 1rem;
}

.ea-h1 {
  margin: 0;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.6vw;
  text-transform: uppercase;
  color: #e3b3fa;

  font-size: clamp(34px, 2.6vw, 56px);
}

.ea-sub {
  margin: 0;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  line-height: 1.55;
  font-weight: 300;
  opacity: 0.95;
  letter-spacing: 0.02rem;

  font-size: clamp(18px, 1.25vw, 22px);
  max-width: 92ch;
}

.ea-cta { margin: 14px 0 0; }

.ea-cta-row {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 1rem;
  align-items: center;
}
.ea-cta-row .input-checkbox-wrapper:first-child {
  grid-column: 1 / -1;
  justify-self: center;
}

@media screen and (max-width: 1280px) {
  .ea-left {
    position: relative;
    overflow: visible;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
  }
  .ea-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    margin-bottom: var(--ea-gap);
    border: 1px solid rgba(227,179,250,.35);
    border-radius: 0.5rem;
    box-shadow:
      0 0 0 1px rgba(227,179,250,.25),
      0 14px 42px rgba(158,11,220,.25),
      0 40px 110px rgba(158,11,220,.18);
    transform: none;
  }
}

@media (max-width: 580px) {
  .ea-cta-row {
    grid-template-columns: 1fr;
    align-self: center;
  }

  .ea-cta-row .input-checkbox-wrapper {
    width: 100%;
    text-align: center;
  }

  .ea-cta-row .input-checkbox-wrapper:first-child {
    grid-column: auto;
  }
}
@media only screen and (max-width: 500px) {
  .ea-left img {
    max-width: 92vw;
  }
}

.ea-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  max-width: 60%;
  height: 56px;
  padding: 0 32px;
  font-family: 'Big Shoulders', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #6d5cff, #9b6dff);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(109, 92, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.ea-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(155, 109, 255, 0.7);
}

.ea-btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: auto;
  cursor: not-allowed;
}

/* Bigger primary CTA: Register now */
.ea-btn--register {
  min-width: 360px;
}
.ea-btn--register:hover {
  box-shadow: 0 0 50px rgba(155, 109, 255, 0.78);
}

.ea-btn--secondary {
  background: transparent;
  border: 1px solid rgba(227,179,250,.35);
  box-shadow: none;
}

.ea-btn--ghost {
  background: rgba(80,34,170,0.18);
  border: 1px solid rgba(80,34,170,0.55);
}

.input-checkbox-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visually-hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.visually-hidden:checked + .checkbox {
  background: transparent;
  border-color: #ffffff;
}

.visually-hidden:checked + .checkbox::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 16px;
  height: 16px;
  background: #905BFF;
  border-radius: 50%;
}

.checkbox-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding-left: 1.25rem;
}

.checkbox {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid white;
  cursor: pointer;
}


.checkbox-hint {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  margin-left: 28px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.75;
}

/* Privacy hint: same look as marketing tooltip, but anchored under privacy checkbox */
#privacyAgreePrompt {
  position: absolute;
  left: 34px;
  top: calc(100% + 8px);
  width: min(560px, calc(100% - 34px));
  z-index: 6;

  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(227,179,250,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: rgba(255,255,255,0.78);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 12.5px;
  line-height: 1.35;

  box-shadow: 0 18px 48px rgba(0,0,0,0.55);

  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;

  opacity: 0;
  transform: translateY(-4px);
}

#privacyAgreePrompt::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,0.45);
  border-left: 1px solid rgba(227,179,250,0.22);
  border-top: 1px solid rgba(227,179,250,0.22);
  transform: rotate(45deg);
}

#privacyAgreePrompt.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px){
  .checkbox-wrapper{
    flex-wrap: wrap;
  }

  #privacyAgreePrompt{
    flex: 0 0 100%;
    width: 100%;

    margin-left: 34px;
    margin-top: 8px;
    max-width: calc(100% - 34px);

    position: relative;
    left: auto;
    top: auto;

    display: block;
    overflow: hidden;

    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;

    opacity: 0;
    transform: translateY(-4px);

    pointer-events: none;

    transition:
      max-height 260ms ease,
      padding 260ms ease,
      border-width 260ms ease,
      opacity 180ms ease,
      transform 180ms ease;
  }

  #privacyAgreePrompt::before{
    display: none;
  }

  #privacyAgreePrompt.is-visible{
    max-height: 140px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-width: 1px;

    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Marketing checkbox hint (tooltip)
========================= */

.checkbox-wrapper--marketing{
  position: relative;
  width: 100%;
  padding-left: 1.25rem;
  display: block;
}

.checkbox-wrapper--marketing .checkbox-row{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

.checkbox-wrapper--marketing .checkbox-agree{
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1.2;
  opacity: 0.95;
}
.checkbox-agree {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1.2;
  opacity: 0.95;
}

.checkbox-wrapper--marketing .checkbox-hint{
  position: absolute;
  left: 34px;
  top: calc(100% + 8px);
  width: min(560px, calc(100% - 34px));
  z-index: 5;

  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(227,179,250,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: rgba(255,255,255,0.78);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 12.5px;
  line-height: 1.35;

  box-shadow: 0 18px 48px rgba(0,0,0,0.55);

  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.checkbox-wrapper--marketing .checkbox-hint::before{
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,0.45);
  border-left: 1px solid rgba(227,179,250,0.22);
  border-top: 1px solid rgba(227,179,250,0.22);
  transform: rotate(45deg);
}

.checkbox-wrapper--marketing:hover .checkbox-hint,
.checkbox-wrapper--marketing:focus-within .checkbox-hint{
  opacity: 1;
  transform: translateY(0);
}
.eap-discord-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.eap-check{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.2;
  user-select: none;
}

.eap-check input[type="checkbox"]{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.eap-discord-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
  white-space: nowrap;
}

.eap-discord-link:hover{
  background: rgba(255,255,255,0.10);
}

.eap-discord-id{
  margin-top: 12px;
}

@media (max-width: 720px){
  .checkbox-wrapper--marketing .checkbox-hint{
    position: static;
    margin-left: 34px;
    margin-top: 8px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .checkbox-wrapper--marketing .checkbox-hint::before{ display:none; }

  .checkbox-agree {
    display: flex;
    flex-direction: column;
  }

  .checkbox-agree {
    font-size: 16px;
  }
}

/* =========================
   FAQ — Second screen (100vh)
========================= */
.ea-faq {
  width: 100%;
  padding-inline: var(--ea-pad-x);
  padding-bottom: clamp(18px, 5vh, 60px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ea-h2 {
  width: 100%;
  margin: 0 0 16px;
  text-align: center;

  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e3b3fa;

  font-size: clamp(22px, 2.2vw, 36px);
}

.ea-accordion {
  width: min(2000px, 100%);
  max-width: 100%;

  /*max-height: calc(100dvh - var(--ea-hero-top) - 110px);*/
  overflow: auto;

  padding-right: 6px;
  scrollbar-width: none;
}
.ea-accordion::-webkit-scrollbar { width: 0; height: 0; }

/* items */
.ea-item {
  border: 1px solid rgba(227,179,250,.14);
  border-radius: 0.85rem;
  background: rgba(18,25,35,.16);
  overflow: hidden;
  margin-bottom: 12px;
}

.ea-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 16px;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
  font-size: 1.2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: opacity 0.2s ease;
}

.ea-item summary:hover {
  opacity: 1;
}

.ea-item summary::-webkit-details-marker { display: none; }

.ea-summary-text {
  flex: 1;
}

.ea-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.22, 1),
  filter 0.2s ease;
  transform: rotate(0deg);
  filter: brightness(0.8);
}

.ea-item summary:hover .ea-arrow {
  filter: brightness(1.2);
}

.ea-item[open] .ea-arrow {
  transform: rotate(180deg);
}

.ea-item summary::-webkit-details-marker { display: none; }

.ea-answer{
  /* divider */
  border-top: 1px solid rgba(227,179,250,.14);
  margin-top: 10px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  will-change: height, opacity;
  padding: 0;
  line-height: 1.65;
  font-size: 0.98rem;
}

.ea-answer > .ea-answer__inner{
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  padding: 14px 16px 16px;
}

.ea-answer__inner ul {
  li {
    margin-left: 30px;
  }
}

.ws-link {
  color: var(--glow-1);
  text-decoration: underline;
}

/* =========================
   FOOTER (DESKTOP)
   ========================= */
.footer-bar {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 9999;
}

.legal-bar {
  bottom: 2rem;
  right: 2rem;
}

.contact-bar {
  bottom: 2rem;
  left: 2rem;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.contact-links {
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
}

.footer-link {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  text-align: right;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.4s ease;
  font-size: 0.95rem;
  letter-spacing: 0.02rem;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-text {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  text-align: right;
  line-height: 1.2;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  letter-spacing: 0.02rem;
}

.contact-text {
  text-align: left;
}

/* =========================
   FOOTER (MOBILE)
   ========================= */
.mobile-footer-bar {
  position: fixed;
  bottom: 2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 9998;
}

.contact-bar-mobile {
  left: 2rem;
}

.legal-bar-mobile {
  right: 2rem;
  transition: all 0.3s ease;
  z-index: 9999;
}

.mobile-footer-bar.open {
  backdrop-filter: blur(0.2rem);
  padding: 1.4rem 1.4rem 1rem 1.4rem;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate(1.4rem, 1rem);
}

.mobile-legal-copy {
  text-wrap: nowrap;
  text-align: center;
  line-height: 1.4;
}

.mobile-footer-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.8rem;
  gap: 0.4rem;
}

.mobile-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.mobile-footer-link:hover .mobile-icon {
  opacity: 1;
}

.mobile-footer-link:hover .footer-link {
  opacity: 1;
}

.mobile-legal-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.legal-bar-mobile .mobile-icon {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.mobile-footer-bar.open .mobile-icon {
  transform: rotate(0deg);
}

.mobile-legal-toggle:hover .mobile-icon {
  opacity: 1;
}

.mobile-legal-toggle .footer-link {
  width: 100%;
  text-align: left;
}

.mobile-legal-toggle:hover .footer-link {
  opacity: 1;
}

.mobile-legal-content {
  max-height: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-width 0.4s ease, max-height 0.4s ease, opacity 0.3s ease;
  display: none;
  flex-direction: column;
  align-items: center;
  will-change: max-height;
}

.mobile-legal-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.mobile-legal-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.mobile-footer-bar.open .mobile-legal-content {
  display: flex;
  gap: 1rem;
  opacity: 1;
  flex-direction: column;
  align-items: center;
}

/* Breakpoint: switch desktop -> mobile footer */
@media only screen and (max-width: 1040px) {
  .footer-bar {
    display: none;
  }
  .mobile-footer-bar {
    display: flex;
  }
}

@media only screen and (max-width: 500px) {
  .mobile-footer-bar {
    bottom: 1rem;
  }

  .contact-bar-mobile {
    left: 1rem;
  }

  .legal-bar-mobile {
    right: 1rem;
  }
}

/* =========================
   LEGAL POPUP / POLICY MODAL
   ========================= */
.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: opacity 0.3s ease;
}

.legal-modal.closed {
  opacity: 0;
  pointer-events: none;
}

.legal-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-container {
  background: rgb(255 255 255 / 80%);
  -webkit-backdrop-filter: blur(0.8rem);
  backdrop-filter: blur(0.8rem);
  width: 100vw;
  max-width: 75rem;
  height: 95vh;
  border: 2px solid rgb(255 255 255 / 20%);
  border-bottom: 0px;
  padding: 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s ease;
  border-top-left-radius: 1.4rem;
  border-top-right-radius: 1.4rem;
  transform: translateY(100%);
}

.legal-modal.open .legal-modal-container {
  transform: translateY(0);
}

.legal-modal-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.policy-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Optional helper class if you use it in legal content */
.pages-link {
  text-decoration: none;
}

@media only screen and (max-width: 460px) {
  .legal-modal-container {
    padding: 1rem 2rem;
  }
}

/* =========================
   COOKIESCRIPT (badge + links in description)
   ========================= */
#cookiescript_description a {
  color: #e3b3fa !important;
}

#cookiescript_badge {
  transform: rotate(90deg) translate(50%, 21px) !important;
  left: 0 !important;
  bottom: 10rem !important;
  margin: 0;
}

#cookiescript_badge:hover {
  transform: rotate(90deg) translate(50%, 21px) scale(1.2) !important;
  padding-bottom: 8px !important;
}

@media only screen and (max-width: 1040px) {
  #cookiescript_badge {
    bottom: 8rem !important;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1280px) {
  .ea-hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: calc(var(--ea-hero-top) + 12px);
  }

  .ea-left { align-items: center; }

  .ea-right {
    max-width: 92ch;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .ea-h2 { text-align: left; }
  .ea-faq { align-items: stretch; }
  .ea-accordion {
    width: 100%;
    /*max-height: calc(100dvh - var(--ea-hero-top) - 100px);*/
  }
}

@media (max-width: 980px) {
  .ea-h1 { letter-spacing: .08em; }
}

@media (max-width: 840px) {
  .ea-header {
    padding: 1rem var(--ea-pad-x);
    gap: 0.8rem;
  }
  .nav-block-early-access a { opacity: 1; }
  .ea-h1 {
    font-size: 10vw;
    letter-spacing: 1vw;
  }
}
@media (max-width: 720px) {
  .input-checkbox-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .ea-sub { max-width: 55ch; }
  .ea-answer { font-size: 0.95rem; }
}

/* =========================
   EAP modal (2-step UI only)
========================= */

.eap-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 2, 28, 0.72);
  backdrop-filter: blur(10px);
}

.eap-modal-overlay.open { display: flex; }

.eap-modal {
  width: min(840px, 92vw);
  max-height: min(80vh, 940px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 2, 28, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 22px 22px 18px;
  position: relative;
  color: #fff;
  scrollbar-width: none;
}

@media screen and (orientation: landscape) {
  .eap-modal {
    max-height: min(65vh, 940px);
  }
}

.eap-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
}

.eap-modal-close:hover {
  background: linear-gradient(135deg, #6d5cff, #9b6dff);
}

.eap-modal-header { padding: 8px; }
.eap-modal-logo img { height: 34px; width: auto; opacity: 0.9; }
.eap-modal-title {
  margin: 10px 0 6px;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 42px;
}
.eap-modal-subtitle {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  margin: 0;
  opacity: 0.8;
  font-size: 22px;
  line-height: 1.45;
}

.eap-step {
  padding: 10px 8px;
}

.eap-step-title {
  margin: 0 0 12px;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.2;
  opacity: 0.9;
}

.eap-field {
  display: flex;
  flex-direction: column;
}
.eap-label {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  opacity: 0.85;
}

.eap-input {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(5,2,28,0.72);
  color: #fff;
  padding: 10px 14px;
  outline: none;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.eap-input::placeholder { color: rgba(255,255,255,0.45); }

.eap-help {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  margin: 6px 0 0;
  font-size: 18px;
  opacity: 0.7;
}

.eap-check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 16px;
  font-size: 14px;
  opacity: 0.9;
}
.eap-check input { width: 18px; height: 18px; }

.eap-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.eap-btn {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 16px;
  color: #ffffff;
  margin: unset !important;
}

.eap-btn-primary {
  background: linear-gradient(135deg, #6d5cff, #9b6dff);
}
.eap-btn-primary:hover { filter: drop-shadow(0px 0px 16px #742DFF); }

.eap-btn-ghost { background: rgba(255,255,255,0.06); }

.eap-success {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  margin-top: 16px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(80,34,170,0.12);
}
.eap-success-title {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.eap-success-text {
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  opacity: 0.85;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

.eap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 12px;
}

.eap-field-full { grid-column: 1 / -1; }

/* ===== Validation UI ===== */
.eap-field .eap-error {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: rgb(159 21 21 / 95%);
  min-height: 14px; /* keeps layout stable */
}

.eap-input.eap-invalid {
  border-color: rgb(159 21 21 / 95%) !important;
  box-shadow: 0 0 0 3px rgba(255, 110, 110, 0.15);
}

#eapCloseWarn {
  margin-top: 12px;
  display: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 110, 110, 0.35);
  background: rgba(255, 110, 110, 0.12);
  color: rgba(255, 230, 230, 0.95);
  font-size: 13px;
}

#eapStep2Error {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 110, 110, 0.35);
  background: rgba(255, 110, 110, 0.12);
  color: rgba(255, 230, 230, 0.95);
  font-size: 13px;
}

/* =========================
   Country searchable select (match modal inputs)
========================= */

.eap-country {
  position: relative;
  width: 100%;
}

.eap-country-input {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(5,2,28,0.72);
  color: #fff;

  padding: 10px 14px;
  outline: none;

  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1.2;

  -webkit-appearance: none;
  appearance: none;
  cursor: text;
}

.eap-country-input::placeholder {
  color: rgba(255,255,255,0.45);
}

.eap-country-input.eap-invalid {
  border-color: rgb(159 21 21 / 95%) !important;
  box-shadow: 0 0 0 3px rgba(255, 110, 110, 0.15);
}

/* Native select - hidden but kept in DOM for validation */
.eap-country-native {
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.eap-country-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 9999;

  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(5, 2, 28, 0.96);
  backdrop-filter: blur(12px);

  padding: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}

.eap-country-list[hidden] { display: none !important; }

.eap-country-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;

  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1.25;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eap-country-item:hover {
  background: rgba(80,34,170,0.22);
  border: 1px solid rgba(227,179,250,0.18);
}

.eap-country-empty {
  padding: 10px 12px;
  color: rgba(255,255,255,0.55);
  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;
  letter-spacing: 0.02em;
  font-size: 18px;
  text-align: center;
  opacity: 0.9;
}


@media (max-width: 640px) {
  .eap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .eap-modal {
    width: 94vw;
    padding: 24px 18px;
  }

  .eap-success-title { font-size: 20px; }
  .eap-success-text  { font-size: 15px; }
}

/* =========================
   SAFARI/iOS: kill native video overlays (defensive)
   ========================= */

.bg-video,
.bg-smoke,
#smoke {
  pointer-events: none !important;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Hide Safari native media UI overlays */
video::-webkit-media-controls {
  display: none !important;
}
video::-webkit-media-controls-enclosure {
  display: none !important;
}
video::-webkit-media-controls-panel {
  display: none !important;
}
video::-webkit-media-controls-play-button {
  display: none !important;
}
video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* =========================
   Button loading spinner
========================= */

.eap-btn {
  position: relative;
}

.eap-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
  padding-left: 46px;
}

.eap-btn.is-loading::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: rgba(255,255,255,0.95);
  animation: eapBtnSpin 0.75s linear infinite;
}

@keyframes eapBtnSpin { to { transform: rotate(360deg); } }

/*!* =========================*/
/*   Dynamic urgency progress (under Register Now)*/
/*========================= *!*/

/*.ea-progress{*/
/*  width: min(520px, 100%);*/
/*  margin-top: 14px;*/
/*  padding: 12px 14px;*/
/*  border-radius: 18px;*/
/*  border: 1px solid rgba(227,179,250,0.20);*/
/*  background: rgba(5, 2, 28, 0.58);*/
/*  backdrop-filter: blur(10px);*/
/*  -webkit-backdrop-filter: blur(10px);*/
/*  box-shadow: 0 18px 50px rgba(0,0,0,0.45);*/
/*}*/

/*.ea-progress__top{*/
/*  display:flex;*/
/*  align-items: baseline;*/
/*  justify-content: space-between;*/
/*  gap: 12px;*/
/*  margin-bottom: 10px;*/
/*}*/

/*.ea-progress__label{*/
/*  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;*/
/*  letter-spacing: 0.10em;*/
/*  text-transform: uppercase;*/
/*  font-size: 13px;*/
/*  opacity: 0.80;*/
/*}*/

/*.ea-progress__value{*/
/*  font-family: "Big Shoulders Display", "Alumni Sans", sans-serif;*/
/*  font-size: 18px;*/
/*  letter-spacing: 0.08em;*/
/*  color: rgba(227,179,250,0.95);*/
/*  text-shadow: 0 0 18px rgba(227,179,250,0.18);*/
/*}*/

/*.ea-progress__bar{*/
/*  position: relative;*/
/*  height: 12px;*/
/*  border-radius: 999px;*/
/*  overflow: hidden;*/
/*  background: rgba(255,255,255,0.10);*/
/*  border: 1px solid rgba(255,255,255,0.12);*/
/*}*/

/*.ea-progress__fill{*/
/*  position:absolute;*/
/*  left:0; top:0; bottom:0;*/
/*  width: 0%;*/
/*  border-radius: 999px;*/
/*  background: linear-gradient(90deg, rgba(109,92,255,0.95), rgba(227,179,250,0.95));*/
/*  box-shadow:*/
/*    0 0 22px rgba(109,92,255,0.22),*/
/*    0 0 34px rgba(227,179,250,0.18);*/
/*  transition: width 950ms cubic-bezier(0.22, 0.9, 0.22, 1);*/
/*}*/

/*!* Shimmer sweep on the fill *!*/
/*.ea-progress__fill::after{*/
/*  content:"";*/
/*  position:absolute;*/
/*  inset:-10px;*/
/*  background: linear-gradient(*/
/*    110deg,*/
/*    transparent 0%,*/
/*    rgba(255,255,255,0.10) 35%,*/
/*    rgba(255,255,255,0.24) 50%,*/
/*    rgba(255,255,255,0.10) 65%,*/
/*    transparent 100%*/
/*  );*/
/*  transform: translateX(-70%);*/
/*  animation: eaProgressSweep 2.7s ease-in-out infinite;*/
/*  mix-blend-mode: screen;*/
/*}*/

/*@keyframes eaProgressSweep{*/
/*  0%   { transform: translateX(-75%); }*/
/*  55%  { transform: translateX(28%); }*/
/*  100% { transform: translateX(75%); }*/
/*}*/

/*!* Soft pulse dot near the end of progress *!*/
/*.ea-progress__bar::after{*/
/*  content:"";*/
/*  position:absolute;*/
/*  top:50%;*/
/*  left: calc(var(--ea-progress, 55) * 1%);*/
/*  width: 10px;*/
/*  height: 10px;*/
/*  transform: translate(-50%, -50%);*/
/*  border-radius: 999px;*/
/*  background: rgba(227,179,250,0.95);*/
/*  box-shadow: 0 0 18px rgba(227,179,250,0.30);*/
/*  animation: eaProgressPulse 1.4s ease-in-out infinite;*/
/*  opacity: 0.85;*/
/*  pointer-events:none;*/
/*}*/

/*@keyframes eaProgressPulse{*/
/*  0%,100% { transform: translate(-50%, -50%) scale(1); opacity: 0.65; }*/
/*  50%     { transform: translate(-50%, -50%) scale(1.35); opacity: 1; }*/
/*}*/

/*.ea-progress__hint{*/
/*  margin-top: 10px;*/
/*  font-family: "Open Sans", system-ui, sans-serif;*/
/*  font-size: 12.5px;*/
/*  line-height: 1.35;*/
/*  color: rgba(255,255,255,0.75);*/
/*}*/

/*@media (max-width: 580px){*/
/*  .ea-progress{ width: 100%; }*/
/*}*/
