*{box-sizing:border-box}

body{
  margin:0;
  font-family:'Montserrat',sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(135deg,#ff4fa3,#ff73b5,#ff9ac7);
  min-height:100vh;
}

.wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.card{
  width:100%;
  max-width:700px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.45);
  border-radius:24px;
  box-shadow:
    0 20px 45px rgba(176, 20, 102, .22),
    0 8px 20px rgba(0,0,0,.08);
  padding:32px 28px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset:-80px auto auto -80px;
  width:180px;
  height:180px;
  background:radial-gradient(circle, rgba(255,255,255,.35), transparent 70%);
  pointer-events:none;
}

h1{
  margin:0 0 8px;
  font-weight:800;
  font-size:32px;
  color:#2b0d1c;
  letter-spacing:.2px;
}

.blue{
  color:#ff2f92;
}

.sub{
  color:#7a5064;
  margin:0 0 20px;
  font-size:15px;
  line-height:1.6;
}

.form input{
  width:100%;
  padding:14px 16px;
  margin:8px 0;
  border:1px solid #f3bfd4;
  border-radius:14px;
  font-size:15px;
  background:#fff8fb;
  color:#4d2134;
  outline:none;
  transition:.25s ease;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.03);
}

.form input:focus{
  border-color:#ff5aa9;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,90,169,.14);
}

.form button{
  width:100%;
  padding:14px 16px;
  margin-top:10px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#ff2f92,#ff5cab,#ff79bb);
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(255,47,146,.28);
  transition:.25s ease;
}

.form button:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(255,47,146,.34);
}

.alert{
  padding:12px 14px;
  border-radius:12px;
  margin-bottom:12px;
  font-size:14px;
}

.alert.error{
  background:#fff0f5;
  color:#c2185b;
  border:1px solid #f7b8d2;
}

.result{
  margin-top:18px;
  background:linear-gradient(180deg,#fff8fb,#fff3f8);
  border:1px solid #f3c8d8;
  border-radius:16px;
  padding:14px;
  box-shadow:0 6px 18px rgba(255,105,160,.08);
}

.shortbox{
  display:flex;
  gap:10px;
  margin-top:8px;
}

.shortbox input{
  flex:1;
  padding:12px 14px;
  border:1px solid #e7bfd0;
  border-radius:12px;
  background:#fff;
}

.shortbox button{
  padding:12px 16px;
  background:linear-gradient(135deg,#ff4aa1,#ff77ba);
  color:#fff;
  border:0;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  transition:.25s ease;
  box-shadow:0 8px 18px rgba(255,74,161,.24);
}

.shortbox button:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(255,74,161,.3);
}

.mini{
  color:#9a6f81;
  font-size:12px;
}

.mt{
  margin-top:24px;
}

.table{
  margin-top:10px;
  text-align:left;
  border:1px solid #f1d3df;
  border-radius:16px;
  overflow:hidden;
  background:#fffafb;
}

.thead,
.trow{
  display:grid;
  grid-template-columns:1fr 84px 150px;
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border-bottom:1px solid #f8dce8;
}

.thead{
  font-weight:700;
  color:#6f2347;
  background:linear-gradient(180deg,#fff1f7,#ffe6f1);
}

.trow{
  color:#5b3144;
  background:#fff;
  transition:.2s ease;
}

.trow:hover{
  background:#fff5f9;
}

.trow:last-child{
  border-bottom:none;
}

.trow span a{
  color:#ff2f92;
  text-decoration:none;
  font-weight:600;
}

.trow span a:hover{
  text-decoration:underline;
}

footer{
  color:#fff0f7;
  margin-top:16px;
  font-size:13px;
  text-shadow:0 1px 4px rgba(0,0,0,.12);
}

@media (max-width:640px){
  .card{
    padding:24px 18px;
    border-radius:20px;
  }

  h1{
    font-size:26px;
  }

  .shortbox{
    flex-direction:column;
  }

  .thead,
  .trow{
    grid-template-columns:1fr;
    gap:6px;
  }
}