:root {
  --bg-color: #070707;
  --text-color: #ede9e1;
  --accent-color: #b8001a;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(255,255,255,0.025) 0%, transparent 70%);
  animation: meshMove 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshMove {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.06) rotate(2deg); }
}

#enter-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  gap: 28px;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

#enter-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

#enter-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255,255,255,0.025) 0%, transparent 70%);
  pointer-events: none;
}

.enter-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.12em;
  user-select: none;
}

.enter-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

#enter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 60px;
  padding: 12px 38px;
  color: rgba(255,255,255,0.45);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
}

#enter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.04);
  opacity: 0;
  transition: opacity 0.3s;
}

#enter-btn:hover {
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75);
}

#enter-btn:hover::before {
  opacity: 1;
}

#enter-btn:active {
  transform: scale(0.97);
}

#main {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
}

#main.visible {
  opacity: 1;
}

.watermark {
  position: fixed;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
  font-weight: 400;
  z-index: 100;
  user-select: none;
}

#pause-btn {
  position: fixed;
  bottom: 18px;
  left: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

#pause-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  transform: scale(1.05);
}

#pause-btn:active {
  transform: scale(0.95);
}

#comments-btn {
  position: fixed;
  bottom: 18px;
  left: 72px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

#comments-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  transform: scale(1.05);
}

#comments-btn:active {
  transform: scale(0.95);
}

.comments-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.comments-modal.show {
  display: flex;
}

.comments-modal-content {
  background: rgba(12,12,12,0.98);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.comments-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.comments-close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.comments-header h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.comments-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars-display {
  display: flex;
  gap: 2px;
  font-size: 18px;
}

.stars-display .star-filled {
  color: #ffd700;
}

.stars-display .star-empty {
  color: rgba(255,255,255,0.2);
}

.rating-text {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.rating-count {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.comment-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.comments-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.comments-tab {
  background: transparent;
  border: none;
  padding: 12px 24px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.comments-tab:hover {
  color: rgba(255,255,255,0.8);
}

.comments-tab.active {
  color: #b8001a;
  border-bottom-color: #b8001a;
}

.comments-tab-content {
  display: none;
}

.comments-tab-content.active {
  display: block;
}

.comment-form {
  margin-bottom: 24px;
}

.comment-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.9);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 12px;
}

.comment-form textarea:focus {
  outline: none;
  border-color: #b8001a;
}

.submit-comment-btn {
  background: #b8001a;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-comment-btn:hover {
  background: #d4001f;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-username {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.comment-uid {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.comment-divider {
  color: rgba(255,255,255,0.2);
  margin: 0 4px;
}

.comment-delete {
  background: transparent;
  border: none;
  color: rgba(220,60,60,0.7);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.comment-delete:hover {
  background: rgba(220,60,60,0.1);
  color: rgba(220,60,60,0.9);
}

.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  word-wrap: break-word;
}

.comment-time {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.comment-reply-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
  margin-left: 12px;
}

.comment-reply-btn:hover {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.8);
}

.comment-replies {
  margin-top: 12px;
  margin-left: 24px;
  padding-left: 16px;
  border-left: 2px solid rgba(255,255,255,0.06);
}

.reply-item {
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}

.cooldown-message {
  background: rgba(220,60,60,0.1);
  border: 1px solid rgba(220,60,60,0.3);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  color: rgba(220,60,60,0.9);
  font-size: 12px;
  text-align: center;
}

.rating-form {
  text-align: center;
  padding: 40px 20px;
}

.rating-form h3 {
  font-size: 18px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.star {
  font-size: 48px;
  color: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.star:hover,
.star.active {
  color: #ffd700;
  transform: scale(1.1);
}

.submit-rating-btn {
  background: #b8001a;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-rating-btn:hover {
  background: #d4001f;
}

.submit-rating-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  width: fit-content;
  max-width: 90vw;
  transition: all 0.3s ease;
  position: relative;
}

.avatar-wrap {
  position: relative;
  z-index: 20;
  margin-bottom: -30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 30px rgba(0,0,0,0.7);
  overflow: hidden;
  background: #111;
}

.avatar.shape-circle {
  border-radius: 50%;
}

.avatar.shape-rounded {
  border-radius: 20%;
}

.avatar.shape-square {
  border-radius: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nameplate {
  background: rgba(12,12,12,0.97);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 50px 52px 28px;
  text-align: center;
  position: relative;
  min-width: 300px;
  max-width: 450px;
  width: auto;
  z-index: 10;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 20px 60px rgba(0,0,0,0.8);
  overflow: hidden;
}

.nameplate::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}

.name-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  z-index: 30;
  min-height: 40px;
  width: 100%;
  margin-bottom: 8px;
}

.name-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-color);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
  color: var(--text-color);
  letter-spacing: 0.06em;
  display: block;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.2;
}

.username-label {
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.25);
  font-weight: 500;
  text-transform: lowercase;
}

#uid-tooltip {
  position: fixed;
  background: rgba(10,10,10,0.97);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  padding: 6px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  letter-spacing: 0.14em;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  z-index: 99999;
  transform: translateY(4px) scale(0.94);
}

#uid-tooltip.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#uid-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255,255,255,0.12);
}

.name-wrap {
  position: relative;
  display: inline-block;
  z-index: 30;
  cursor: default;
}

.bio-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.bio-text {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.social-links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.social-links.list-style {
  gap: 6px;
}

.social-links.list-style .social-link {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
  padding: 10px 0;
}

.social-links.list-style .social-link:hover {
  background: transparent;
  border-bottom-color: var(--accent-color);
  transform: translateX(4px);
}

.social-link {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.link-platform {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-color);
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-link svg {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.social-link:hover svg {
  color: var(--accent-color);
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.p {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  opacity: 0;
  animation: particleFade var(--dur) var(--delay) ease-in-out infinite;
}

@keyframes particleFade {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: var(--op); }
  70%  { opacity: var(--op); }
  100% { opacity: 0; transform: translateY(-70px); }
}

#error-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.error-content {
  text-align: center;
  padding: 40px;
}

.error-content h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.error-content p {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}

.home-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 32px;
  color: rgba(255,255,255,0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
}

.home-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.02);
}


.link-warning-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s;
}

.link-warning-modal.show {
  opacity: 1;
}

.link-warning-content {
  background: rgba(12,12,12,0.98);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.link-warning-content h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 24px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.link-warning-content p {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 12px;
}

.warning-url {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(184,0,26,0.9);
  word-break: break-all;
  margin: 16px 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.warning-text {
  color: rgba(220,60,60,0.9) !important;
  font-weight: 500;
  margin-bottom: 24px !important;
}

.warning-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cancel-btn,
.continue-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.cancel-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

.cancel-btn:hover {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.02);
}

.continue-btn {
  background: rgba(184,0,26,0.15);
  border: 1px solid rgba(184,0,26,0.4);
  color: rgba(255,255,255,0.8);
}

.continue-btn:hover {
  background: rgba(184,0,26,0.25);
  border-color: rgba(184,0,26,0.6);
  color: rgba(255,255,255,0.95);
}


.profile-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  position: relative;
  cursor: default;
}

.profile-location svg {
  opacity: 0.5;
}

.profile-location::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 99999;
}

.profile-location:hover::after {
  opacity: 1;
}

.profile-views {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  position: relative;
  cursor: default;
}

.profile-views svg {
  opacity: 0.4;
}

.profile-views::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 999999;
}

.profile-views:hover::after {
  opacity: 1;
}

.snowflake {
  position: fixed;
  top: -10px;
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  animation: snowfall linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes snowfall {
  to { transform: translateY(100vh); }
}

.raindrop {
  position: fixed;
  top: -10px;
  width: 2px;
  height: 20px;
  background: linear-gradient(transparent, rgba(255,255,255,0.6));
  animation: rainfall linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes rainfall {
  to { transform: translateY(100vh); }
}

.star {
  position: fixed;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.firefly {
  position: fixed;
  width: 4px;
  height: 4px;
  background: #ffeb3b;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffeb3b, 0 0 20px #ffeb3b;
  animation: firefly-float linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes firefly-float {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(calc(random() * 100px - 50px), -100vh); opacity: 0; }
}

.bubble {
  position: fixed;
  bottom: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: bubble-rise linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes bubble-rise {
  to { 
    transform: translateY(-100vh) translateX(calc(sin(1) * 50px));
    opacity: 0;
  }
}

.aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0,255,150,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 40%, rgba(100,150,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 60%, rgba(255,100,200,0.1) 0%, transparent 50%);
  animation: aurora-shift 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes aurora-shift {
  0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.1) rotate(5deg); }
}

.sakura-petal {
  position: fixed;
  top: -20px;
  font-size: 20px;
  animation: sakura-fall linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes sakura-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { 
    transform: translateY(100vh) rotate(360deg) translateX(100px);
    opacity: 0.5;
  }
}

.smoke {
  position: fixed;
  bottom: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: smoke-rise linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes smoke-rise {
  0% { 
    transform: translateY(0) scale(0.5);
    opacity: 0.8;
  }
  100% { 
    transform: translateY(-100vh) scale(2);
    opacity: 0;
  }
}

.particle {
  position: fixed;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: particle-float ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes particle-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -20px); }
  50% { transform: translate(-20px, -40px); }
  75% { transform: translate(-40px, -20px); }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -20px;
  animation: confetti-fall linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes confetti-fall {
  0% { 
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% { 
    transform: translateY(100vh) rotate(720deg);
    opacity: 0.5;
  }
}

.lightning-container {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.1s;
}

.lightning-container.flash {
  opacity: 1;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 0%, transparent 70%);
  box-shadow: inset 0 0 100px rgba(255,255,255,0.5);
}

.shooting-star {
  position: fixed;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px white;
  animation: shoot linear;
  pointer-events: none;
  z-index: 5;
}

@keyframes shoot {
  0% {
    transform: translate(0, 0) rotate(-45deg);
    opacity: 1;
  }
  100% {
    transform: translate(-500px, 500px) rotate(-45deg);
    opacity: 0;
  }
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, white);
  transform-origin: right;
  transform: rotate(-45deg);
}

.heart {
  position: fixed;
  top: -20px;
  font-size: 24px;
  animation: heart-fall linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes heart-fall {
  0% { 
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% { 
    transform: translateY(100vh) rotate(360deg) scale(0.5);
    opacity: 0.3;
  }
}

.leaf {
  position: fixed;
  top: -20px;
  font-size: 20px;
  animation: leaf-fall linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes leaf-fall {
  0% { 
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% { 
    transform: translateY(100vh) rotate(720deg) translateX(100px);
    opacity: 0.5;
  }
}

.sparkle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  border-radius: 50%;
  animation: sparkle-twinkle 1s ease-out;
  pointer-events: none;
  z-index: 5;
}

@keyframes sparkle-twinkle {
  0% { 
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% { 
    transform: scale(1.5) rotate(180deg);
    opacity: 1;
  }
  100% { 
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

.waves-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
  z-index: 5;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(100,150,255,0.1));
  border-radius: 50%;
  animation: wave-motion 8s ease-in-out infinite;
}

.wave:nth-child(2) {
  animation-delay: -2s;
  opacity: 0.5;
}

.wave:nth-child(3) {
  animation-delay: -4s;
  opacity: 0.3;
}

@keyframes wave-motion {
  0%, 100% { 
    transform: translateX(-50%) translateY(0);
  }
  50% { 
    transform: translateX(-25%) translateY(-20px);
  }
}

.social-links-emoji {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link-emoji {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}

.social-link-emoji::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}

.social-link-emoji:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.social-link-emoji:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent-color);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.social-link-emoji svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.social-link-emoji:hover svg {
  color: var(--accent-color);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.card-minimal {
  background: rgba(12,12,12,0.85) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.card-minimal::before {
  display: none;
}

.card-glass {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

.card-sharp {
  border-radius: 0 !important;
  border: 2px solid rgba(255,255,255,0.15) !important;
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.05),
    8px 8px 0 rgba(0,0,0,0.3) !important;
}

.card-sharp::before {
  display: none;
}

.card-bubble {
  border-radius: 35px !important;
  background: rgba(12,12,12,0.95) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 2px 4px rgba(255,255,255,0.03) !important;
}

.card-split {
  background: linear-gradient(90deg, rgba(12,12,12,0.98) 50%, rgba(18,18,18,0.98) 50%) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  position: relative;
}

.card-split::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, 
    transparent, 
    rgba(255,255,255,0.2) 20%, 
    rgba(255,255,255,0.2) 80%, 
    transparent
  );
  pointer-events: none;
}

.card-floating {
  background: rgba(12,12,12,0.98) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.04) !important;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-8px);
  }
}

.profile-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-badge img {
  width: 24px;
  height: 24px;
  display: block;
}

.badge-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 99999;
}

.profile-badge:hover .badge-tooltip {
  opacity: 1;
}

.profile-badge.badge-top-right {
  position: absolute;
  top: 12px;
  right: 12px;
}

.profile-badge.badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
}

.profile-badge.badge-next-to-name {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.profile-badge.badge-below-name {
  margin-top: 8px;
  display: inline-block;
}

.nameplate.anim-fade {
  animation: fadeIn 0.6s ease-out;
}

.nameplate.anim-pop {
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nameplate.anim-slide-up {
  animation: slideUp 0.6s ease-out;
}

.nameplate.anim-slide-down {
  animation: slideDown 0.6s ease-out;
}

.nameplate.anim-slide-left {
  animation: slideLeft 0.6s ease-out;
}

.nameplate.anim-slide-right {
  animation: slideRight 0.6s ease-out;
}

.nameplate.anim-zoom {
  animation: zoomIn 0.5s ease-out;
}

.nameplate.anim-flip {
  animation: flipIn 0.7s ease-out;
}

.nameplate.anim-bounce {
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideLeft {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes flipIn {
  from { transform: perspective(400px) rotateY(90deg); opacity: 0; }
  to { transform: perspective(400px) rotateY(0); opacity: 1; }
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.mouse-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  pointer-events: none;
  z-index: 9999;
  animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
  to {
    opacity: 0;
    transform: scale(0);
  }
}

.mouse-sparkle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: white;
  pointer-events: none;
  z-index: 9999;
  animation: sparkleFade 1s ease-out forwards;
}

@keyframes sparkleFade {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(180deg);
  }
}

.mouse-bubble {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  border: 1px solid rgba(255,255,255,0.3);
  pointer-events: none;
  z-index: 9999;
  animation: bubbleRise 2s ease-out forwards;
}

@keyframes bubbleRise {
  to {
    transform: translateY(-200px);
    opacity: 0;
  }
}

.mouse-heart {
  position: fixed;
  font-size: 16px;
  pointer-events: none;
  z-index: 9999;
  animation: heartFloat 2s ease-out forwards;
}

@keyframes heartFloat {
  to {
    transform: translateY(-150px);
    opacity: 0;
  }
}

.mouse-star {
  position: fixed;
  color: white;
  font-size: 14px;
  pointer-events: none;
  z-index: 9999;
  animation: starFloat 1.5s ease-out forwards;
}

@keyframes starFloat {
  to {
    transform: translateY(-100px) rotate(180deg);
    opacity: 0;
  }
}

.mouse-fire {
  position: fixed;
  width: 6px;
  height: 12px;
  background: linear-gradient(to top, #ff4500, #ff6347, transparent);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
  z-index: 9999;
  animation: fireRise 0.6s ease-out forwards;
}

@keyframes fireRise {
  to {
    transform: translateY(-50px);
    opacity: 0;
  }
}


#media-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12,12,12,0.98);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 16px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.8);
  z-index: 1000;
  min-width: 400px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#media-player.visible {
  opacity: 1;
  pointer-events: all;
}

#media-player.anim-fade {
  animation: fadeIn 0.6s ease-out forwards;
}

#media-player.anim-pop {
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

#media-player.anim-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

#media-player.anim-zoom {
  animation: zoomIn 0.5s ease-out forwards;
}

.media-player-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#media-album-art {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  display: none;
}

.media-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.media-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

.media-artist {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.media-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.media-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s;
}

.media-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  transform: scale(1.05);
}

.media-btn-large {
  width: 44px;
  height: 44px;
}

.media-progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.media-time {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  font-weight: 500;
  min-width: 35px;
  text-align: center;
}

.media-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.media-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--accent-color);
  border-radius: 3px;
  transition: width 0.1s linear;
}

#mediaProgressInput {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

#mediaProgressInput::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.nameplate.anim-rotate {
  animation: rotateIn 0.7s ease-out;
}

.nameplate.anim-swing {
  animation: swingIn 0.8s ease-out;
}

.nameplate.anim-roll {
  animation: rollIn 0.8s ease-out;
}

.nameplate.anim-unfold {
  animation: unfoldIn 0.7s ease-out;
}

.nameplate.anim-expand {
  animation: expandIn 0.6s ease-out;
}

.nameplate.anim-glitch {
  animation: glitchIn 0.6s ease-out;
}

.nameplate.anim-blur {
  animation: blurIn 0.7s ease-out;
}

.nameplate.anim-spiral {
  animation: spiralIn 0.8s ease-out;
}

.nameplate.anim-wave {
  animation: waveIn 0.7s ease-out;
}

.nameplate.anim-elastic {
  animation: elasticIn 0.9s ease-out;
}

.nameplate.anim-pulse {
  animation: pulseIn 0.6s ease-out;
}

@keyframes rotateIn {
  from { transform: rotate(-180deg) scale(0); opacity: 0; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}

@keyframes swingIn {
  0% { transform: rotate(-45deg) translateY(-50px); opacity: 0; }
  60% { transform: rotate(10deg); }
  100% { transform: rotate(0); opacity: 1; }
}

@keyframes rollIn {
  from { transform: translateX(-100%) rotate(-360deg); opacity: 0; }
  to { transform: translateX(0) rotate(0); opacity: 1; }
}

@keyframes unfoldIn {
  0% { transform: scaleY(0) rotateX(90deg); opacity: 0; }
  100% { transform: scaleY(1) rotateX(0); opacity: 1; }
}

@keyframes expandIn {
  0% { transform: scale(0) rotate(45deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes glitchIn {
  0% { transform: translate(0); opacity: 0; }
  20% { transform: translate(-10px, 5px); opacity: 0.5; }
  40% { transform: translate(10px, -5px); opacity: 0.7; }
  60% { transform: translate(-5px, 10px); opacity: 0.9; }
  80% { transform: translate(5px, -10px); opacity: 1; }
  100% { transform: translate(0); opacity: 1; }
}

@keyframes blurIn {
  from { filter: blur(20px); opacity: 0; }
  to { filter: blur(0); opacity: 1; }
}

@keyframes spiralIn {
  from { transform: rotate(720deg) scale(0); opacity: 0; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}

@keyframes waveIn {
  0% { transform: translateY(50px); opacity: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
  50% { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%); }
  100% { transform: translateY(0); opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes elasticIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  70% { transform: scale(0.9); }
  90% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulseIn {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

#media-player.anim-rotate {
  animation: rotateIn 0.7s ease-out forwards;
}

#media-player.anim-swing {
  animation: swingIn 0.8s ease-out forwards;
}

#media-player.anim-roll {
  animation: rollIn 0.8s ease-out forwards;
}

#media-player.anim-unfold {
  animation: unfoldIn 0.7s ease-out forwards;
}

#media-player.anim-expand {
  animation: expandIn 0.6s ease-out forwards;
}

#media-player.anim-glitch {
  animation: glitchIn 0.6s ease-out forwards;
}

#media-player.anim-blur {
  animation: blurIn 0.7s ease-out forwards;
}

#media-player.anim-spiral {
  animation: spiralIn 0.8s ease-out forwards;
}

#media-player.anim-wave {
  animation: waveIn 0.7s ease-out forwards;
}

#media-player.anim-elastic {
  animation: elasticIn 0.9s ease-out forwards;
}

#media-player.anim-pulse {
  animation: pulseIn 0.6s ease-out forwards;
}

.card.tilt-enabled {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

#enter-screen.entry-cube-left {
  animation: entryCubeLeft 0.8s ease-out forwards;
}

#enter-screen.entry-cube-right {
  animation: entryCubeRight 0.8s ease-out forwards;
}

#enter-screen.entry-cube-up {
  animation: entryCubeUp 0.8s ease-out forwards;
}

#enter-screen.entry-cube-down {
  animation: entryCubeDown 0.8s ease-out forwards;
}

#enter-screen.entry-flip-left {
  animation: entryFlipLeft 0.7s ease-out forwards;
}

#enter-screen.entry-flip-right {
  animation: entryFlipRight 0.7s ease-out forwards;
}

#enter-screen.entry-flip-up {
  animation: entryFlipUp 0.7s ease-out forwards;
}

#enter-screen.entry-flip-down {
  animation: entryFlipDown 0.7s ease-out forwards;
}

#enter-screen.entry-slide-left {
  animation: entrySlideLeft 0.6s ease-out forwards;
}

#enter-screen.entry-slide-right {
  animation: entrySlideRight 0.6s ease-out forwards;
}

#enter-screen.entry-slide-up {
  animation: entrySlideUp 0.6s ease-out forwards;
}

#enter-screen.entry-slide-down {
  animation: entrySlideDown 0.6s ease-out forwards;
}

#enter-screen.entry-zoom-in {
  animation: entryZoomIn 0.6s ease-out forwards;
}

#enter-screen.entry-zoom-out {
  animation: entryZoomOut 0.6s ease-out forwards;
}

#enter-screen.entry-rotate-left {
  animation: entryRotateLeft 0.7s ease-out forwards;
}

#enter-screen.entry-rotate-right {
  animation: entryRotateRight 0.7s ease-out forwards;
}

#enter-screen.entry-glitch {
  animation: entryGlitch 0.6s ease-out forwards;
}

#enter-screen.entry-blur {
  animation: entryBlur 0.7s ease-out forwards;
}

#enter-screen.entry-wave {
  animation: entryWave 0.8s ease-out forwards;
}

#enter-screen.entry-ripple {
  animation: entryRipple 0.9s ease-out forwards;
}

@keyframes entryCubeLeft {
  from { transform: perspective(1000px) rotateY(90deg); opacity: 1; }
  to { transform: perspective(1000px) rotateY(0); opacity: 0; }
}

@keyframes entryCubeRight {
  from { transform: perspective(1000px) rotateY(-90deg); opacity: 1; }
  to { transform: perspective(1000px) rotateY(0); opacity: 0; }
}

@keyframes entryCubeUp {
  from { transform: perspective(1000px) rotateX(-90deg); opacity: 1; }
  to { transform: perspective(1000px) rotateX(0); opacity: 0; }
}

@keyframes entryCubeDown {
  from { transform: perspective(1000px) rotateX(90deg); opacity: 1; }
  to { transform: perspective(1000px) rotateX(0); opacity: 0; }
}

@keyframes entryFlipLeft {
  from { transform: rotateY(0); opacity: 1; }
  to { transform: rotateY(-180deg); opacity: 0; }
}

@keyframes entryFlipRight {
  from { transform: rotateY(0); opacity: 1; }
  to { transform: rotateY(180deg); opacity: 0; }
}

@keyframes entryFlipUp {
  from { transform: rotateX(0); opacity: 1; }
  to { transform: rotateX(-180deg); opacity: 0; }
}

@keyframes entryFlipDown {
  from { transform: rotateX(0); opacity: 1; }
  to { transform: rotateX(180deg); opacity: 0; }
}

@keyframes entrySlideLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@keyframes entrySlideRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

@keyframes entrySlideUp {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(-100%); opacity: 0; }
}

@keyframes entrySlideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}

@keyframes entryZoomIn {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(3); opacity: 0; }
}

@keyframes entryZoomOut {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(0); opacity: 0; }
}

@keyframes entryRotateLeft {
  from { transform: rotate(0); opacity: 1; }
  to { transform: rotate(-360deg) scale(0); opacity: 0; }
}

@keyframes entryRotateRight {
  from { transform: rotate(0); opacity: 1; }
  to { transform: rotate(360deg) scale(0); opacity: 0; }
}

@keyframes entryGlitch {
  0% { transform: translate(0); opacity: 1; }
  20% { transform: translate(-20px, 10px); opacity: 0.8; }
  40% { transform: translate(20px, -10px); opacity: 0.6; }
  60% { transform: translate(-10px, 20px); opacity: 0.4; }
  80% { transform: translate(10px, -20px); opacity: 0.2; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes entryBlur {
  from { filter: blur(0); opacity: 1; }
  to { filter: blur(30px); opacity: 0; }
}

@keyframes entryWave {
  0% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; }
  50% { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); opacity: 0; }
}

@keyframes entryRipple {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}


@media (max-width: 768px) {
  .card {
    max-width: 95vw;
  }
  
  .nameplate {
    padding: 45px 32px 24px;
    min-width: 260px;
    max-width: 95vw;
  }
  
  .name-text {
    font-size: 26px;
  }
  
  .avatar {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .nameplate {
    padding: 40px 24px 20px;
    min-width: 220px;
  }
  
  .name-text {
    font-size: 22px;
  }
  
  .avatar {
    width: 70px;
    height: 70px;
  }
  
  .bio-text {
    font-size: 11px;
  }
  
  .social-links-emoji {
    gap: 12px;
  }
  
  .social-link-emoji {
    width: 32px;
    height: 32px;
  }
}


.media-volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  position: relative;
}

.media-volume-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.media-volume-btn:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
}

.media-volume-slider {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.media-volume-control:hover .media-volume-slider {
  width: 80px;
  opacity: 1;
}

.media-volume-slider input[type="range"] {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.media-volume-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
}

.media-volume-slider input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

@media (max-width: 768px) {
  .media-volume-control:active .media-volume-slider {
    width: 80px;
    opacity: 1;
  }
}


#media-player.layout-center {
  text-align: center;
}

#media-player.layout-center .media-player-content {
  align-items: center;
  text-align: center;
}

#media-player.layout-center #media-album-art {
  margin: 0 auto 12px;
}

#media-player.layout-center .media-info {
  align-items: center;
}

#media-player.layout-center .media-controls {
  display: flex;
  justify-content: center;
}

#media-player.layout-center .media-progress-container {
  display: flex;
  width: 100%;
}

#media-album-art.cover-circle {
  border-radius: 50%;
}

#media-album-art.cover-square {
  border-radius: 0;
}


.card.size-compact .nameplate {
  padding: 40px 40px 20px;
  min-width: 240px;
}

.card.size-compact .avatar {
  width: 75px;
  height: 75px;
}

.card.size-compact .name-text {
  font-size: 26px;
}

.card.size-large .nameplate {
  padding: 60px 60px 32px;
  min-width: 320px;
}

.card.size-large .avatar {
  width: 105px;
  height: 105px;
}

.card.size-large .name-text {
  font-size: 34px;
}

.avatar.size-small {
  width: 70px !important;
  height: 70px !important;
}

.avatar.size-large {
  width: 110px !important;
  height: 110px !important;
}

.card.spacing-tight .nameplate {
  padding: 45px 45px 22px;
}

.card.spacing-tight .avatar-wrap {
  margin-bottom: -25px;
}

.card.spacing-relaxed .nameplate {
  padding: 60px 60px 32px;
}

.card.spacing-relaxed .avatar-wrap {
  margin-bottom: -35px;
}

.card.layout-horizontal {
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.card.layout-horizontal .avatar-wrap {
  margin-bottom: 0;
}

.card.layout-horizontal .nameplate {
  padding-top: 28px;
  text-align: left;
}

.card.layout-split {
  flex-direction: row;
  gap: 0;
  align-items: stretch;
}

.card.layout-split .avatar-wrap {
  margin-bottom: 0;
  background: rgba(255,255,255,0.02);
  padding: 40px;
  border-radius: 20px 0 0 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.card.layout-split .nameplate {
  border-radius: 0 20px 20px 0;
  padding: 40px;
}

.card.layout-floating {
  position: relative;
  padding-top: 50px;
}

.card.layout-floating .avatar-wrap {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  margin-bottom: 0;
  animation: floatBreathing 3s ease-in-out infinite;
}

@keyframes floatBreathing {
  0%, 100% { 
    transform: translateX(-50%) translateY(0px);
  }
  50% { 
    transform: translateX(-50%) translateY(-8px);
  }
}

.card.layout-floating .nameplate {
  padding-top: 60px;
}

.card.layout-compact {
  max-width: 320px;
}

.card.layout-compact .nameplate {
  padding: 40px 35px 24px;
  min-width: 220px;
}

.card.layout-compact .avatar {
  width: 75px;
  height: 75px;
}

.card.structure-separate .nameplate {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 20px 0;
}

.card.structure-separate .avatar-wrap {
  background: rgba(12,12,12,0.97);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  margin-bottom: 20px;
}

.card.structure-separate .bio-section,
.card.structure-separate .social-links,
.card.structure-separate .social-links-emoji,
.card.structure-separate .profile-location {
  background: rgba(12,12,12,0.97);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  margin-top: 16px;
  width: 100%;
}

.card.structure-separate .social-links-emoji {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
}

.profile-views.pos-centered {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.profile-views.pos-top-left {
  position: fixed;
  top: 70px;
  left: 18px;
  margin-top: 0;
  background: rgba(12,12,12,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 6px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
}

.profile-views.pos-bottom-left {
  position: fixed;
  bottom: 70px;
  left: 18px;
  margin-top: 0;
  background: rgba(12,12,12,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 6px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
}

.profile-views.pos-top-right {
  position: fixed;
  top: 70px;
  right: 18px;
  margin-top: 0;
  background: rgba(12,12,12,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 6px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
}

.profile-views.pos-bottom-right {
  position: fixed;
  bottom: 70px;
  right: 18px;
  margin-top: 0;
  background: rgba(12,12,12,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 6px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
}

.profile-join-date {
  position: fixed;
  background: rgba(12,12,12,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 6px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 200;
}

.profile-join-date.pos-bottom-left {
  bottom: 110px;
  left: 18px;
}

.profile-join-date.pos-bottom-right {
  bottom: 110px;
  right: 18px;
}

.profile-join-date.pos-top-left {
  top: 110px;
  left: 18px;
}

.profile-join-date.pos-top-right {
  top: 110px;
  right: 18px;
}

.profile-join-date svg {
  opacity: 0.4;
}

.element-glow .profile-views,
.element-glow .profile-join-date,
.element-glow .name-text,
.element-glow .bio-text {
  text-shadow: 0 0 var(--glow-strength, 15px) var(--glow-color, #00ffff),
               0 0 calc(var(--glow-strength, 15px) * 2) var(--glow-color, #00ffff);
}

.element-glow .profile-views svg,
.element-glow .profile-join-date svg {
  filter: drop-shadow(0 0 var(--glow-strength, 15px) var(--glow-color, #00ffff));
}
