:root {
  --x: 50vw;
  --y: 50vh;
}

body {
  background-color: #0A0A0F;
  background-image: radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 25%);
  color: #EAEAEA;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: blur(4px);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0A0A0F;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

main {
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.profile {
  margin-bottom: 40px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.profile h1 {
  font-size: 2em;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  transition: all 0.4s ease-in-out;
}

.bio {
  font-size: 1.1em;
  color: #A0A0B0;
  margin: 0;
  font-weight: 400;
}

.crypto-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crypto-link {
  display: flex;
  align-items: center;
  background: rgba(20, 20, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  text-align: left;
}

.crypto-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.crypto-icon svg {
  width: 24px;
  height: 24px;
}

.crypto-address {
  flex-grow: 1;
  font-family: monospace;
  color: #A0A0B0;
  font-size: 0.9em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

.crypto-link:hover .crypto-address {
  color: #d1d5db;
  text-shadow: 0 0 4px rgba(0, 220, 130, 0.5);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #EAEAEA;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

footer {
  margin-top: 40px;
  color: #505060;
  font-size: 0.9em;
  font-weight: 500;
}

.mute-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(20, 20, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #EAEAEA;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.mute-control:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mute-control svg {
  width: 22px;
  height: 22px;
}
