/* Color variables */
:root {
  --dark-bg: #010101;
  --light-bg: #ffffff;
  --text-color: #b2b2b2;
  --text-accent-color: #ffffff;
  --text-not-accent-color: #7e7e7e;
}

/* Global styles */
body {
  font-family: "JetBrains Mono", monospace;
  background-color: var(--dark-bg);
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

hr {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, #232323 0%, #515151 50%, #232323 100%);
  border-radius: 2px;
  margin: 10px 0;
  opacity: 0.85;
}

.flex {
  display: flex;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Text gradient */
.bg-gr {
  color: #5a5a5a;
  background-image: -webkit-linear-gradient(180deg, #5a5a5a83, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background gradient */
.background-gradient {
  border: 1px solid var(--text-color);
  padding: 10px 20px;
  border-radius: 15px;
  background: linear-gradient(
    to right,
    #2e2e2e,
    #000000 30%,
    #000000 70%,
    #2e2e2e
  );
  transition: background 0.3s, box-shadow 0.3s;
}

.background-gradient:hover {
  background: linear-gradient(
    to right,
    #444444,
    #222222 30%,
    #222222 70%,
    #444444
  );
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(1, 1, 1, 0.359);
  padding: 10px 0;
}

.navigation .navi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  gap: 24px; /* Added space between logo, hamburger, and menu */
}

.navigation .logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-accent-color);
  gap: 12px; /* Added space between logo image and text */
}

.navigation .logo img {
  width: 40px;
  height: 40px;
  margin-right: 0; /* Removed margin, using gap instead */
  border-radius: 15%;
}

.navigation .hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 20px;
  padding: 0;
  margin-left: 16px; /* Added space between logo and hamburger */
  margin-right: 16px; /* Added space between hamburger and menu */
}

.navigation .hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--text-accent-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navigation .hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navigation .hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navigation .hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navigation .menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(1, 1, 1, 0.95);
  padding: 15px;
  flex-direction: column;
  align-items: center;
  z-index: 999;
}

.navigation .menu.open {
  display: flex;
  animation: slideDown 0.3s ease-in-out;
}

.navigation .menu nav ul {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* align-items: center; */
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px; /* Added space between menu items */
}

.navigation .menu nav ul li {
  margin: 10px 0;
}

.navigation .menu nav ul li a {
  color: var(--text-color);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.navigation .menu nav ul li a:hover {
  color: var(--text-accent-color);
}

.navigation .menu .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.navigation .menu .links a {
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 15px;
  text-align: center;
}

.navigation .menu .links .install {
    margin-left: 30px;
  background-color: var(--text-accent-color);
  color: var(--dark-bg);
}

.navigation .menu .links .blog {
  background-color: #373737;
  color: var(--text-accent-color);
  border: 1px solid var(--text-color);
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Payment section */
.payment {
  position: relative;
  padding: 80px 15px 40px;
  text-align: center;
  background: var(--dark-bg);
  z-index: 1;
}

.payment::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(90, 90, 90, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  opacity: 0.3;
  pointer-events: none;
  filter: blur(10px);
}

.payment-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.payment-header h1 {
  font-size: 36px;
  margin: 10px 0;
}

.payment-header p {
  font-size: 18px;
  color: var(--text-not-accent-color);
  line-height: 1.5;
}

.payment-info {
  margin: 20px 0;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.payment-info h2 {
  font-size: 24px;
  color: var(--text-accent-color);
  margin-bottom: 10px;
}

.payment-info p {
  font-size: 16px;
  color: var(--text-not-accent-color);
  line-height: 1.5;
}

.payment-info p strong {
  color: var(--text-accent-color);
}

.payment-form {
  margin-top: 30px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.payment-form h2 {
  font-size: 24px;
  color: var(--text-accent-color);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 16px;
  color: var(--text-accent-color);
  margin-bottom: 8px;
}

.form-group input {
  width: 95%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid var(--text-color);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-accent-color);
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--text-accent-color);
}

.form-group .get-id {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid var(--text-color);
  border-radius: 15px;
  background: linear-gradient(
    to right,
    #2e2e2e,
    #000000 30%,
    #000000 70%,
    #2e2e2e
  );
  color: var(--text-accent-color);
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.form-group .get-id:hover {
  background: linear-gradient(
    to right,
    #444444,
    #222222 30%,
    #222222 70%,
    #444444
  );
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
.form-group a{
  color: #fff;
}

.pay-button {
  display: inline-block;
  padding: 12px 30px;
  font-size: 18px;
  background-color: var(--text-accent-color);
  color: var(--dark-bg);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.pay-button:hover {
  background-color: var(--text-color);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  padding: 20px 15px;
  background: rgba(1, 1, 1, 0.9);
}

.footer .navi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer .logo {
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-accent-color);
}

.footer .logo img {
  border-radius: 6px;
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.footer .logo h1 {
  font-size: 20px;
}

.footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer nav ul li a {
  font-size: 14px;
  color: var(--text-color);
  text-decoration: none;
}

.footer nav ul li a:hover {
  color: var(--text-accent-color);
}

.footer .links {
  display: flex;
  gap: 10px;
}

.footer .links a {
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 15px;
}

.footer .links .install {
  background-color: var(--text-accent-color);
  color: var(--dark-bg);
}

.footer .links .blog {
  background-color: #373737;
  color: var(--text-accent-color);
  border: 1px solid var(--text-color);
}

.footer .footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--text-not-accent-color);
  margin-top: 10px;
}

.footer .footer-bottom a {
  color: var(--text-not-accent-color);
  text-decoration: underline;
}

.footer .pay_methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.footer .pay_methods span {
  font-size: 12px;
  color: var(--text-not-accent-color);
}

.footer .pay_methods img {
  height: 40px;
  opacity: 0.8;
}

/* Media queries for responsiveness */
@media (min-width: 768px) {
  .navigation .navi {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }

  .navigation .hamburger {
    display: none;
  }

  .navigation .menu {
    display: flex;
    position: static;
    background: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }

  .navigation .menu nav ul {
    flex-direction: row;
  }

  .navigation .menu .links {
    flex-direction: row;
  }

  .payment-content {
    max-width: 600px;
  }

  .payment-form {
    display: block;
  }

  .pay-button {
    display: block;
    margin: 20px auto 0;
  }

}
