/* ─── Meta Games style registration ─── */
.reg-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(10,11,12,0.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  align-items:center;
  justify-content:center;
  padding:16px;
  font-family:'Inter','Roboto',sans-serif;
  -webkit-font-smoothing:antialiased;
}
.reg-overlay.show{display:flex}

.reg-card{
  position:relative;
  width:100%;
  max-width:420px;
  background:#242526;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  padding:32px 28px 24px;
  color:#fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 30px 60px rgba(0,0,0,0.6);
  max-height:92vh;
  overflow-y:auto;
}

.reg-glow{
  position:absolute;
  top:0;left:0;right:0;
  height:140px;
  background:
    radial-gradient(ellipse at top,#2374e133 0%,transparent 70%),
    linear-gradient(180deg,#2374e108 0%,transparent 100%);
  pointer-events:none;
  border-top-left-radius:20px;
  border-top-right-radius:20px;
}

.reg-close{
  position:absolute;
  top:14px;right:14px;
  width:32px;height:32px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.7);
  font-size:18px;
  border-radius:10px;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  z-index:5;
  transition:all 0.15s;
}
.reg-close:hover{background:rgba(255,255,255,0.08);color:#fff}

.reg-head{
  position:relative;
  text-align:center;
  margin-bottom:22px;
}
.reg-logo{
  width:56px;height:56px;
  margin:0 auto 14px;
  display:block;
  filter:drop-shadow(0 8px 24px rgba(35,116,225,0.4));
}
.reg-title{
  font-family:'Bebas Neue','Inter',sans-serif;
  font-size:30px;
  letter-spacing:1.5px;
  line-height:1;
  color:#fff;
  margin-bottom:6px;
}
.reg-sub{
  font-size:13px;
  color:rgba(255,255,255,0.55);
  font-weight:500;
}

.reg-prize{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(135deg,rgba(35,116,225,0.12) 0%,rgba(250,204,21,0.08) 100%);
  border:1px solid rgba(35,116,225,0.25);
  border-radius:14px;
  padding:12px 16px;
  margin-bottom:20px;
}
.reg-prize-left{display:flex;align-items:center;gap:10px}
.reg-prize-icon{
  width:34px;height:34px;
  background:linear-gradient(135deg,#facc15,#d97706);
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
  flex-shrink:0;
}
.reg-prize-text{
  font-size:11px;
  color:rgba(255,255,255,0.6);
  font-weight:600;
  letter-spacing:0.5px;
  text-transform:uppercase;
  line-height:1.3;
}
.reg-prize-amount{
  font-family:'Bebas Neue','Inter',sans-serif;
  font-size:24px;
  letter-spacing:1px;
  background:linear-gradient(180deg,#facc15,#f59e0b);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}

.reg-form{position:relative;display:flex;flex-direction:column;gap:14px}

.reg-row{display:flex;flex-direction:column;gap:7px}

.reg-label{
  font-size:11px;
  color:rgba(255,255,255,0.55);
  font-weight:600;
  letter-spacing:0.4px;
  padding-left:2px;
  text-transform:none;
}

.reg-field{
  position:relative;
  background:#3a3b3c;
  border:1.5px solid rgba(255,255,255,0.06);
  border-radius:12px;
  transition:border-color 0.18s, background 0.18s;
}
.reg-field:focus-within{
  border-color:#2374e1;
  background:#2f3031;
  box-shadow:0 0 0 3px rgba(35,116,225,0.15);
}
.reg-field input{
  width:100%;
  height:50px;
  background:transparent;
  border:none;
  outline:none;
  color:#fff;
  font-size:15px;
  font-weight:500;
  padding:0 16px;
  font-family:inherit;
  -webkit-appearance:none;
  appearance:none;
}
.reg-field input::placeholder{color:rgba(255,255,255,0.3)}
.reg-field input:-webkit-autofill,
.reg-field input:-webkit-autofill:hover,
.reg-field input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff;
  -webkit-box-shadow:0 0 0px 1000px #3a3b3c inset;
  transition:background-color 5000s ease-in-out 0s;
}

.reg-error{
  font-size:12px;
  color:#ff6b6b;
  padding-left:2px;
  display:none;
  font-weight:500;
}
.reg-error.show{display:block}

.reg-terms{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:4px;
  font-size:12px;
  color:rgba(255,255,255,0.55);
  font-weight:500;
  line-height:1.45;
  cursor:pointer;
  user-select:none;
}
.reg-terms input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  width:18px;height:18px;
  flex-shrink:0;
  background:#3a3b3c;
  border:1.5px solid rgba(255,255,255,0.15);
  border-radius:5px;
  cursor:pointer;
  position:relative;
  margin-top:1px;
  transition:all 0.15s;
}
.reg-terms input[type="checkbox"]:checked{
  background:#2374e1;
  border-color:#2374e1;
}
.reg-terms input[type="checkbox"]:checked::after{
  content:'';
  position:absolute;
  left:5px;top:1px;
  width:5px;height:10px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.reg-terms a{color:#2374e1;text-decoration:none;font-weight:600}
.reg-terms a:hover{text-decoration:underline}

.reg-submit{
  position:relative;
  width:100%;
  height:54px;
  margin-top:8px;
  background:linear-gradient(135deg,#2374e1 0%,#1860c0 100%);
  border:none;
  border-radius:12px;
  color:#fff;
  font-size:15px;
  font-weight:700;
  letter-spacing:0.5px;
  cursor:pointer;
  overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 8px 24px rgba(35,116,225,0.35);
  transition:transform 0.15s, box-shadow 0.15s;
}
.reg-submit:hover{
  transform:translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 12px 32px rgba(35,116,225,0.5);
}
.reg-submit:active{transform:translateY(1px)}
.reg-submit:disabled{opacity:0.55;cursor:not-allowed;transform:none!important}

.reg-loader{
  display:none;
  width:22px;height:22px;
  border:2.5px solid rgba(255,255,255,0.3);
  border-top-color:#fff;
  border-radius:50%;
  animation:reg-spin 0.7s linear infinite;
  margin:0 auto;
}
.reg-submit.loading .reg-loader{display:block}
.reg-submit.loading .reg-submit-text{display:none}
@keyframes reg-spin{to{transform:rotate(360deg)}}

.reg-footer{
  margin-top:18px;
  text-align:center;
  font-size:13px;
  color:rgba(255,255,255,0.5);
  font-weight:500;
}
.reg-footer a{color:#2374e1;text-decoration:none;font-weight:600}
.reg-footer a:hover{text-decoration:underline}

.reg-trust{
  display:flex;
  justify-content:center;
  gap:18px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.06);
  font-size:11px;
  color:rgba(255,255,255,0.4);
  font-weight:500;
}
.reg-trust span{display:flex;align-items:center;gap:4px}

@media(max-width:380px){
  .reg-card{padding:26px 20px 20px}
  .reg-title{font-size:26px}
  .reg-prize-amount{font-size:20px}
}
