/* EVOLION Landing — Mobile layout (≤1024px) */

:root {
  --gold: #C8A96A;
  --gold-dark: #A9824B;
  --bg-dark: #050505;
}

.mobile-page {
  display: none;
}

.page-viewport {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.landing-scale-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1544px;
  height: 851px;
  transform-origin: center center;
}

.LandingPage {
  width: 1544px;
  height: 851px;
  position: relative;
  background: black;
  overflow: hidden;
}

@media (min-width: 1025px) {
  html,
  body {
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
  }

  .page-viewport {
    display: block;
  }
}

.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: 60px;
  padding: env(safe-area-inset-top, 0px) 16px 0;
  min-height: calc(60px + env(safe-area-inset-top, 0px));
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(169, 130, 75, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-header-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-header-logo {
  width: 36px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.mobile-header-brand {
  color: white;
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.mobile-header-tagline {
  color: var(--gold-dark);
  font-family: Montserrat, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

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

  .page-viewport {
    display: none !important;
  }

  .mobile-header {
    display: flex;
  }

  .mobile-page {
    display: block !important;
    min-height: 100vh;
    min-height: 100dvh;
    background: black;
    color: white;
    padding-top: calc(60px + env(safe-area-inset-top, 0px));
    overflow-x: hidden;
    max-width: 100%;
  }

  .m-landing {
    position: relative;
    min-height: calc(100vh - 60px - env(safe-area-inset-top, 0px));
    min-height: calc(100dvh - 60px - env(safe-area-inset-top, 0px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 6vw, 40px) clamp(20px, 5vw, 28px) clamp(32px, 8vw, 48px);
    overflow: hidden;
  }

  .m-landing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.45) 38%,
      rgba(0, 0, 0, 0.35) 55%,
      rgba(0, 0, 0, 0.78) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .m-landing__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 42%;
    opacity: 0.85;
    z-index: 0;
  }

  .m-landing__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(520px, 100%);
    margin: 0 auto;
    text-align: center;
    padding: 0;
  }

  .m-landing__logo {
    width: clamp(88px, 26vw, 140px);
    height: auto;
    max-height: min(180px, 22vh);
    object-fit: contain;
    margin: 0 auto clamp(14px, 3.5vw, 22px);
    display: block;
  }

  .m-landing__brand {
    font-family: Poppins, sans-serif;
    font-size: clamp(28px, 8.5vw, 52px);
    font-weight: 500;
    letter-spacing: clamp(0.06em, 2vw, 0.12em);
    margin-bottom: 8px;
    line-height: 1.1;
    width: 100%;
    text-align: center;
  }

  .m-landing__tagline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 12px);
    margin-bottom: clamp(20px, 5vw, 28px);
    flex-wrap: wrap;
  }

  .m-landing__tagline-line {
    width: clamp(20px, 6vw, 28px);
    height: 2px;
    background: var(--gold);
    flex-shrink: 0;
  }

  .m-landing__tagline {
    color: var(--gold);
    font-family: Montserrat, sans-serif;
    font-size: clamp(11px, 3.2vw, 18px);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }

  .m-landing__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 12vw, 72px);
    line-height: 0.95;
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 1);
    margin-bottom: 4px;
    word-break: break-word;
    width: 100%;
    text-align: center;
    align-self: center;
  }

  .m-landing__title--white { color: white; }
  .m-landing__title--gold { color: var(--gold); }

  .m-landing__subtitle {
    font-family: Poppins, sans-serif;
    font-size: clamp(20px, 5.5vw, 32px);
    font-weight: 500;
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 1);
    margin-top: clamp(8px, 2vw, 12px);
    margin-bottom: clamp(24px, 6vw, 36px);
    line-height: 1.2;
    width: 100%;
    text-align: center;
  }

  .m-landing__cta {
    display: block;
    width: 100%;
    max-width: min(280px, 100%);
    margin: 0 auto;
    padding: 14px 24px;
    background: var(--gold-dark);
    border-radius: 3px;
    color: white;
    font-family: Poppins, sans-serif;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .m-landing__bg {
    object-position: center 45%;
  }

  .m-landing__logo {
    width: clamp(80px, 24vw, 110px);
    max-height: 20vh;
  }

  .m-landing__title {
    font-size: clamp(36px, 11vw, 48px);
  }
}

@media (min-width: 1025px) {
  .mobile-page,
  .mobile-header {
    display: none !important;
  }
}
