/* ================================================================
   LIBERI NETWORK — Stay Tuned onepage
   ================================================================ */

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/Bebas-Neue-Pro-Bold-BF66cf3d7770dfe.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:    #06060a;
  --pink:  #EC008C;
  --blue:  #2C3E8F;
  --grid:  #232330;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.56);
  --grad:  linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  height: 100vh;
  height: 100svh;
  overscroll-behavior: none;
}

body {
  font-family: 'Archivo', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  width: 100vw;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ----------------------------------------------------------------
   Animated grid background
   ---------------------------------------------------------------- */
.boxes-wrap {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
}

.boxes-grid {
  position: absolute;
  left: 25%;
  top: -25%;
  display: flex;
  transform: translate(-40%, -60%) skewX(-48deg) skewY(14deg) scale(0.675) rotate(0deg);
  transform-origin: center;
}

.boxes-row {
  width: 64px;
  height: 32px;
  border-left: 1px solid var(--grid);
  flex-shrink: 0;
}

.boxes-cell {
  width: 64px;
  height: 32px;
  border-right: 1px solid var(--grid);
  border-top: 1px solid var(--grid);
  background-color: transparent;
  position: relative;
}

.boxes-plus {
  position: absolute;
  top: -14px;
  left: -22px;
  width: 40px;
  height: 24px;
  color: var(--grid);
  pointer-events: none;
}

/* big soft frame: grid dissolves gradually into the flat bg on every side,
   most generously left/right, leaving a wide dark border around the content */
.boxes-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 32%, transparent 68%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 24%, transparent 76%, var(--bg) 100%),
    radial-gradient(ellipse 65% 60% at 50% 42%, transparent 0%, rgba(6, 6, 10, 0.35) 60%, rgba(6, 6, 10, 0.7) 100%);
}

/* ----------------------------------------------------------------
   Content
   ---------------------------------------------------------------- */
.content {
  position: relative;
  z-index: 10;
  height: 100vh;
  height: 100svh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  gap: clamp(20px, 4vh, 36px);
  pointer-events: none;
}

.content .btn {
  pointer-events: auto;
}

.logo {
  width: clamp(140px, 22vw, 220px);
}

.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 15vw, 168px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
}

.subtitle {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(15px, 2.2vw, 19px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.btn {
  font-family: 'Archivo', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(236, 0, 140, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(236, 0, 140, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn svg { width: 16px; height: 16px; }

@media (max-width: 480px) {
  .content { gap: clamp(16px, 3.5vh, 28px); }
  .logo { width: clamp(120px, 34vw, 170px); }
  .title { letter-spacing: 0; font-size: clamp(52px, 17vw, 90px); }
  .subtitle { font-size: 15px; }
  .actions { flex-direction: column; width: 100%; max-width: 300px; }
  .btn { justify-content: center; width: 100%; }
}

@media (max-height: 700px) {
  .content { gap: clamp(10px, 2.2vh, 20px); }
  .logo { width: clamp(100px, 18vw, 150px); }
}
