html, body {
  margin: 0;
  padding: 0;
  font-family: "Space Mono", monospace;
  background-color: #6b0e37;
  color: #ffddeb;;
}

body {
  zoom: 150%;
}

.page-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 2em 1em;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2em;
}

.profile-image-container {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1em;
  border: 10px solid #1c000e;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.profile-name {
  font-size: 1.5em;
  font-weight: bold;
}

.all-link-wrapper {
  width: 100%;
  margin-bottom: 1em;
}

.link-block {
  background-color: rgba(255, 255, 255, 0.15) !IMPORTANT;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #ffddeb;
  padding: 0.75em 2em;
  border-radius: 6px;
}

.link-block:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 #000;
}

.link-icon-container {
  width: 24px;
  height: 24px;
  margin-right: 0.75em;
}

.link-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-name {
  flex-grow: 1;
  font-size: 1em;
}

.arrow-lottie-wrapper {
  display: none;
}

.generic-popup {
  position: fixed;
  bottom: 2em;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #ffddeb;
  padding: 0.5em 1em;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

@media (max-width: 600px) {
  .link-block {
    flex-direction: row;
  }
}

.extend-wrapper {
  text-align: center;
  margin-top: 1em;
}
.extend-button {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #ffddeb;
  font-size: 1em;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.extend-button:hover {
  background: rgba(255,255,255,0.2);
}

.keypad-overlay {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.keypad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.entered-code {
  font-size:1.5em;
  color:#ffddeb;
  margin-bottom:0.5em;
  letter-spacing:0.3em;
  min-height: 1.5em;
}
.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  grid-gap: 0.5em;
}
.keypad-grid button {
  font-size:1.2em;
  padding:0.75em;
  background: #222;
  color:#ffddeb;
  border:none;
  border-radius:4px;
  cursor:pointer;
}
.keypad-grid button:hover {
  background:#333;
}
.extend-arrow {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.extend-arrow:hover {
  transform: scale(1.2);
}
.keypad-grid button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.extra-links-separator {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 1.5em 0;
  width: 100%;
}
