/* ═══════════════════════════════════════════════════════
   sidebar.css — Menu Lateral + Cards de Métricas
   Não altera style.css nem knowledge.css existentes
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   RESET DE LAYOUT — envolve tudo em um wrapper
══════════════════════════════════════════════════════ */

/* Remove o padding-top que knowledge.css colocava no header */
.header { padding-top: 32px !important; }

/* Wrapper raiz: sidebar + conteúdo */
.app-shell {
  display: flex;
  min-height: 100dvh;
  position: relative;
  z-index: 10;
}

/* ══════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════ */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: rgba(10,13,20,.96);
  border-right: 1px solid rgba(74,173,31,.12);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(74,173,31,.2) transparent;
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(74,173,31,.2); border-radius: 2px; }

/* Linha de brilho azul na borda */
.sidebar::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(74,173,31,.3), transparent);
  pointer-events: none;
}

/* ── Logo no topo da sidebar ─────────────────────── */
.sidebar__brand {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}

.sidebar__logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.sidebar__logo {
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(74,173,31,.15));
}

.sidebar__logo--ddm { height: 36px; width: auto; }
.sidebar__logo--dt  { height: 28px; width: auto; max-width: 120px; }

.sidebar__x {
  font-family: var(--f-head);
  font-size: .7rem;
  color: var(--accent-dim);
  flex-shrink: 0;
}

.sidebar__tagline {
  font-family: var(--f-head);
  font-size: .48rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.36);
  text-align: center;
}

/* ── Seções de navegação ─────────────────────────── */
.sidebar__section {
  padding: 20px 12px 8px;
  flex-shrink: 0;
}

.sidebar__section-label {
  font-family: var(--f-head);
  font-size: .46rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  padding: 0 10px;
  margin-bottom: 6px;
  display: block;
}

/* ── Itens de navegação ──────────────────────────── */
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid transparent;
  position: relative;
  transition:
    color var(--fast),
    background var(--fast),
    border-color var(--fast),
    box-shadow var(--fast);
  white-space: nowrap;
  overflow: hidden;
}

.sidebar__link:hover {
  color: var(--text);
  background: rgba(74,173,31,.07);
  border-color: rgba(74,173,31,.15);
}

.sidebar__link--active {
  color: var(--accent-bright);
  background: rgba(74,173,31,.12);
  border-color: rgba(74,173,31,.28);
  box-shadow: 0 0 12px rgba(74,173,31,.08);
}

/* Barra lateral esquerda no item ativo */
.sidebar__link--active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--accent-glow);
}

.sidebar__link-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.sidebar__link-text { flex: 1; }

/* Badge "Em breve" */
.sidebar__badge {
  font-size: .42rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.06);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,.08);
  padding: 2px 5px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Status ao vivo (rodapé da sidebar) ──────────── */
.sidebar__footer {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}

.sidebar__live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-head);
  font-size: .52rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}

.sidebar__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf77;
  box-shadow: 0 0 5px rgba(76,175,119,.6);
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.sidebar__vote-count {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--accent-bright);
  text-shadow: 0 0 12px var(--accent-glow);
  line-height: 1;
  margin-top: 6px;
  display: block;
}

.sidebar__vote-label {
  font-family: var(--f-head);
  font-size: .46rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  display: block;
}

/* ── Toggle mobile ───────────────────────────────── */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  background: rgba(10,13,20,.92);
  border: 1px solid rgba(74,173,31,.25);
  color: var(--accent-bright);
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background var(--fast), border-color var(--fast);
}

.sidebar-toggle:hover {
  background: rgba(74,173,31,.12);
  border-color: rgba(74,173,31,.4);
}

/* Overlay para fechar no mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.is-open { display: block; }

/* ══════════════════════════════════════════════════════
   CONTEÚDO PRINCIPAL (ao lado da sidebar)
══════════════════════════════════════════════════════ */
.main-content {
  flex: 1;
  margin-left: 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── Topbar interna ──────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,13,20,.88);
  border-bottom: 1px solid rgba(74,173,31,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0 clamp(20px,3vw,40px);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.topbar__title {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}

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

.topbar__launch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-head);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid rgba(74,173,31,.2);
  background: rgba(74,173,31,.06);
}

.topbar__launch-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4caf77;
  box-shadow: 0 0 4px rgba(76,175,119,.6);
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   CARDS DE MÉTRICAS
══════════════════════════════════════════════════════ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 24px clamp(20px,3vw,40px) 8px;
}

.metric-card {
  background: rgba(13,17,23,.9);
  border: 1px solid rgba(74,173,31,.12);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--fast), box-shadow var(--fast);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: .3;
}

.metric-card:hover {
  border-color: rgba(74,173,31,.25);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* Variantes de cor por métrica */
.metric-card--votes  { color: var(--accent-bright); }
.metric-card--leader { color: #4caf77; }
.metric-card--battle { color: #ff8060; }
.metric-card--launch { color: #c9a84c; }

.metric-card__label {
  font-family: var(--f-head);
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.metric-card__label-icon { font-size: .8rem; }

.metric-card__value {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: inherit;
  text-shadow: 0 0 16px currentColor;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
  opacity: .9;
  text-shadow: 0 0 20px currentColor;
}

.metric-card__sub {
  font-family: var(--f-head);
  font-size: .52rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* Ícone decorativo de fundo */
.metric-card__bg-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  opacity: .06;
  pointer-events: none;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════
   ÁREA DE CONTEÚDO
══════════════════════════════════════════════════════ */
.content-area {
  padding: 16px clamp(20px,3vw,40px) 60px;
  flex: 1;
}

/* Adapta o .page e .header para o novo layout */
.page {
  max-width: 100% !important;
  padding: 0 !important;
}

.header {
  padding: 28px 0 16px !important;
}

.header__logos { gap: 14px !important; }
.logo--ddm     { height: 52px !important; }
.logo--dt      { height: 40px !important; }

/* Reduz o hero para não ser tão alto */
.hero {
  padding: 8px 0 32px !important;
}

.hero__title { font-size: clamp(1.5rem, 3vw, 2.4rem) !important; }

/* Knowledge grid ocupa o espaço disponível */
.knowledge-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVO
══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 900px) {
  /* Sidebar some por padrão no mobile */
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: flex;
  }

  .main-content {
    margin-left: 0;
  }

  .topbar { padding-left: 64px; }

  .metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 16px 6px; }
  .content-area { padding: 12px 16px 48px; }
}

@media (max-width: 580px) {
  .metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-card { padding: 14px 16px; }
  .metric-card__value { font-size: 1.4rem; }
  .knowledge-grid { grid-template-columns: 1fr !important; }
  .topbar__launch span:last-child { display: none; }
}

@media (max-width: 380px) {
  .metrics { grid-template-columns: 1fr; }
}

/* ── View container ───────────────────────────────── */
.view {
  animation: fadeUp .4s var(--ease) both;
}

/* Footer em SPA — JS controla o margin-left */
#siteFooter {
  margin-left: 240px;
  transition: margin-left .3s var(--ease);
}

@media (max-width: 900px) {
  #siteFooter { margin-left: 0 !important; }
}

/* ── Mascote jacaré na sidebar ──────────────────────── */
.sidebar__mascot {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(74,173,31,.5);
  box-shadow: 0 0 20px rgba(74,173,31,.25), 0 0 40px rgba(74,173,31,.1);
  margin: 8px auto 0;
  display: block;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: default;
}

.sidebar__mascot:hover {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 32px rgba(74,173,31,.5), 0 0 60px rgba(74,173,31,.15);
}

/* ══════════════════════════════════════════════════════
   VIEW: INÍCIO — Hero com fade + Lives
══════════════════════════════════════════════════════ */

/* Hero do início — banner do clã com fade nas bordas */
.inicio-hero {
  position: relative;
  height: clamp(380px, 52vh, 580px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.inicio-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('assets/clan/banner.webp') center 35% / cover no-repeat;
  filter: brightness(.9) saturate(1.08);
}

/* Fade épico: topo e base escurecem, lados suavizam */
.inicio-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,12,8,.65) 0%, transparent 28%, transparent 52%, rgba(8,12,8,.98) 100%),
    linear-gradient(90deg, rgba(8,12,8,.55) 0%, transparent 15%, transparent 85%, rgba(8,12,8,.55) 100%);
}

.inicio-hero__content {
  position: relative;
  z-index: 3;
  padding: 0 clamp(24px,4vw,52px) 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inicio-hero__badge {
  font-family: var(--f-head);
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #7de83a;
  display: inline-block;
  align-self: flex-start;
}

.inicio-hero__title {
  font-family: var(--f-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.9), 0 0 40px rgba(74,173,31,.2);
  line-height: 1;
}

.inicio-hero__sub {
  font-family: var(--f-head);
  font-size: clamp(.7rem, 1.5vw, .9rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── Lives Grid ────────────────────────────────────── */
.lives-section { padding-bottom: 32px; }

.lives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.live-card {
  background: rgba(8,12,8,.9);
  border: 1px solid rgba(74,173,31,.2);
  border-top: 2px solid rgba(74,173,31,.5);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--fast), box-shadow var(--fast);
}

.live-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7de83a, transparent);
}

.live-card--weekend {
  border-top-color: #ff6020;
  background: rgba(15,8,4,.9);
}

.live-card--weekend::before {
  background: linear-gradient(90deg, transparent, #ff8040, transparent);
}

.live-card:hover {
  border-color: rgba(74,173,31,.4);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 16px rgba(74,173,31,.08);
}

.live-card--weekend:hover {
  border-color: rgba(255,96,32,.4);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 16px rgba(255,96,32,.1);
}

.live-card__badge-top {
  position: absolute;
  top: -1px; right: 16px;
  font-family: var(--f-head);
  font-size: .52rem;
  letter-spacing: .2em;
  font-weight: 700;
  color: #fff;
  background: #cc3300;
  padding: 3px 10px;
  text-transform: uppercase;
}

.live-card__day-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.live-card__days {
  font-family: var(--f-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7de83a;
}

.live-card--weekend .live-card__days { color: #ff8040; }

.live-card__type {
  font-family: var(--f-body);
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  font-style: italic;
}

.live-card__time {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-card__hour {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 16px rgba(74,173,31,.3);
  line-height: 1;
}

.live-card--weekend .live-card__hour { text-shadow: 0 0 16px rgba(255,96,32,.3); }

.live-card__sep {
  font-size: 1rem;
  color: rgba(255,255,255,.3);
}

.live-card__duration {
  font-family: var(--f-head);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.live-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.live-tag {
  font-family: var(--f-head);
  font-size: .5rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 3px 8px;
}

/* ── CTA Canal ─────────────────────────────────────── */
.canal-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(74,173,31,.06);
  border: 1px solid rgba(74,173,31,.2);
  padding: 20px 24px;
  flex-wrap: wrap;
}

.canal-cta__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.canal-cta__mascot {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 2px solid rgba(74,173,31,.5);
  box-shadow: 0 0 14px rgba(74,173,31,.25);
  flex-shrink: 0;
  background: #0c110c;
}

.canal-cta__title {
  font-family: var(--f-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.canal-cta__sub {
  font-family: var(--f-body);
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   VIEW: CLÃ DDM
══════════════════════════════════════════════════════ */
.cla-hero {
  position: relative;
  height: clamp(260px, 38vh, 420px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.cla-hero__img {
  position: absolute;
  inset: 0;
  background: url('assets/clan/banner.webp') center 20% / cover no-repeat;
  filter: brightness(.75) saturate(1.1);
}

.cla-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,12,8,.5) 0%, transparent 40%, rgba(8,12,8,.96) 100%),
    linear-gradient(90deg, rgba(8,12,8,.5) 0%, transparent 20%, transparent 80%, rgba(8,12,8,.5) 100%);
}

.cla-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px,4vw,52px) 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cla-hero__title {
  font-family: var(--f-head);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #7de83a;
  text-shadow: 0 0 30px rgba(74,173,31,.5), 0 2px 20px rgba(0,0,0,.9);
  line-height: 1;
}

.cla-hero__sub {
  font-family: var(--f-head);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* Cards do clã */
.cla-section { padding-bottom: 40px; }

.cla-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cla-card {
  background: rgba(8,12,8,.9);
  border: 1px solid rgba(74,173,31,.15);
  border-top: 2px solid rgba(74,173,31,.4);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: border-color var(--fast), box-shadow var(--fast);
}

.cla-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,173,31,.5), transparent);
}

.cla-card:hover {
  border-color: rgba(74,173,31,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.cla-card--cta {
  background: rgba(74,173,31,.06);
  border-color: rgba(74,173,31,.3);
}

.cla-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.cla-card__title {
  font-family: var(--f-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7de83a;
}

.cla-card__text {
  font-family: var(--f-body);
  font-size: .92rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  flex: 1;
}

.cla-card__mascot {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(74,173,31,.4);
  align-self: center;
}

/* ══════════════════════════════════════════════════════
   VIEW: ATALHOS
══════════════════════════════════════════════════════ */
.hotkeys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 40px;
}

.hotkey-group {
  background: rgba(8,12,8,.9);
  border: 1px solid rgba(74,173,31,.15);
  border-top: 2px solid rgba(74,173,31,.4);
  padding: 20px;
  position: relative;
}

.hotkey-group::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,173,31,.5), transparent);
}

.hotkey-group__title {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7de83a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotkey-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hotkey-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotkey-key {
  font-family: var(--f-head);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: rgba(74,173,31,.15);
  border: 1px solid rgba(74,173,31,.35);
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 52px;
  text-align: center;
}

.hotkey-desc {
  font-family: var(--f-body);
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVO DAS NOVAS VIEWS
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .lives-grid  { grid-template-columns: 1fr; }
  .cla-cards   { grid-template-columns: 1fr 1fr; }
  .hotkeys-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .cla-cards   { grid-template-columns: 1fr; }
  .hotkeys-grid{ grid-template-columns: 1fr; }
  .canal-cta   { flex-direction: column; }
  .inicio-hero__title { font-size: 2rem; }
  .cla-hero__title    { font-size: 2.2rem; }
}

/* ══════════════════════════════════════════════════════
   RANKING DO CLÃ — Página Inicial
══════════════════════════════════════════════════════ */
.clan-ranking { padding-bottom: 40px; }

/* ── Pódio top 3 ─────────────────────────────────── */
.clan-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0 0 8px;
}

.clan-podium__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 160px;
}

.clan-podium__crown {
  font-size: 1.5rem;
  line-height: 1;
}

.clan-podium__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(74,173,31,.15);
  border: 2px solid rgba(74,173,31,.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #7de83a;
  text-shadow: 0 0 10px rgba(74,173,31,.4);
}

.clan-podium__avatar--1 {
  width: 64px; height: 64px;
  font-size: 1.5rem;
  background: rgba(74,173,31,.2);
  border-color: #7de83a;
  box-shadow: 0 0 20px rgba(74,173,31,.3);
}

.clan-podium__name {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  text-align: center;
}

.clan-podium__class {
  font-family: var(--f-body);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  font-style: italic;
}

.clan-podium__level {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #7de83a;
  text-shadow: 0 0 10px rgba(74,173,31,.4);
}

.clan-podium__bar {
  width: 100%;
  border-radius: 2px 2px 0 0;
}
.clan-podium__bar--1 { height: 80px; background: linear-gradient(to top, rgba(74,173,31,.6), rgba(74,173,31,.2)); }
.clan-podium__bar--2 { height: 55px; background: linear-gradient(to top, rgba(180,180,180,.4), rgba(180,180,180,.1)); }
.clan-podium__bar--3 { height: 40px; background: linear-gradient(to top, rgba(180,100,20,.5), rgba(180,100,20,.15)); }

.clan-podium__item--1 .clan-podium__name { color: #7de83a; }
.clan-podium__item--2 .clan-podium__avatar { border-color: rgba(200,200,200,.4); color: #ccc; }
.clan-podium__item--3 .clan-podium__avatar { border-color: rgba(180,100,20,.4); color: #c87820; }

/* ── Lista 4º–10º ────────────────────────────────── */
.clan-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid rgba(74,173,31,.12);
}

.clan-list__item {
  display: grid;
  grid-template-columns: 28px 32px 1fr auto 100px auto;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--fast);
}

.clan-list__item:last-child { border-bottom: none; }
.clan-list__item:hover { background: rgba(74,173,31,.04); }

.clan-list__item--leader { background: rgba(74,173,31,.05); }

.clan-list__pos {
  font-family: var(--f-head);
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  text-align: center;
}

.clan-list__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
}

.clan-list__avatar--leader {
  background: rgba(74,173,31,.15);
  border-color: rgba(74,173,31,.4);
  color: #7de83a;
}

.clan-list__nick {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.clan-list__badge {
  font-size: .48rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7de83a;
  background: rgba(74,173,31,.12);
  border: 1px solid rgba(74,173,31,.3);
  padding: 1px 6px;
}

.clan-list__class {
  font-family: var(--f-body);
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  font-style: italic;
  white-space: nowrap;
}

.clan-list__bar-wrap {
  background: rgba(255,255,255,.06);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.clan-list__bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(74,173,31,.5), #7de83a);
  border-radius: 2px;
  transition: width 1s cubic-bezier(.4,0,.2,1);
}

.clan-list__level {
  font-family: var(--f-head);
  font-size: .68rem;
  font-weight: 700;
  color: #7de83a;
  white-space: nowrap;
}

/* ── Stats do clã ────────────────────────────────── */
.clan-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(74,173,31,.15);
  border-top: 2px solid rgba(74,173,31,.4);
  margin-top: 16px;
}

.clan-stat {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,.05);
}

.clan-stat:last-child { border-right: none; }

.clan-stat__value {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #7de83a;
  text-shadow: 0 0 14px rgba(74,173,31,.4);
  line-height: 1;
}

.clan-stat__label {
  font-family: var(--f-head);
  font-size: .52rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ── Responsivo ──────────────────────────────────── */
@media (max-width: 700px) {
  .clan-podium { gap: 8px; }
  .clan-podium__item { max-width: 120px; }
  .clan-podium__bar--1 { height: 56px; }
  .clan-podium__bar--2 { height: 40px; }
  .clan-podium__bar--3 { height: 28px; }
  .clan-list__item { grid-template-columns: 24px 28px 1fr auto; gap: 8px; }
  .clan-list__bar-wrap { display: none; }
  .clan-stats { grid-template-columns: 1fr 1fr; }
  .clan-stat:nth-child(2) { border-right: none; }
}

/* ══════════════════════════════════════════════════════
   CANAL HERO — Propaganda do Canal na Home
══════════════════════════════════════════════════════ */
.canal-hero {
  position: relative;
  min-height: clamp(280px, 40vh, 440px);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.canal-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('assets/clan/banner.webp') center 30% / cover no-repeat;
  filter: brightness(.35) saturate(.7);
}

.canal-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,12,8,.5) 0%, rgba(8,12,8,.92) 100%),
    linear-gradient(90deg, rgba(8,12,8,.8) 0%, transparent 60%);
}

.canal-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(24px,4vw,60px);
  padding: clamp(28px,4vw,48px) clamp(20px,4vw,52px);
  width: 100%;
  flex-wrap: wrap;
}

/* ── Lado esquerdo: foto + info ──────────────────── */
.canal-hero__left {
  display: flex;
  align-items: center;
  gap: clamp(16px,3vw,28px);
  flex: 1;
  min-width: 0;
}

.canal-hero__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.canal-hero__avatar {
  width: clamp(80px,12vw,120px);
  height: clamp(80px,12vw,120px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #7de83a;
  box-shadow: 0 0 28px rgba(74,173,31,.45), 0 0 60px rgba(74,173,31,.15);
  display: block;
}

.canal-hero__live-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff2020;
  border: 2px solid #0a0f0a;
  box-shadow: 0 0 8px rgba(255,32,32,.6);
  animation: blink 1.2s ease-in-out infinite;
}

.canal-hero__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.canal-hero__canal-label {
  font-family: var(--f-head);
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.canal-hero__name {
  font-family: var(--f-head);
  font-size: clamp(1.4rem,3.5vw,2.4rem);
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 0 30px rgba(74,173,31,.2);
  line-height: 1.1;
}

.canal-hero__stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--f-head);
  font-size: .65rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
}

.canal-hero__dot { color: rgba(255,255,255,.2); }

.canal-hero__desc {
  font-family: var(--f-body);
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  max-width: 420px;
}

.canal-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.canal-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  transition: filter var(--fast), transform var(--fast), box-shadow var(--fast);
  white-space: nowrap;
}

.canal-hero__btn--yt {
  background: #ff0000;
  color: #fff;
  border: 1px solid rgba(255,80,80,.4);
  box-shadow: 0 4px 20px rgba(220,0,0,.35);
}

.canal-hero__btn--yt:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(220,0,0,.5);
}

.canal-hero__btn--live {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.15);
}

.canal-hero__btn--live:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

/* ── Lado direito: schedule ──────────────────────── */
.canal-hero__schedule {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 240px;
}

.canal-hero__schedule-title {
  font-family: var(--f-head);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}

.canal-hero__schedule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.canal-schedule-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(74,173,31,.15);
  border-left: 3px solid rgba(74,173,31,.5);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.canal-schedule-item--especial {
  border-left-color: #ff6020;
  background: rgba(255,96,32,.04);
}

.canal-schedule-item__badge {
  position: absolute;
  top: -1px;
  right: 10px;
  font-family: var(--f-head);
  font-size: .46rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: #cc3300;
  color: #fff;
  padding: 2px 7px;
}

.canal-schedule-item__days {
  font-family: var(--f-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7de83a;
}

.canal-schedule-item--especial .canal-schedule-item__days { color: #ff8040; }

.canal-schedule-item__time {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.canal-schedule-item__time span { color: rgba(255,255,255,.3); font-size: 1rem; }

.canal-schedule-item__tag {
  font-family: var(--f-head);
  font-size: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ── Responsivo ──────────────────────────────────── */
@media (max-width: 900px) {
  .canal-hero__inner { flex-direction: column; gap: 20px; }
  .canal-hero__schedule { width: 100%; }
  .canal-hero__schedule-list { flex-direction: row; }
  .canal-schedule-item { flex: 1; }
}

@media (max-width: 580px) {
  .canal-hero__schedule-list { flex-direction: column; }
  .canal-hero__left { flex-direction: column; align-items: flex-start; }
  .canal-hero__desc { display: none; }
}

/* ══════════════════════════════════════════════════════
   RANKING DDM — View dedicada
══════════════════════════════════════════════════════ */

/* Pódio */
.rdm-podio {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px,3vw,28px);
  margin-bottom: 4px;
  padding: 0 8px;
}

.rdm-podio__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 200px;
}

.rdm-podio__item--1 { max-width: 240px; }

.rdm-podio__medal { font-size: 1.6rem; line-height: 1; }

.rdm-podio__avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.2);
  display: block;
}

.rdm-podio__name {
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.rdm-podio__item--1 .rdm-podio__name { color: #7de83a; font-size: .88rem; }

.rdm-podio__class {
  font-family: var(--f-body);
  font-size: .72rem;
  color: rgba(255,255,255,.38);
  font-style: italic;
}

.rdm-podio__level {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

.rdm-podio__level--gold {
  font-size: 1.5rem;
  color: #7de83a;
  text-shadow: 0 0 14px rgba(74,173,31,.5);
}

.rdm-podio__bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(74,173,31,.4), rgba(74,173,31,.08));
}

/* Tabela completa */
.rdm-table {
  background: rgba(6,10,6,.9);
  border: 1px solid rgba(74,173,31,.12);
  border-top: none;
  margin-bottom: 16px;
}

.rdm-row {
  display: grid;
  grid-template-columns: 36px 40px 1fr auto 1fr 64px;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--fast);
}

.rdm-row:last-child { border-bottom: none; }
.rdm-row:hover { background: rgba(74,173,31,.04); }
.rdm-row--leader { background: rgba(74,173,31,.05); }
.rdm-row--top { }

.rdm-row__pos {
  font-family: var(--f-head);
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,.28);
  text-align: center;
}

.rdm-row--top .rdm-row__pos { color: #7de83a; }

.rdm-row__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.15);
  display: block;
}

.rdm-row--leader .rdm-row__avatar {
  border-color: rgba(74,173,31,.5);
}

.rdm-row__nick {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rdm-row--leader .rdm-row__nick { color: #7de83a; }

.rdm-row__badge {
  font-size: .46rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7de83a;
  background: rgba(74,173,31,.12);
  border: 1px solid rgba(74,173,31,.3);
  padding: 1px 5px;
}

.rdm-row__class {
  font-family: var(--f-body);
  font-size: .75rem;
  color: rgba(255,255,255,.32);
  font-style: italic;
  white-space: nowrap;
}

.rdm-row__bar-wrap {
  background: rgba(255,255,255,.06);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.rdm-row__bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(74,173,31,.4), #7de83a);
  border-radius: 2px;
}

.rdm-row__level {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 700;
  color: #7de83a;
  text-align: right;
  white-space: nowrap;
}

/* Stats */
.rdm-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(74,173,31,.18);
  border-top: 2px solid rgba(74,173,31,.5);
}

.rdm-stat {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,.05);
}

.rdm-stat:last-child { border-right: none; }

.rdm-stat__val {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #7de83a;
  text-shadow: 0 0 16px rgba(74,173,31,.45);
  line-height: 1;
}

.rdm-stat__label {
  font-family: var(--f-head);
  font-size: .5rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

@media (max-width: 700px) {
  .rdm-row { grid-template-columns: 28px 34px 1fr auto 60px; gap: 8px; }
  .rdm-row__bar-wrap { display: none; }
  .rdm-stats { grid-template-columns: 1fr 1fr; }
  .rdm-stat:nth-child(2) { border-right: none; }
  .rdm-podio { gap: 8px; }
}
