/* Voting page — public/index.html */

body{
  font-family:Arial,sans-serif;
  background:linear-gradient(135deg,#fff1f8,#eaf7ff);
  padding:40px 20px;
}

h1{
  font-family:'Dancing Script',cursive;
  font-size:35px;
  color:#444;
}

h2{
  font-family:'Dancing Script',cursive;
  font-size:25px;
  color:#fff;
  margin:10px 0 0;
}

.subtitle{
  font-family:'Playfair Display',serif;
  color:#777;
  margin-bottom:20px;
}

.subtitlecn{
  font-family:'ZCOOL XiaoWei',serif;
  color:#777;
  margin-bottom:20px;
}

.examplecn{
  font-family:'ZCOOL XiaoWei',serif;
  color:#777;
  margin:0 25px 10px;
  text-align:left;
  font-size:12px;
}

.card{
  background:white;
  padding:40px;
  border-radius:30px;
  max-width:400px;
  margin:auto;
  box-shadow:0 10px 30px #ddd;
}

input{
  font-family:'ZCOOL XiaoWei',serif;
  padding:15px;
  width:80%;
  border-radius:20px;
  border:1px solid #ddd;
  font-size:20px;
}

button{
  flex:1;
  padding:25px 15px;
  margin:15px 0;
  border:none;
  border-radius:40px;
  font-size:25px;
  cursor:pointer;
  transition:transform .2s;
}

button:hover{
  transform:translateY(-16px);
}

button:disabled{
  opacity:.6;
  cursor:progress;
  transform:none;
}

.wrap{
  display:flex;
  gap:10px;
}

.boy{
  background:linear-gradient(135deg,#5fb9ff,#4d7cff);
  color:#fff;
}

.girl{
  background:linear-gradient(135deg,#ff8bc4,#ff5aa8);
  color:#fff;
}

.big{
  font-size:64px;
}

.error{
  color:#d6336c;
  font-family:'ZCOOL XiaoWei',serif;
  margin-top:15px;
  min-height:1.4em;
}

@media (max-width:480px){
  body{padding:20px 10px;}
  .card{padding:25px;}
  .big{font-size:48px;}
  button{font-size:20px;padding:20px 10px;}
}

/* Honeypot — kept out of sight and out of the tab order, never display:none,
   which some bots check for. */
.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
