@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&amp;family=Poppins:ital,wght@0,100;0,200;0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,500;1,600;1,700;1,800;1,900&amp;display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fredoka", sans-serif;
  background: linear-gradient(135deg, #9cd85c, #C6F7AF);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Decorative fruits */
.fruit {
  position: absolute;
  z-index: 1;
}

.watermelon {
  top: 200px;
  right: 100px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #90ee90 0%, #228b22 100%);
  border-radius: 50%;
  border: 3px solid #006400;
}

.watermelon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 8px,
    #006400 8px,
    #006400 12px
  );
  border-radius: 50%;
}

.strawberry {
  top: 350px;
  right: 50px;
  width: 60px;
  height: 70px;
  background: linear-gradient(135deg, #ff69b4 0%, #dc143c 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.rock {
  top: 50px;
  right: 50px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #a9a9a9 0%, #696969 100%);
  border-radius: 50%;
  border: 3px solid #2f4f4f;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.logo {
  margin: 5px auto;
  width: 350px;
}

.logo img {
    width: 90%;
    MARGIN-TOP: 15PX;
}
.title {
  font-size: 42px;
  font-weight: bold;
  color: white;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.subtitle {
  font-size: 24px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.input-section {
  margin-bottom: 30px;
}

.username-input {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 80%;
  max-width: 300px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 16px;
  outline: none;
}

.username-input:focus {
  border-color: #4caf50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.error-message {
  color: #ff0000;
  font-size: 14px;
  font-weight: bold;
  margin-top: 8px;
  min-height: 20px;
}

.generate-btn {
    display: block;
    margin: 8px auto 30px;
    padding: 8px 20px;
    border: 2px solid #79a05f;
    border-radius: 8px;
    background: linear-gradient(to bottom, #a8e063, #56ab2f);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 6px solid #3e8e41;
    font-family: "Fredoka", sans-serif;
    transition: border-bottom-width 0.3s, border-bottom-color 0.3s;
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.generate-btn:active {
  transform: translateY(0);
}
.fix-stroke {
  paint-order: stroke fill;
}
.selection-text {
    color: white;
    text-align: center;
    -webkit-text-stroke: 2px black;
    font-size: 18px;
    margin: 20px 0 10px 0;
    font-weight: normal;
}

.selection-error {
  color: #ff0000;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.gamepasses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.gamepass-item {
    background: #ffffffa3;
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 3px solid transparent;
}

.gamepass-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gamepass-item.selected {
  border-color: #4caf50;
  background: #f0f8f0;
}

.gamepass-item.selected::after {
  content: "✓";
  position: absolute;
  top: -10px;
  right: -10px;
  background: #4caf50;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.gamepass-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  font-weight: bold;
}

.gamepass-name {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

/* 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);
  animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 20% auto; /* Default margin for desktop */
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
    position: relative;
    animation: slideUpFade 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* For smaller screens (mobile) */
@media (max-width: 768px) {
    .modal-content {
        margin: 45% auto; /* margin for mobile */
        width: 90%; /* optional: make modal width responsive on mobile */
    }
}

.modal h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
    font-weight: 600;
}
}

.modal p {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

.verify-btn {
    display: block;
    margin: 20px auto 20px;
    padding: 8px 30px;
    border: 2px solid #478f17;
    border-radius: 8px;
    background: linear-gradient(to bottom, #a8e063, #56ab2f);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 6px solid #3e8e41;
    font-family: "Fredoka", sans-serif;
    transition: border-bottom-width 0.3s, border-bottom-color 0.3s;
}
.verify-btn:hover {
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Specific gamepass colors */
/* .pixel-angelus {
  background: linear-gradient(45deg, #87ceeb, #4169e1);
} */
/* .vip { */
/* background: linear-gradient(45deg, #ffd700, #ffa500);
}
.huge-hunter {
  background: linear-gradient(45deg, #00ced1, #1e90ff);
}
.lucky {
  background: linear-gradient(45deg, #32cd32, #228b22);
}
.ultra-lucky {
  background: linear-gradient(45deg, #9370db, #4b0082);
}
.eggs-15 {
  background: linear-gradient(45deg, #deb887, #cd853f);
}
.pets-15 {
  background: linear-gradient(45deg, #dc143c, #b22222);
}
.magic-eggs {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
}
.super-drops {
  background: linear-gradient(45deg, #ff4500, #ff6347);
}
.shiny-hunter {
  background: linear-gradient(45deg, #c0c0c0, #708090);
}
.double-stars {
  background: linear-gradient(45deg, #ffd700, #daa520);
}
.egg-hatch {
  background: linear-gradient(45deg, #9370db, #8a2be2);
} */

.loading-content {
  padding: 40px 30px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #4caf50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-content h2 {
  color: #333;
  margin-bottom: 0;
  font-size: 20px;
}

@media (max-width: 470px) {
  .logo {
    margin: 5px auto;
    width: 250px;
  }

  .modal-content {
    width: 90%;
  }
}
element.style {
    MARGIN-TOP: -10PX;
}