/* ===================================================
   Definição da Tipografia Local Roboto (Roboto.zip)
   =================================================== */

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations'),
         url('fonts/static/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations'),
         url('fonts/static/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations'),
         url('fonts/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ===================================================
   Reset e Configuração Global
   =================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ===================================================
   Títulos: Tipografia Moderna em Negrito e Sem Adornos
   =================================================== */

h1, h2, h3, h4, h5, h6, .about-title, .logo {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #FFFFFF;
}

/* ===================================================
   Barra de Navegação Superior (Fixa com Efeito ao Rolar)
   =================================================== */

:root {
    --navbar-height: 72px;
}

body:has(.navbar),
body.has-fixed-navbar {
    padding-top: var(--navbar-height);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background-color: #09090b; /* Fundo preto-escuro carvão */
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                -webkit-backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efeito translúcido sutil e suave ao rolar a página */
.navbar.scrolled {
    background-color: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* 1. Logo à Esquerda */
.navbar .logo {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.navbar-logo-img {
    height: 40px;
    width: auto;
    max-height: 44px;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* 2. Categorias Centralizadas no Meio da Barra */
.navbar .nav-center-menu {
    flex: 0 0 auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-dropdown {
    position: relative;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0;
    padding: 0;
}

.nav-category-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #a1a1aa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-category-btn span {
    display: inline-block;
    white-space: nowrap !important;
}

.nav-chevron {
    display: inline-block !important;
    flex-shrink: 0 !important;
    width: 11px !important;
    height: 11px !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: currentColor;
}

.nav-category-btn:hover,
.nav-dropdown.is-open .nav-category-btn {
    color: #FFFFFF;
}

.nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
}

/* Painel Suspenso das Categorias (Flutuante, NUNCA empurra conteúdo) */
.nav-dropdown-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-6px) !important;
    min-width: 180px;
    background-color: #111114 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 6px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.18s !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    box-sizing: border-box !important;
}

.nav-dropdown.is-open .nav-dropdown-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.nav-dropdown-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    color: #d4d4d8 !important;
    text-decoration: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.83rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    gap: 8px !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.nav-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #e5c34b !important;
}

.nav-dropdown-empty-panel {
    padding: 12px 18px !important;
    min-width: 130px !important;
    text-align: center !important;
}

.nav-empty-label {
    display: block !important;
    color: #71717a !important;
    font-size: 0.82rem !important;
    font-style: italic !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
}

/* 3. Slot da Direita e Menu do Usuário */
.navbar .nav-right-slot {
    flex: 1 1 0;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0;
}

.nav-user-dropdown {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.nav-user-avatar-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    line-height: 1 !important;
}

.user-nav-avatar-img,
.nav-user-avatar-img {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.nav-user-avatar-btn:hover .user-nav-avatar-img,
.nav-user-avatar-btn:hover .nav-user-avatar-img,
.nav-user-dropdown.is-open .user-nav-avatar-img,
.nav-user-dropdown.is-open .nav-user-avatar-img {
    border-color: #e5c34b !important;
    transform: scale(1.05) !important;
}

.user-nav-avatar-placeholder {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    background: #18181b !important;
    color: #e5c34b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border: 1.5px solid rgba(229, 195, 75, 0.4) !important;
}

/* Painel do Usuário (Alinhado à direita com right: 0) */
.nav-user-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: auto !important;
    right: 0 !important;
    transform: translateY(-6px) !important;
    min-width: 190px !important;
    background-color: #111114 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 6px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.18s !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    box-sizing: border-box !important;
}

.nav-user-dropdown.is-open .nav-user-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.nav-user-brief {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 12px 6px !important;
    white-space: nowrap !important;
}

.nav-user-name,
.nav-user-brief-nick {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 130px !important;
}

.nav-dropdown-separator {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    margin: 4px 6px !important;
}

.nav-logout-action,
.nav-logout-item {
    color: #f87171 !important;
}

.nav-logout-action:hover,
.nav-logout-item:hover {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
}

.nav-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 16px !important;
    border-radius: 6px !important;
    font-size: 0.83rem !important;
    font-weight: 500 !important;
    color: #f4f4f5 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
    letter-spacing: 0.02em !important;
}

.nav-login-btn:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
}

.menu-toggle {
    display: none !important;
}

/* ===================================================
   Trilha de Navegação (Breadcrumbs - Minimalista e Discreta)
   =================================================== */

.breadcrumb-wrapper {
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 14px 0 0;
    margin: 0;
    box-sizing: border-box;
}

.breadcrumb-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.profile-page-body .breadcrumb-container {
    max-width: 960px;
    padding: 0 20px;
}

.phoenix-breadcrumbs {
    display: flex;
    align-items: center;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #a1a1aa;
    font-weight: 400;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    color: #a1a1aa;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-link:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: #71717a;
    user-select: none;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0 2px;
}

.breadcrumb-current {
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    font-weight: 400;
}

.breadcrumb-wrapper + .main-content {
    padding-top: 24px !important;
}

.breadcrumb-wrapper + .profile-main-layout {
    padding-top: 14px !important;
}

/* ===================================================
   Layout Principal: Texto Comprido e Organizado
   =================================================== */

.main-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 48px;
}

.about-section {
    width: 100%;
}

/* Título em destaque moderno e limpo */
.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 32px;
}

/* Parágrafos compridos com leitura fluida e elegante */
.about-content p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85;
    letter-spacing: 0.015em;
    color: #d1d5db;
    margin-bottom: 24px;
    text-align: left;
    text-wrap: pretty;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ===================================================
   Botão Voltar (Página Sobre)
   =================================================== */

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.back-link:hover {
    color: #ffffff;
    background: #18181b;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

/* ===================================================
   Botão Saiba mais (From Uiverse.io by cssbuttons-io)
   =================================================== */

.about-action {
    margin-top: 18px;
}

.learn-more {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    width: 10.5rem;
    height: auto;
}

.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 2.35rem;
    height: 2.35rem;
    background: #18181b;
    border-radius: 1.25rem;
}

.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.5rem;
    width: 0.9rem;
    height: 0.125rem;
    background: none;
}

.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.24rem;
    right: 0.05rem;
    width: 0.48rem;
    height: 0.48rem;
    border-top: 0.115rem solid #fff;
    border-right: 0.115rem solid #fff;
    transform: rotate(45deg);
}

.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.52rem 0;
    margin: 0 0 0 1.5rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.learn-more:hover .circle {
    width: 100%;
}

.learn-more:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(0.75rem, 0);
}

.learn-more:hover .button-text {
    color: #fff;
}

/* ===================================================
   Capa Principal (Welcome Banner) de Ponta a Ponta
   =================================================== */

.banner-hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #050507;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.banner-hero-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

.banner-hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}


/* ===================================================
   Seção de Acolhimento: Canto Phoenix ("Seja um de nós")
   =================================================== */

.community-invite-section {
    width: 100%;
    background: transparent;
    padding: clamp(44px, 5.5vw, 64px) 0 clamp(24px, 3.5vw, 36px);
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    position: relative;
}

.community-invite-container {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.community-invite-text {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.02rem, 1.75vw, 1.22rem);
    font-weight: 300;
    line-height: 1.88;
    color: #a1a1aa;
    margin: 0 0 20px 0;
    letter-spacing: 0.012em;
    text-align: center;
}

.community-invite-text:last-of-type {
    margin-bottom: 32px;
}

.canto-phoenix-highlight {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: inline;
}

.community-invite-action {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===================================================
   Botão "SEJA UM DE NÓS" (Modelo Uiverse.io by WhiteNervosa)
   Com expansão da linha do centro para as pontas
   e preservando a cor atual da Rádio Phoenix (#e5c34b)
   =================================================== */

.button-phoenix {
  font-size: 15px;
  color: #e5c34b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 1.8px;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
}

.button-phoenix:focus,
.button-phoenix:hover {
  color: #ffffff;
}

.button-phoenix:focus::after,
.button-phoenix:hover::after {
  width: 100%;
  left: 0%;
}

.button-phoenix::after {
  content: "";
  pointer-events: none;
  bottom: -4px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #e5c34b;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}

.button-phoenix:focus-visible {
  outline: 2px solid #e5c34b;
  outline-offset: 6px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .button-phoenix,
  .button-phoenix::after {
    transition: none;
  }
}

/* ===================================================
   Seção: Explore o nosso site
   =================================================== */

.explore-site-section {
    width: 100%;
    background-color: transparent;
    padding: clamp(48px, 5.5vw, 68px) 24px clamp(20px, 3vw, 32px);
    margin-top: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.explore-site-container {
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
}

.explore-site-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3.6vw, 2.35rem);
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.015em;
    margin: 0 0 10px 0;
}

.explore-site-domain {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 32px 0;
    text-align: center;
}

.typewriter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    font-weight: 400;
    color: #e5c34b;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.typewriter-link:hover {
    color: #f3d463;
    text-shadow: 0 0 16px rgba(229, 195, 75, 0.35);
}

.typewriter-text {
    color: #e5c34b;
    font-weight: 400;
}

.typewriter-cursor {
    display: inline-block;
    color: #e5c34b;
    font-weight: 300;
    margin-left: 2px;
    animation: typewriterBlink 0.85s infinite;
}

@keyframes typewriterBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.explore-site-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.explore-site-content p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.96rem, 1.5vw, 1.05rem);
    font-weight: 300;
    line-height: 1.85;
    color: #d4d4d8;
    margin: 0;
    text-align: left;
}

.explore-site-action {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .explore-site-section {
        padding: 36px 18px 20px;
        margin-top: 6px;
    }

    .explore-site-title {
        font-size: 1.65rem;
        margin-bottom: 8px;
    }

    .explore-site-domain {
        margin-bottom: 24px;
    }

    .typewriter-link {
        font-size: 0.95rem;
    }

    .explore-site-content {
        gap: 16px;
    }

    .explore-site-content p {
        font-size: 0.95rem;
        line-height: 1.78;
    }

    .explore-site-action {
        margin-top: 20px;
    }
}

/* ===================================================
   Elemento Wavy Background (Aceternity UI)
   =================================================== */

.wavy-section {
    position: relative;
    width: 100%;
    min-height: clamp(380px, 45vw, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 24px;
    margin-bottom: 0;
    padding: clamp(60px, 8vw, 100px) 24px clamp(80px, 10vw, 140px);
    background-color: #000000;
}

.wavy-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wavy-content {
    position: relative;
    z-index: 2;
    max-width: 960px; /* max-w-4xl */
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.wavy-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5.2vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.wavy-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    margin-top: 18px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .wavy-section {
        min-height: 340px;
        margin-top: 16px;
        margin-bottom: 0;
        padding: 50px 18px 70px;
    }
}

/* ===================================================
   Coluna Horizontal: Membros da Equipe da Rádio Phoenix
   =================================================== */

.team-showcase-section {
    width: 100%;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-showcase-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.team-showcase-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.team-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.team-avatar-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #121214;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.team-member-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: 100%;
    padding: 0 4px;
}

.team-member-nick {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.84rem;
    font-weight: 400;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.team-member-nick.placeholder-nick {
    color: #52525b;
    letter-spacing: 0.08em;
}

.team-badge {
    flex-shrink: 0;
    vertical-align: middle;
}

/* Link Ver equipe no canto inferior */
.team-showcase-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.team-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.team-showcase-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.team-showcase-link .team-link-arrow {
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.team-showcase-link:hover .team-link-arrow {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .team-showcase-section {
        margin-top: 36px;
        padding-top: 24px;
    }

    .team-showcase-row {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .team-showcase-row::-webkit-scrollbar {
        display: none;
    }

    .team-showcase-item {
        flex: 0 0 74px;
    }

    .team-avatar-wrapper {
        width: 58px;
        height: 58px;
        margin-bottom: 8px;
    }

    .team-member-nick {
        font-size: 0.76rem;
    }

    .team-showcase-footer {
        margin-top: 16px;
    }
}

/* ===================================================
   Seção: Referência em Audiência (Página Inicial)
   =================================================== */

.audience-section {
    width: 100%;
    margin-top: 100px;
    padding-top: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.audience-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    gap: 72px;
}

/* Coluna Esquerda: Imagem com Flutuação Contínua e Suave */
.audience-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes audienceFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.audience-image {
    width: 100%;
    max-width: 370px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.7));
    animation: audienceFloat 6s ease-in-out infinite;
    will-change: transform;
}

/* Acessibilidade: Respeito à preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .audience-image {
        animation: none !important;
    }
}

/* Coluna Direita: Conteúdo Textual */
.audience-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.audience-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.audience-paragraph {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85;
    letter-spacing: 0.015em;
    color: #d1d5db;
    margin-bottom: 20px;
    text-align: left;
    text-wrap: pretty;
}

.audience-paragraph:last-child {
    margin-bottom: 0;
}

/* ===================================================
   Responsividade para Dispositivos Móveis
   =================================================== */

@media (max-width: 768px) {
    :root {
        --navbar-height: 60px;
    }

    body:has(.navbar),
    body.has-fixed-navbar {
        padding-top: var(--navbar-height);
    }

    .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 16px !important;
        height: var(--navbar-height) !important;
        min-height: var(--navbar-height) !important;
        flex-wrap: nowrap !important;
    }

    .navbar .logo {
        flex: 0 0 auto !important;
    }

    .navbar-logo-img {
        height: 32px !important;
        max-height: 34px !important;
    }

    .navbar .nav-center-menu {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .nav-dropdown {
        flex: 0 0 auto !important;
    }

    .nav-category-btn {
        padding: 6px 8px !important;
        font-size: 0.82rem !important;
        gap: 4px !important;
    }

    .nav-chevron {
        width: 10px !important;
        height: 10px !important;
    }

    .navbar .nav-right-slot {
        flex: 0 0 auto !important;
    }

    .user-nav-avatar-img,
    .nav-user-avatar-img,
    .user-nav-avatar-placeholder {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }

    .nav-login-btn {
        padding: 5px 10px !important;
        font-size: 0.78rem !important;
    }

    /* Menus suspensos em mobile/tablet: flutuam sob a barra sem empurrar a página */
    .nav-dropdown-panel {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-6px) !important;
        min-width: 165px !important;
        background-color: #111114 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        padding: 6px !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
        z-index: 10000 !important;
        margin: 0 !important;
    }

    .nav-dropdown.is-open .nav-dropdown-panel {
        transform: translateX(-50%) translateY(0) !important;
    }

    .nav-user-panel {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: auto !important;
        right: 0 !important;
        transform: translateY(-6px) !important;
        min-width: 175px !important;
        z-index: 10000 !important;
        margin: 0 !important;
    }

    .nav-user-dropdown.is-open .nav-user-panel {
        transform: translateY(0) !important;
    }

    .menu-toggle {
        display: none !important;
    }

    /* Breadcrumbs Mobile */
    .breadcrumb-wrapper {
        padding: 10px 0 0;
    }

    .breadcrumb-container {
        padding: 0 20px;
    }

    .profile-page-body .breadcrumb-container {
        padding: 0 12px;
    }

    .breadcrumb-list {
        font-size: 0.74rem;
        gap: 5px;
    }

    .breadcrumb-wrapper + .main-content {
        padding-top: 16px !important;
    }

    .breadcrumb-wrapper + .profile-main-layout {
        padding-top: 10px !important;
    }

    .main-content {
        padding: 40px 20px;
    }

    .about-title {
        font-size: 1.85rem;
        margin-bottom: 24px;
    }

    .about-content p {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    /* Seção de Audiência Mobile */
    .audience-section {
        margin-top: 60px;
        padding-top: 44px;
    }

    .audience-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .audience-visual {
        order: 1;
    }

    .audience-content {
        order: 2;
    }

    .audience-image {
        max-width: 270px;
    }

    .audience-title {
        font-size: 1.75rem;
        margin-bottom: 18px;
    }

    .audience-paragraph {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

@media (max-width: 400px) {
    .navbar {
        padding: 0 10px !important;
    }

    .navbar-logo-img {
        height: 26px !important;
        max-height: 28px !important;
    }

    .navbar .nav-center-menu {
        gap: 6px !important;
    }

    .nav-category-btn {
        padding: 4px 6px !important;
        font-size: 0.75rem !important;
        gap: 3px !important;
    }

    .nav-login-btn {
        padding: 4px 8px !important;
        font-size: 0.72rem !important;
    }
}


/* ===================================================
   Formulários e Autenticação Supabase
   Modelo de Input: Uiverse.io by liyaxu123
   =================================================== */

.auth-container {
    width: 100%;
    max-width: 440px;
    margin: 40px auto 60px;
    padding: 40px 36px;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.tab-btn {
    background: none;
    border: none;
    color: #71717a;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 500;
}

.auth-form {
    display: none;
    flex-direction: column;
}

.auth-form.active {
    display: flex;
}

/* --- Foto de Perfil Circular --- */
.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.avatar-label-title {
    font-size: 0.8rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.avatar-circle-wrapper {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    background-color: #121215;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
}

.avatar-circle-wrapper:hover {
    border-color: lightblue;
    background-color: #18181c;
}

.avatar-circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.avatar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #71717a;
    transition: color 0.2s ease;
}

.avatar-circle-wrapper:hover .avatar-placeholder {
    color: lightblue;
}

.avatar-placeholder svg {
    width: 26px;
    height: 26px;
}

.avatar-placeholder span {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.avatar-actions {
    display: none;
    gap: 12px;
    margin-top: 10px;
}

.avatar-action-btn {
    background: none;
    border: none;
    color: #a1a1aa;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 3px 6px;
    transition: color 0.2s ease;
}

.avatar-action-btn:hover {
    color: lightblue;
}

.avatar-action-btn.remove:hover {
    color: #ef4444;
}

/* --- Input Animado (From Uiverse.io by liyaxu123) --- */
.form-control {
    position: relative;
    margin: 18px 0 34px;
    width: 100%;
}

.form-control input {
    background-color: transparent;
    border: 0;
    border-bottom: 2px #fff solid;
    display: block;
    width: 100%;
    padding: 14px 0 8px;
    font-size: 16px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    box-sizing: border-box;
}

.form-control input:focus,
.form-control input:valid,
.form-control input.has-value {
    outline: 0;
    border-bottom-color: lightblue;
}

.form-control label {
    position: absolute;
    top: 14px;
    left: 0;
    pointer-events: none;
    display: flex;
}

.form-control label span {
    display: inline-block;
    font-size: 16px;
    min-width: 5px;
    color: #a1a1aa;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus + label span,
.form-control input:valid + label span,
.form-control input.has-value + label span {
    color: lightblue;
    transform: translateY(-26px);
    font-size: 13px;
}

/* Links adicionais nos formulários */
.auth-extra-links {
    display: flex;
    justify-content: flex-end;
    margin-top: -18px;
    margin-bottom: 26px;
}

.auth-link {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
    cursor: pointer;
}

.auth-link:hover {
    color: lightblue;
    text-decoration: underline;
}

.auth-bottom-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.86rem;
    color: #71717a;
}

.auth-bottom-text a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.auth-bottom-text a:hover {
    color: lightblue;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 13px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background: #27272a;
    border-color: lightblue;
    color: #ffffff;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Campos de formulários convencionais (ex: Contato) */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 400;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 14px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: lightblue;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    display: none;
    margin-bottom: 8px;
}

.form-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.form-alert.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.btn-auth-link:hover {
    background: #27272a;
    border-color: rgba(255, 255, 255, 0.25);
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e4e4e7;
    font-size: 0.85rem;
}

.user-inline-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1;
}

.user-name-text {
    font-weight: 500;
    color: inherit;
    line-height: 1;
}

.user-badge-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
    transition: transform 0.15s ease;
}

.user-badge-icon:hover {
    transform: scale(1.18);
}

.user-badge-icon.size-sm {
    width: 15px;
    height: 15px;
}

.user-badge-icon.size-md {
    width: 18px;
    height: 18px;
}

.user-badge-icon.size-lg {
    width: 22px;
    height: 22px;
}

.nav-panel-link {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(0, 145, 255, 0.12);
    border: 1px solid rgba(0, 145, 255, 0.3);
    border-radius: 6px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.nav-panel-link:hover {
    background: #0091ff;
    color: #ffffff;
    border-color: #0091ff;
    box-shadow: 0 0 10px rgba(0, 145, 255, 0.35);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #27272a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: #ffffff;
    flex-shrink: 0;
}

.btn-logout {
    background: none;
    border: none;
    color: #71717a;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 2px 6px;
}

.btn-logout:hover {
    color: #ef4444;
}


/* ===================================================
   Menu Flutuante e Player de Áudio Ao Vivo
   Design fiel à imagem de referência da Rádio Phoenix
   =================================================== */

.floating-player-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Botão Circular Flutuante */
.floating-trigger-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #181b23;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
    outline: none;
}

.floating-trigger-btn:hover {
    background: #20242f;
    transform: scale(1.05);
}

/* Barras de Áudio (Equalizador) */
.audio-bars-icon {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.audio-bars-icon .bar {
    width: 2.5px;
    background-color: #ffffff;
    border-radius: 1.5px;
    transition: height 0.2s ease;
}

.audio-bars-icon .bar-1 { height: 8px; }
.audio-bars-icon .bar-2 { height: 16px; }
.audio-bars-icon .bar-3 { height: 12px; }
.audio-bars-icon .bar-4 { height: 6px; }

@keyframes eqBarAnim {
    0%, 100% { height: 5px; }
    50% { height: 17px; }
}

.floating-trigger-btn.playing .bar-1 { animation: eqBarAnim 0.75s ease-in-out infinite; }
.floating-trigger-btn.playing .bar-2 { animation: eqBarAnim 0.75s ease-in-out infinite 0.25s; }
.floating-trigger-btn.playing .bar-3 { animation: eqBarAnim 0.75s ease-in-out infinite 0.12s; }
.floating-trigger-btn.playing .bar-4 { animation: eqBarAnim 0.75s ease-in-out infinite 0.38s; }

/* Painel do Player */
.player-panel {
    position: absolute;
    bottom: 62px;
    right: 0;
    width: 310px;
    max-width: calc(100vw - 36px);
    background: rgba(18, 21, 27, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.28s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.player-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 1. Cabeçalho */
.player-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.player-title-info {
    display: flex;
    flex-direction: column;
}

.player-station {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.player-status {
    font-size: 0.82rem;
    color: #8e9bb0;
    font-weight: 400;
    margin-top: 3px;
}

.player-status.error {
    color: #ef4444;
}

.player-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
}

@keyframes pulseRedDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.15); }
}

.player-panel.is-playing .live-dot {
    animation: pulseRedDot 1.6s ease-in-out infinite;
}

/* 2. Faixa do Playback (Play/Pause Squircle + Detalhes) */
.player-playback-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.player-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #1c202a;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
    outline: none;
}

.player-play-btn:hover {
    background: #252a37;
    transform: scale(1.03);
}

.player-stream-details {
    display: flex;
    flex-direction: column;
}

.stream-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stream-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: #8e9bb0;
    margin-top: 3px;
}

/* 3. Bloco de Volume */
.volume-container {
    background: #181b23;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    outline: none;
    flex-shrink: 0;
}

.volume-btn:hover {
    opacity: 0.8;
}

.volume-slider-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.volume-slider-wrapper input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #252932;
    outline: none;
    cursor: pointer;
}

.volume-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease;
}

.volume-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.volume-slider-wrapper input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease;
}

.volume-slider-wrapper input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.volume-percent {
    font-size: 0.84rem;
    font-weight: 500;
    color: #cbd5e1;
    min-width: 38px;
    text-align: right;
}

/* 4. Botão Pedir Música */
.request-music-btn {
    background: #181b23;
    border-radius: 14px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
}

.request-music-btn:hover {
    background: #212530;
    color: #ffffff;
}

.request-music-btn svg {
    color: #ffffff;
    flex-shrink: 0;
}

/* Responsividade */
@media (max-width: 480px) {
    .floating-player-widget {
        bottom: 18px;
        right: 18px;
    }

    .player-panel {
        width: 290px;
        bottom: 58px;
        right: 0;
        padding: 18px;
        gap: 13px;
    }

    .player-station {
        font-size: 1.05rem;
    }
}

/* ===================================================
   Página: Pedir Música (Wizard em 3 Etapas)
   =================================================== */

.order-wizard-container {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

/* Stepper de Progresso */
.wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.wizard-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    cursor: default;
    flex: 1;
}

.wizard-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #14161f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: #71717a;
    transition: all 0.3s ease;
}

.wizard-step-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #71717a;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    transition: color 0.3s ease;
}

.wizard-step-item.active .wizard-step-circle {
    background: #0091ff;
    border-color: #0091ff;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 145, 255, 0.4);
}

.wizard-step-item.active .wizard-step-label {
    color: #ffffff;
}

.wizard-step-item.completed .wizard-step-circle {
    background: #181b23;
    border-color: #0091ff;
    color: #0091ff;
}

.wizard-step-item.completed .wizard-step-label {
    color: #a1a1aa;
}

.wizard-step-line {
    position: absolute;
    top: 19px;
    left: calc(16% + 10px);
    right: calc(16% + 10px);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.wizard-step-line-progress {
    height: 100%;
    width: 0%;
    background: #0091ff;
    transition: width 0.35s ease;
}

/* Painéis de Cada Etapa */
.wizard-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wizard-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Card Principal do Formulário / Wizard */
.wizard-card {
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.wizard-subtitle {
    font-size: 0.92rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Lista e Cards de Músicas (Etapa 2) */
.song-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.song-search-query-info {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.song-search-query-info strong {
    color: #ffffff;
}

.song-cards-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 24px;
}

.song-cards-container::-webkit-scrollbar {
    width: 5px;
}
.song-cards-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}
.song-cards-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
.song-cards-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.song-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #12151c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
}

.song-card:hover {
    background: #171b24;
    border-color: rgba(255, 255, 255, 0.18);
}

.song-card.selected {
    background: rgba(0, 145, 255, 0.08);
    border-color: #0091ff;
    box-shadow: 0 0 16px rgba(0, 145, 255, 0.2);
}

.song-card-cover {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: #1d212b;
    flex-shrink: 0;
}

.song-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.song-card-title {
    font-size: 0.94rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card-artist {
    font-size: 0.82rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card-album {
    font-size: 0.74rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.song-preview-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1b1f2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.song-preview-btn:hover {
    background: #232838;
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.song-preview-btn.playing {
    background: #0091ff;
    border-color: #0091ff;
    color: #ffffff;
}

.song-check-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.song-card.selected .song-check-indicator {
    border-color: #0091ff;
    background: #0091ff;
    color: #ffffff;
}

.song-check-indicator svg {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
}

.song-card.selected .song-check-indicator svg {
    opacity: 1;
    transform: scale(1);
}

/* Estados de Busca: Carregamento e Vazio */
.song-search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 48px 20px;
    color: #a1a1aa;
    font-size: 0.9rem;
}

.song-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #0091ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.song-search-status {
    text-align: center;
    padding: 36px 20px;
    color: #94a3b8;
    background: #11141c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 20px;
}

.song-search-status-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.song-search-status-icon.info {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
}

.song-search-status-icon.warning {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
}

.song-search-status-icon.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
}

.song-search-status h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.song-search-status p {
    font-size: 0.88rem;
    color: #94a3b8;
    max-width: 420px;
    margin: 0 auto 16px;
    line-height: 1.55;
}

.status-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.btn-retry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1b2130;
    border: 1px solid rgba(0, 145, 255, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-retry:hover {
    background: #0091ff;
    border-color: #0091ff;
    box-shadow: 0 4px 14px rgba(0, 145, 255, 0.35);
}

/* Botões de Ação do Wizard */
.wizard-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.btn-secondary {
    flex: 1;
    padding: 13px;
    background: #141720;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #cbd5e1;
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: #1c212e;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-primary {
    flex: 1.6;
    padding: 13px;
    background: #0091ff;
    border: 1px solid #0091ff;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary:hover:not(:disabled) {
    background: #007ee6;
    border-color: #007ee6;
    box-shadow: 0 4px 16px rgba(0, 145, 255, 0.35);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #181b23;
    border-color: rgba(255, 255, 255, 0.1);
    color: #71717a;
    box-shadow: none;
}

/* Etapa 3 — Resumo e Conclusão */
.confirmation-box {
    text-align: center;
    margin-bottom: 24px;
}

.confirmation-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.confirmation-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.confirmation-message {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto;
}

.order-summary-card {
    background: #13161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.order-summary-song-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.order-summary-cover {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: #1c202a;
    flex-shrink: 0;
}

.order-summary-song-info {
    flex: 1;
    min-width: 0;
}

.order-summary-song-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-summary-artist {
    font-size: 0.88rem;
    color: #94a3b8;
}

.order-summary-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.order-summary-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-summary-meta-label {
    font-size: 0.74rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-summary-meta-value {
    font-size: 0.88rem;
    color: #e2e8f0;
    font-weight: 500;
}

.order-summary-message-block {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid #0091ff;
    border-radius: 0 8px 8px 0;
}

.order-summary-message-text {
    font-size: 0.86rem;
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 580px) {
    .wizard-card {
        padding: 22px 18px;
    }

    .wizard-step-label {
        font-size: 0.7rem;
    }

    .wizard-step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .wizard-step-line {
        top: 16px;
    }

    .order-summary-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   Painéis da Equipe, Locutor e Administração
   =================================================== */

.panel-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0 60px;
}

.panel-header-card {
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.panel-header-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.panel-user-avatar-lg {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #181b23;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.panel-header-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-header-text p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.panel-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.panel-role-pill.vermelho {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.panel-role-pill.amarelo {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #fde047;
}

.panel-role-pill.laranja {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #fdba74;
}

.panel-role-pill img {
    width: 16px;
    height: 16px;
}

.panel-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.panel-tab-btn {
    background: none;
    border: none;
    color: #71717a;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 18px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.panel-tab-btn:hover {
    color: #ffffff;
}

.panel-tab-btn.active {
    color: #ffffff;
    border-bottom-color: #0091ff;
}

.panel-tab-btn .badge-counter {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
}

.panel-content-card {
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
}

.panel-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-section-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Tabelas Minimalistas */
.panel-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.panel-table th {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    color: #71717a;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    vertical-align: middle;
}

.panel-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.panel-select-tipo {
    background: #141721;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.panel-select-tipo:focus {
    border-color: #0091ff;
}

.panel-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.panel-btn-action.primary {
    background: #0091ff;
    color: #ffffff;
}

.panel-btn-action.primary:hover {
    background: #007ee6;
}

.panel-btn-action.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.panel-btn-action.success:hover {
    background: #10b981;
    color: #ffffff;
}

.panel-btn-action.danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.panel-btn-action.danger:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Card de Acesso Restrito / Bloqueado */
.access-denied-box {
    text-align: center;
    padding: 60px 24px;
    max-width: 480px;
    margin: 40px auto;
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.access-denied-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.access-denied-box h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.access-denied-box p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ===================================================
   Componente Shadcn/UI Sidebar - Rádio Phoenix
   Arquitetura Oficial shadcn/ui adaptada ao tema escuro
   =================================================== */

:root {
    --sidebar-width: 260px;
    --sidebar-width-icon: 64px;
    --sidebar-bg: #09090b;
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-text: #a1a1aa;
    --sidebar-text-hover: #ffffff;
    --sidebar-accent: rgba(255, 255, 255, 0.06);
    --sidebar-accent-active: rgba(255, 255, 255, 0.1);
    --sidebar-primary-blue: #38bdf8;
}

/* Wrapper Principal */
[data-slot="sidebar-wrapper"] {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #000000;
    position: relative;
    overflow-x: hidden;
}

/* Elemento da Sidebar */
[data-slot="sidebar"] {
    width: var(--sidebar-width);
    flex-shrink: 0;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    user-select: none;
}

/* Estado Recolhido (Modo Ícone - shadcn data-collapsible="icon") */
[data-slot="sidebar"][data-state="collapsed"] {
    width: var(--sidebar-width-icon);
}

[data-slot="sidebar"][data-state="collapsed"] .sidebar-brand-text,
[data-slot="sidebar"][data-state="collapsed"] .sidebar-group-label,
[data-slot="sidebar"][data-state="collapsed"] .sidebar-menu-text,
[data-slot="sidebar"][data-state="collapsed"] .sidebar-sub-chevron,
[data-slot="sidebar"][data-state="collapsed"] .sidebar-badge-counter,
[data-slot="sidebar"][data-state="collapsed"] .sidebar-user-details,
[data-slot="sidebar"][data-state="collapsed"] [data-slot="sidebar-menu-sub"] {
    display: none !important;
}

[data-slot="sidebar"][data-state="collapsed"] [data-slot="sidebar-menu-button"] {
    justify-content: center;
    padding: 10px 0;
}

[data-slot="sidebar"][data-state="collapsed"] .sidebar-lock-icon {
    position: absolute;
    top: 6px;
    right: 8px;
    margin: 0;
}

[data-slot="sidebar"][data-state="collapsed"] [data-slot="sidebar-header"] {
    padding: 16px 0;
    justify-content: center;
}

[data-slot="sidebar"][data-state="collapsed"] [data-slot="sidebar-footer"] {
    padding: 12px 0;
    justify-content: center;
}

/* Header da Sidebar */
[data-slot="sidebar-header"] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    border-bottom: 1px solid var(--sidebar-border);
    min-height: 64px;
}

.sidebar-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sidebar-logo-icon:hover {
    transform: scale(1.05);
    border-color: var(--sidebar-primary-blue);
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-brand-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-brand-subtitle {
    font-size: 0.72rem;
    color: #71717a;
    letter-spacing: 0.03em;
}

/* Conteúdo e Rolagem */
[data-slot="sidebar-content"] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[data-slot="sidebar-content"]::-webkit-scrollbar {
    width: 4px;
}

[data-slot="sidebar-content"]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Grupos e Labels de Categoria */
[data-slot="sidebar-group"] {
    display: flex;
    flex-direction: column;
    position: relative;
}

.sidebar-group-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
    padding: 6px 10px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Listas de Menu */
[data-slot="sidebar-menu"] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[data-slot="sidebar-menu-item"] {
    position: relative;
}

/* Botão de Item da Sidebar */
[data-slot="sidebar-menu-button"] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--sidebar-text);
    background: transparent;
    border: 1px solid transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    position: relative;
}

[data-slot="sidebar-menu-button"]:hover:not(.is-locked) {
    color: var(--sidebar-text-hover);
    background: var(--sidebar-accent);
}

[data-slot="sidebar-menu-button"][data-active="true"] {
    color: #ffffff;
    background: var(--sidebar-accent-active);
    font-weight: 500;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 2px 0 0 var(--sidebar-primary-blue);
}

[data-slot="sidebar-menu-button"] svg.sidebar-menu-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: stroke 0.15s ease;
}

[data-slot="sidebar-menu-button"][data-active="true"] svg.sidebar-menu-icon {
    stroke: var(--sidebar-primary-blue);
}

.sidebar-menu-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badge Contador nos itens */
.sidebar-badge-counter {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 9999px;
    background: #27272a;
    color: #d4d4d8;
    margin-left: auto;
}

/* Chevron para Subcategorias */
.sidebar-sub-chevron {
    margin-left: auto;
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
    opacity: 0.6;
}

[data-slot="sidebar-menu-item"][data-expanded="true"] .sidebar-sub-chevron {
    transform: rotate(90deg);
    opacity: 1;
}

/* Submenu Recohe/Expande */
[data-slot="sidebar-menu-sub"] {
    list-style: none;
    margin: 0;
    padding: 0 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease;
}

[data-slot="sidebar-menu-item"][data-expanded="true"] [data-slot="sidebar-menu-sub"] {
    max-height: 300px;
    opacity: 1;
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Botão de Submenu */
[data-slot="sidebar-menu-sub-button"] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.82rem;
    color: #a1a1aa;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: all 0.15s ease;
    text-align: left;
    position: relative;
}

[data-slot="sidebar-menu-sub-button"]:hover:not(.is-locked) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

[data-slot="sidebar-menu-sub-button"][data-active="true"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

[data-slot="sidebar-menu-sub-button"][data-active="true"]::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sidebar-primary-blue);
}

/* --- Itens com Cadeado (Acesso Bloqueado) --- */
.is-locked {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

.is-locked:hover {
    background: rgba(239, 68, 68, 0.05) !important;
    color: #fca5a5 !important;
}

.sidebar-lock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    margin-left: auto;
    opacity: 0.9;
    flex-shrink: 0;
}

/* Footer da Sidebar */
[data-slot="sidebar-footer"] {
    border-top: 1px solid var(--sidebar-border);
    padding: 12px 14px;
    background: #09090b;
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    padding: 6px;
    transition: background 0.15s ease;
}

.sidebar-user-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1e1e24;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.sidebar-user-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role-label {
    font-size: 0.72rem;
    color: #71717a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Área de Conteúdo da Página (Sidebar Inset) --- */
[data-slot="sidebar-inset"] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #000000;
}

/* Barra Superior Interna (Topbar com Trigger shadcn) */
.sidebar-inset-topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--sidebar-border);
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 40;
}

.sidebar-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botão de Gatilho da Sidebar (SidebarTrigger shadcn) */
[data-slot="sidebar-trigger"] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #121215;
    color: #a1a1aa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-slot="sidebar-trigger"]:hover {
    color: #ffffff;
    background: #18181b;
    border-color: rgba(255, 255, 255, 0.2);
}

.sidebar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #71717a;
}

.sidebar-breadcrumb a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sidebar-breadcrumb a:hover {
    color: #ffffff;
}

.sidebar-breadcrumb .current {
    color: #ffffff;
    font-weight: 500;
}

.sidebar-breadcrumb-separator {
    color: #52525b;
}

/* Conteúdo Principal Interno */
.sidebar-inset-content {
    flex: 1;
    padding: 32px 28px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Toast de Acesso Restrito (Aviso Discreto) */
.sidebar-access-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #121216;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: toastSlideUp 0.25s ease-out;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-access-toast.toast-fadeout {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease-in;
}

.sidebar-access-toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-access-toast-body strong {
    display: block;
    font-size: 0.9rem;
    color: #fca5a5;
    margin-bottom: 3px;
    font-weight: 600;
}

.sidebar-access-toast-body p {
    font-size: 0.82rem;
    color: #a1a1aa;
    line-height: 1.45;
    margin: 0;
}

.sidebar-access-toast-body span {
    color: #ffffff;
    font-weight: 500;
}

.sidebar-access-toast-close {
    background: none;
    border: none;
    color: #71717a;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    margin-left: 6px;
    padding: 0;
    transition: color 0.15s ease;
}

.sidebar-access-toast-close:hover {
    color: #ffffff;
}

/* Responsividade Mobile e Drawer */
[data-slot="sidebar-backdrop"] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 45;
}

@media (max-width: 768px) {
    [data-slot="sidebar"] {
        position: fixed;
        left: calc(var(--sidebar-width) * -1);
        top: 0;
        bottom: 0;
        height: 100vh;
        width: var(--sidebar-width) !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-slot="sidebar-wrapper"][data-mobile="open"] [data-slot="sidebar"] {
        left: 0;
    }

    [data-slot="sidebar-wrapper"][data-mobile="open"] [data-slot="sidebar-backdrop"] {
        display: block;
    }

    .sidebar-inset-content {
        padding: 20px 16px;
    }

    .sidebar-inset-topbar {
        padding: 0 16px;
    }

    .sidebar-mobile-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: #121215;
        color: #a1a1aa;
        cursor: pointer;
    }

    [data-slot="sidebar-trigger"] {
        display: none !important;
    }
}

/* --- Cards de Visão Geral (Overview) --- */
.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--sidebar-primary-blue);
    flex-shrink: 0;
}

.stat-card-icon.orange {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.stat-card-icon.red {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.stat-card-icon.green {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.stat-card-info {
    display: flex;
    flex-direction: column;
}

.stat-card-label {
    font-size: 0.76rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.stat-card-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-card-sub {
    font-size: 0.74rem;
    color: #a1a1aa;
    margin-top: 3px;
}

/* Card de Configurações da Rádio */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.settings-box {
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
}

.settings-box h3 {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.settings-box p {
    font-size: 0.82rem;
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 16px;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.settings-field label {
    font-size: 0.75rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.settings-field input {
    background: #121215;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #ffffff;
    padding: 10px 12px;
    font-size: 0.88rem;
    outline: none;
}

/* --- Barra de Progresso de Transição Contínua de Páginas --- */
#seamlessProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #0091ff;
    box-shadow: 0 0 10px rgba(0, 145, 255, 0.8);
    z-index: 999999;
    width: 0%;
    opacity: 0;
    pointer-events: none;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

/* ===================================================
   Página de Perfil & Rede Social (perfil.html)
   =================================================== */

.profile-page-body {
    background-color: #000000;
    min-height: 100vh;
}

.profile-main-layout {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: calc(var(--navbar-height, 72px) + 16px) 20px 80px;
}

.profile-card-wrapper {
    background: #0d0d10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* --- Capa Superior Ampla --- */
.profile-cover-container {
    width: 100%;
    height: clamp(190px, 28vw, 300px);
    position: relative;
    background: #141418;
    overflow: hidden;
}

.profile-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.profile-cover-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #18181b 0%, #0d0d10 50%, #1f1b16 100%);
    background-image: 
        radial-gradient(at 10% 20%, rgba(229, 195, 75, 0.06) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(255, 255, 255, 0.03) 0px, transparent 50%);
}

.btn-cover-edit {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}

.btn-cover-edit:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

/* --- Cabeçalho de Identidade --- */
.profile-header-content {
    padding: 0 32px 36px;
    position: relative;
}

.profile-avatar-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: calc(-1 * clamp(54px, 8vw, 72px));
    margin-bottom: 16px;
}

.profile-avatar-frame {
    width: clamp(108px, 15vw, 136px);
    height: clamp(108px, 15vw, 136px);
    border-radius: 50%;
    border: 4px solid #0d0d10;
    background: #141418;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

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

.profile-actions-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
}

.btn-profile-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-profile-edit:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-profile-share {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #a1a1aa;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-profile-share:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

/* --- Bloco de Nomes e Identidade --- */
.profile-identity-block {
    margin-bottom: 12px;
}

.profile-nick-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-nick-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
}

.profile-badge-slot {
    display: inline-flex;
    align-items: center;
}

.profile-name-subtitle {
    font-size: 0.95rem;
    color: #8b8b94;
    margin-top: 3px;
    font-weight: 400;
}

/* --- Biografia --- */
.profile-bio-box {
    margin-bottom: 20px;
    max-width: 720px;
}

.profile-bio-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #d4d4d8;
    margin: 0;
    word-break: break-word;
    white-space: pre-wrap;
}

.profile-bio-text.is-empty {
    color: #63636b;
    font-style: italic;
    font-size: 0.92rem;
}

/* --- Metadados (Membro desde, cargo, pedidos) --- */
.profile-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 14px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}

.profile-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #a1a1aa;
}

.profile-meta-item svg {
    color: #71717a;
    flex-shrink: 0;
}

.profile-meta-item strong {
    color: #e4e4e7;
    font-weight: 500;
}

/* --- Abas do Perfil --- */
.profile-tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.profile-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #82828c;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 10px 18px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.profile-tab-btn:hover {
    color: #ffffff;
}

.profile-tab-btn.active {
    color: #e5c34b;
    border-bottom-color: #e5c34b;
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

/* --- Grid da Aba Sobre --- */
.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.profile-info-card {
    background: #121215;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
}

.profile-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-info-row .info-label {
    color: #71717a;
}

.profile-info-row .info-val {
    color: #e4e4e7;
    font-weight: 500;
}

.badge-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.badge-card-inner.neutral {
    align-items: center;
}

/* --- Lista de Pedidos Musicais do Usuário --- */
.profile-requests-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-request-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #121215;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
    transition: background 0.15s ease;
}

.profile-request-item:hover {
    background: #17171b;
}

.req-cover-img,
.req-cover-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.req-cover-placeholder {
    background: #1c1c22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.req-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.req-title {
    font-size: 0.92rem;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.req-artist {
    font-size: 0.82rem;
    color: #a1a1aa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.req-msg {
    font-size: 0.78rem;
    color: #71717a;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.req-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.req-status-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.req-status-tag.pendente {
    background: rgba(229, 195, 75, 0.14);
    color: #e5c34b;
    border: 1px solid rgba(229, 195, 75, 0.3);
}

.req-status-tag.aprovado,
.req-status-tag.atendido {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.req-status-tag.rejeitado {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.req-date {
    font-size: 0.75rem;
    color: #71717a;
}

.empty-requests-box {
    text-align: center;
    padding: 48px 20px;
    color: #71717a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-request-shortcut {
    display: inline-block;
    color: #e5c34b;
    font-size: 0.86rem;
    text-decoration: none;
    border: 1px solid rgba(229, 195, 75, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.btn-request-shortcut:hover {
    background: rgba(229, 195, 75, 0.1);
    color: #ffffff;
    border-color: #e5c34b;
}

/* --- Modal Completo de Edição de Perfil --- */
.profile-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.profile-modal-dialog {
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-modal-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.profile-modal-close {
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.profile-modal-close:hover {
    color: #ffffff;
}

.profile-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.86rem;
}

.profile-alert.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.profile-alert.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.edit-section-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-field-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #e4e4e7;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bio-counter {
    font-size: 0.76rem;
    color: #71717a;
    font-family: monospace;
}

.edit-field-hint {
    font-size: 0.74rem;
    color: #71717a;
    margin-top: 2px;
}

/* Área de Capa no Modal */
.edit-cover-preview-box {
    width: 100%;
    height: 130px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.edit-cover-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f1f23 0%, #121215 100%);
}

.edit-cover-actions {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-file-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-file-trigger:hover {
    background: rgba(255, 255, 255, 0.22);
}

.btn-remove-media {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove-media:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ffffff;
}

/* Área de Avatar no Modal */
.edit-avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.edit-avatar-preview-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #18181c;
    flex-shrink: 0;
}

.edit-avatar-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edit-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Campos de Texto */
.edit-text-input,
.edit-textarea-input {
    width: 100%;
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.edit-text-input:focus,
.edit-textarea-input:focus {
    border-color: #e5c34b;
}

.edit-textarea-input {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* Prévia em Tempo Real */
.edit-live-preview-box {
    background: #151518;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.live-preview-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.live-preview-info {
    flex: 1;
    min-width: 0;
}

.live-preview-nick {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.live-preview-name {
    font-size: 0.8rem;
    color: #8b8b94;
    margin-bottom: 4px;
}

.live-preview-bio {
    font-size: 0.84rem;
    color: #d4d4d8;
    line-height: 1.4;
    word-break: break-word;
}

/* Rodapé do Modal */
.profile-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-modal-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #a1a1aa;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-modal-save {
    background: #e5c34b;
    border: none;
    color: #0d0d10;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-modal-save:hover {
    background: #f0cf5c;
}

.btn-modal-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #0d0d10;
    border-radius: 50%;
    animation: spinnerRotate 0.6s linear infinite;
}

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

/* Página de Perfil Não Encontrado */
.profile-not-found-container {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.not-found-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.profile-not-found-container h2 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.profile-not-found-container p {
    color: #8b8b94;
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-return-home {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.btn-return-home:hover {
    background: rgba(255, 255, 255, 0.16);
    text-decoration: none;
}

/* --- Responsividade Mobile --- */
@media (max-width: 768px) {
    .profile-main-layout {
        padding: calc(var(--navbar-height, 72px) + 8px) 12px 60px;
    }

    .profile-card-wrapper {
        border-radius: 12px;
    }

    .profile-header-content {
        padding: 0 18px 24px;
    }

    .profile-avatar-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .profile-actions-bar {
        width: 100%;
        justify-content: flex-end;
        padding-bottom: 0;
    }

    .btn-profile-edit {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .btn-profile-share {
        padding: 7px 12px;
        font-size: 0.82rem;
    }

    .profile-meta-row {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-details-grid {
        grid-template-columns: 1fr;
    }

    .profile-modal-dialog {
        max-height: 95vh;
    }

    .profile-modal-body {
        padding: 16px;
        gap: 16px;
    }

    .profile-modal-header {
        padding: 14px 18px;
    }

    .profile-modal-footer {
        padding: 14px 18px;
    }
}




