:root {
  --yago-purple: #6c2d91;
  --yago-yellow: #ffde17;
  --yago-orange: #f7941d;
  --sky-blue: #a8e6ff;
  --grass-green: #7dc242;
  --card-bg: rgba(255,255,255,0.92);
  --text: #333;
}

* { box-sizing: border-box; }

body{
  margin:0;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'cursive', system-ui;
  background: var(--sky-blue);
  color: var(--text);
  min-height:100vh;
  overflow-x:hidden;
}

.grass{
  position:fixed;
  left:0; right:0; bottom:0;
  height:110px;
  background: var(--grass-green);
  z-index:0;
}

.wrap{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 16px 140px;
}

.card{
  width:min(1100px, 96vw);
  background: var(--card-bg);
  border: 5px solid var(--yago-yellow);
  border-radius: 30px;
  box-shadow: 0 10px 0 var(--yago-purple);
  padding: 26px;
}

.brand{ text-align:center; margin-bottom: 18px; }
.brand .logo{
  font-size: 34px;
  font-weight: 900;
  color: var(--yago-purple);
  text-shadow: 2px 2px var(--yago-yellow);
  margin-bottom: 2px;
}
.brand .tag{
  color: var(--yago-orange);
  font-weight: 900;
}

.notice{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
}
.notice.ok   { background:#dcfce7; color:#14532d; border:2px solid #86efac; }
.notice.err  { background:#fee2e2; color:#7f1d1d; border:2px solid #fecaca; }
.notice.info { background:#e0f2fe; color:#075985; border:2px solid #bae6fd; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
}

.panel{
  background: rgba(255,255,255,0.70);
  border: 2px dashed rgba(108,45,145,0.25);
  border-radius: 20px;
  padding: 18px;
}

.h2{
  margin:0 0 6px;
  font-size: 24px;
  color: var(--yago-purple);
  text-shadow: 1px 1px var(--yago-yellow);
}

.p{
  margin:0 0 14px;
  color:#444;
  font-weight: 800;
}

.field{ margin: 10px 0; }
label{
  display:block;
  font-weight: 900;
  margin: 0 0 6px;
  color: #3b0764;
}

input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 2px solid rgba(108,45,145,0.25);
  outline:none;
  font-size: 16px;
  background: #fff;
}
input:focus{ border-color: rgba(108,45,145,0.6); box-shadow: 0 0 0 4px rgba(108,45,145,0.12); }

.row2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px){
  .row2{ grid-template-columns: 1fr; }
}

.btn{
  width:100%;
  border:none;
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 900;
  cursor:pointer;
  margin-top: 10px;
}
.btn.primary{ background: var(--yago-purple); color:#fff; }
.btn.primary:hover{ filter: brightness(1.06); }
.btn.secondary{ background: var(--yago-yellow); color:#3b0764; }
.btn.secondary:hover{ filter: brightness(0.98); }

.link{
  display:inline-block;
  margin-top: 10px;
  font-weight: 900;
  color: var(--yago-purple);
  text-decoration:none;
}
.link:hover{ text-decoration: underline; }

.small{
  font-size: 13px;
  font-weight: 900;
  color:#444;
  opacity: 0.9;
}


.countdown-box{
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  background: rgba(255,222,23,0.30);
  border: 2px solid rgba(247,148,29,0.35);
  color: #3b0764;
}
.countdown-warn{
  display:none;
  margin-top:6px;
  font-size:13px;
  color:#7f1d1d;
}

@media screen and (max-width: 997px) {
.brand .logo img{
  height: 100px

 }
}
