html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--bg-secondary);
  border-radius: 7px;
  border-left: solid var(--border-color) 2px;
  border-top: solid var(--border-color) 2px;
  border-bottom: solid var(--border-color) 2px;
  width: 10px;
  opacity: 0;
  transition: all 0.6s ease;
  cursor: pointer;
}
::-webkit-scrollbar-track {
  border-left: solid var(--border-color) 1px;
  border-radius: 7px;
  background-color: var(--bg-primary);
}
body.show-scroll::-webkit-scrollbar-thumb {
  opacity: 1;
}
html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  text-align: center;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-family: Arial;
  font-size: 15px;
}
body {
  margin: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  transition: opacity 0.6s ease !important;
}
main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100dvh;
  width: 100%;
  scroll-behavior: smooth;
}
section {
  width: 100%;
  min-height: 100dvh;
  height: auto;
  box-sizing: border-box;
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 20px;
  position: relative;
}
#bgVideo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: filter 0.8s;
}
#overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  transition: 0.8s;
  z-index: 1;
}
body > *:not(#bgVideo):not(#overlay):not(.select) {
  position: relative;
  z-index: 2;
}
body.finished #bgVideo {
  filter: blur(8px) brightness(0.6);
}
body.finished #overlay {
  background: rgba(19, 13, 0, 0.6);
}
body > *:not(#bgVideo):not(#overlay) {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
@font-face {
    font-family: "nazanin";
    src: url("./src/Far_Nazanin.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
.select {
  transform: translateX(-50%) translateY(25px);
}
body.finished .select {
  transform: translateX(-50%) translateY(0);
}
body.finished > *:not(#bgVideo):not(#overlay) {
  opacity: 1;
  transform: translateY(0);
}
.haomamc {
  margin-top: clamp(20px, 5vh, 120px);
  max-width: 500px;
  width: min(100% - 40px, 500px);
  height: auto;
}
.copy {
  font-size: 20px;
  margin-left: 9px;
  background-color: rgba(255, 255, 255, 0);
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}
.copy:hover {
  color: var(--text-primary);
}
.hoco {
  display: flex !important;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: min(240px, 100% - 40px);
  height: clamp(60px, 10vh, 80px);
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(44, 30, 15, 0.75);
  border: solid var(--border-color) 1px;
  border-radius: 25px;
  margin-top: clamp(20px, 5vh, 50px);
  transition: box-shadow 0.5s ease !important;
  justify-content: center !important;
  align-items: center !important;
}
.hoco:hover {
  box-shadow: 0 0 8px var(--border-color), 0 0 17px var(--border-color), 0 0 23px var(--border-color);
}
#ip {
  user-select: none;
  height: 40px;
  color: var(--accent-primary);
  font-family: Arial, sans-serif !important;
  font-size: 25px;
  margin-top: 5%;
}

html[dir="rtl"] #ip {
  font-family: Arial, sans-serif !important;
}
.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.number {
  display: flex;
  justify-items: center;
  align-items: center;
  line-height: 1;
  color: var(--accent-primary);
  font-family: Arial !important;
  font-size: 30px !important;
}
.heashop {
  font-size: 48px;
  margin-top: clamp(20px, 5vh, 100px);
  color: var(--accent-primary);
}
html[dir="rtl"] .heashop{
  font-size: 52px !important;
}
html[dir="rtl"] .heabout{
  font-size: 48px !important;
}
.d0t {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1F2937;
  animation: sks 2s infinite;
  position: relative;
}
.cp {
  margin-top: 7px;
}
@keyframes sks {
  0% {
    opacity: 1;
    box-shadow: 0 0 20px #1F2937, 0 0 30px #1F2937, 0 0 40px #1F2937;
  }
  100% {
    box-shadow: 0 0 16px #1F2937, 0 0 20px #1F2937, 0 0 30px #1F2937;
    opacity: 0;
  }
}
@keyframes sksof {
  0% {
    opacity: 1;
    box-shadow: 0 0 20px #AB3012, 0 0 30px #AB3012, 0 0 40px #AB3012;
  }
  100% {
    box-shadow: 0 0 16px #AB3012, 0 0 20px #AB3012, 0 0 30px #AB3012;
    opacity: 1;
  }
}
#copied {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 130px auto 0;
  padding: 0;
  line-height: 1;
  height: 70px;
  width: min(160px, 100% - 40px);
  border-radius: 25px;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(40px, 10vh, 110px);
  opacity: 0;
  border-color: none;
  user-select: none;
  color: rgba(255, 255, 255, 0);
  transition: all 0.5s ease !important;
}
#copied.show {
  color: var(--accent-primary);
  backdrop-filter: blur(20px);
  background-color: rgba(19, 13, 0, 0.8);
  border: solid var(--border-color) 1px;
  opacity: 1;
}
.select {
  position: fixed !important;
  height: 67px;
  top: 20px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%) !important;
  background: var(--nav-surface);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  border-radius: 25px;
  z-index: 999 !important;
  max-width: 1000px;
  width: min(100% - 40px, 1000px);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle) {
  position: relative;
  width: clamp(35px, 5vw, 70px);
  height: clamp(45px, 6vh, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--button-bg);
  border: none;
  border-radius: 13px;
  cursor: pointer;
  color: var(--accent-primary);
  font-family: Arial;
  font-size: clamp(14px, 1.2vw, 18px);
  overflow: hidden;
  transition: all 0.3s ease !important;
}
html[dir="rtl"] .middle button {
  font-size: clamp(14px, 0.9vw, 17px) !important;
}
html[dir="rtl"] .middle span {
  transform: translateX(-20px) translateY(-50%) !important;
}
html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] * {
  font-family: "nazanin"  !important;
  font-size: 21px;
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle):hover {
  width: clamp(80px, 10vw, 130px);
  height: clamp(55px, 7vh, 70px);
  margin-top: 0;
  border-top: solid var(--accent-primary);
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle).sel {
  width: clamp(80px, 10vw, 120px);
  border: solid var(--text-muted);
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle) svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.3s, opacity 0.3s;
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle) svg path{
  stroke: var(--border-primary) !important;
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle):hover svg {
  left: 24px;
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle) span {
  position: absolute;
  left: 25%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: width 0.3s, opacity 0.2s;
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle):hover span {
  margin-top: -2px;
  width: 70px;
  opacity: 1;
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle).hover {
  transform: translateY(8px);
}
.select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle).near {
  transform: translateY(4px);
}
.create-acc {
  overflow: hidden;
  width: clamp(70px, 9vw, 110px) !important;
  height: clamp(45px, 6vh, 50px) !important;
  border: none;
  border-radius: 13px;
  background: var(--button-bg);
  cursor: pointer;
  font-family: Arial;
  font-size: clamp(14px, 1.2vw, 18px);
  position: relative;
  border: none;
  border-radius: 13px;
  background: var(--button-bg);
  color: var(--accent-primary);
  cursor: pointer;
  font-family: Arial;
  font-size: 18px;
}
.create-acc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}
.create-acc span {
  position: relative;
  z-index: 2;
}
.create-acc:hover::after {
  transform: scaleY(1);
}
.create-acc:hover span {
  color: var(--bg-primary);
}
.Sign-In {
  overflow: hidden;
  width: clamp(60px, 7vw, 90px) !important;
  height: clamp(45px, 6vh, 50px) !important;
  border: none;
  border-radius: 13px;
  background: var(--button-bg);
  cursor: pointer;
  font-family: Arial;
  font-size: clamp(14px, 1.2vw, 18px);
  position: relative;
  border: none;
  border-radius: 13px;
  background: var(--button-bg);
  color: var(--accent-primary);
  cursor: pointer;
  font-family: Arial;
  font-size: 18px;
  transition: all 0.5s ease !important;
  box-shadow: none;
}
.Sign-In:hover {
  box-shadow: 0 0 20px var(--bg-secondary);
}
.emt {
  position: fixed !important;
  display: none;
  opacity: 0;
  height: 0px !important;
  width: 0px !important;
}
.bpa-card {
  justify-items: center;
  align-items: center;
  height: clamp(320px, 60vh, 400px);
  width: 100%;
  background-color: rgba(44, 30, 15, 0.75);
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  position: relative !important;
  border: 1px solid var(--border-color);
  overflow: hidden !important;
  box-shadow: 0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out !important;
  will-change: transform !important;
  max-width: 100%;
}
.bpa-card .card-title {
  color: var(--accent-primary);
}
.bpa-card .card-price {
  color: var(--accent-primary);
}
.bpa-card .card-desc {
  color: var(--accent-primary);
}
.image {
  height: clamp(160px, 30vh, 220px);
  width: clamp(180px, 35vw, 260px);
  margin-top: 15px;
  border-radius: 18px;
  background-color: var(--bg-secondary);
}
.image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(98%, 1300px);
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
  background-color: rgba(44, 30, 15, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 26px;
  box-shadow: 0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
  margin-top: 14px;
}
.category-title {
  text-align: center;
  font-size: 35px;
  margin-bottom: 30px;
  color: var(--accent-primary);
}
.category-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
}
.line{
  margin-top: 12px;
  height: 3px;
  border-radius: 20px;
  width: 25%;
  background-color: var(--text-primary);
}
.buy {
  height: clamp(40px, 8vh, 60px);
  width: min(220px, 100% - 20px);
  border-radius: 18px;
  background-color: rgba(255, 193, 68, 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
  border: solid var(--border-color) 1px;
  margin-top: 14px;
  cursor: pointer;
  color: var(--accent-primary);
  transition: all 0.3s ease;
}
.buy:hover {
  background-color: rgba(255, 193, 68, 0.4);
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.abpay {
  z-index: 1000 !important;
  background-color: rgba(19, 13, 0, 0.7);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  position: fixed !important;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%) !important;
  align-items: center;
  justify-items: center;
  text-align: center;
  display: none;
}
.paybox {
  height: auto;
  width: min(100% - 40px, 500px);
  max-width: 500px;
  background-color: rgba(44, 30, 15, 0.75);
  border-radius: 20px;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
  border: solid var(--border-color) 1px;
  padding: clamp(20px, 4vw, 35px);
}
.paybox h1 {
  margin-top: 10px;
  color: var(--accent-primary);
}
.paybox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.radio-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-family: Arial, sans-serif;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.chebox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--button-bg);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.chebox::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--text-primary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--text-primary);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(0);
}
.option input:checked ~ .chebox {
  border-color: var(--text-primary);
  background: rgba(255, 193, 68, 0.1);
  box-shadow: 0 0 25px rgba(255, 193, 68, 0.2);
}
.option input:checked ~ .chebox::after {
  transform: scale(1);
}
.option input:checked ~ .txt {
  color: var(--text-primary);
}
.perm {
  height: 400px;
  width: auto;
}
#usernm {
  position: relative !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  width: 100%;
  max-width: 300px;
  margin: 15px auto;
  height: 54px;
  padding: 0 22px;
  line-height: 54px;
  box-sizing: border-box;
  background: rgba(19, 13, 0, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  font-family: arial, sans-serif;
  font-size: 16px;
  color: var(--accent-primary) !important;
  text-align: center;
  outline: none;
  transition: all 0.4s ease;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  z-index: 10;
}
#usernm::placeholder {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 54px;
}
#usernm:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 30px rgba(255, 193, 68, 0.15),
    inset 0 0 20px rgba(255, 193, 68, 0.05);
  background: rgba(19, 13, 0, 0.95);
  color: var(--text-primary) !important;
}
#submitBtn {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  font-size: 20px !important;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  height: 54px;
  padding: 0 22px;
  box-sizing: border-box;
  background: rgba(255, 193, 68, 0.15);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  font-family: arial, sans-serif;
  font-size: 18px;
  color: var(--accent-primary) !important;
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(255, 193, 68, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  z-index: 10;
}
#submitBtn:hover {
  background: rgba(255, 193, 68, 0.3);
  border-color: var(--text-primary);
  box-shadow: 0 0 40px rgba(255, 193, 68, 0.2);
  color: var(--text-primary) !important;
  transform: scale(1.02);
}
#submitBtn:active {
  transform: scale(0.95);
}
.close-btn {
  position: absolute;
  top: clamp(8px, 2vw, 12px);
  right: clamp(8px, 2vw, 12px);
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 13, 0, 0.6);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}
.close-btn svg {
  width: clamp(18px, 3vw, 22px);
  height: clamp(18px, 3vw, 22px);
  display: block;
  transition: transform 0.4s ease;
}
.close-btn:hover {
  background: rgba(255, 193, 68, 0.15);
  border-color: var(--text-primary);
  color: var(--text-primary);
  box-shadow: 0 0 30px rgba(255, 193, 68, 0.15);
}
.close-btn:hover svg {
  transform: rotate(90deg);
}
.close-btn:active {
  transform: scale(0.9);
}
.result-overlay {
  z-index: 1001 !important;
  background-color: rgba(19, 13, 0, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: fixed !important;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.result-box {
  height: auto;
  width: min(500px, 92%);
  max-width: 92%;
  background: rgba(44, 30, 15, 0.75);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border-radius: 30px;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -1px 1px rgba(255, 255, 255, 0.05);
  padding: clamp(25px, 5vw, 40px) clamp(20px, 4vw, 35px);
  text-align: center;
  color: var(--accent-primary);
  transition: all 0.3s ease;
}
.result-box .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(19, 13, 0, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}
.result-box .close-btn:hover {
  background: rgba(255, 193, 68, 0.1);
  color: var(--text-primary);
}
.result-box h1 {
  margin: 10px 0 15px;
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: 1px;
  color: var(--accent-primary);
}
.result-box p {
  margin: 8px 0;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-muted);
  line-height: 1.6;
}
.result-box .success {
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255, 193, 68, 0.2);
}
.result-box .failed {
  color: #AB3012;
  text-shadow: 0 0 20px rgba(171, 48, 18, 0.2);
}
.result-box .canceled {
  color: var(--text-muted);
  text-shadow: 0 0 20px rgba(166, 138, 86, 0.2);
}
.result-box .detail {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  margin-top: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}
.edituser {
  display: none;
  z-index: 1001 !important;
  background-color: rgba(19, 13, 0, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: fixed !important;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%) !important;
  align-items: center;
  justify-items: center;
}
.ebox {
  height: auto;
  width: min(100% - 40px, 500px);
  max-width: 500px;
  background-color: rgba(44, 30, 15, 0.75);
  border-radius: 20px;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
  border: solid var(--border-color) 1px;
  padding: clamp(20px, 4vw, 35px);
}
.ebox h1 {
  color: var(--accent-primary);
}
.ebox h1 span {
  color: var(--text-primary);
}
#editBtn {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  font-size: 20px !important;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  height: 54px;
  padding: 0 22px;
  box-sizing: border-box;
  background: rgba(255, 193, 68, 0.15);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  font-family: arial, sans-serif;
  font-size: 18px;
  color: var(--accent-primary) !important;
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(255, 193, 68, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  z-index: 10;
}
#editBtn:hover {
  background: rgba(255, 193, 68, 0.3);
  border-color: var(--text-primary);
  box-shadow: 0 0 40px rgba(255, 193, 68, 0.2);
  color: var(--text-primary) !important;
  transform: scale(1.02);
}
#editBtn:active {
  transform: scale(0.95);
}
.img1 {
  height: clamp(160px, 30vh, 220px);
  width: clamp(180px, 35vw, 260px);
  margin-top: 15px;
  border-radius: 18px;
  background-color: var(--bg-secondary);
  margin-left: auto;
  margin-right: auto;
}
.img1 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}
#submitBt {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  font-size: 20px !important;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  height: 54px;
  padding: 0 22px;
  box-sizing: border-box;
  background: rgba(255, 193, 68, 0.15);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  font-family: arial, sans-serif;
  font-size: 18px;
  color: var(--accent-primary) !important;
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(255, 193, 68, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  z-index: 10;
}
#submitBt:hover {
  background: rgba(255, 193, 68, 0.3);
  border-color: var(--text-primary);
  box-shadow: 0 0 40px rgba(255, 193, 68, 0.2);
  color: var(--text-primary) !important;
  transform: scale(1.02);
}
#submitBt:active {
  transform: scale(0.95);
}
@media (max-width: 480px) {
  .theme-toggle,
  .lang-toggle {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .left {
    gap: 6px;
  }
  .right {
    right: 6px;
  }
}
@media (max-width: 768px) {
  .select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle) {
    height: 45px !important;
    width: 35px !important;
  }
  .select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle):hover {
    width: 35px !important;
    height: 45px !important;
    margin-top: 0 !important;
    border-top: none !important;
  }
  .select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle).sel {
    width: 35px;
    border: solid var(--text-primary);
  }
  .select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle) span {
    display: none;
  }
  .select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle).hover {
    transform: translateY(0px) !important;
  }
  .select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle).near {
    transform: translateY(0px) !important;
  }
  .select button:not(.create-acc):not(.Sign-In):not(.theme-toggle):not(.lang-toggle):hover svg {
    left: 50%;
  }
  .ho {
    min-height: 100dvh;
  }
  .heashop {
    margin-top: 120px;
  }
  .bpa-card {
    height: clamp(300px, 50vh, 370px);
  }
  .buy {
    height: 40px;
    width: 100%;
  }
  .hoco:hover {
    box-shadow: none;
  }
  .paybox h1 {
    margin-top: 1px;
  }
  .paybox {
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
  .category-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .category-products {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .box {
    padding: 15px;
    margin-top: 60px;
  }
  .category-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
}
.hidden {
  display: none !important;
}
.account-avatar-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  box-shadow: 0 0 8px rgba(138, 110, 36, 0.3);
  transition: 0.2s;
}
.account-avatar-img:hover {
  box-shadow: 0 0 12px var(--text-primary);
  border-color: var(--text-primary);
}
.theme-toggle {
  overflow: hidden;
  width: clamp(35px, 5vw, 70px) !important;
  height: clamp(45px, 6vh, 50px) !important;
  border: none;
  border-radius: 13px;
  background: var(--button-bg);
  color: var(--accent-primary);
  cursor: pointer;
  font-family: Arial;
  font-size: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  direction: ltr;
  transition: box-shadow .5s ease !important;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  direction: ltr;
  transition: opacity .3s ease, transform .3s ease;
}

.theme-toggle .icon-sun {
  display: none;
  opacity: 0;
}

.theme-toggle .icon-moon {
  display: flex;
  opacity: 1;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
  opacity: 0;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: flex;
  opacity: 1;
}

.theme-toggle:hover {
  box-shadow: 0 0 15px var(--shadow-color);
}

@supports (color: color-mix(in srgb, black, transparent)) {
  .theme-toggle:hover {
    box-shadow: 0 0 15px color-mix(in srgb, var(--accent-primary), transparent 65%);
  }
}

.theme-toggle:active {
  transform: scale(.92) !important;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  direction: ltr;
}
.middle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 67px;
  gap: clamp(8px, 1.5vw, 12px);
}
.middle button {
  margin-top: 0;
}
.lang-toggle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--button-bg);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.lang-toggle:hover {
  background: var(--button-hover);
  border-color: var(--accent-primary);
}
.lang-toggle:active {
  transform: scale(0.92);
}
.lang-toggle:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.left {
  position: absolute;
  inset-inline-start: clamp(5px, 1vw, 10px);
  top: 0;
  height: 67px;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
}

.right {
  position: absolute;
  inset-inline-end: clamp(5px, 1vw, 10px);
  top: 0;
  height: 67px;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
}
#about {
  margin-top: 0;
  padding-top: 80px;
}
.heabout {
  margin: clamp(20px, 5vh, 100px) clamp(15px, 3vw, 100px);
}
.h-rank {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 2vw, 20px);
  flex-wrap: wrap;
  width: 100%;
  padding: 0 clamp(10px, 2vw, 20px);
}
.h-rank > div {
  position: relative;
  display: flex;
  align-items: center;
  width: min(300px, 100%);
  height: clamp(60px, 10vh, 70px);
  margin-top: clamp(20px, 5vh, 100px);
    background: rgba(24, 19, 8, 0.78);
    border: 1px solid rgba(218, 170, 65, 0.45);
    border-radius: 18px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.28),
        inset 0 0 18px rgba(218, 170, 65, 0.035);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease !important;
}
.h-rank > div:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(255, 193, 68, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    inset 0 -1px 1px rgba(255, 255, 255, 0.05);
}
.h-rank > div > img {
  width: clamp(40px, 6vw, 55px);
  height: clamp(40px, 6vw, 55px);
  object-fit: cover;
  border-radius: 5px;
  margin-left: clamp(10px, 2vw, 20px);
  flex-shrink: 0;
}
.h-rank > div > span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(14px, 2vw, 20px);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .h-rank {
    gap: 15px;
    padding: 0 15px;
  }
  .h-rank > div {
    width: min(300px, 100%);
    margin-top: 30px;
  }
  .h-rank > div > img {
    width: 55px;
    height: 55px;
    margin-left: 15px;
  }
  .h-rank > div > span {
    font-size: 16px;
  }
}
@media (max-width: 380px) {
  .h-rank {
    padding: 0 10px;
  }
  .h-rank > div {
    width: 100%;
    height: 65px;
  }
  .h-rank > div > img {
    width: 50px;
    height: 50px;
    margin-left: 10px;
  }
  .h-rank > div > span {
    font-size: 15px;
  }
}
.imfv-w-head {
  height: clamp(80px, 15vw, 130px);
  width: clamp(80px, 15vw, 130px);
  object-fit: cover;
}
.game-modes {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    max-width: 760px;
    margin: 35px auto;
}

.game-mode-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 320px;
    margin-top: 50px;
    min-height: 92px;
    padding: 16px 20px;
    background: rgba(24, 19, 8, 0.78);
    border: 1px solid rgba(218, 170, 65, 0.45);
    border-radius: 18px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.28),
        inset 0 0 18px rgba(218, 170, 65, 0.035);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.game-mode-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    width: 64%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(240, 194, 88, 0.85),
        transparent
    );
    opacity: 0.65;
    transition: opacity 0.25s ease;
}

.game-mode-card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 194, 88, 0.85);
    background: rgba(31, 24, 9, 0.88);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(218, 170, 65, 0.12),
        inset 0 0 20px rgba(218, 170, 65, 0.045);
}

.game-mode-card:hover::before {
    opacity: 1;
}

.game-mode-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid rgba(218, 170, 65, 0.38);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.game-mode-card:hover .game-mode-icon {
    transform: scale(1.06);
    border-color: rgba(240, 194, 88, 0.8);
    box-shadow:
        0 0 16px rgba(218, 170, 65, 0.13);
}

.game-mode-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #e8b94e;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(232, 185, 78, 0.18));
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.game-mode-card:hover .game-mode-icon svg {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(232, 185, 78, 0.32));
}

.game-mode-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.game-mode-title {
    color: #edbd4f;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.game-mode-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.zombie .game-mode-icon {
    border-color: rgba(184, 149, 63, 0.42);
}

.zombie .game-mode-icon svg {
    stroke: #d8a840;
}

@media (max-width: 700px) {
    .game-modes {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 0 16px;
    }

    .game-mode-card {
        width: min(100%, 420px);
    }
}
.dis-btn-join {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 52px;
    border: 1px solid rgba(88, 101, 242, 0.45);
    border-radius: 10px;
    background: rgba(88, 101, 242, 0.12);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s ease;
    margin-top: 60px;
}

.dis-btn-join::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #5865F2;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
    z-index: 0;
}

.dis-btn-join:hover::after {
    transform: scaleX(1);
}

.dis-btn-join img,
.dis-btn-join span {
    position: relative;
    z-index: 2;
}

.dis-btn-join img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
    transition: 0.3s ease;
}

.dis-btn-join:hover {
    border-color: #5865F2;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.2);
    transform: translateY(-2px);
}

.dis-btn-join:active {
    transform: scale(0.96);
}
.end {
    position: relative;
    width: 100%;
    min-height: 330px;
    margin-top: 100px;
    padding: 45px 40px 80px;
    background: linear-gradient(
        135deg,
        rgba(44, 30, 15, 0.68),
        rgba(19, 13, 0, 0.48)
    );
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid rgba(237, 189, 79, 0.55);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(237, 189, 79, 0.06),
        inset 0 1px 1px rgba(255, 255, 255, 0.14),
        inset 0 -1px 1px rgba(255, 255, 255, 0.04);
}

.footer-links {
    width: min(1100px, 100%);
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    text-align: left;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20pxS;
    gap: 8px;
}

.footer-column h2 {
    margin: 0 0 8px;
    color: #edbd4f;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.footer-column a,
.footer-column button {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 4px 0;
    margin: 0;
    border: none;
    outline: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.52);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column a:hover,
.footer-column button:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-column a:focus-visible,
.footer-column button:focus-visible {
    color: var(--text-primary);
    outline: 1px solid #8a6e24;
    outline-offset: 4px;
    border-radius: 4px;
}

.enamad-link,
.zarinpal-link {
    position: absolute;
    top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    padding: 6px;
    margin: 0;
    border: 1px solid rgba(237, 189, 79, 0.3);
    border-radius: 14px;
    background: rgba(19, 13, 0, 0.28);
    cursor: pointer;
    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.enamad-link {
    right: 125px;
}

.zarinpal-link {
    right: 30px;
}

.enamad-link:hover,
.zarinpal-link:hover {
    border-color: var(--text-primary);
    background: rgba(255, 193, 68, 0.08);
    box-shadow: 0 0 20px rgba(255, 193, 68, 0.12);
    transform: translateY(-3px);
}

.enamad,
.zarinpal {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    filter:
        brightness(0)
        saturate(100%)
        invert(77%)
        sepia(75%)
        saturate(600%)
        hue-rotate(2deg)
        brightness(101%)
        contrast(90%);
    transition: transform 0.3s ease;
}

.enamad-link:hover .enamad,
.zarinpal-link:hover .zarinpal {
    transform: scale(1.07);
}

.enamad-link:active,
.zarinpal-link:active {
    transform: scale(0.95);
}

.power {
    position: absolute;
    right: 30px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    color: rgba(255, 193, 68, 0.8);
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.power img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

.power span {
    display: block;
    color: rgba(255, 193, 68, 0.75);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.team {
    position: absolute;
    left: 30px;
    bottom: 20px;
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1;
}

@media (max-width: 800px) {
    .end {
        padding: 40px 30px 80px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 45px;
    }

    .enamad-link {
        right: 110px;
    }

    .zarinpal-link {
        right: 25px;
    }
}

@media (max-width: 480px) {
    .end {
        min-height: 420px;
        padding: 35px 20px 85px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .footer-column h2 {
        font-size: 14px;
    }

    .footer-column a,
    .footer-column button {
        font-size: 13px;
    }

    .enamad-link,
    .zarinpal-link {
        top: auto;
        bottom: 55px;
        width: 65px;
        height: 65px;
    }

    .enamad-link {
        right: 90px;
    }

    .zarinpal-link {
        right: 15px;
    }

    .enamad,
    .zarinpal {
        width: 48px;
        height: 48px;
    }

    .team {
        left: 15px;
        bottom: 18px;
        font-size: 12px;
    }

    .power {
        right: 15px;
        bottom: 12px;
    }

    .power img {
        width: 28px;
        height: 28px;
    }

    .power span {
        font-size: 10px;
    }
}
.theme-toggle {
  direction: ltr !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.theme-toggle,
.theme-toggle:hover,
.theme-toggle:active {
  transform: none;
}

.theme-toggle svg,
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  direction: ltr !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}
html[dir="rtl"] .koxxh,
html[dir="ltr"] .koxxh {
  color: #ff0000 !important;
  transition: none !important;
}
.koxxh {
  color: #ff0000 !important;
  transition: none !important;
}
#productContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.space_1{
  margin-top: 13px;
  height: 1px;
  width: 1px;
}