@font-face {
  font-family: "Aptos Rounded";
  src: url("./fonts/aptos-rounded.ttf") format("truetype");
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* WICHTIG: html darf NICHT weiß sein (Safe-Area!) */
html {
  background:
    radial-gradient(circle at 50% 25%, rgba(212,175,55,0.20) 0%, rgba(26,26,26,0.85) 42%, #0c0c0c 100%),
    linear-gradient(160deg, #0c0c0c 0%, #1a1a1a 45%, #2a2a2a 100%);
}

html, body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #0c0c0c;
}

/* Body */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;

  font-family: "Aptos Rounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #ffffff;

  background:
    radial-gradient(circle at 50% 25%, rgba(212,175,55,0.20) 0%, rgba(26,26,26,0.85) 42%, #0c0c0c 100%),
    linear-gradient(160deg, #0c0c0c 0%, #1a1a1a 45%, #2a2a2a 100%);
}

/* Wrapper */
.page-wrapper {
  width: 100%;
  max-width: 480px;

  padding-top: calc(18px + env(safe-area-inset-top));
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  padding-left: calc(18px + env(safe-area-inset-left));
  padding-right: calc(18px + env(safe-area-inset-right));
}

/* Card */
.card {
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 22px;
  padding: 28px;
  text-align: center;

  border: 1px solid rgba(212,175,55,0.35);
  box-shadow: 0 0 35px rgba(0,0,0,0.65), 0 0 22px rgba(212,175,55,0.18);
}

/* Profile */
.profile { margin-bottom: 16px; }

.avatar {
  width: 200px;
  height: 200px;
  border-radius: 12%;
  padding: 8px;
  border: 3px solid #d4af37;
  object-fit: cover;
  background: #2a2a2a;
  margin-bottom: 14px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.profile-text {
  margin-top: 6px;
  font-size: 1rem;
  color: #bcbcbc;
  line-height: 1.45;
}

.profile-tags {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #9d9d9d;
}

/* Links */
.links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-button {
  position: relative;
  padding: 14px 18px;
  border-radius: 999px;

  background: #4d4d4d;
  border: 1px solid #d4af37;
  color: #ffffff;

  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

/* Unsichtbarer Button, behält Platz im Layout */
.link-button.hidden-btn {
  visibility: hidden;
  padding: 7px 18px
}

.link-button:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-2px);
}

.link-button span {
  width: 100%;
  text-align: center;
}

/* ICONS – verhindert riesige blaue Flächen */
.link-button img,
.link-button svg {
  position: absolute;
  left: 18px;
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  pointer-events: none;
}

/* Footer */
.footer {
  margin-top: 22px;
  font-size: 0.8rem;
  color: #9d9d9d;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
}

.modal-content {
  background: #1a1a1a;
  padding: 32px;
  border-radius: 14px;
  border: 1px solid #d4af37;
  text-align: center;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.35);
}

.modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 0.95rem;
  color: #cccccc;
}

.modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-button {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

.modal-button.yes {
  background: #d4af37;
  color: #000000;
}

.modal-button.no {
  background: #2a2a2a;
  color: #ffffff;
  border: 1px solid #d4af37;
}

/* Mobile */
@media (max-width: 420px) {
  .card { padding: 22px; }
  .avatar { width: 176px; height: 176px; }
}
