:root{
  --bg:#010C16;
  --border:#0F3159;
  --btn:#6FA4E4;
  --text:#fff;
}

.ffs-signup-overlay,
.ffs-register-overlay{
  position:fixed; inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,.98) 0%, rgba(20,10,0,.95) 100%);
  z-index:999998;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.ffs-signup-popup,
.ffs-register-popup{
  width:100%;
  max-width:560px;
  background: #0b0b0c;
  border:3px solid #ec9520;
  border-radius:20px;
  padding:40px;
  color:var(--text);
  position:relative;
  font-family:'Arial', sans-serif;
  box-shadow:
    0 0 50px rgba(236, 149, 32, 0.3),
    0 20px 60px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.1);
}

/* prevent Elementor overrides */
.ffs-signup-popup button,
.ffs-signup-popup a,
.ffs-register-popup button,
.ffs-register-popup a{
  all: unset;
  box-sizing:border-box;
  cursor:pointer;
  font-family:inherit;
  color:inherit;
}

.ffs-signup-close,
.ffs-register-close{
  position:absolute!important; 
  top:12px!important; 
  right:14px!important;
  width:36px; height:36px!important;
  display:grid; place-items:center!important;
  border:none!important;
  border-radius:8px!important;
  font-size:24px!important;
  background:transparent!important;
  color:#ec9520!important;
  cursor:pointer!important;
  transition: all 0.3s ease!important;
}

.ffs-signup-close:hover,
.ffs-register-close:hover {
  background:rgba(236, 149, 32, 0.2)!important;
  color:#ffd700!important;
}

.slotfun-signup-title,
.slotfun-register-title{
  margin:0 0 8px;
  font-size:28px;
  font-weight:900;
  text-align:center;
  color:#ffd700;
  text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

.slotfun-signup-sub{
  margin:0 0 20px;
  font-size:15px;
  line-height:1.5;
  text-align:center;
  opacity:.92;
  color:#f0f0f0;
}

.ffs-signup-form input[type="text"],
.ffs-signup-form input[type="email"],
.ffs-register-form input[type="text"],
.ffs-register-form input[type="email"]{
  width:100%;
  padding:14px 6px;
  background:transparent;
  border:0;
  border-bottom:3px solid #ec9520;
  color:#fff;
  font-size:18px;
  margin-bottom:20px;
  outline:none;
  transition: border-color 0.3s ease;
}
.ffs-signup-form input[type="text"]:focus,
.ffs-signup-form input[type="email"]:focus,
.ffs-register-form input[type="text"]:focus,
.ffs-register-form input[type="email"]:focus{
   color: #ffd700;
    background-color: transparent;
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
} 
.ffs-signup-form input::placeholder,
.ffs-register-form input::placeholder{
  color:#fff;
  opacity:.8;
}

.ffs-form-msg{
  display:none;
  width:100%;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.ffs-form-msg--error{
  display:block;
  color:#fff;
  border: 2px solid #ec9520;
  background: rgba(236, 149, 32, 0.12);
}

.ffs-form-msg--success{
  display:block;
  color:#fff;
  border: 2px solid #ffd700;
  background: rgba(255, 215, 0, 0.12);
}

.ffs-checkbox-row{
  display:block;
  gap:10px; 
  font-size:16px;
  line-height:1.5;
  margin-bottom:14px;
  color:#f0f0f0;
}

.ffs-checkbox-row a{
  text-decoration:underline;
  color:#ffd700;
  transition: color 0.3s ease;
}

.ffs-checkbox-row a:hover {
  color:#fff;
}

.ffs-signup-submit,
.ffs-register-submit{
  width:100%!important;
  max-width:340px!important;
  padding:16px 20px!important;
  text-align:center!important;
  background:linear-gradient(135deg, #ec9520, #d67a1a)!important;
  border:3px solid #ffd700!important;
  border-radius:12px!important;
  font-size:18px!important;
  font-weight:700!important;
  color:#fff!important;
  cursor:pointer!important;
  margin:8px auto 0!important;
  display:block!important;
  box-shadow: 0 6px 20px rgba(236, 149, 32, 0.4)!important;
  transition: all 0.3s!important;
}

.ffs-signup-submit:hover,
.ffs-register-submit:hover{
  background:linear-gradient(135deg, #ffd700, #ec9520)!important;
  border-color:#fff!important;
  transform: translateY(-2px)!important;
  box-shadow: 0 8px 28px rgba(236, 149, 32, 0.6)!important;
}

.ffs-disclaimer{
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
  opacity: 1;
  text-align: center;
}

img.popup-logo {
    max-width: 100%;
    width: 260px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 2px 8px rgba(228, 174, 35, 0.2));
}

.popup-top {
    text-align: center;
}
.gto-signup-submit {
    width: 100% !important;
  padding:16px 20px !important;
  text-align: center !important;
  background: linear-gradient(135deg, #ec9520, #d67a1a);
  border: 3px solid #ffd700 !important;
  border-radius: 12px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #fff !important;
  cursor:pointer !important;
  box-shadow: 0 6px 20px rgba(236, 149, 32, 0.4);
  transition: all 0.3s;
}
.gto-signup-submit:hover { 
    background: linear-gradient(135deg, #ffd700, #ec9520) !important;
    border-color:#fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(236, 149, 32, 0.6);
}
/* =====================================================
   Checkbox size + checked background (Casino Gold)
===================================================== */

/* base checkbox */
.ffs-checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;

  border: 2px solid #ec9520;
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  margin-right: 0;
  transition: all 0.3s ease;
}

/* checked state */
.ffs-checkbox-row input[type="checkbox"]:checked {
  background-color: #ec9520;
  border-color: #ffd700;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

/* checkmark */
.ffs-checkbox-row input[type="checkbox"]:checked::before {
  content: '✓';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}

/* align label text nicely */
.ffs-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
    flex-direction: row;
    flex-wrap: wrap;
}
