/* === ZYO BIOLINK - ESTILO MODERNO & OTIMIZADO === */
:root {
  --neon-color: rgba(168, 85, 247, 0.85);
  --neon-glow: 0 0 25px rgba(168, 85, 247, 0.55);
  --card-bg: rgba(13, 17, 23, 0.65);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-blur: 16px;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-color: #a855f7;
  --accent-gradient: linear-gradient(135deg, #a855f7, #6366f1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Sora', sans-serif;
  user-select: none;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background-color: #090b0e;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background Media & Overlays */
#bgContainer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

#bgImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: filter 0.5s ease;
}

#bgOverlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(9, 11, 14, 0.4) 0%, rgba(9, 11, 14, 0.85) 100%);
  backdrop-filter: blur(2px);
}

/* Canvas de Partículas */
#particlesCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Tela de Entrada "Clique Aqui" */
#entranceScreen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(24px);
  cursor: pointer;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

#entranceScreen.hidden-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entrance-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: pulseEntrance 2s infinite ease-in-out;
}

.entrance-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 30%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

.entrance-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.soundwave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.soundwave span {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-color);
  border-radius: 4px;
  animation: waveAnim 1.2s infinite ease-in-out;
}

.soundwave span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.soundwave span:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.soundwave span:nth-child(3) { height: 22px; animation-delay: 0.3s; }
.soundwave span:nth-child(4) { height: 12px; animation-delay: 0.4s; }
.soundwave span:nth-child(5) { height: 8px; animation-delay: 0.2s; }

@keyframes waveAnim {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

@keyframes pulseEntrance {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Top nav styles moved to dedicated section */

/* Nav Actions (Audio Control + Editar Perfil) */
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-audio-box {
  display: flex;
  align-items: center;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 4px 6px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.header-audio-box:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.btn-mute-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-mute-toggle:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.btn-mute-toggle.muted {
  color: #f85149;
}

.header-volume-slider-wrap {
  width: 0;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, opacity 0.25s ease;
  opacity: 0;
  display: flex;
  align-items: center;
  padding-right: 0;
}

.header-audio-box:hover .header-volume-slider-wrap,
.header-audio-box:focus-within .header-volume-slider-wrap {
  width: 85px;
  padding-right: 8px;
  opacity: 1;
}

.header-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #374151;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.header-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-color);
}

.config-btn-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid var(--card-border);
  color: #e5e7eb;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.config-btn-badge:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(99, 102, 241, 0.2));
  border-color: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

/* 3D Perspective Card Container */
.card-wrapper {
  perspective: 1200px;
  z-index: 10;
  margin: 80px 16px 40px;
  width: calc(100% - 32px);
  max-width: 440px;
  min-width: 0;
  flex-shrink: 0;
}

.profile-card {
  --card-padding: 24px;
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(var(--card-blur));
  -webkit-backdrop-filter: blur(var(--card-blur));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 0 var(--card-padding) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--neon-glow);
  overflow: hidden;
}

/* Banner de Topo do Card de Perfil */
.card-banner-container {
  width: calc(100% + var(--card-padding) + var(--card-padding));
  margin-left: calc(0px - var(--card-padding));
  margin-right: calc(0px - var(--card-padding));
  height: 140px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-bottom: -50px;
  transform: translateZ(20px);
}

.card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 17, 23, 0.8) 100%);
}

/* Card Glare & Inner Shimmer */
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Avatar Section */
.avatar-container {
  position: relative;
  width: 105px;
  height: 105px;
  margin-bottom: 16px;
  transform: translateZ(45px);
  z-index: 5;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px var(--neon-color);
  transition: transform 0.3s ease;
}

.profile-card:hover .avatar-img {
  transform: scale(1.04);
}

.avatar-badge {
  position: absolute !important;
  bottom: 1px !important;
  right: 0px !important;
  width: 26px !important;
  height: 26px !important;
  background: transparent !important;
  border-radius: 50% !important;
  padding: 0 !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.85)) !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  cursor: pointer !important;
  z-index: 10 !important;
}

.avatar-badge:hover {
  transform: scale(1.15) !important;
}

/* Username & Badges */
.name-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  transform: translateZ(40px);
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  text-align: center;
}

.username {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 0 15px var(--neon-color);
  transition: all 0.3s ease;
  min-width: 0;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}

.glow-effect {
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 8px var(--neon-color), 0 0 20px var(--neon-color); }
  100% { text-shadow: 0 0 16px var(--neon-color), 0 0 35px var(--neon-color); }
}

/* ========================================================
   SISTEMA DE CARGOS DO PERFIL (ADMIN, PREMIUM, VERIFICADO, BETA, MEMBRO)
   ======================================================== */
.profile-roles-badges {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px 0;
  transform: translateZ(30px);
  z-index: 5;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: default;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.role-badge i {
  font-size: 0.85rem;
  line-height: 1;
}

.role-badge:hover {
  transform: translateY(-2px) scale(1.04);
}

.role-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.role-badge:hover::before {
  left: 140%;
  transition: left 0.6s ease;
}

/* 0. OWNER (Platina translúcida com brilho cristalino e efeito vítreo) */
.role-badge-owner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(226, 232, 240, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.2);
  animation: ownerPulse 2.8s infinite alternate;
}

.role-badge-owner i {
  color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95));
}

@keyframes ownerPulse {
  0% {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.25), inset 0 0 6px rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
  }
  100% {
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.65), inset 0 0 10px rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.95);
  }
}

/* 1. ADMIN */
.role-badge-admin {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(153, 27, 27, 0.3));
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4), inset 0 0 8px rgba(239, 68, 68, 0.2);
  animation: adminPulse 2.8s infinite alternate;
}

.role-badge-admin i {
  color: #ef4444;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.8));
}

@keyframes adminPulse {
  0% {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.35), inset 0 0 6px rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
  }
  100% {
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.65), inset 0 0 10px rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.9);
  }
}

/* 2. PREMIUM */
.role-badge-premium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(180, 83, 9, 0.32));
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fde68a;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4), inset 0 0 8px rgba(245, 158, 11, 0.2);
  animation: premiumGlow 3s infinite alternate;
}

.role-badge-premium i {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8));
}

@keyframes premiumGlow {
  0% {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3), inset 0 0 6px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
  }
  100% {
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.65), inset 0 0 10px rgba(245, 158, 11, 0.35);
    border-color: rgba(251, 191, 36, 0.9);
  }
}

/* 3. VERIFICADO */
.role-badge-verificado {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(2, 132, 199, 0.28));
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #bae6fd;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35), inset 0 0 8px rgba(56, 189, 248, 0.18);
}

.role-badge-verificado i {
  color: #38bdf8;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));
}

/* 4. BETA */
.role-badge-beta {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(126, 34, 206, 0.3));
  border: 1px solid rgba(168, 85, 247, 0.55);
  color: #e9d5ff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35), inset 0 0 8px rgba(168, 85, 247, 0.18);
}

.role-badge-beta i {
  color: #c084fc;
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.8));
}

/* 4.5 PARCEIRO (Verde Esmeralda Neon com Estrela Brilhante) */
.role-badge-parceiro {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #a7f3d0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35), inset 0 0 8px rgba(16, 185, 129, 0.18);
  letter-spacing: 0.6px;
}

.role-badge-parceiro i {
  color: #34d399;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.85));
}

.role-badge-parceiro:hover {
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.6), inset 0 0 10px rgba(52, 211, 153, 0.3);
  border-color: rgba(52, 211, 153, 0.85);
  color: #ffffff;
}

/* 5. BUG HUNTER */
.role-badge-bughunter,
.role-badge-bug_hunter {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.3));
  border: 1px solid rgba(249, 115, 22, 0.55);
  color: #ffedd5;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.35), inset 0 0 8px rgba(249, 115, 22, 0.18);
}

.role-badge-bughunter i,
.role-badge-bug_hunter i {
  color: #fb923c;
  filter: drop-shadow(0 0 6px rgba(251, 146, 60, 0.8));
}

/* 6. MEMBRO */
.role-badge-membro {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(71, 85, 105, 0.22));
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
  box-shadow: 0 0 8px rgba(148, 163, 184, 0.2), inset 0 0 6px rgba(148, 163, 184, 0.1);
}

.role-badge-membro i {
  color: #94a3b8;
}

.status-badge {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 12px;
  color: #d1d5db;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  transform: translateZ(30px);
  max-width: 100%;
  min-width: 0;
}

#statusBadgeText {
  min-width: 0;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}

.bio-text {
  font-size: 0.92rem;
  color: #e5e7eb;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 90%;
  transform: translateZ(25px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Social Icons Row */
.socials-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  transform: translateZ(30px);
  flex-wrap: wrap;
  max-width: 100%;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 1.35rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
}

.social-icon-btn:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px var(--neon-color);
}

/* Custom Action Links List */
.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transform: translateZ(30px);
}

.custom-link-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 14px 18px;
  background: rgba(22, 27, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: #f3f4f6;
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.custom-link-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.custom-link-btn:hover::before {
  transform: translateX(100%);
}

.custom-link-btn:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--accent-color);
  background: rgba(30, 36, 46, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(168, 85, 247, 0.35);
}

.link-content-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.link-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.custom-link-btn:hover .link-icon-box {
  transform: scale(1.1) rotate(4deg);
  background: var(--accent-gradient);
  color: #fff;
}

.link-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  min-width: 0;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}

.link-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.custom-link-btn:hover .link-arrow {
  transform: translateX(4px);
  color: #fff;
}

/* Card Footer Stats */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateZ(20px);
}

.views-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.views-count:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.4);
  color: #f8fafc;
  transform: translateY(-1px);
}

.views-count i {
  font-size: 1.05rem;
  color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .profile-card {
    --card-padding: 18px;
    padding: 0 var(--card-padding) 24px;
    border-radius: 20px;
  }
  .username {
    font-size: 1.4rem;
  }
}

/* Top Nav Layout & New Buttons */
.top-nav {
  position: fixed !important;
  top: 20px !important;
  left: 20px !important;
  right: 20px !important;
  width: calc(100vw - 40px) !important;
  max-width: 100vw !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  z-index: 9999 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}

.top-nav > * {
  pointer-events: auto !important;
}

.top-nav-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Selo Criado Por low.se */
.created-by-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(14, 18, 24, 0.88) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  padding: 7px 15px 7px 10px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  cursor: default !important;
}

.created-by-badge:hover {
  transform: translateY(-2px) !important;
  border-color: #a855f7 !important;
  background: rgba(22, 27, 36, 0.96) !important;
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.35) !important;
}

.created-by-logo {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5)) !important;
}

.created-by-text {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #e5e7eb !important;
  font-family: 'Sora', sans-serif !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.created-by-highlight {
  font-weight: 800 !important;
  color: #c084fc !important;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.5) !important;
}

/* Botão Ranking no Top Nav */
.btn-ranking-nav {
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(245, 158, 11, 0.14) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fde68a !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s ease !important;
  font-family: 'Sora', sans-serif !important;
  user-select: none !important;
  white-space: nowrap !important;
}

.btn-ranking-nav:hover {
  background: rgba(245, 158, 11, 0.25) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3) !important;
}

.btn-ranking-nav i {
  color: #fbbf24 !important;
  font-size: 1.05rem !important;
}

/* Botão Criar Conta no Top Nav */
.btn-create-account-nav {
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35) !important;
  transition: all 0.25s ease !important;
  font-family: 'Sora', sans-serif !important;
  user-select: none !important;
  white-space: nowrap !important;
}

.btn-create-account-nav:hover {
  background: linear-gradient(135deg, #9333ea, #6d28d9) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.55) !important;
  color: #ffffff !important;
}

.btn-create-account-nav i {
  font-size: 1.05rem !important;
}

@media (max-width: 600px) {
  .top-nav {
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100vw - 24px) !important;
  }
  .created-by-badge {
    padding: 5px 10px 5px 6px !important;
  }
  .created-by-text {
    font-size: 0.72rem !important;
  }
  .btn-ranking-nav {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
  .btn-create-account-nav {
    cursor: pointer !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }
  .top-nav-right {
    gap: 6px !important;
    flex-shrink: 0;
  }
  .created-by-badge {
    min-width: 0;
    flex-shrink: 1;
  }
  .created-by-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-volume-slider-wrap {
    display: none;
  }
  .entrance-content {
    width: calc(100% - 32px);
  }
  .entrance-subtitle {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Evita deslocamentos e falhas de composição 3D ao tocar e rolar o perfil. */
@media (hover: none), (pointer: coarse) {
  :root:not(.mouse-tilt-active) .card-wrapper {
    perspective: none;
  }
  :root:not(.mouse-tilt-active) .profile-card {
    transform: none !important;
    transform-style: flat;
  }
  :root:not(.mouse-tilt-active) .profile-card > * {
    transform: none;
  }
  :root:not(.mouse-tilt-active) .custom-link-btn:hover,
  :root:not(.mouse-tilt-active) .custom-link-btn:hover .link-icon-box,
  :root:not(.mouse-tilt-active) .custom-link-btn:hover .link-arrow,
  :root:not(.mouse-tilt-active) .social-icon-btn:hover,
  :root:not(.mouse-tilt-active) .profile-card:hover .avatar-img {
    transform: none;
  }
}
