* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* --------------- BACKGROUND + GLOBAL BODY --------------- */
html{
  width: 100vw;
  overflow: hidden;
}
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  background-color: #010101;
  display: flex;
  background-image: url(image/Pattern\ Top.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden!important;
  font-family: "IRANYekan", sans-serif; /* فونت نهایی */
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100vh;
  background-image: url("image/background (5).webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: -1;
}
.hidden {
  display: none !important;
}


.loader {
    width: 15px;
    height: 15px;
    border: 6px solid #f8f8f8;
    border-top-color: #1dd117;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.device-txt{
  font-size:14px !important;
}


#user-ip { 
  font-size:14px;
}
/* --------------- BLUR GLOW SPHERES --------------- */
.blur-box {
  width: 1133px;
  height: 1133px;
  position: absolute;
  background: #10dcba33;
  filter: blur(100px);
  z-index: -1;
  border-radius: 100%;
}

.box-R {
  top: -496px;
  left: 921px;
}

.box-L {
  top: 457px;
  left: -613px;
}

/* --------------- LOGO --------------- */
.logo-title {
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 8px;
}

.logo-image {
  width: 247px;
  height: 202px;
}
#ready .logo-image {
  width: 196px;
  height: 160px;
}

/* --------------- LOADING + READY SECTIONS --------------- */
#loading,
#ready {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}
.text-info {
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  direction: rtl;
}
.text-slogan {
  font-weight: 400;
  font-size: 16px;
  color: #ffffffb2;
  transition: opacity 0.3s ease;
  width: 622px;
    text-align: center;
    direction: rtl;
}
.box-infomition {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 15px;
  padding: 10px;
  width: 367px;
  background-color: #02110fb2;
  border-radius: 20px;
  border: 1px solid #ffffff26;
  backdrop-filter: blur(15px);
  background-image: url(image/Pattern.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.infomaition-image {
  width: 50px;
  height: 50px;
}
.infomaition-content {
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.infomaition-title {
  font-weight: 400;
  font-size: 12px;
  color: #ffffffb2;
}
.infomaition-ip {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.info {
  display: flex;
  flex-direction: row-reverse;
  gap: 16px;
}
.info-cart {
  width: 144px;
  height: 115px;
  background: #02110fb2;
  border: 1px solid #ffffff26;
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-image: url(image/pattern\\(1\).png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.cart-image .flag {
  width: 24px;
  height: 24px;
}
.cart-title {
  font-weight: 400;
  font-size: 12px;
  color: #ffffffb2;
  margin-bottom: 5px;
}
.cart-info {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
/* --------------- Announcement --------------- */
#vpn-active {
  width: 100%;
  height: 100vh;
  background-color: #00000066;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#expired{
  width: 100%;
  height: 100vh;
  background-color: #00000066;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.box-Announcement {
  width: 304px;
  height: 383px;
  position: relative;
  background: linear-gradient(
    145.48deg,
    rgba(17, 2, 2, 0.8) -0.88%,
    rgba(101, 0, 2, 0.8) 134%
  );
  padding: 20px;
  padding-bottom: 80px;
  border: 1px solid #FFFFFF26;
  border-radius: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-Announcement::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("image/popup\ pattern.png");
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 1;
}
.box-Announcement::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("image/logo.png");
  width: 247px;
  height: 202px;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
  top: 91px;
  left: 50%;
  transform: translateX(-50%);
}

.box-Announcement * {
  position: relative;
  z-index: 5; /* متن و آیکون‌ها همیشه بالاتر باشند */
}

.box-Announcement .logo {
  width: 68px;
  height: 38px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.Warning-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.Warning-box img {
  width: 119px;
  height: 119px;
}
.Warning-box-discription {
  font-weight: 400;
  font-size: 12px;
  color: #FFFFFFB2;
  margin-bottom: 5px;
  direction: rtl;
  text-align: center;
}
.Warning-box-title {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  direction: rtl;
}
.wing-R{
  width: 69px;
  height: auto;
  position: absolute;
  left: 0;
  top: 114px;
}
.wing-L{
  width: 69px;
  height: auto;
  position: absolute;
  right: 0;
  top: 88px;
}

@media(max-width:1024px){
  #ready .logo-title{
    margin-top: 60px!important;
  }
  #ready .logo-image{
    width: 176px;
    height: auto;
  }
}
@media(max-width:800px){

  .box-infomition{
    width:381px;
  }

  #ready{
    gap: 10px;
  }
  #ready .logo-title{
    margin-top: 26px!important;
  }
  #ready .logo-image{
    width: 144px;
    height: auto;
  }
  .text-info{
    font-size: 20px;
      direction: rtl;
  }
  .text-slogan{
    font-size: 14px;
    width: 343px;
    text-align: center;
        direction: rtl;
  }
  .info{
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
}

@media(max-width:500px){

  .box-infomition{
    width:301px;
  }
  .blur-box{
    width: 490px;
    height: 578px;
  }
  .box-R{
    top: -176px;
    left: 157px;
  }
  .box-L{
    top: 359px;
    left: -289px;
  }
  body::after{
    background-size: auto;
  }
  .text-info{
    font-size: 18px;
      direction: rtl;
    
  }
  .text-slogan{
    font-size: 12px;
    margin-bottom: 22px;
    width: 303px;
    text-align: center;
        direction: rtl;
  }
  #vpn-active .logo-title , #expired .logo-title{
    margin-top: 85px!important;
  }
}
/* --------------- FONTS (IRANYekan) --------------- */
@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekanwebthin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekanweblight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekanwebregular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekanwebmedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekanwebbold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekanwebblack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


