:root{
  --teal:#0f766e;
  --teal-dark:#064e4a;
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --gold:#facc15;
  --danger:#dc2626;
}

*{
  box-sizing:border-box;
  font-family:Inter,system-ui,-apple-system;
}

body{
  margin:0;
  min-height:100vh;
  background: linear-gradient(135deg,#e9e9e9,#c4faf5);
  overflow-x:hidden;
  scroll-behavior:smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* FIX */
  display:flex;
  flex-direction:column;
}

#space-bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
  pointer-events:none;
}


/* HEADER stays natural */
header{
  flex-shrink:0;
}

/* MAIN CENTER AREA */
main{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
}

.container{
  width:100%;
  height: 100vh;
}

/* FOOTER sticks bottom */
footer{
  flex-shrink:0;
  text-align:center;
  padding:12px 40px;
  color:var(--muted);
}

/* CARD */
.upload-card {
  background: white;
  padding: 28px;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

/* TEXT */
h2 {
  text-align: center;
  color:#064e4a;
}

label {
  display:block;
  text-align: center;
  margin:10px 0px;
  font-weight:600;
  color:var(--text);
}

input {
  width:100%;
  padding:12px;
  margin-top:6px;
  border-radius:10px;
  border:1px solid var(--border);
  outline:none;
}

input:focus{
  border-color:var(--teal);
}

/* BUTTON */
button {
  width:100%;
  margin-top:20px;
  padding:14px;
  border-radius:12px;
  border:none;
  background:#0f766e;
  color:white;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  transition:.25s;
}

button:hover{
  background:#064e4a;
  transform:translateY(-1px);
}

/* STATUS */
#status {
  margin-top:16px;
  font-weight:600;
  text-align:center;
  color:var(--teal-dark);
}

/* MOBILE SAFE */
@media(max-width:480px){
  .upload-card{
    padding:20px;
    border-radius:14px;
  }

  h2{
    font-size:20px;
  }
}
