body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #111, #000);
  color: white;
  text-align: center;
  overflow-x: hidden;
}

.page { display: none; padding: 40px; }
.active { display: block; }

.gold {
  font-size: 42px;
  background: linear-gradient(to right, gold, orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px gold; }
  to { text-shadow: 0 0 30px orange; }
}

.card {
  background: #1c1c1c;
  padding: 30px;
  border-radius: 20px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 0 30px rgba(255,215,0,0.2);
}

.button-group { margin: 20px 0; }

.btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

.primary {
  background: gold;
  border: none;
  color: black;
}

.primary:hover {
  background: orange;
  transform: scale(1.05);
}

.social {
  background: #222;
  border: 1px solid gold;
  color: gold;
}

.social:hover {
  background: gold;
  color: black;
}

.boxes {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 20px;
}

.boxes input {
  width: 35px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  background: #222;
  border: 1px solid gold;
  color: gold;
  border-radius: 5px;
}

.bigInput {
  width: 80%;
  padding: 15px;
  font-size: 18px;
  border-radius: 10px;
  border: 1px solid gold;
  background: #111;
  color: gold;
  margin: 10px 0;
  transition: 0.3s;
}

.bigInput:focus {
  outline: none;
  border-color: orange;
  box-shadow: 0 0 10px orange;
}

.center-btn { display: block; margin: 20px auto; }

.code {
  font-size: 28px;
  color: gold;
}

/* CIRCULAR MAP */
.mapCircle {
  width: 300px;
  height: 300px;
  margin: 40px auto;
  border-radius: 50%;
  border: 3px solid gold;
  position: relative;
  animation: rotate 20s linear infinite;
  background: radial-gradient(circle, #222 70%, transparent 100%);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pin {
  width: 70px;
  height: 70px;
  background: red;
  border-radius: 50%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.4s, transform 0.3s;
  font-weight: bold;
  font-size: 18px;
}

.pin:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px red;
}

.p1 { top: -30px; left: 115px; }
.p2 { top: 115px; right: -30px; }
.p3 { bottom: -30px; left: 115px; }
.p4 { top: 115px; left: -30px; }

.unlocked {
  background: gold !important;
  color: black;
  animation: pop 0.6s ease;
  box-shadow: 0 0 30px gold;
}

@keyframes pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.3); }
  100% { transform: scale(1.1); }
}
#mapLines path {
  transition: stroke 0.3s;
}