
/* === CUSTOM FONTS === */

/* ░░░ AVEROX ░░░ */
@font-face {
  font-family: 'Averox';
  src: url('/static/fonts/averox.woff2') format('woff2'),
       url('/static/fonts/averox.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ░░░ AILERON ░░░ */

/* Regular */
@font-face {
  font-family: 'Aileron';
  src: url('/static/fonts/Aileron-Regular.woff2') format('woff2'),
       url('/static/fonts/Aileron-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: 'Aileron';
  src: url('/static/fonts/Aileron-SemiBold.woff2') format('woff2'),
       url('/static/fonts/Aileron-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Aileron';
  src: url('/static/fonts/Aileron-Bold.woff2') format('woff2'),
       url('/static/fonts/Aileron-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: 'Aileron';
  src: url('/static/fonts/Aileron-Light.woff2') format('woff2'),
       url('/static/fonts/Aileron-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Italic variants */
@font-face {
  font-family: 'Aileron';
  src: url('/static/fonts/Aileron-Italic.woff2') format('woff2'),
       url('/static/fonts/Aileron-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Aileron';
  src: url('/static/fonts/Aileron-LightItalic.woff2') format('woff2'),
       url('/static/fonts/Aileron-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}


html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: radial-gradient(1400px 1000px at 50% 0%, #1b1328 0%, #0d0915 55%, #07040d 100%);
  color: #e9edf6;
  font-family: Aileron, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.landing-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-stage {
  position: relative;
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  background: radial-gradient(1400px 1000px at 50% 0%, #1b1328 0%, #0d0915 55%, #07040d 100%);
}

.landing-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.header-waitlist-btn {
  opacity: 0;
  pointer-events: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #8000ff, #ff0080);
  color: #fff;
  font-weight: 600;
  transition: opacity 0.25s ease;
}

.header-waitlist-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* -----------------------------------------------------
   FIXED BRAND HEADER
----------------------------------------------------- */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;

  min-height: calc(60px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  padding-inline: 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: radial-gradient(
    1400px 1000px at 50% 0%,
    #1b1328 0%,
    #0d0915 55%,
    #07040d 100%
  );

  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);

  /* Key fix: allow the fade to appear outside */
  overflow: visible;
  isolation: isolate;
}

/* This now sits UNDER the header like a good boy */
.lp-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  /* put it just beneath the bottom edge */
  top: 100%;

  height: 30px;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(7,4,13,0.7) 0%,
    rgba(7,4,13,0.4) 60%,
    transparent 100%
  );

  /* Behind the header but above the rest */
  z-index: -1;
}

/* Inner layout: logo | title | CTA button */
.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Square logo */
.lp-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 5px;
}

/* VOXPLAY title */

.lp-title {
  font-size: 1.6rem;
  font-family: Averox, sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  color: #ffffffd5;
  margin: 0 1rem;
}


/* CTA button — stays controlled by JS */
.header-waitlist-btn {
  opacity: 0;
  pointer-events: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #8000ff, #ff0080);
  color: #fff;
  font-weight: 600;
  transition: opacity 0.25s ease;
  white-space: nowrap;
  margin-left: auto;
}

.header-waitlist-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Banner */
.signup-banner {
  position: sticky;
  top: 60px;
  padding: 1.2rem 0;
  text-align: left;
  backdrop-filter: blur(14px);
  background: rgba(0,0,0,0.65);
  z-index: 3000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.signup-confirm {
  margin-top: 0.8rem;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: 18px;
  background: rgba(18, 14, 30, 0.88);
  border: 1px solid rgba(120, 80, 255, 0.18);
  font-size: 0.9rem;
  line-height: 1.3;
  transition: opacity 0.3s ease;
}

.signup-confirm.hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-width: 0;
}

.signup-confirm-copy {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.signup-confirm-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.28), rgba(255, 0, 128, 0.24));
  color: #8cffbf;
  flex: 0 0 auto;
}

.confirm-title {
  font-weight: 700;
  color: #fff;
}

.confirm-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
}

.confirm-discord-tag,
.confirm-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.confirm-discord-tag {
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

.confirm-live {
  color: rgba(255,255,255,0.64);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #6aff9c;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(106, 255, 156, 0.5);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* CTA button */
.discord-cta {
  display: block;
  padding: 12px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #7b2fff, #9b5cff);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.compact-discord-cta {
  margin-top: 0;
  padding: 0.72rem 0.95rem;
  min-width: 104px;
  flex: 0 0 auto;
}

.discord-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(123, 47, 255, 0.5);
}

/* Meta text */
.discord-meta {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}

.signup-banner.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

body.signup-focus-locked .signup-banner {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.signup-focus-locked .signup-banner.hidden {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.signup-focus-locked .header-waitlist-btn {
  opacity: 0;
  pointer-events: none;
}

.signup-inner {
  max-width: none;
  margin: 0 auto;
  padding: 0 1rem;
}

.signup-title {
  margin-bottom: 0.4rem;
  margin-right: 4rem;
  background: linear-gradient(90deg, #8000ff, #ff0080);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.signup-legal {
  font-size: 0.8rem;
  color: #ccccccaa;
  margin-top: 0.4rem;
}

.signup-fields {
  display: flex;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.signup-legal a {
  background: linear-gradient(90deg, #8000ff, #ff0080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  text-decoration: none;
}

.signup-legal a:hover {
  opacity: 0.85;
}

.signup-fields input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.signup-fields input {
  font-size: 16px;      /* iOS zoom-killer */
  -webkit-text-size-adjust: 100%;
}


.signup-fields button {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #8000ff, #ff0080);
  color: #fff;
  font-weight: 600;
  flex: 0 0 auto;
  white-space: nowrap;
}

.landing-footer-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh;

  padding: 1.2rem 0;

  display: flex;
  align-items: flex-end;   /* ⬅ pushes inner content to the bottom */
  justify-content: center;

  backdrop-filter: blur(14px);
  background: rgba(0,0,0,0.75);
  z-index: 4000;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.landing-footer-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grid */
/* Outer container keeps scroll vertical */
.voxplay-grid-outer {
  width: 100%;
  overflow-x: hidden;
  padding-top: 1rem;
  margin-top: -15vh;
  position: relative;
  z-index: 1;
}

#voxplay-grid-root {
  width: 120%;
  margin-left: -10%;
}

/* Each row is its own rotated strip */
.vox-row {
  display: flex;
  flex-direction: row;
  gap: 0px;
  margin-bottom: 0px;
  transform: rotate(20deg);
  transform-origin: left center;
}

/* Each tile */
.vox-tile {
  width: 30vw;          /* 5 tiles per row */
  max-width: 240px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border: #07040d solid;
}

/* Optional: subtle shadow for sexiness */
.vox-tile {
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Modal */
.overlay-container {
  display: none;
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.6);
  z-index: 5000;
}

.overlay-container.active {
  display: flex;
}

.overlay-card {
  position: relative;
  background: rgba(0,0,0,0.8);
  padding: 2rem;
  border-radius: 5px;
  text-align: center;
}

.overlay-close {
  position: fixed;
  left: 1rem;
  top: calc(14px + env(safe-area-inset-top));

  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;

  padding: 0.4rem;
  cursor: pointer;
  z-index: 9999; /* above the modal content */
}

.overlay-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   PROFILE PANEL — VoxAlt-aligned (CLEANED)
============================================ */

.vox-profile-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.2rem 2.4rem;
  width: 100%;
  color: var(--vox-fg);
  box-sizing: border-box;
  z-index: 7000;
}

/* --------------------------------------------
   AVATAR + STATUS GLOW
--------------------------------------------- */
.vox-profile-avatar-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0.4rem auto 1.4rem auto;
  cursor: pointer;

  box-shadow:
    0 0 22px var(--glow, rgba(255,255,255,0.12)),
    inset 0 0 14px rgba(0,0,0,0.35);

  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.vox-profile-avatar-wrap:hover {
  transform: scale(1.05);
}

.vox-profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* STATUS LABEL */
.profile-status-label {
  margin-top: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.5rem;
  font-weight: 500;
  opacity: 0.75;
  color: var(--vox-fg);
  text-align: center;
  letter-spacing: 0.4px;
}

/* --------------------------------------------
   MINI-STATS (AGE | COUNTRY | LANG)
--------------------------------------------- */
.vox-profile-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  width: 100%;
  padding: 0.6rem 0;
  margin: 0.8rem 0;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.vox-profile-stat-label {
  font-size: 0.7rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vox-profile-stat-value {
  margin-top: 3px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* --------------------------------------------
   INTRO / BIO
--------------------------------------------- */
.vox-profile-bio {
  font-size: 0.85rem;
  line-height: 1.55;
  opacity: 0.9;
  text-align: center;
  max-width: 340px;
  margin: 0 auto 1.8rem;
  letter-spacing: 0.2px;
}

/* ============================================
   FULLSCREEN PROFILE OVERLAY
============================================ */

.profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: none;
  flex-direction: column;
  background: radial-gradient(
    1400px 1000px at 50% 0%,
    #1b1328 0%,
    #0d0915 55%,
    #07040d 100%
  );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  overflow-y: auto;
}

.profile-overlay.active {
  display: flex;
}

/* ---------- HEADER ---------- */
.profile-header {
  position: sticky;
  top: 0;
  z-index: 7100;
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: calc(60px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  padding-inline: 1rem;

  background: radial-gradient(
    1400px 1000px at 50% 0%,
    #1b1328 0%,
    #0d0915 55%,
    #07040d 100%
  );

  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  
  overflow: visible;
  isolation: isolate;
}

.profile-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 26px;
  z-index: -1;

  background: linear-gradient(
    to bottom,
    rgba(7,4,13,0.7) 0%,
    rgba(7,4,13,0.4) 60%,
    transparent 100%
  );
}

/* Back button left-aligned */
.profile-back-btn {
  position: absolute;
  left: 1rem;
  top: calc(12px + env(safe-area-inset-top));

  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.2rem;
  cursor: pointer;
}

/* Centre title */
.profile-title {
  font-family: Averox, sans-serif;
  font-size: 1.4rem;
  color: #ffffffd9;
  letter-spacing: 0.08rem;
  text-align: center;
}

/* ---------- CONTENT ---------- */

.profile-content {
  padding: 1rem 1.2rem 3rem;
  margin-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* --------------------------------------------
   GLASS PILLS
--------------------------------------------- */
.pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.context-pill {
  display: inline-flex;
  align-items: center;

  padding: 8px 18px;
  border-radius: 999px;

  font-size: 0.8rem;
  font-weight: 500;

  background: rgba(20,18,30,0.15);
  border: 1px solid rgba(137,226,255,0.2);

  box-shadow:
    0 0 12px rgba(137,226,255,0.08),
    inset 0 0 8px rgba(137,226,255,0.15);

  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);

  color: var(--text-primary, #fff);
  transition: all 0.25s var(--ease-soft, ease);
  white-space: nowrap;
  cursor: pointer;
}

.context-pill:hover {
  border-color: rgba(137,226,255,0.45);
  box-shadow:
    0 0 14px rgba(137,226,255,0.35),
    inset 0 0 10px rgba(137,226,255,0.2);
  transform: translateY(-1px);
}

.pills-wrap.small-pills .context-pill {
  padding: 6px 14px;
  font-size: 0.74rem;
  border-radius: 999px;
}

/* --------------------------------------------
   SECTION WRAPPER
--------------------------------------------- */
.vox-profile-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  margin: 0.3rem 0;
}

/* --------------------------------------------
   MEDIA GRID
--------------------------------------------- */
.vox-profile-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.4rem;
  gap: 5px;
  width: 100%;
}

.vox-profile-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.25s ease;
}

.vox-profile-thumb:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.gallery-card {
  max-width: 90vw;
  max-height: 90vh;
  padding: 0;
  background: rgba(0,0,0,0.85);
  z-index: 8000;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: contain;
}

#gallery-modal {
  z-index: 9000 !important;
  position: fixed;
  inset: 0;
  isolation: isolate;
}

/* --------------------------------------------
   RESPONSIVE
--------------------------------------------- */
@media (max-width: 420px) {
  body.signup-focus-locked .signup-banner {
    position: relative;
    top: 0;
    transition: none;
  }

  .signup-fields {
    flex-direction: column;
  }

  .signup-fields button,
  .signup-fields input {
    width: 100%;
    box-sizing: border-box;
  }

  .signup-confirm {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-discord-cta {
    width: 100%;
    box-sizing: border-box;
  }

  .vox-profile-avatar-wrap {
    width: 88px;
    height: 88px;
  }

  .vox-profile-stat-value {
    font-size: 1.02rem;
  }

  .vox-profile-media-grid {
    gap: 2px;
  }
}

@media (min-width: 960px) {
  body {
    background:
      radial-gradient(900px 600px at 12% 12%, rgba(255, 0, 128, 0.14), transparent 60%),
      radial-gradient(900px 700px at 88% 82%, rgba(123, 47, 255, 0.18), transparent 62%),
      radial-gradient(1400px 1000px at 50% 0%, #171121 0%, #0c0914 55%, #07040d 100%);
  }

  .landing-shell {
    padding: 0;
  }

  .landing-shell::before,
  .landing-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
  }

  .landing-shell::before {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black 34%, transparent 78%);
    opacity: 0.55;
  }

  .landing-shell::after {
    background: radial-gradient(circle at center, transparent 56%, rgba(4, 2, 9, 0.72) 100%);
  }

  .landing-stage {
    width: min(100%, 620px);
    min-height: 100vh;
    margin: 0 auto;
    border-radius: 0;
    overflow: visible;
    border: none;
    clip-path: none;
    box-shadow: none;
  }

  .lp-header {
    position: sticky;
    top: 0;
    left: auto;
    transform: none;
    width: auto;
    max-width: none;
    padding-inline: 1.5rem;
    border-radius: 0;
  }

  .signup-banner {
    top: 60px;
    margin-top: 0;
  }

  .signup-inner {
    max-width: none;
    padding: 0 1.5rem;
  }

  .landing-footer-banner {
    position: absolute;
    width: auto;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    min-height: 96px;
    padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
  }

  .voxplay-grid-outer {
    width: 100%;
    margin-top: -9vh;
    padding-top: 0.5rem;
    padding-bottom: 7rem;
  }

  #voxplay-grid-root {
    width: 114%;
    margin-left: -7%;
  }

  .vox-tile {
    width: 26%;
    max-width: none;
  }
}
/* FULLSCREEN OVERLAY */
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  flex-direction: column;
  background: radial-gradient(
    1400px 1000px at 50% 0%,
    #1b1328 0%,
    #0d0915 55%,
    #07040d 100%
  );
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

/* SHOW */
.privacy-overlay.active {
  display: flex;
}

/* HEADER */
.privacy-header {
  position: sticky;
  top: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-top: env(safe-area-inset-top);
  min-height: calc(60px + env(safe-area-inset-top));
  padding-inline: 1rem;

  background: radial-gradient(
    1400px 1000px at 50% 0%,
    #1b1328 0%,
    #0d0915 55%,
    #07040d 100%
  );

  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  isolation: isolate;
}

.privacy-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 26px;
  z-index: -1;

  background: linear-gradient(
    to bottom,
    rgba(7,4,13,0.7),
    rgba(7,4,13,0.4),
    transparent
  );
}

.privacy-back-btn {
  position: absolute;
  left: 1rem;
  top: calc(12px + env(safe-area-inset-top));
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.privacy-title {
  font-family: Averox, sans-serif;
  font-size: 1.4rem;
  color: #ffffffd9;
  letter-spacing: 0.06rem;
}

/* SCROLLABLE CONTENT */
.privacy-scroll {
  padding: 1.2rem 1.4rem 3rem;
  overflow-y: auto;
}

#privacy-content h1,
#privacy-content h2,
#privacy-content h3 {
  font-family: Aileron, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06rem;
  margin: 1.8rem 0 0.8rem;
  color: #ffffffcc;
  text-align: center;
}

#privacy-content p,
#privacy-content li {
  font-family: Aileron, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 0.85rem;
}

#privacy-content ul {
  margin: 0 0 1rem 1rem;
  padding: 0;
}

#privacy-content a {
  color: #7dc8ff;
  text-decoration: none;
}

#privacy-content hr {
  display: none; /* hide MD horizontals */
}

.footer-inner {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-legal {
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0.7;
  color: #fff;
}

.footer-legal a {
  background: linear-gradient(90deg, #8000ff, #ff0080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal a:hover {
  opacity: 0.85;
}

.footer-legal a:hover {
  text-decoration: underline;
}
