@font-face {
  font-family: "Sigher";
  src: url("font/SigherRegular.eot");
  src: local("Sigher"), local("SigherRegular"),
    url("font/SigherRegular.eot?#iefix") format("embedded-opentype"),
    url("font/SigherRegular.woff2") format("woff2"),
    url("font/SigherRegular.woff") format("woff"),
    url("SigherRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family-primary: "Sigher", sans-serif;
  --font-family-secondary: "Sigher", sans-serif;
  --font-family-brice: "Sigher", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background: white;
  min-height: 100dvh;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(241, 96, 101, 1) 0%,
    rgb(235, 145, 145) 38%,
    rgb(222, 181, 177) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.whitelist-page {
  background: #358dee;
}

.whitelist-page::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #358dee;
}

.container {
  max-width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.main-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-content .touch-me-image {
  width: 300px;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
  animation: shake 0.5s infinite;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: shake;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-duration: 3s;
}

@keyframes shake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  2% {
    transform: translate(-2px, 2px) rotate(-1deg);
  }
  4% {
    transform: translate(2px, -2px) rotate(1deg);
  }
  6% {
    transform: translate(-2px, 2px) rotate(-1deg);
  }
  8% {
    transform: translate(2px, -2px) rotate(1deg);
  }
  10% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.main-content .zonko-bg {
  width: 600px;
  height: max-content;
  object-fit: contain;
  object-position: center;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 0;
}

.main-content .stars-bg {
  width: 100%;
  height: max-content;
  object-fit: contain;
  object-position: center;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 0;
  display: none;
}

/* Whitelist Card Styles */
.whitelist-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-family: var(--font-family-primary);
  font-size: 1.8rem;
  font-weight: bold;
  color: black;
  margin-bottom: 1.5rem;
  text-align: left;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rules-list li {
  font-family: var(--font-family-primary);
  font-size: 1rem;
  color: black;
  margin-bottom: 1rem;
  padding-left: 1rem;
  position: relative;
}

.rules-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: black;
  font-weight: bold;
}

.rules-list li.x-button-container::before {
  content: none;
}

.x-button-container {
  margin: 1rem 0;
}

.x-zonko-button {
  width: 100%;
  background: #f6c42f;
  border: none;
  border-radius: 90px;
  padding: 0.8rem 1.5rem;
  padding-top: 1.2rem;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: bold;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.x-zonko-button:hover {
  background: #ffd54f;
}

/* Input Section */
.input-section {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.username-label {
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  color: black;
  margin-bottom: 0.5rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.username-input {
  width: 300px;
  padding: 1rem;
  border: none;
  border-radius: 15px;
  background: white;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.submit-button {
  background: black;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 1rem 2rem;
  padding-top: 1.5rem;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background: #333;
}

/* Responsive Design */

/* Mobile Styles */
@media (max-width: 767px) {
  .container {
    gap: 1rem;
    padding: 1rem;
  }

  .main-content .touch-me-image {
    width: 200px;
    height: auto;
  }

  .main-content .zonko-bg {
    width: 350px;
    height: auto;
  }

  .whitelist-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .rules-list li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .username-label {
    font-size: 1.2rem;
  }

  .username-input {
    width: 90%;
    max-width: 280px;
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .submit-button {
    width: 90%;
    max-width: 280px;
    padding: 0.8rem 1.5rem;
    padding-top: 1rem;
    font-size: 0.9rem;
  }

  .x-zonko-button {
    padding: 0.6rem 1.2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    gap: 1.5rem;
  }

  .main-content .touch-me-image {
    width: 250px;
    height: auto;
  }

  .main-content .zonko-bg {
    width: 450px;
    height: auto;
  }

  .whitelist-card {
    padding: 1.8rem;
  }

  .card-title {
    font-size: 1.7rem;
  }

  .rules-list li {
    font-size: 0.95rem;
  }

  .username-label {
    font-size: 1.3rem;
  }

  .username-input {
    width: 280px;
  }

  .submit-button {
    width: 280px;
  }
}

/* Large Mobile Styles */
@media (min-width: 480px) and (max-width: 767px) {
  .main-content .touch-me-image {
    width: 220px;
  }

  .main-content .zonko-bg {
    width: 350px;
  }
}

/* mobile  */
@media (max-width: 480px) {
  .main-content .stars-bg {
    display: block;
  }
}

/* Custom Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal-content h3 {
  font-family: var(--font-family-primary);
  font-size: 1.8rem;
  font-weight: bold;
  color: black;
  margin-bottom: 1rem;
}

.modal-content p {
  font-family: var(--font-family-primary);
  font-size: 1rem;
  color: black;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: black;
}

.modal-close-btn {
  background: black;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 0.8rem 2rem;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-close-btn:hover {
  background: #333;
}

/* Modal Responsive Styles */
@media (max-width: 767px) {
  .modal-content {
    margin: 20% auto;
    padding: 1.5rem;
    width: 95%;
  }

  .modal-content h3 {
    font-size: 1.5rem;
  }

  .modal-content p {
    font-size: 0.9rem;
  }

  .modal-close-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}
