:root{
  --bg:#060912;
  --border:rgba(99,179,237,0.15);
  --accent:#63b3ed;
  --accent2:#7ee8a2;
  --text:#e8f0fe;
  --muted:#7a90b8;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'DM Sans',sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  display:flex;
  overflow:hidden;
}

/* BACKGROUND */

.bg-grid{
  position:fixed;
  inset:0;
  z-index:0;
  background-image:
  linear-gradient(rgba(99,179,237,.04) 1px,transparent 1px),
  linear-gradient(90deg,rgba(99,179,237,.04) 1px,transparent 1px);
  background-size:60px 60px;
  animation:gs 25s linear infinite;
}

@keyframes gs{
  to{background-position:0 60px;}
}

.orb{
  position:fixed;
  border-radius:50%;
  z-index:0;
  pointer-events:none;
}

.o1{
  width:550px;
  height:550px;
  top:-180px;
  left:-130px;
  background:
  radial-gradient(circle,
  rgba(99,179,237,.12) 0%,
  transparent 65%);
  animation:od 12s ease-in-out infinite;
}

.o2{
  width:420px;
  height:420px;
  bottom:-80px;
  right:-80px;
  background:
  radial-gradient(circle,
  rgba(126,232,162,.09) 0%,
  transparent 65%);
  animation:od 9s ease-in-out infinite reverse;
}

@keyframes od{
  0%,100%{transform:translate(0,0);}
  50%{transform:translate(22px,18px);}
}

/* LAYOUT */

.left{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:40px;
  position:relative;
  z-index:1;
  gap:24px;
}

.right{
  width:460px;
  flex-shrink:0;
  background:
  linear-gradient(
  160deg,
  rgba(13,20,38,.97),
  rgba(6,9,18,.99));
  border-left:1px solid var(--border);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:56px 48px;
  position:relative;
  z-index:1;
}

/* CHARACTER STAGE */

.scene{
  position:relative;
  width:340px;
  height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.scene::before{
  content:'';
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  background:
  radial-gradient(circle,
  rgba(255,255,255,.04),
  transparent 70%);
  z-index:0;
}

/* JOYFUL BACKGROUND */

.happy-bg{
  position:absolute;
  inset:0;
  opacity:0;
  transition:all 1s ease;
  background:
  radial-gradient(circle at top left,#8a5cff55 0%,transparent 40%),
  radial-gradient(circle at top right,#ffd16655 0%,transparent 40%),
  radial-gradient(circle at bottom,#00d1b255 0%,transparent 40%);
  filter:blur(20px);
}

.happy-bg.active{
  opacity:1;
  transform:scale(1.1);
}

/* RINGS */

.ring{
  position:absolute;
  border-radius:50%;
  border:1.5px solid;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  animation:rb 3.5s ease-in-out infinite;
}

.r1{
  width:250px;
  height:250px;
  border-color:rgba(99,179,237,.22);
}

.r2{
  width:306px;
  height:306px;
  border-color:rgba(99,179,237,.12);
  animation-delay:.8s;
}

.r3{
  width:360px;
  height:360px;
  border-color:rgba(126,232,162,.07);
  animation-delay:1.5s;
}

@keyframes rb{
  0%,100%{
    opacity:.35;
    transform:translate(-50%,-50%) scale(1);
  }
  50%{
    opacity:.85;
    transform:translate(-50%,-50%) scale(1.05);
  }
}

/* FLOATING ESL SYMBOLS */

.fs{
  position:absolute;
  font-size:22px;
  animation:fsf 4s ease-in-out infinite;
  filter:drop-shadow(0 0 8px rgba(99,179,237,.55));
}

.fs:nth-child(5){
  top:5%;
  left:2%;
}

.fs:nth-child(6){
  top:8%;
  right:3%;
}

.fs:nth-child(7){
  bottom:8%;
  left:3%;
}

.fs:nth-child(8){
  bottom:5%;
  right:2%;
}

@keyframes fsf{
  0%,100%{
    transform:translateY(0) rotate(0deg);
    opacity:.5;
  }
  50%{
    transform:translateY(-12px) rotate(8deg);
    opacity:1;
  }
}

/* STATUS CHIP */

.chip{
  position:absolute;
  bottom:-20px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(8,14,30,.92);
  border:1px solid var(--border);
  border-radius:20px;
  padding:6px 18px;
  font-size:12px;
  font-family:'Syne',sans-serif;
  letter-spacing:.06em;
  color:var(--muted);
  white-space:nowrap;
  transition:all .8s;
  backdrop-filter:blur(8px);
}

.chip.live{
  border-color:rgba(126,232,162,.5);
  color:var(--accent2);
  box-shadow:0 0 22px rgba(126,232,162,.25);
}

/* BRAND */

.brand-wrap{
  text-align:center;
}

.brand{
  font-family:'Syne',sans-serif;
  font-size:44px;
  font-weight:800;
  background:
  linear-gradient(
  135deg,
  var(--accent),
  var(--accent2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  letter-spacing:-.02em;
  line-height:1;
}

.tagline{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.1em;
  text-transform:uppercase;
  font-family:'Syne',sans-serif;
}

/* FORM */

.fhd{
  margin-bottom:34px;
}

.ftitle{
  font-family:'Syne',sans-serif;
  font-size:27px;
  font-weight:700;
  color:var(--text);
  margin-bottom:6px;
}

.fsub{
  color:var(--muted);
  font-size:13px;
}

.field{
  margin-bottom:18px;
  position:relative;
}

.field label{
  display:block;
  font-size:11px;
  font-family:'Syne',sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:7px;
}

.field input{
  width:100%;
  background:rgba(99,179,237,.05);
  border:1px solid var(--border);
  border-radius:10px;
  padding:13px 42px 13px 16px;
  font-family:'DM Sans',sans-serif;
  font-size:15px;
  color:var(--text);
  outline:none;
  transition:all .3s;
}

.field input::placeholder{
  color:rgba(122,144,184,.45);
}

.field input:focus{
  border-color:var(--accent);
  background:rgba(99,179,237,.08);
  box-shadow:0 0 0 3px rgba(99,179,237,.10);
}

.ficon{
  position:absolute;
  right:14px;
  top:38px;
  font-size:17px;
  color:var(--muted);
}

.err{
  background:rgba(229,62,62,.10);
  border:1px solid rgba(229,62,62,.30);
  border-radius:8px;
  padding:10px 14px;
  font-size:13px;
  color:#fc8181;
  margin-bottom:16px;
  display:none;
}

/* BUTTONS */

.btn-in{
  width:100%;
  padding:14px;
  margin-top:6px;
  background:
  linear-gradient(
  135deg,
  #1a5a9a,
  #1a6040);
  border:none;
  border-radius:10px;
  font-family:'Syne',sans-serif;
  font-size:15px;
  font-weight:700;
  color:white;
  cursor:pointer;
  letter-spacing:.05em;
  transition:all .3s;
  position:relative;
  overflow:hidden;
}

.btn-in::before{
  content:'';
  position:absolute;
  inset:0;
  background:
  linear-gradient(
  135deg,
  var(--accent),
  var(--accent2));
  opacity:0;
  transition:opacity .3s;
}

.btn-in:hover::before{
  opacity:1;
}

.btn-in:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 28px rgba(99,179,237,.28);
}

.btn-in span{
  position:relative;
  z-index:1;
}

.divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:22px 0;
  color:var(--muted);
  font-size:12px;
}

.divider::before,
.divider::after{
  content:'';
  flex:1;
  height:1px;
  background:var(--border);
}

.btn-reg{
  width:100%;
  padding:13px;
  background:transparent;
  border:1px solid var(--border);
  border-radius:10px;
  font-family:'Syne',sans-serif;
  font-size:14px;
  font-weight:600;
  color:var(--muted);
  cursor:pointer;
  transition:all .3s;
  letter-spacing:.04em;
}

.btn-reg:hover{
  border-color:var(--accent);
  color:var(--accent);
  background:rgba(99,179,237,.05);
}

/* ANIMATION */

.left>*{
  animation:fu .8s ease both;
}

.right>*{
  animation:fu .8s ease both;
}

@keyframes fu{
  from{
    opacity:0;
    transform:translateY(22px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.pt{
  position:fixed;
  border-radius:50%;
  pointer-events:none;
  z-index:999;
  animation:pf 1s ease-out forwards;
}

@keyframes pf{
  0%{
    opacity:1;
    transform:translate(0,0) scale(1);
  }
  100%{
    opacity:0;
    transform:var(--d) scale(0);
  }
}

@keyframes shake{
  0%,100%{transform:translateX(0);}
  20%{transform:translateX(-8px);}
  40%{transform:translateX(8px);}
  60%{transform:translateX(-5px);}
  80%{transform:translateX(5px);}
}

/* CHARACTER */

#tear{
  transition:opacity .6s;
}

.bounce{
  animation:bav 0.6s ease;
}

@keyframes bav{
  0%{transform:translateY(0);}
  30%{transform:translateY(-18px);}
  60%{transform:translateY(-6px);}
  80%{transform:translateY(-12px);}
  100%{transform:translateY(0);}
}
/* ─────────────────────────
   MOBILE RESPONSIVE
───────────────────────── */

@media (max-width: 768px){

  body{

    flex-direction:column;

    overflow-y:auto;

    min-height:auto;

  }


  /* LEFT SECTION */

  .left{

    width:100%;

    padding:40px 20px 10px;

    gap:18px;

  }


  /* CHARACTER */

  .scene{

    width:260px;

    height:300px;

  }

  .scene::before{

    width:220px;

    height:220px;

  }


  /* ORBS */

  .o1{

    width:300px;
    height:300px;

    top:-120px;
    left:-120px;

  }

  .o2{

    width:240px;
    height:240px;

    bottom:-80px;
    right:-80px;

  }


  /* RINGS */

  .r1{

    width:180px;
    height:180px;

  }

  .r2{

    width:220px;
    height:220px;

  }

  .r3{

    width:260px;
    height:260px;

  }


  /* BRAND */

  .brand{

    font-size:34px;

  }

  .tagline{

    font-size:10px;

  }


  /* RIGHT PANEL */

  .right{

    width:100%;

    border-left:none;

    border-top:
      1px solid var(--border);

    padding:
      38px 22px 40px;

    min-height:auto;

  }


  /* FORM */

  .ftitle{

    font-size:24px;

  }

  .fsub{

    font-size:12px;

  }

  .field input{

    font-size:14px;

    padding:
      12px 40px 12px 14px;

  }


  /* BUTTONS */

  .btn-in,
  .btn-reg{

    padding:13px;

    font-size:14px;

  }


  /* CHIP */

  .chip{

    font-size:10px;

    padding:5px 14px;

    bottom:-10px;

  }


  /* FLOATING SYMBOLS */

  .fs{

    font-size:18px;

  }

}
