:root{
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#ffffff;

  /* Same glass settings as the main site */
  --glass-bg: rgba(255,255,255,0.18);
  --glass-border: rgba(229,231,235,0.50);
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* Same lion watermark settings as the main site */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image: url("assets/lion-face.svg");
  background-repeat:no-repeat;
  background-position: center center;
  background-size: min(740px, 80vw);

  opacity: 0.2;
  filter: saturate(1.5) brightness(1.20) contrast(0.95);

  pointer-events:none;
  z-index:-1;
}

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:42px 0 22px;
}

main{
  padding:42px 0 64px;
}

h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
}

h2{
  margin:24px 0 10px;
  font-size:20px;
}

p{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.65;
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

/* Same glass card settings as the main site */
.card{
  margin-top:22px;
  border:1px solid var(--glass-border);
  border-radius:18px;
  background:var(--glass-bg);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(5px);
  padding:18px;
}

.card p{
  color:#374151;
}

.hero-card{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
  padding:42px 28px;
}

.legal-page{
  max-width:820px;
  margin:40px auto;
}

.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
  font-size:14px;
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.footer a{
  color:var(--muted);
  text-decoration:none;
}

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

.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width: 640px){
  .page{
    padding:24px 0 18px;
  }

  main{
    padding:24px 0 40px;
  }

  .card{
    padding:14px;
  }

  .hero-card{
    padding:34px 18px;
  }

  .footer-inner{
    justify-content:center;
    text-align:center;
  }

  body::before{
    background-position: center center;
    background-size: min(460px, 92vw);
    opacity: 0.28;
  }
}

/* Full page glass overlay for under construction */
.fullscreen-glass{
  min-height:100vh;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

.uc-content{
  text-align:center;
  max-width:700px;
}

.uc-content h1{
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom:18px;
}

.uc-content p{
  font-size:18px;
}

/* Legal pages inside the same full-page glass overlay */
.legal-content{
  width:min(900px, 92vw);
  max-height:none;
  text-align:left;
  padding:48px 0;
}

.legal-content h1{
  margin-bottom:22px;
}

.legal-content h2{
  margin-top:28px;
  margin-bottom:10px;
  font-size:20px;
}

.legal-content p{
  color:#374151;
}

.legal-content a{
  color:#111827;
}

/* Under construction content: no extra card, only page-level glass */
.uc-content{
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
}

/* Glass-style button for legal pages */
.back-home,
a.back-home{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:28px;
  padding:10px 16px;
  border:1px solid var(--glass-border);
  border-radius:14px;
  background: rgba(140, 190, 255, 0.22);
  backdrop-filter: blur(5px);
  color:var(--text);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
}

.back-home:hover,
a.back-home:hover{
  background: rgba(140, 190, 255, 0.34);
  text-decoration:none;
}
