body {
  background: #141414;
  color: white;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  transition: opacity 0.6s ease-in-out;
}

.profiles-container {
  text-align: center;
}

h1 {
  font-size: 48px;
  margin-bottom: 40px;
}

.profiles {
  display: flex;
  gap: 40px;
}

.profile {
  cursor: pointer;
  text-align: center;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 6px;
  margin-bottom: 10px;
  object-fit: cover;
  transition: transform 0.2s ease, border 0.2s ease;
  border: 2px solid transparent;
}

.avatar.red {
  background: #e50914;
}

.avatar.blue {
  background: #0071eb;
}

.profile:hover .avatar {
  transform: translateY(-10px) scale(1.08);
  border-color: #e50914;
}

/* ===== premium settings styles ===== */
.premium-settings {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.premium-settings-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.premium-settings-subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  color: #a9a9a9;
  line-height: 1.5;
}

.premium-toggle-list {
  display: grid;
  gap: 12px;
}

.premium-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.premium-toggle-copy {
  flex: 1;
  min-width: 0;
}

.premium-toggle-label {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.premium-toggle-description {
  font-size: 13px;
  color: #b5b5b5;
  line-height: 1.45;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 32px;
  flex: 0 0 auto;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #3a3a3a;
  cursor: pointer;
  transition: background 0.25s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.toggle-switch input:checked + .toggle-slider {
  background: #e50914;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

/* ===== edit profile modal scrolling ===== */
#editProfileModal {
  padding: 24px;
  box-sizing: border-box;
}

#editProfileModal .modal-content {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* custom scrollbar */
#editProfileModal .modal-content::-webkit-scrollbar {
  width: 10px;
}

#editProfileModal .modal-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}

#editProfileModal .modal-content::-webkit-scrollbar-thumb {
  background: rgba(229,9,20,0.85);
  border-radius: 999px;
}

#editProfileModal .modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(229,9,20,1);
}

/* ===== PREMIUM AVATAR GLOW ===== */
.avatar-premium {
  border: 2px solid #e50914;
  box-shadow:
    0 0 12px rgba(229,9,20,0.6),
    0 0 24px rgba(229,9,20,0.4),
    0 0 40px rgba(229,9,20,0.25);
  animation: premiumPulse 2.4s ease-in-out infinite;
}

/* subtle pulsing glow */
@keyframes premiumPulse {
  0% {
    box-shadow:
      0 0 8px rgba(229,9,20,0.4),
      0 0 18px rgba(229,9,20,0.25);
  }
  50% {
    box-shadow:
      0 0 18px rgba(229,9,20,0.8),
      0 0 36px rgba(229,9,20,0.5),
      0 0 60px rgba(229,9,20,0.35);
  }
  100% {
    box-shadow:
      0 0 8px rgba(229,9,20,0.4),
      0 0 18px rgba(229,9,20,0.25);
  }
}

.avatar-premium::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 10px;
  border: 1px solid rgba(229,9,20,0.5);
  opacity: 0.6;
  pointer-events: none;
}