:root {
  --bbb-orange: #FF8A00;
  --bbb-orange-soft: #FFB347;
  --bg-dark: #0B0F14;
  --bg-panel: #111827;
  --border: #1F2937;
  --text: #E5E7EB;
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg-dark);
  color:var(--text);
  font-family:system-ui,Arial;
}

.rf-header{
  padding:14px 20px;
  border-bottom:1px solid var(--border);
}
.rf-header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.rf-logo{
  font-weight:900;
  letter-spacing:1px;
}
.rf-status-bar{
  font-size:13px;
  color:#cbd5e1;
  display:flex;
  align-items:center;
  gap:6px;
}
.rf-live-dot{
  width:8px;height:8px;
  background:var(--bbb-orange);
  border-radius:50%;
  animation:pulse 1.4s infinite;
}
@keyframes pulse{
  0%{opacity:.4}
  50%{opacity:1}
  100%{opacity:.4}
}

.rf-shell{
  display:grid;
  grid-template-columns:260px 1fr;
  min-height:100vh;
}

.rf-sidebar{
  padding:18px;
  border-right:1px solid var(--border);
}
.rf-cat{
  display:block;
  padding:12px;
  margin-bottom:10px;
  border-radius:10px;
  background:var(--bg-panel);
}
.rf-cat.is-active{
  background:rgba(255,138,0,.15);
  border-left:4px solid var(--bbb-orange);
}

.rf-content{padding:18px}
/* TOPBAR - TÍTULO + DESCRIÇÃO EM COLUNA */
.rf-topbar {
  display: flex;
  flex-direction: column;   /* 🔑 ISSO RESOLVE */
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.rf-help{
  background:var(--bbb-orange);
  border:0;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

.rf-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:16px;
}

.rf-cameras button{
  width:100%;
  padding:12px;
  margin-bottom:8px;
  border:0;
  border-radius:10px;
  background:var(--bg-panel);
  color:#fff;
  text-align:left;
}
.rf-cam.is-active{
  background:rgba(255,138,0,.18);
  border-left:4px solid var(--bbb-orange);
}

.rf-playerbox{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
}
.rf-playerhead{
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
}
.rf-live-badge{
  color:var(--bbb-orange);
  font-weight:900;
}
.rf-framewrap{
  aspect-ratio:16/9;
  background:#000;
}
iframe{width:100%;height:100%;border:0}

.rf-how{
  margin-top:28px;
  padding:16px;
  background:var(--bg-panel);
  border-radius:14px;
}

.rf-eye-wrap svg{
  width: 42px;
  height: auto;
  display: block;
  margin-right: 8px;
  filter: drop-shadow(0 0 6px rgba(255,138,0,0.18));
}

/* Pupila “olhando” (bem sutil) */
.rf-eye-wrap #pupilGroup{
  animation: rfLook 5.5s ease-in-out infinite;
  transform-origin: 110px 120px;
}

/* Piscada rara (discreta) */
.rf-eye-wrap svg{
  animation: rfBlink 8s infinite;
  transform-origin: center;
}

@keyframes rfLook{
  0%   { transform: translate(110px,120px) translate(0,0); }
  25%  { transform: translate(110px,120px) translate(7px,-3px); }
  55%  { transform: translate(110px,120px) translate(-6px,3px); }
  80%  { transform: translate(110px,120px) translate(4px,1px); }
  100% { transform: translate(110px,120px) translate(0,0); }
}

@keyframes rfBlink{
  0%, 93%, 100% { transform: scaleY(1); }
  96%           { transform: scaleY(0.18); }
  97%           { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce){
  .rf-eye-wrap #pupilGroup,
  .rf-eye-wrap svg{ animation: none !important; }
}

.rf-eye-wrap svg{
  width: 42px;
  height: auto;
  display: block;
  margin-right: 8px;
  filter: drop-shadow(0 0 6px rgba(255,138,0,0.18));
}

/* Pupila “olhando” (bem sutil) */
.rf-eye-wrap #pupilGroup{
  animation: rfLook 5.5s ease-in-out infinite;
  transform-origin: 110px 120px;
}

/* Piscada rara (discreta) */
.rf-eye-wrap svg{
  animation: rfBlink 8s infinite;
  transform-origin: center;
}

@keyframes rfLook{
  0%   { transform: translate(110px,120px) translate(0,0); }
  25%  { transform: translate(110px,120px) translate(7px,-3px); }
  55%  { transform: translate(110px,120px) translate(-6px,3px); }
  80%  { transform: translate(110px,120px) translate(4px,1px); }
  100% { transform: translate(110px,120px) translate(0,0); }
}

@keyframes rfBlink{
  0%, 93%, 100% { transform: scaleY(1); }
  96%           { transform: scaleY(0.18); }
  97%           { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce){
  .rf-eye-wrap #pupilGroup,
  .rf-eye-wrap svg{ animation: none !important; }
}

.rf-sidebar {
  width: 280px;
  min-width: 280px;
  position: sticky;
  top: 70px;
  align-self: flex-start;
}


.rf-chat-box {
  margin-top: 16px;
  background: #121A2B;
  border: 1px solid #1E2A44;
  border-radius: 14px;
  padding: 10px;
}

.rf-chat-frame {
  height: 600px;
  border-radius: 10px;
}

.rf-description {
  margin-top: 6px;
  font-size: 15px;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.5;
}

/* Mostrar mãozinha (cursor) em elementos clicáveis */
button,
.rf-cam,
.rf-cat,
.rf-help {
  cursor: pointer;
}

.rf-cameras button:hover {
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

/* =========================
   MOBILE RESPONSIVO
========================= */
@media (max-width: 768px) {

  /* DESLIGA GRID LATERAL */
  .rf-shell {
    display: block;
  }

  /* SIDEBAR VIRA BLOCO */
  .rf-sidebar {
    width: 100%;
    min-width: 100%;
    position: relative;
    top: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
  }

  /* CONTEÚDO */
  .rf-content {
    width: 100%;
    padding: 14px;
  }

  /* GRID INTERNO VIRA COLUNA */
  .rf-grid {
    display: flex;
    flex-direction: column;
  }

  /* PLAYER SEMPRE PRIMEIRO */
  .rf-playerbox {
    order: 1;
  }

  /* CÂMERAS ABAIXO DO PLAYER */
  .rf-cameras {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
  }

  .rf-cameras button {
    font-size: 14px;
    padding: 10px;
  }

  /* CHAT POR ÚLTIMO */
  .rf-chat-box {
    order: 3;
    margin-top: 16px;
  }

  .rf-chat-frame {
    height: 320px;
  }

  /* TOPO */
  .rf-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}


/* ===============================
   SINGLE POST - BBB STYLE
================================ */

.single-post {
  background: #0f0f0f;
  color: #eaeaea;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,106,0,0.08);
}

/* ===============================
   TÍTULO
================================ */

.single-post .entry-title {
  font-size: 2.4rem;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

/* ===============================
   META (DATA / AUTOR)
================================ */

.single-post .entry-meta {
  font-size: 0.9rem;
  color: #b5b5b5;
  margin-bottom: 28px;
}

.single-post .entry-meta span::after {
  content: "•";
  margin: 0 8px;
}

.single-post .entry-meta span:last-child::after {
  content: "";
}

/* ===============================
   IMAGEM DESTACADA
================================ */

.single-post .post-thumbnail img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* ===============================
   CONTEÚDO
================================ */

.single-post .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.single-post .entry-content p {
  margin-bottom: 22px;
}

.single-post .entry-content strong {
  color: #ffffff;
}

.single-post .entry-content a {
  color: #ff6a00;
  border-bottom: 1px dotted rgba(255,106,0,0.5);
}

.single-post .entry-content a:hover {
  color: #ff8c1a;
  border-bottom-color: #ff8c1a;
}

/* ===============================
   LISTAS
================================ */

.single-post .entry-content ul {
  margin-left: 22px;
  margin-bottom: 24px;
}

.single-post .entry-content li {
  margin-bottom: 10px;
}

/* ===============================
   HEADINGS NO CONTEÚDO
================================ */

.single-post .entry-content h2 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-top: 56px;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid #ff6a00;
}

.single-post .entry-content h3 {
  font-size: 1.25rem;
  margin-top: 36px;
  color: #ff8c1a;
}

/* ===============================
   HR (SEPARADOR)
================================ */

.single-post hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #ff6a00,
    transparent
  );
  margin: 48px 0;
}

/* ===============================
   CATEGORIAS / TAGS
================================ */

.single-post .post-categories a,
.single-post .post-tags a {
  display: inline-block;
  background: rgba(255,106,0,0.15);
  color: #ff6a00;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 6px;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.single-post .post-categories a:hover,
.single-post .post-tags a:hover {
  background: #ff6a00;
  color: #0f0f0f;
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 768px) {

  .single-post {
    padding: 22px;
  }

  .single-post .entry-title {
    font-size: 1.9rem;
  }

  .single-post .entry-content {
    font-size: 1rem;
  }

  .single-post .entry-content h2 {
    font-size: 1.35rem;
  }
}


header .rf-logo a,
.rf-header .rf-logo a,
.rf-logo a {
  font-family: 'Montserrat', 'Arial Black', sans-serif !important;
  font-weight: 900 !important;
  font-size: 22px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00b3ff, #ffd400);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(0,179,255,0.5);
}

.rf-header .rf-logo a {
  transition: filter 0.2s ease, transform 0.2s ease;
}

.rf-header .rf-logo a:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* FORÇA LOGO EM LINHA (OLHO + TEXTO) */
.rf-logo a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  white-space: nowrap;
}

/* GARANTE QUE O SVG NÃO QUEBRE LINHA */
.rf-logo .rf-eye-wrap {
  display: inline-flex;
  align-items: center;
}

/* AJUSTE FINO DO TAMANHO DO OLHO */
.rf-logo .rf-eye-wrap svg {
  width: 34px;
  height: auto;
  display: block;
  margin-top: -1px; /* alinhamento visual */
}

@media (max-width: 768px) {
  .rf-logo .rf-eye-wrap svg {
    width: 28px;
  }
}


/* ===============================
   FOOTER
================================ */

.rf-footer {
  margin-top: 60px;
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.6),
    rgba(2,6,23,0.9)
  );
  border-top: 1px solid var(--border);
}

.rf-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

.rf-about h2 {
  font-size: 1.6rem;
  margin-bottom: 22px;
  color: #ffffff;
  position: relative;
}

.rf-about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--bbb-orange);
  margin-top: 10px;
  border-radius: 2px;
}

.rf-about p {
  font-size: 1rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 18px;
  max-width: 880px;
}

.rf-about a {
  color: var(--bbb-orange);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,138,0,0.4);
}

.rf-about a:hover {
  color: #ffb347;
  border-bottom-color: #ffb347;
}

/* DISCLAIMER MAIS SUAVE */
.rf-disclaimer {
  margin-top: 28px;
  font-size: 0.9rem;
  color: #94a3b8;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ===============================
   FOOTER - FAIXA FINAL
================================ */

.rf-footer-bottom {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.95);
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
  padding: 16px 12px;
  letter-spacing: 0.4px;
}

.rf-topbar h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
  max-width: 820px;
}

.rf-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 820px;
}

@media (max-width: 768px) {
  .rf-topbar h1 {
    font-size: 1.6rem;
  }

  .rf-description {
    font-size: 0.95rem;
  }
}

/* CONTAINER DO HEADER */
.rf-topbar {
  display: flex;
  flex-direction: column;
  align-items: center;        /* 🔑 CENTRALIZA */
  text-align: center;
  gap: 10px;
  margin: 0 auto 26px auto;
  max-width: 960px;           /* controla largura */
}

/* H1 */
.rf-topbar h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}

/* DESCRIPTION */
.rf-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 820px;
}

@media (max-width: 768px) {
  .rf-topbar {
    align-items: flex-start;
    text-align: left;
    padding: 0 14px;
  }

  .rf-topbar h1 {
    font-size: 1.6rem;
  }
}

html, body {
  overflow-x: hidden;
}
.rf-header,
.rf-header-inner,
.rf-topbar {
  max-width: 100%;
  overflow-x: hidden;
}


/* =========================
   BLOCO DE NOTÍCIAS
========================= */

.rf-news {
  margin-top: 32px;
  max-width: 760px;
  padding-left: 8px;
}

/* TÍTULO */
.rf-news h2 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 14px;
}

/* GRID */
.rf-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* CARD */
.rf-news-card {
  max-width: 360px;
}

/* LINK */
.rf-news-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* IMAGEM */
.rf-news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 6px;
}

/* TÍTULO DO POST */
.rf-news-card h3 {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
}

/* DATA */
.rf-news-meta {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* =========================
   CONTEÚDO GERAL
========================= */

.rf-content {
  padding: 0 24px;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {
  .rf-news {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .rf-content {
    padding: 0 16px;
  }
}

@media (max-width: 520px) {
  .rf-content {
    padding: 0 12px;
  }

  .rf-news-grid {
    grid-template-columns: 1fr;
  }

  .rf-news-card {
    max-width: 100%;
  }

  .rf-news-card h3 {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}
/* =========================
   MOBILE – CORREÇÕES GERAIS
========================= */
@media (max-width: 768px) {

  /* Remove scroll horizontal definitivamente */
  html, body {
    overflow-x: hidden;
  }

  /* Layout principal vira coluna */
  .rf-shell {
    display: flex;
    flex-direction: column;
  }

  /* Sidebar NÃO fica antes do player */
  .rf-sidebar {
    order: 3; /* joga para baixo */
    width: 100%;
  }

  /* Conteúdo principal primeiro */
  .rf-content {
    order: 1;
    width: 100%;
  }

  /* Player sempre no topo */
  .rf-player {
    order: 2;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .rf-chat-box {
    display: none;
  }
}

.rf-telegram-cta {
  margin: 14px 0 22px;
  text-align: center;
}

.rf-telegram-cta a {
  display: inline-block;
  background: linear-gradient(135deg, #229ED9, #1c8ec7);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}

.rf-telegram-cta a:hover {
  opacity: 0.9;
}

.rf-telegram-cta {
  margin: 14px 0 22px;
  display: flex;
  justify-content: center;
}

.rf-telegram-cta a {
  background: linear-gradient(135deg, #229ED9, #1c8ec7);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}
/* ===============================
   RESET — NÃO AFETA HEADER/FOOTER
================================ */

.site-main {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* ===============================
   SOMENTE O CONTEÚDO DO POST
================================ */

article.single-post {
  max-width: 820px;
  margin: 48px auto;
  padding: 36px;
  background: #0f0f0f;
  border-radius: 14px;
  color: #eaeaea;
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.08);
}

/* TÍTULO */
article.single-post .entry-title {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

/* META */
article.single-post .entry-meta {
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: #9aa4b2;
}

/* TEXTO */
article.single-post .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* IMAGENS */
article.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 28px 0;
}

/* FOOTER DO POST */
article.single-post .entry-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
  article.single-post {
    margin: 24px 12px;
    padding: 22px;
  }

  article.single-post .entry-title {
    font-size: 1.7rem;
  }
}