body{
  margin:0;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  font-family:'Jost',sans-serif;
  background: radial-gradient(circle at top left, #1f2a44, #0d1117);
}

/* ===== MAIN ===== */
.main{
  width:340px;
  height:500px;
  background: rgba(255,255,255,0.05);
  border-radius:10px;
  box-shadow:5px 20px 50px #555353;
  overflow:hidden;
}

#chk{ display:none; }

/* ===== SIGNIN ===== */
.signup{
  width:100%;
  height:100%;
}

/* ===== LABEL ===== */
label{
  color:#fff;
  font-size:2.3em;
  display:flex;
  justify-content:center;
  margin:60px;
  font-weight:bold;
  cursor:pointer;
  transition:.5s ease-in-out;
}

/* ===== INPUT ===== */
input{
  width:60%;
  height:25px;
  margin:16px auto;
  padding:5px;
  border:none;
  outline:none;
  border-radius:5px;
  display:block;
}

/* ===== PREMIUM BUTTON ===== */
button{
    width:60%;
    height:50px;
    margin:16px auto;
    display:block;

    border:none;
    border-radius:999px;
    cursor:pointer;

    color:#fff;
    font-size:16px;
    font-weight:700;
    letter-spacing:.4px;

    background:linear-gradient(
        180deg,
        #ffeaa7 0%,
        #f1c40f 35%,
        #e67e22 75%,
        #d35400 100%
    );

    box-shadow:
        0 12px 30px rgba(230,126,34,.35),
        inset 0 2px 2px rgba(255,255,255,.25);

    transition:all .3s ease;
}

button:hover{
    transform:translateY(-3px);
    box-shadow:
        0 18px 40px rgba(230,126,34,.45),
        inset 0 2px 2px rgba(255,255,255,.35);
}

button:active{
    transform:scale(.97);
}

button:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}

/* ===== SIGNUP PANEL ===== */
.login{
  height:460px;
  background:#eee;
  border-radius:60% / 10%;
  transform:translateY(-180px);
  transition:.8s ease-in-out;
}

.login label{
  color:#573b8a;
  transform:scale(.6);
}

#chk:checked ~ .login{
  transform:translateY(-500px);
}

#chk:checked ~ .login label{
  transform:scale(1);
}

#chk:checked ~ .signup label{
  transform:scale(.6);
}

/* ===== POPUP ===== */
.popup{
  width:200px;
  background:#fff;
  border-radius:6px;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(0.1);
  text-align:center;
  padding:0 30px 30px;
  color:#333;
  visibility:hidden;
  transition:0.4s;
}

.open-popup{
  visibility:visible;
  transform:translate(-50%,-50%) scale(1);
}

.popup img{
  width:60px;
  margin-top:-50px;
  border-radius:50%;
}

.popup h2{
  font-size:28px;
  margin:30px 0 10px;
}

.popup button{
  width:100%;
  margin-top:20px;
  padding:10px;
  background:#6fd649;
  color:#fff;
  border:none;
  border-radius:4px;
}

/* ===== ALERT ===== */
.custom-alert{
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%) translateY(-20px);

  padding:14px 20px;
  border-radius:14px;

  color:#fff;
  font-size:15px;

  opacity:0;
  z-index:99999;
  transition:0.3s;
}

.custom-alert.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* ===== POLICY ===== */
.policy-links{
  margin-top:15px;
  display:flex;
  justify-content:center;
  gap:10px;
  font-size:13px;
}

.policy-links a{
  color:#e2e8f0;
  text-decoration:none;
}

.policy-links a:hover{
  color:#fff;
  text-decoration:underline;
}

/* ===== MERCHANT SWITCH ===== */
.boucheckbox{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-bottom:20px;
}

.switch{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
}

.switch input{
  display:none;
}

.slider{
  width:38px;
  height:20px;
  background:#ccc;
  border-radius:20px;
  position:relative;
}

.slider::before{
  content:"";
  position:absolute;
  width:16px;
  height:16px;
  background:white;
  border-radius:50%;
  top:2px;
  left:2px;
  transition:0.3s;
}

.switch input:checked + .slider{
  background:#4cafef;
}

.switch input:checked + .slider::before{
  transform:translateX(18px);
}

.label-text{
  font-size:14px;
  font-weight:600;
  background:linear-gradient(135deg,#514a98,#67c5c2);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.demo-link{
  color: #00c9a7;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.demo-link:hover{
  text-decoration: underline;
  color: #6c63ff;
}

.demo-container{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:18px;
}

.demo-btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:25px;
  background: rgba(255,255,255,0.08);
  color:#00c9a7;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
  backdrop-filter: blur(10px);
}

.demo-btn:hover{
  background: linear-gradient(90deg,#6c63ff,#00c9a7);
  color:white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
} 


/* POPUP BACKDROP */
.demo-popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:99999;
}

/* CONTENT */
.demo-content{
  background: linear-gradient(135deg,#0f172a,#020617);
  padding:25px;
  border-radius:20px;
  width:90%;
  max-width:700px;
  box-shadow:0 25px 80px rgba(0,0,0,0.7);
  text-align:center;
  position:relative;
  border:1px solid rgba(255,255,255,0.08);
}
/* CLOSE */
.close-btn{
  position:absolute;
  top:10px;
  right:15px;
  cursor:pointer;
  font-size:18px;
}

/* VIDEO */
.demo-content iframe{
  width:100%;
  height:200px;
  margin-bottom:15px;
  border-radius:10px;
  border:none;
}

/* TABS */
.demo-tabs button{
  margin:5px;
  padding:8px 14px;
  border:none;
  border-radius:20px;
  background:rgba(255,255,255,0.08);
  color:#cbd5e1;
  cursor:pointer;
}

/* ACTIVE TAB */
.demo-tabs button.active{
  background:linear-gradient(90deg,#6c63ff,#00c9a7);
  color:white;
}


.demo-popup{
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.75);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:99999;
}

.demo-title{
  margin-bottom:15px;
}

/* CLOSE */
.close-btn{
  position:absolute;
  top:15px;
  right:18px;
  font-size:18px;
  cursor:pointer;
}

.demo-tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:20px;
}

.demo-tabs button{
  flex:1;
  max-width:180px;
  padding:12px;
  border:none;
  border-radius:30px;
  background:rgba(255,255,255,0.08);
  color:#cbd5e1;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}

/* ACTIVE */
.demo-tabs .active{
  background: linear-gradient(90deg,#6c63ff,#00c9a7);
  color:white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

/* GRID */
.demo-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

/* VIDEO CARD */
.video-card{
  position:relative;
  cursor:pointer;
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  transition:0.3s;
}

.video-card:hover{
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.video-card img{
  width:100%;
  display:block;
  border-bottom:1px solid rgba(255,255,255,0.05);
}

/* PLAY ICON */
.play-icon{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-size:45px;
  color:white;
  background: rgba(0,0,0,0.4);
  border-radius:50%;
  padding:10px 15px;
}

/* TEXT */
.video-card p{
  padding:12px;
  font-size:15px;
  color:#e2e8f0;
}
/* MOBILE */
@media(max-width:600px){
  .demo-grid{
    grid-template-columns:1fr;
  }
}


.demo-container {
    display: none !important;
}


.form-footer{
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 999px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    white-space: nowrap;

    box-shadow:
        0 8px 24px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.08);
}


.copyright-footer{
    position: fixed;
    left: 0;
    bottom: 12px;
    width: 100%;

    text-align: center;
    color: rgba(255,255,255,.45);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .3px;

    z-index: 10;
    pointer-events: none;
}