@font-face{
  font-family: "Compliance Sans";
  src: url("fonts/Faithful.ttf") format("trueType");
  font-display: swap;
}

:root{
  --w: 800px;   
  --h: 900px;
  --scale: 0.72; 
}


body{
  margin: 0;
  height: 100vh;
  display: flex;              
  align-items: center;       
  justify-content: center;    
  background: url("images/mainbag.PNG") center/cover no-repeat #0b0020;
  font-family: "Compliance Sans", "Silkscreen", monospace;
}


.stage{
  width: calc(var(--w) * var(--scale));
  height: calc(var(--h) * var(--scale));
  display: flex;
  align-items: center;
  justify-content: center;

  filter: drop-shadow(0 0 18px rgba(255,255,255,.5)) drop-shadow(0 0 36px rgba(255,255,255,.35));
}


.container{
  position: relative;
  width: calc(var(--w) * var(--scale));  
  height: calc(var(--h) * var(--scale));  
  transform: none;                         
  background: url("images/formbag.PNG") center/100% 100% no-repeat;
  border: 3px solid rgba(255,255,255,0.98);
  border-radius: calc(28px * var(--scale));
  box-shadow: 0 0 24px rgba(255,255,255,0.6);
  overflow: hidden;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}


.title{
  position: absolute;
  top: 2.5%;               
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  letter-spacing: 4px;
  font-size: 96px;         
  line-height: 0.9;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(255,255,255,1),
    0 0 18px rgba(255,255,255,0.9),
    0 0 36px rgba(124, 220, 255, 0.85),
    0 0 58px rgba(124, 220, 255, 0.6),
    0 0 90px rgba(240, 0, 255, 0.55),
    0 0 120px rgba(240, 0, 255, 0.45);
  user-select: none;
  pointer-events: none;
}


.rules{
  position: absolute;
  top: 14.5%;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 68%;
  background: rgba(255,255,255,.97);
  border: 2px solid #111;
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow:
    0 6px 0 rgba(0,0,0,0.12),
    0 0 16px rgba(255,255,255,.8);
  color: #111;
  z-index: 50;          
  pointer-events: auto;  
  will-change: transform, top, left;
  backface-visibility: hidden;
  transform: translateX(-50%) translateZ(0) ;
  transition: none; 
  -webkit-transform: translateX(-50%) translateZ(0) ;
  -webkit-backface-visibility: hidden;
  -webkit-transition: none;
}
.rules-title{
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}
.rules ol{
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.25;
}
.rules a {
  color: #8a0aff;
  text-decoration: underline;
  border-bottom: 2px solid #8a0aff44;
  pointer-events: auto;
  cursor: pointer;
}

.wl-form{
  position: absolute;
  inset: 0;
  z-index: 20; 
}


.wl-form input{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  padding: 12px 18px;
  font-size: 18px;
  text-align: center;
  color: #111;
  background: #ffffff;
  border: 2px solid #fff;
  border-radius: 18px;
  box-shadow: 0 0 14px rgba(255,255,255,0.8);
  outline: none;
  transition: box-shadow .15s ease, transform .1s ease;
  z-index: 21; 
}
.wl-form input:focus{
  box-shadow: 0 0 14px rgba(255,255,255,0.8);
  transform: translateX(-50%) scale(1.01);
}

#twitter{    top: 34%; }    
#reply_link{ top: 45.5%; }  
#wallet{     top: 56.5%; }   


.send-btn{
  position: absolute;
  left: 50%;
  bottom: 25%;   
  transform: translateX(-50%);
  padding: 14px 46px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;

  background: linear-gradient(90deg, #ff0038 0%, #ff4d4d 50%, #ff3366 100%);
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 18px;
  cursor: pointer;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  box-shadow: 0 0 24px rgba(255,60,80,0.9);
  transition: transform .08s ease, box-shadow .15s ease;
  user-select: none;
  z-index: 7;
}
.send-btn:hover{
  box-shadow:
    0 0 40px rgba(255,50,80,1),
    0 0 80px rgba(255,40,60,0.85);
  transform: translateX(-50%) scale(1.03);
}
.send-btn:active{
  transform: translateX(-50%) scale(.98);
}


.status{
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff;
  pointer-events: none;
}


@media (max-width: 640px) {
  .stage {
    width: 90vw;
    height: calc(90vw * 1100 / 800); 
    max-height: 95vh;
  }

  .container {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    padding: 8px;
  }

  .title {
    font-size: 32px;
    line-height: 1.1;
  }


  .rules {
    top: 10%;
    width: 90%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
  }

  .rules-title { font-size: 16px; }
  .rules ol { font-size: 13px; line-height: 1.2; }


.wl-form {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 43%; 
    width: 90%;
    max-width: 520px;
    transform: translateX(-45%);
}

.wl-form input {
    position: relative;        
    transform: none !important; 
    width: 60%;               
    max-width: 520px;
    padding: 10px 14px;
    font-size: 16px;
    box-shadow: none;
    transition: none;
}

.send-btn {
    position: relative;
    transform: none !important;
    width: 30%;              
    max-width: 520px;
    padding: 10px 18px;
    font-size: 18px;
    margin-top: 6px;
    transition: none;
}

 
  .status {
    font-size: 18px;
    bottom: 4%;
  }
}


@media (max-width: 380px) {
  .title { font-size: 24px; }
  .rules { font-size: 12px; padding: 6px 8px; }
  .wl-form input { font-size: 14px; padding: 8px 10px; }
  .send-btn { font-size: 16px; padding: 8px 14px; }
}