body, .game-digital-open-world{
    margin:0;
    padding:0;
    font-family:"Poppins","Segoe UI",Arial,sans-serif;
    background:#160709;
    color:#f1dfcf;
  }

  .popup-overlay{
    position:fixed;
    inset:0;
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:
      radial-gradient(circle at 15% 15%, rgba(190, 142, 37, 0.25), transparent 35%),
      radial-gradient(circle at 85% 18%, rgba(237, 184, 63, 0.25), transparent 35%),
      radial-gradient(circle at 82% 86%, rgba(246, 200, 95, 0.2), transparent 35%),
      radial-gradient(circle at 15% 88%, rgba(244, 213, 138, 0.15), transparent 35%),
      rgba(22, 7, 9, 0.85);
    backdrop-filter:blur(9px);
    -webkit-backdrop-filter:blur(9px);
    z-index:9999;
  }

  .popup-container{
    position:relative;
    width:min(92vw,430px);
    border-radius:28px;
    overflow:hidden;
    text-align:center;
    background:
      repeating-linear-gradient(45deg, rgba(246, 200, 95, 0.02) 0px, rgba(246, 200, 95, 0.02) 2px, transparent 2px, transparent 10px),
      radial-gradient(circle at 5% 8%, rgba(190, 142, 37, 0.2), transparent 35%),
      radial-gradient(circle at 95% 8%, rgba(237, 184, 63, 0.2), transparent 35%),
      radial-gradient(circle at 90% 95%, rgba(246, 200, 95, 0.18), transparent 35%),
      #1e0b0f;
    border:1px solid rgba(246, 200, 95, 0.4);
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.8),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset,
      0 0 38px rgba(190, 142, 37, 0.2);
    animation:
      popupRise .65s cubic-bezier(.2,.8,.2,1) both,
      popupAura 4s ease-in-out infinite;
  }

  @keyframes popupRise{
    0%{
      opacity:0;
      transform:translateY(34px) scale(.92);
    }
    100%{
      opacity:1;
      transform:translateY(0) scale(1);
    }
  }

  @keyframes popupAura{
    0%,100%{
      box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 30px rgba(190, 142, 37, 0.2);
    }
    50%{
      box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 45px rgba(246, 200, 95, 0.3);
    }
  }

  .popup-container:before{
    content:"";
    position:absolute;
    inset:12px;
    border-radius:22px;
    border:1px solid rgba(246, 200, 95, 0.25);
    pointer-events:none;
    z-index:4;
  }

  .popup-container:after{
    content:"";
    position:absolute;
    top:-45%;
    left:-80%;
    width:70%;
    height:190%;
    background:
      linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 65%
      );
    transform:rotate(8deg);
    animation:softSweep 5.2s ease-in-out infinite;
    pointer-events:none;
    z-index:5;
  }

  @keyframes softSweep{
    0%{
      left:-85%;
    }
    45%,100%{
      left:115%;
    }
  }

  .close-btn{
    position:absolute;
    top:14px;
    right:14px;
    width:34px;
    height:34px;
    border-radius:12px;
    background:rgba(30, 11, 15, 0.9);
    border:1px solid rgba(246, 200, 95, 0.4);
    cursor:pointer;
    z-index:20;
    display:grid;
    place-items:center;
    transition:
      transform .25s ease,
      background .25s ease,
      box-shadow .25s ease;
    box-shadow:0 7px 18px rgba(0, 0, 0, 0.6);
  }

  .close-btn:hover{
    background:linear-gradient(135deg, #a76f17, #f6c85f, #edb83f);
    transform:rotate(90deg) scale(1.05);
    box-shadow:0 10px 22px rgba(246, 200, 95, 0.4);
  }

  .close-btn:before,
  .close-btn:after{
    content:"";
    position:absolute;
    width:16px;
    height:2px;
    border-radius:99px;
    background:#f6c85f;
    transition:background .25s ease;
  }

  .close-btn:hover:before,
  .close-btn:hover:after{
    background:#ffffff;
  }

  .close-btn:before{
    transform:rotate(45deg);
  }

  .close-btn:after{
    transform:rotate(-45deg);
  }

  .luxury-border{
    position:absolute;
    inset:0;
    border-radius:28px;
    pointer-events:none;
    z-index:6;
    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(190, 142, 37, 0.6),
        rgba(246, 200, 95, 0.6),
        rgba(237, 184, 63, 0.6),
        rgba(244, 213, 138, 0.6),
        transparent
      ) top / 100% 1px no-repeat,
      linear-gradient(
        90deg,
        transparent,
        rgba(237, 184, 63, 0.5),
        rgba(246, 200, 95, 0.5),
        rgba(190, 142, 37, 0.5),
        transparent
      ) bottom / 100% 1px no-repeat;
  }

  .gold-particle{
    position:absolute;
    width:7px!important;
    height:7px!important;
    border-radius:50%;
    background:
      radial-gradient(
        circle,
        #ffffff 0%,
        #f6c85f 30%,
        #a76f17 60%,
        rgba(237, 184, 63, 0.3) 80%,
        transparent 85%
      );
    box-shadow:0 0 12px rgba(246, 200, 95, 0.6);
    pointer-events:none;
    z-index:1;
    animation:floatDot 8s ease-in-out infinite;
  }

  @keyframes floatDot{
    0%,100%{
      opacity:0;
      transform:translate3d(0,18px,0) scale(.7);
    }
    15%,80%{
      opacity:.75;
    }
    50%{
      transform:translate3d(18px,-55px,0) scale(1);
    }
  }

  .popup-image{
    width:100%;
    display:block;
    aspect-ratio:1/1;
    object-fit:cover;
    border-bottom:1px solid rgba(246, 200, 95, 0.3);
  }

  .clk-btn-sgp{
    position:relative;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    width:100%;
    padding:18px 18px 10px;
    font-family:"Poppins",Arial,sans-serif;
    font-weight:900;
  }

  .clk-btn-sgp:before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:76%;
    height:1px;
    transform:translateX(-50%);
    background:
      linear-gradient(
        90deg,
        transparent,
        #a76f17,
        #f6c85f,
        #edb83f,
        #ffe6a3,
        transparent
      );
    opacity:.72;
  }

  .clk-btn-sgp a{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:54px;
    padding:15px 12px;
    border-radius:16px;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:1.4px;
    font-size:15px;
    isolation:isolate;
    transition:
      transform .28s ease,
      box-shadow .28s ease,
      filter .28s ease;
    box-shadow:0 8px 18px rgba(0, 0, 0, 0.6);
  }

  .clk-btn-sgp a:before{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2),
        transparent 70%
      );
    transform:translateX(-120%);
    transition:.45s ease;
    z-index:-1;
  }

  .clk-btn-sgp a:hover:before{
    transform:translateX(120%);
  }

  .clk-btn-sgp a:hover{
    transform:translateY(-4px);
  }

  .popup-container .login{
    color:#ffffff!important;
    background:
      linear-gradient(
        105deg,
        rgba(190, 142, 37, 0.25) 0%,
        rgba(30, 11, 15, 0.95) 55%,
        rgba(237, 184, 63, 0.25) 100%
      ) !important;
    border:1px solid rgba(246, 200, 95, 0.4) !important;
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    text-shadow:none!important;
  }

  .popup-container .login:hover{
    color:#f6c85f!important;
    background:
      linear-gradient(
        105deg,
        rgba(190, 142, 37, 0.4) 0%,
        rgba(30, 11, 15, 0.95) 55%,
        rgba(237, 184, 63, 0.4) 100%
      ) !important;
    border-color:rgba(246, 200, 95, 0.7) !important;
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.8),
      0 0 18px rgba(246, 200, 95, 0.3) !important;
  }

  .popup-container .register{
    color:#000000!important;
    background:
      linear-gradient(
        105deg,
        #f6c85f 0%,
        #be8e25 34%,
        #edb83f 68%,
        #ffe6a3 100%
      ) !important;
    background-size:220% 100% !important;
    border:1px solid rgba(246, 200, 95, 0.8) !important;
    box-shadow:
      0 9px 20px rgba(0, 0, 0, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    text-shadow:none!important;
    animation:goldSweep 6s ease-in-out infinite;
  }

  @keyframes goldSweep{
    0%,100%{
      background-position:0% 0;
    }
    50%{
      background-position:100% 0;
    }
  }

  @media (prefers-reduced-motion: reduce){
    .popup-container .register{
      animation:none;
    }
  }

  .popup-container .register:hover{
    color:#ffffff!important;
    background:
      linear-gradient(
        105deg,
        #ffe6a3 0%,
        #a76f17 34%,
        #f4ca70 68%,
        #f6c85f 100%
      ) !important;
    border-color:rgba(246, 200, 95, 1) !important;
    box-shadow:
      0 13px 27px rgba(0, 0, 0, 0.9),
      0 0 20px rgba(246, 200, 95, 0.5) !important;
  }

  .popup-footer{
    position:relative;
    z-index:7;
    margin:8px 18px 20px;
    padding:16px 14px;
    border-radius:18px;
    color:#f1dfcf;
    font-size:13px;
    line-height:1.65;
    background:
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 8px),
      linear-gradient(
        115deg,
        rgba(190, 142, 37, 0.15),
        rgba(30, 11, 15, 0.95),
        rgba(237, 184, 63, 0.15)
      );
    border:1px solid rgba(246, 200, 95, 0.3);
    box-shadow:inset 0 1px 8px rgba(0, 0, 0, 0.5);
  }

  .popup-footer span{
    color:#f6c85f!important;
    font-weight:800!important;
    text-shadow:none!important;
  }

  @media(max-width:480px){
    .popup-overlay{
      padding:12px;
    }

    .popup-container{
      width:95vw;
      border-radius:22px;
    }

    .popup-container:before{
      inset:9px;
      border-radius:18px;
    }

    .clk-btn-sgp{
      grid-template-columns:1fr;
      padding:15px 15px 8px;
      gap:10px;
    }

    .clk-btn-sgp a{
      min-height:50px;
      font-size:14px;
    }

    .popup-footer{
      margin:8px 15px 17px;
      font-size:12px;
    }

    .close-btn{
      width:31px;
      height:31px;
      top:11px;
      right:11px;
    }
  }
