/* Zeptix Labs — Meta Ads Gate Page */

:root {
  --zeptix-navy: #0a1633;
  --zeptix-navy-deep: #050e22;
  --zeptix-navy-soft: #1a2750;
  --zeptix-gold: #c89b4a;
  --zeptix-gold-soft: #dfbd84;
  --zeptix-gold-bright: #e7c98a;
  --zeptix-white: #ffffff;
  --zeptix-font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zeptix-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--zeptix-font-body);
  color: var(--zeptix-white);
  background: var(--zeptix-navy-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gate-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Replace background.svg with your custom photo at assets/background.jpg */
.gate-page__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--zeptix-navy-deep);
  background-image: url("../assets/background.jpg"), url("../assets/background.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px);
  transform: scale(1.04);
}

.gate-page__overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 14, 34, 0.72) 0%,
      rgba(10, 22, 51, 0.82) 45%,
      rgba(5, 14, 34, 0.88) 100%
    );
}

.gate-page__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 42rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.gate-page__header {
  width: 100%;
}

.gate-page__logo {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  margin: 0 auto;
}

.gate-page__panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.gate-page__title {
  font-family: var(--zeptix-font-display);
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--zeptix-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.gate-page__disclaimer {
  max-width: 36rem;
  font-size: clamp(0.875rem, 2.4vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.gate-page__cta {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 22rem);
  min-height: 3.25rem;
  padding: 0.875rem 2rem;
  margin-top: 0.25rem;
  font-family: var(--zeptix-font-display);
  font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zeptix-navy-deep);
  background: linear-gradient(135deg, var(--zeptix-gold) 0%, var(--zeptix-gold-bright) 50%, var(--zeptix-gold) 100%);
  border-radius: 4px;
  box-shadow:
    0 4px 20px rgba(200, 155, 74, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.gate-page__cta:hover {
  filter: brightness(1.06);
  box-shadow:
    0 6px 28px rgba(200, 155, 74, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-1px);
}

.gate-page__cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.gate-page__cta:focus-visible {
  outline: 2px solid var(--zeptix-gold-bright);
  outline-offset: 3px;
}

.gate-page__cta:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.gate-page__redirect-notice {
  font-size: clamp(0.6875rem, 1.8vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 480px) {
  .gate-page__content {
    justify-content: center;
    min-height: 100dvh;
  }

  .gate-page__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate-page__cta {
    transition: none;
  }

  .gate-page__cta:hover {
    transform: none;
  }
}
