:root{
  --ink: rgba(227,200,255,0.92);
  --card: rgba(18, 6, 31, 0.60);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  min-height:100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: url("/bg-desktop.png") no-repeat center top / cover, #12051E;
  overflow-x:hidden;
}

@media (max-width: 640px){
  body{
    background: url("/bg-mobile.png") no-repeat center top / cover, #12051E;
  }
}

/* CONTENT POSITION */
.wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap: 18px;
  padding: 240px 18px 34px;
}

@media (max-width: 640px){
  .wrap{
    padding: 220px 18px 28px;
  }
}

.hero{
  text-align:center;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(227,200,255,0.82);
  text-shadow: 0 14px 40px rgba(0,0,0,0.55);
  margin: 0 0 10px;
}

.card{
  width: min(720px, 92vw);
}

.form{
  background: var(--card);
  border: 1px solid rgba(227,200,255,0.12);
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}

.field{ margin-bottom: 14px; }

label{
  display:block;
  font-size: 15px;
  margin: 4px 0 8px;
  color: rgba(227,200,255,0.88);
}

input, textarea{
  width:100%;
  border-radius: 10px;
  border: 1px solid rgba(227,200,255,0.10);
  background: rgba(10, 3, 18, 0.32);
  color: rgba(227,200,255,0.90);
  padding: 12px 12px;
  outline:none;
}

input{ height: 44px; }
textarea{
  min-height: 86px;
  resize: vertical;
}

input::placeholder, textarea::placeholder{
  color: rgba(227,200,255,0.48);
}

.btn{
  width: 260px;
  max-width: 100%;
  display:block;
  margin: 16px auto 8px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(227,200,255,0.18);
  background:
    radial-gradient(circle at 50% 10%, rgba(227,200,255,0.20), rgba(227,200,255,0) 60%),
    linear-gradient(180deg, rgba(155,77,255,0.32), rgba(155,77,255,0.18));
  color: rgba(227,200,255,0.92);
  font-size: 16px;
  cursor:pointer;
  box-shadow: 0 18px 50px rgba(155,77,255,0.20);
}

/* Two-line status message with subtle animation */
@keyframes statusIn {
  0% { opacity: 0; transform: translateY(-8px); filter: blur(1px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.status{
  margin: 12px 0 0;
  min-height: 44px;
  text-align: center;
  line-height: 1.35;
  opacity: 0;
}

.status .line1{
  display:block;
  font-size: 13px;
  color: rgba(227,200,255,0.95);
  margin-bottom: 2px;
}

.status .line2{
  display:block;
  font-size: 13px;
  color: rgba(227,200,255,0.78);
}

.status.show{
  opacity: 1;
  animation: statusIn 380ms ease-out both;
}

.note{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(227,200,255,0.62);
  font-size: 13px;
  line-height: 1.45;
}

.social{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  gap: 18px;
}

.social a{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  border: 1px solid rgba(227,200,255,0.10);
  background: rgba(10, 3, 18, 0.20);
  text-decoration:none;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.social a:hover{
  border-color: rgba(227,200,255,0.22);
}

.icon{
  width: 18px;
  height: 18px;
  fill: rgba(227,200,255,0.65);
}

.audio-toggle{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(227,200,255,0.25);
  background: rgba(18,6,31,0.6);
  color: rgba(227,200,255,0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
