/* --- BlueSeas Under Construction Styles --- */
:root{
  --bg: #0b2a4a;
  --bg-2: #0e4a6d;
  --card-bg: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.18);
  --text: #e6f0fa;
  --muted: #b6c7d9;
  --accent: #10b0cc;
  --accent-2: #1a78b8;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

@media (prefers-color-scheme: light){
  :root{
    --bg: #f6fbff;
    --bg-2: #e9f3fb;
    --card-bg: rgba(255,255,255,0.7);
    --card-border: rgba(10,30,60,0.08);
    --text: #0b2239;
    --muted: #415a77;
    --shadow: 0 6px 24px rgba(22,50,85,.12);
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.6;
  color:var(--text);
  background: linear-gradient(120deg, var(--bg), var(--bg-2));
  overflow:hidden;
}

/* Animated background canvas fills screen */
#bg{
  position:fixed;
  inset:0;
  z-index:-1;
}

/* Layout */
.container{
  min-height:100dvh;
  display:grid;
  grid-template-rows:1fr auto;
  place-items:center;
  padding:clamp(16px, 4vw, 48px);
}

.card{
  width:min(940px, 100%);
  padding:clamp(20px, 5vw, 40px);
  border-radius:24px;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  box-shadow:var(--shadow);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  text-align:center;
}

.logo{
  width:min(520px, 80%);
  height:auto;
  margin:8px auto 2px;
  display:block;
}

h1{
  margin:8px 0 0;
  font-size:clamp(28px, 3.6vw, 44px);
  font-weight:800;
  letter-spacing:-0.02em;
}

.accent{ color: var(--accent); }

.tagline{
  margin:8px 0 4px;
  color:var(--muted);
  font-weight:600;
}

.lead{
  margin: 14px auto 20px;
  max-width: 70ch;
  color: var(--text);
  opacity: .95;
}

.divider{
  height:1px; width:100%;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
  margin: 18px 0 10px;
}

.cta{
  display:grid;
  gap:16px;
  justify-items:center;
}

#notify{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:620px;
}

#notify input{
  flex:1 1 320px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--card-border);
  background:rgba(255,255,255,.9);
  color:#102a43;
  outline:none;
  transition:border .2s ease, box-shadow .2s ease;
}

#notify input:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}

.btn{
  padding:14px 18px;
  border-radius:14px;
  border:0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color:white;
  font-weight:700;
  cursor:pointer;
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(16, 176, 204, .3);
}
.btn:hover{ filter: brightness(1.05) saturate(1.1); }
.btn:active{ transform: translateY(1px) scale(.99); }

.form-msg{
  width:100%;
  text-align:center;
  min-height:1.2em;
  color: var(--text);
}

.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.pill{
  padding:8px 12px;
  border-radius:999px;
  border:1px dashed var(--card-border);
  color:var(--muted);
  font-weight:600;
  background: rgba(255,255,255,.06);
}

/* Progress */
.progress{
  position:relative;
  margin: 6px auto 8px;
  width:min(620px, 100%);
  text-align:left;
}
.progress .bar{
  --p: 50; /* percentage */
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  overflow:hidden;
  position:relative;
}
.progress .bar::after{
  content:"";
  position:absolute; inset:0;
  width: calc(var(--p) * 1%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius:999px;
  box-shadow: 0 6px 18px rgba(16, 176, 204, .35);
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}
.progress-label{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:.95rem;
}
.progress-value{
  position:absolute;
  right:0;
  top:-28px;
  font-weight:700;
}

/* Links & Footer */
.links{
  list-style:none;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  padding:0; margin: 22px 0 8px;
  justify-content:center;
}
.link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--card-border);
  color:var(--text);
  text-decoration:none;
}
.link:hover{ background: rgba(255,255,255,.12); }
.icon{ font-size:1.1rem; }

.socials{ display:inline-flex; gap:10px; }
.social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid var(--card-border);
  background: rgba(255,255,255,.08);
  color:var(--text);
  text-decoration:none;
}
.social:hover{ background: rgba(255,255,255,.14); }

.footer{
  margin-top: 6px;
  text-align:center;
  color:var(--muted);
  font-size:.95rem;
}

/* Accessibility */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* Small screens tweaks */
@media (max-width: 420px){
  .logo{ width: 90%; }
}
