.profile-theme-halloween .activity-phrase {
  font-weight: 500;
  line-height: 1.45;
}

.profile-theme-halloween .profile-header {
  position: relative !important;
  background: radial-gradient(ellipse at 85% 0%, rgba(255, 117, 24, 0.22) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 100%, rgba(156, 39, 176, 0.2) 0%, transparent 50%),
              linear-gradient(145deg, #220f34 0%, #170a24 50%, #0d0515 100%) !important;
  border: 1.5px solid rgba(255, 117, 24, 0.55) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 117, 24, 0.25), inset 0 1px 1px rgba(255, 204, 153, 0.3) !important;
  color: #ffffff !important;
}

.profile-theme-halloween .profile-header::before {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 28px;
  width: 80px;
  height: 80px;
  background: url('../../images/themes/halloween/bat.png') no-repeat center / contain;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 4px 14px rgba(250, 250, 250, 0.7));
  animation: halloweenBatFloat 4s ease-in-out infinite;
}

.profile-theme-halloween .profile-header::after {
  content: "";
  position: absolute;
  bottom: -18px;
  right: -12px;
  width: 86px;
  height: 86px;
  background: url('../../images/themes/halloween/pumpkin.png') no-repeat center / contain;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 0 18px rgba(255, 117, 24, 0.8));
  animation: halloweenPumpkinGlow 3s ease-in-out infinite alternate;
}

.profile-theme-halloween .profile-username {
  background: linear-gradient(135deg, #ffffff 0%, #ffe0b2 25%, #ff9800 60%, #ff5722 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 10px rgba(255, 117, 24, 0.45));
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

.profile-theme-halloween .profile-bio {
  background: rgba(34, 15, 52, 0.75) !important;
  border-left-color: #ff7518 !important;
  color: #eeddf8 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.profile-theme-halloween .profile-bio::before {
  background-color: #ff7518 !important;
  opacity: 0.85;
}

.profile-theme-halloween .level-rank {
  color: #c4b0d8 !important;
}

.profile-theme-halloween .xp-bar-wrapper {
  background: rgba(15, 7, 23, 0.9) !important;
  border: 1px solid rgba(255, 117, 24, 0.45) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 12px rgba(255, 117, 24, 0.2) !important;
}

.profile-theme-halloween .xp-bar-fill {
  background: linear-gradient(90deg, #b71c1c 0%, #e65100 40%, #ff7518 75%, #ffb74d 100%) !important;
  box-shadow: 0 0 18px rgba(255, 117, 24, 0.75) !important;
}

.profile-theme-halloween .xp-bar-label {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.9) !important;
}

.profile-theme-halloween .profile-actions .btn-secondary {
  background: linear-gradient(135deg, #ff9100 0%, #ff7518 50%, #e65100 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 15px rgba(255, 117, 24, 0.5) !important;
  text-shadow: none !important;
}

.profile-theme-halloween .profile-actions .btn-secondary:hover {
  background: linear-gradient(135deg, #ffa726 0%, #ff8800 50%, #f57c00 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 117, 24, 0.7) !important;
}

.profile-theme-halloween .profile-actions .btn-outline {
  background: rgba(34, 15, 52, 0.8) !important;
  color: #ffe0b2 !important;
  border: 1px solid rgba(255, 117, 24, 0.35) !important;
  backdrop-filter: blur(8px);
}

.profile-theme-halloween .profile-actions .btn-outline:hover {
  background: rgba(255, 117, 24, 0.2) !important;
  color: #ffffff !important;
  border-color: #ff7518 !important;
  box-shadow: 0 0 15px rgba(255, 117, 24, 0.35) !important;
  transform: translateY(-2px);
}

.profile-theme-halloween .btn-follow {
  background: linear-gradient(135deg, #ff9100, #ff7518) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 117, 24, 0.4) !important;
}

.profile-theme-halloween .profile-follow-stats {
  color: #c4b0d8 !important;
}

.profile-theme-halloween .profile-follow-stats strong {
  color: #ffffff !important;
  font-weight: 800;
}

.profile-theme-halloween .profile-chip {
  background: rgba(34, 15, 52, 0.8) !important;
  border-color: rgba(255, 117, 24, 0.3) !important;
  color: #ede2f8 !important;
}

.profile-theme-halloween .profile-chip:hover {
  background: rgba(255, 117, 24, 0.2) !important;
  border-color: #ff7518 !important;
}

.profile-theme-halloween .profile-chip strong {
  color: #ffffff !important;
}

.profile-theme-halloween .profile-chip svg {
  color: #ff7518 !important;
}

.profile-theme-halloween .profile-follow-stats .btn-stat-link {
  color: #ede2f8 !important;
}

.profile-theme-halloween .profile-follow-stats .btn-stat-link:hover {
  color: #ffffff !important;
  background: rgba(255, 117, 24, 0.2) !important;
}

.profile-theme-halloween .section-title {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(255, 117, 24, 0.4) !important;
  position: relative !important;
  border-bottom: none !important;
  padding-bottom: 1.15rem !important;
  margin-bottom: 1.5rem !important;
}

.profile-theme-halloween .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background-image: url('../../images/themes/halloween/pumpkin_vine.svg?v=2');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 150px 24px;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 6px rgba(90, 158, 47, 0.4));
}

.profile-theme-halloween .stat-card,
.profile-theme-halloween .badge-card,
.profile-theme-halloween .activity-item,
.profile-theme-halloween .profile-card {
  background: linear-gradient(145deg, #1e0d2e 0%, #13071f 100%) !important;
  border: 1px solid rgba(255, 117, 24, 0.25) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
  color: #eeddf8 !important;
}

.profile-theme-halloween .stat-card:hover,
.profile-theme-halloween .badge-card:hover {
  border-color: rgba(255, 117, 24, 0.65) !important;
  box-shadow: 0 10px 28px rgba(255, 117, 24, 0.3) !important;
  transform: translateY(-3px);
}

.profile-theme-halloween .stat-value {
  background: linear-gradient(135deg, #ffffff 0%, #ffb74d 50%, #ff7518 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.profile-theme-halloween .stat-label,
.profile-theme-halloween .badge-desc,
.profile-theme-halloween .badge-date,
.profile-theme-halloween .activity-time {
  color: #c4b0d8 !important;
}

.profile-theme-halloween .badge-name {
  color: #ffffff !important;
  font-weight: 700;
}

.profile-theme-halloween .badge-filter-btn {
  background: rgba(27, 12, 42, 0.9) !important;
  color: #d1c0e3 !important;
  border: 1px solid rgba(255, 117, 24, 0.25) !important;
}

.profile-theme-halloween .badge-filter-btn.active {
  background: linear-gradient(135deg, #ff9100, #ff7518) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-color: #ffb74d !important;
  box-shadow: 0 2px 12px rgba(255, 117, 24, 0.4) !important;
}

.profile-theme-halloween .activity-item a {
  color: #ff9800 !important;
  font-weight: 600;
}

body.community-body.profile-theme-halloween {
  background-color: #0d0614 !important;
  background-image: radial-gradient(circle at 15% 0%, rgba(255, 117, 24, 0.16) 0%, transparent 45%),
                    radial-gradient(circle at 85% 40%, rgba(156, 39, 176, 0.14) 0%, transparent 40%),
                    linear-gradient(180deg, #160a22 0%, #0d0614 100%) !important;
  color: #f8f4ff !important;
}

body.community-body.profile-theme-halloween .community-nav {
  background: rgba(19, 8, 31, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 117, 24, 0.3) !important;
}

body.community-body.profile-theme-halloween .community-nav .nav-logo {
  color: #ffb74d !important;
}

body.community-body.profile-theme-halloween .community-nav .nav-links a {
  color: #c9b9dc !important;
}

body.community-body.profile-theme-halloween .community-nav .nav-links a:hover,
body.community-body.profile-theme-halloween .community-nav .nav-links a.active {
  color: #ff7518 !important;
}

body.community-body.profile-theme-halloween .nav-user-btn,
body.community-body.profile-theme-halloween .nav-toggle {
  background: rgba(34, 15, 52, 0.9) !important;
  border: 1px solid rgba(255, 117, 24, 0.35) !important;
  color: #ff7518 !important;
}

body.community-body.profile-theme-halloween .community-footer {
  background: rgba(19, 8, 31, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  border-top: 1px solid rgba(255, 117, 24, 0.3) !important;
  color: #9d8db3 !important;
}

body.community-body.profile-theme-halloween .community-footer a {
  color: #c9b9dc !important;
}

body.community-body.profile-theme-halloween .community-footer a:hover {
  color: #ff7518 !important;
}

.profile-theme-halloween .activity-phrase {
  color: #eeddf8 !important;
}

.profile-theme-halloween .activity-target-name,
.profile-theme-halloween .activity-name {
  color: #ffe0b2 !important;
}

.profile-theme-halloween .activity-artist,
.profile-theme-halloween .activity-target {
  color: #c4b0d8 !important;
}

.profile-theme-halloween .activity-link,
.profile-theme-halloween .activity-target a {
  color: #ff9800 !important;
  text-decoration-color: rgba(255, 117, 24, 0.5) !important;
}

.profile-theme-halloween .activity-link:hover,
.profile-theme-halloween .activity-target a:hover {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}

.profile-theme-halloween .activity-icon {
  background: rgba(255, 117, 24, 0.15) !important;
  border: 1px solid rgba(255, 117, 24, 0.35) !important;
}

.profile-theme-halloween .privacy-empty-state,
.profile-theme-halloween .empty-state,
.profile-theme-halloween .empty-state-small {
  background: linear-gradient(145deg, #1e0d2e 0%, #13071f 100%) !important;
  border: 1px dashed rgba(255, 117, 24, 0.4) !important;
  color: #eeddf8 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
}

.profile-theme-halloween .privacy-lock-icon {
  color: #ff7518 !important;
  filter: drop-shadow(0 0 10px rgba(255, 117, 24, 0.5));
}

.profile-theme-halloween .empty-unlocked-msg {
  color: #c4b0d8 !important;
}

@keyframes halloweenBatFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(-4deg);
  }
}

@keyframes halloweenPumpkinGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(255, 117, 24, 0.6)) brightness(1);
    transform: scale(1);
  }
  100% {
    filter: drop-shadow(0 0 22px rgba(255, 117, 24, 0.95)) drop-shadow(0 0 32px rgba(255, 87, 34, 0.5)) brightness(1.08);
    transform: scale(1.03);
  }
}

@media (max-width: 768px) {
  .profile-theme-halloween .profile-header::before {
    top: -20px;
    right: 12px;
    width: 58px;
    height: 58px;
  }
  .profile-theme-halloween .profile-header::after {
    bottom: -12px;
    right: -4px;
    width: 62px;
    height: 62px;
  }
}

