/* ─── Netflix Casino registration ─── */
.reg-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,0.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  align-items:center;
  justify-content:center;
  padding:16px;
  font-family:'Inter','Roboto','Helvetica Neue',sans-serif;
  -webkit-font-smoothing:antialiased;
}
.reg-overlay.show{display:flex}

.reg-card{
  position:relative;
  width:100%;
  max-width:440px;
  background:linear-gradient(180deg,#181818 0%,#0b0b0b 100%);
  border:1px solid rgba(229,9,20,0.18);
  border-radius:8px;
  padding:38px 30px 26px;
  color:#fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 30px 80px rgba(229,9,20,0.18),
    0 20px 60px rgba(0,0,0,0.7);
  max-height:92vh;
  overflow-y:auto;
}

.reg-glow{
  position:absolute;
  top:0;left:0;right:0;
  height:160px;
  background:
    radial-gradient(ellipse at top,rgba(229,9,20,0.32) 0%,transparent 70%),
    linear-gradient(180deg,rgba(229,9,20,0.08) 0%,transparent 100%);
  pointer-events:none;
  border-top-left-radius:8px;
  border-top-right-radius:8px;
}

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

.reg-head{
  position:relative;
  text-align:center;
  margin-bottom:24px;
}

/* Netflix-style brand wordmark */
.reg-brand{
  font-family:'Bebas Neue','Inter',sans-serif;
  font-size:38px;
  font-weight:900;
  letter-spacing:3px;
  line-height:1;
  color:#fff;
  margin-bottom:12px;
  text-shadow:0 2px 12px rgba(0,0,0,0.5);
}
.reg-brand-red{
  color:#E50914;
  text-shadow:0 0 20px rgba(229,9,20,0.6);
}

.reg-title{
  font-family:'Bebas Neue','Inter',sans-serif;
  font-size:26px;
  letter-spacing:1px;
  line-height:1.1;
  color:#fff;
  margin-bottom:6px;
  font-weight:800;
}
.reg-sub{
  font-size:13px;
  color:rgba(255,255,255,0.55);
  font-weight:400;
  letter-spacing:0.2px;
}

.reg-prize{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(135deg,rgba(229,9,20,0.16) 0%,rgba(229,9,20,0.04) 100%);
  border:1px solid rgba(229,9,20,0.35);
  border-radius:8px;
  padding:14px 16px;
  margin-bottom:22px;
}
.reg-prize-left{display:flex;align-items:center;gap:12px}
.reg-prize-icon{
  width:36px;height:36px;
  background:linear-gradient(135deg,#E50914,#831010);
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
  flex-shrink:0;
  box-shadow:0 4px 14px rgba(229,9,20,0.35);
}
.reg-prize-text{
  font-size:11px;
  color:rgba(255,255,255,0.7);
  font-weight:700;
  letter-spacing:0.6px;
  text-transform:uppercase;
  line-height:1.3;
}
.reg-prize-amount{
  font-family:'Bebas Neue','Inter',sans-serif;
  font-size:26px;
  font-weight:900;
  letter-spacing:1px;
  color:#E50914;
  text-shadow:0 0 14px rgba(229,9,20,0.4);
}

.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.5px;
  padding-left:2px;
  text-transform:uppercase;
}

.reg-field{
  position:relative;
  background:#1f1f1f;
  border:1.5px solid rgba(255,255,255,0.06);
  border-radius:6px;
  transition:border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.reg-field:focus-within{
  border-color:#E50914;
  background:#181818;
  box-shadow:0 0 0 3px rgba(229,9,20,0.18);
}
.reg-field input{
  width:100%;
  height:52px;
  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 #1f1f1f 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:#1f1f1f;
  border:1.5px solid rgba(255,255,255,0.18);
  border-radius:4px;
  cursor:pointer;
  position:relative;
  margin-top:1px;
  transition:all 0.15s;
}
.reg-terms input[type="checkbox"]:checked{
  background:#E50914;
  border-color:#E50914;
}
.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:#E50914;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(180deg,#E50914 0%,#B80710 100%);
  border:none;
  border-radius:6px;
  color:#fff;
  font-size:16px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  cursor:pointer;
  overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 6px 18px rgba(229,9,20,0.5);
  transition:transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.reg-submit:hover{
  background:linear-gradient(180deg,#F40612 0%,#C70812 100%);
  transform:translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.14) inset,
    0 10px 26px rgba(229,9,20,0.65);
}
.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:#E50914;text-decoration:none;font-weight:600}
.reg-footer a:hover{text-decoration:underline}

.reg-trust{
  display:flex;
  justify-content:center;
  gap:18px;
  margin-top:16px;
  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:30px 20px 22px}
  .reg-brand{font-size:30px;letter-spacing:2px}
  .reg-title{font-size:22px}
  .reg-prize-amount{font-size:22px}
}
