html,
body {
  overflow-x: hidden;
  touch-action: pan-y;
  user-select: none;
  height: 100%;
  margin: 0;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #1c1c1c);
  background-size: 400% 400%;
  animation: gradient 12s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

html,
:host {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:root {
  --gl-size: 570px;
  --name-size: 750px;
}

.all_blocks {
  position: relative;
  top: -100px;
}

.gl {
  transform: translateY(80px);
  width: var(--gl-size);
  height: 530px;
  display: block;
  margin: auto;
  border-radius: 25px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.flex_gl {
  display: flex;
  justify-content: center;
  width: 330px;
  flex-wrap: wrap;
  margin: auto;
}

.iml img {
  width: 140px;
  height: 140px;
  border-radius: 35px;
  padding: 8px;
  margin-top: 40px;
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.iml {
  display: flex;
  justify-content: center;
}

.gl h1 {
  color: white;
  margin-top: 30px;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 500px;
  height: auto;
  margin: auto;
  gap: 10px;
  margin-top: 0px;
}

.buttons button {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  height: 55px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.buttons button:hover {
  scale: 1.03;
}

.b2 {
  width: 190px;
  margin-top: 5px;
}

.b1 {
  width: 390px;
  margin-top: 5px;
}

.namesost {
  transform: translateY(40px);
  width: var(--name-size);
  height: 70px;
  display: block;
  margin: auto;
  border-radius: 15px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

hr {
  margin: auto;
  width: 170px;
  height: 4px;
  background-color: #d8d8d8a2;
  margin-top: 120px;
  border: 0px;
  border-radius: 5px;
}

.namesost h1 {
  color: white;
  position: relative;
  bottom: 20px;
  font-size: 37px;
}

.sosts {
  display: flex;
  justify-content: center;
  height: auto;
  width: 60%;
  flex-wrap: wrap;
  margin: auto;
  gap: 30px;
}

.sosts div {
  transform: translateY(100px);
  width: 330px;
  height: 270px;
  display: block;
  margin: auto;
  border-radius: 15px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: all 0.3s;
}

.sosts div:hover {
  scale: 1.04;
  box-shadow: 0 4px 5px rgba(216, 140, 0, 0.5);
}

.d1 img {
  width: 100px;
  height: auto;
  padding: 3px;
  margin-top: 15px;
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  margin-left: -200px;
}

.d1 h1 {
  color: white;
  text-align: right;
  padding: 20px;
  position: relative;
  top: -120px;
}

.d1 p {
  color: rgb(231, 231, 231);
  position: relative;
  top: -90px;
  width: 285px;
  margin: auto;
}

.hr1 {
  transform: translateY(30px);
}

.knt_name {
  transform: translateY(70px);
  width: var(--name-size);
  height: 70px;
  display: block;
  margin: auto;
  border-radius: 15px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.knt_name h1 {
  color: white;
  position: relative;
  bottom: 20px;
  font-size: 37px;
}

.shop_n {
  transform: translateY(100px);
  width: var(--name-size);
  height: 70px;
  display: block;
  margin: auto;
  border-radius: 15px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.shop_n h1 {
  color: white;
  position: relative;
  bottom: 20px;
  font-size: 37px;
}

.knt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  width: 60%;
  height: auto;
  gap: 20px;
}

.knt div {
  transform: translateY(120px);
  width: 170px;
  height: 220px;
  display: block;
  border-radius: 15px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 5px;
}

.knt img {
  width: 100px;
  height: auto;
  padding: 3px;
  margin-top: 15px;
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.knt h3 {
  color: white;
  position: relative;
  top: -5px;
}

.knt a {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  padding: 10px;
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
  top: -5px;
  font-size: 17px;
  transition: all 0.3s;
  text-decoration: none;
}

.knt a:hover {
  background-color: #944ab1a1;
}

footer {
  margin: 50px;
  height: 120px;
}

.hr2 {
  transform: translateY(50px);
}

.navbar {
  transform: translateY(100px);
  width: var(--gl-size);
  height: auto;
  display: block;
  margin: auto;
  border-radius: 25px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  overflow: hidden;
  padding-bottom: 10px;
  padding-top: 10px;
}

.navbar a {
  color: #ffffffc4;
  font-size: 20px;
  padding: 10px;
  border-radius: 30px;
  transition: all 0.3s;
  text-decoration: none;
}

.navbar a:hover {
  background-color: #6c48a5b4;
  color: white;
}

#status1 {
  width: 55px;
  height: 55px;
  position: relative;
  z-index: 100;
  margin: auto;
  transform: translate(70px, 160px);
  filter: drop-shadow(0 0 15px #8e2de2);
}

#status2 {
  width: 200px;
  height: 200px;
  position: relative;
  z-index: 100;
  margin: auto;
  
  filter: drop-shadow(0 0 15px #8e2de2);
}

.shop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  width: 80%;
  height: auto;
  gap: 20px;
}

.shopdiv {
  transform: translateY(120px);
  width: 330px;
  height: 300px;
  display: block;
  padding: 10px;
  border-radius: 15px;
  background-color: rgba(30, 32, 39, 0.363);
  border: 1px solid #c2c2c2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.shop img {
  width: 330px;
  height: 190px;
  margin-top: 10px;
  border-radius: 15px;
}

.shop h3 {
  color: white;
  position: relative;
  top: -15px;
}

.nn a {
  color: white;
  background-color: #525151;
  border-radius: 10px;
  position: relative;
  top: -20px;
  margin: auto;
  font-size: 17px;
  transition: all 0.3s;
  text-decoration: none;
  width: 330px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.en a {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  position: relative;
  top: -20px;
  margin: auto;
  font-size: 17px;
  transition: all 0.3s;
  text-decoration: none;
  width: 330px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.en a:hover {
  background-color: #944ab1a1;
  scale: 1.01;
  transform: translateY(-3px);
}

.btn {
  padding: 10px 20px;
  background-color: #6c5ce7;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #5649c0;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: rgb(31, 28, 51);
  border-radius: 10px;
  width: 70%;
  max-width: 400px;
  min-width: 200px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.modal-subheader {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 20px;
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.modal-table td {
  padding: 8px 0;
  border-bottom: 1px solid #777777;
}

.modal-table td {
  color: #ffffff;
  width: 30%;
}

.modal-footer {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hide-btn {
  background: none;
  border: none;
  color: #6c5ce7;
  cursor: pointer;
  font-size: 14px;
}

.ok-btn {
  padding: 12px 12px;
  width: 90%;
  margin: auto;
  background-color: #ae00ff;
  color: white;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.ok-btn:hover {
  background-color: #8300c0;
}

@media (max-width: 800px) {
  :root {
    --gl-size: 330px;
    --name-size: 330px;
  }

  .namesost {
    width: 330px;
  }

  .knt_name {
    width: 330px;
  }

  .shop_n {
    width: 330px;
  }

  hr {
    width: 70px;
  }

  .b1 {
    width: 290px;
  }

  .b2 {
    width: 140px;
  }

  .buttons {
    width: 330px;
  }

  .knt {
    width: 100%;
    gap: 10px;
  }

  .knt div {
    width: 160px;
  }

  .navbar a {
    padding: 10px;
  }
}
