@import url(root.css);
@import url(fonts.css);
@import url(helpers.css);
@import url(no-strap.css);
@import url(components.min.css);

/* ==========================================================================
   DESIGN TOKENS
   Troque os valores de --color-primary-* pelo azul exato da sua logo
   (pode pegar o hex com qualquer color picker sobre a imagem da logo).
   ========================================================================== */
:root {
  /* Paleta principal - dark blue (base #031535, da sua logo) */
  --color-primary-900: #031535; /* base da logo - fundo mais escuro */
  --color-primary-800: #08204a; /* fundo de painéis */
  --color-primary-700: #0d2c60; /* fundo de cards/blocos */
  --color-primary-600: #143b7a; /* hover / borda ativa */
  --color-primary-500: #1e4f9c; /* acento médio */
  --color-primary-400: #3d6fc4; /* acento claro / links hover */

  /* Neutros */
  --color-white: rgb(255 255 255);
  --color-white-70: rgb(255 255 255 / 70%);
  --color-muted: #c2c2c2;

  /* Estados */
  --color-success: #2ecc71;
  --color-danger: #e74c3c;

  /* Bordas/overlay */
  --color-border-subtle: rgb(255 255 255 / 16%);
  --color-navbar-bg: rgb(16 25 46 / 58%); /* era #22222993, agora azulado */

  /* Escala de z-index (evita números "mágicos" tipo 99999) */
  --z-base: 1;
  --z-dropdown: 10;
  --z-navbar: 50;
  --z-fixed-widget: 100;
  --z-modal: 1000;

  /* Fonte */
  --font-main: "Philosopher";
}

/* ==========================================================================
   RESET
   ========================================================================== */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  outline: 0;
  border: none;
  box-sizing: border-box;
  list-style: none;
}

button[type="submit"],
input[type="submit"] {
  cursor: pointer;
}

body {
  background: url(../images/bg001.png) no-repeat center top #121218;
  font-family: var(--font-main);
  color: var(--color-white);
  overflow-x: hidden;
}

a,
a.nav-link {
  text-decoration: none;
  color: var(--color-white);
  transition: color 0.2s ease;
}

a.nav-link:hover,
a:hover {
  color: var(--color-muted);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  background-color: var(--color-navbar-bg);
  border-bottom: 1px solid var(--color-border-subtle);
  backdrop-filter: blur(11px);
  z-index: var(--z-navbar);
}

/* ==========================================================================
   COUNTDOWN
   Removido left:795px fixo (quebrava em telas < 800px).
   Agora responsivo com clamp + media query de fallback.
   ========================================================================== */
.countdowns {
  position: absolute; /* ajuste para "fixed" se for o comportamento desejado */
  top: clamp(16px, 4vw, 40px);
  right: clamp(16px, 4vw, 40px);
  color: var(--color-white);
}

.countdowns .countdown {
  background: var(--color-primary-600);
  border-radius: 4px;
}

.countdowns .countdown .timer > div {
  background: var(--color-primary-700);
  border-radius: 4px;
  flex: 1;
  min-width: 70px;
}

@media (max-width: 768px) {
  .countdowns {
    position: static;
    margin: 12px auto;
    display: flex;
    justify-content: center;
  }
}

/* ==========================================================================
   STREAMERS WIDGET
   ========================================================================== */
.streamers {
  position: fixed;
  z-index: var(--z-fixed-widget);
  bottom: 20px;
  right: 0;
  display: none;
  flex-direction: row-reverse;
}

.streamers__container {
  display: flex;
}

.streamers__online {
  display: flex;
  padding: 10px;
  background: var(--color-primary-600);
}

.streamers__title {
  background: var(--color-primary-700);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-transform: uppercase;
  border: 1px solid var(--color-primary-400);
}

.streamers__streamer {
  position: relative;
  margin-right: 10px;
  border: 2px solid var(--color-primary-400);
  transition: border-color 0.2s ease;
}

.streamers__streamer:last-child {
  margin-right: 0;
}

.streamers__streamer:hover {
  border-color: var(--color-white);
}

.streamers__streamer-name {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-dropdown);
  color: var(--color-white);
  background: var(--color-primary-700);
  padding: 2px;
  text-align: center;
}

.streamers__streamer-thumb {
  position: relative;
}

.streamers__streamer-thumb-user {
  position: absolute;
  bottom: 0;
  left: 0;
}

@media (max-width: 640px) {
  .streamers {
    bottom: 8px;
  }

  .streamers__streamer {
    margin-right: 6px;
  }
}

/* ==========================================================================
   STATUS ONLINE/OFFLINE - SCARYMU
   Círculo grande, transparente e moderno
   ========================================================================== */

.comp_online {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ==========================================================================
   CÍRCULO PRINCIPAL
   ========================================================================== */

.comp_online .radial_blur {
  position: relative !important;

  width: 128px !important;
  height: 128px !important;
  min-width: 128px !important;
  min-height: 128px !important;

  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;

  /*
   * Fundo propositalmente transparente.
   * Permite visualizar o banner atrás do círculo.
   */
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(10, 39, 82, 0.30) 0%,
      rgba(5, 25, 58, 0.22) 48%,
      rgba(2, 15, 38, 0.14) 72%,
      rgba(2, 12, 30, 0.10) 100%
    ) !important;

  border: 2px solid rgba(45, 133, 255, 0.72) !important;

  box-shadow:
    0 0 0 4px rgba(32, 107, 215, 0.07),
    0 0 18px rgba(32, 119, 255, 0.16),
    0 8px 25px rgba(0, 0, 0, 0.28),
    inset 0 0 22px rgba(24, 89, 185, 0.08) !important;

  overflow: hidden !important;

  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease !important;
}


/* ==========================================================================
   ANEL INTERNO
   ========================================================================== */

.comp_online .radial_blur::before {
  content: "" !important;

  position: absolute !important;

  top: 6px !important;
  right: 6px !important;
  bottom: 6px !important;
  left: 6px !important;

  display: block !important;

  border-radius: 50% !important;

  border: 1px solid rgba(88, 162, 255, 0.20) !important;

  background: transparent !important;

  box-shadow:
    inset 0 0 12px rgba(53, 133, 255, 0.05) !important;

  pointer-events: none !important;

  z-index: 1 !important;
}


/* Remove qualquer ponto/efeito extra */
.comp_online .radial_blur::after {
  display: none !important;
  content: none !important;
}


/* ==========================================================================
   CONTEÚDO CENTRAL
   ========================================================================== */

.comp_online .comp_info {
  position: relative !important;

  z-index: 5 !important;

  width: 100% !important;
  height: 100% !important;

  display: flex !important;
  flex-direction: column !important;

  align-items: center !important;
  justify-content: center !important;

  gap: 6px !important;

  text-align: center !important;
}


/* Remove estilos antigos */
.comp_online .comp_info span {
  margin: 0 !important;
  padding: 0 !important;

  line-height: 1 !important;
}


/* ==========================================================================
   ONLINE / OFFLINE
   ========================================================================== */

.comp_online .comp_info span.online,
.comp_online .comp_info span.offline {
  display: flex !important;

  flex-direction: column !important;

  align-items: center !important;
  justify-content: center !important;

  gap: 7px !important;

  font-size: 14px !important;
  font-weight: 700 !important;

  line-height: 1 !important;

  letter-spacing: 1.5px !important;

  text-transform: uppercase !important;

  color: #ffffff !important;

  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.70) !important;
}


/* ==========================================================================
   ÍCONE DE STATUS
   ========================================================================== */

.comp_online .status-icon {
  margin: 0 !important;
  padding: 0 !important;

  font-size: 23px !important;

  transform-origin: center;

  transition:
    color 0.25s ease,
    filter 0.25s ease !important;
}


/* ONLINE */
.comp_online .comp_info span.online .status-icon {
  color: #42e889 !important;

  filter:
    drop-shadow(0 0 4px rgba(66, 232, 137, 0.75))
    drop-shadow(0 0 9px rgba(66, 232, 137, 0.25));

  animation:
    scary-online-pulse 2.2s ease-in-out infinite !important;
}


/* OFFLINE */
.comp_online .comp_info span.offline .status-icon {
  color: #ef5350 !important;

  filter:
    drop-shadow(0 0 5px rgba(239, 83, 80, 0.45));

  animation: none !important;
}


/* ==========================================================================
   SOBRESCREVE O "GREEN" ORIGINAL DO TEMPLATE
   ========================================================================== */

.comp_online .radial_blur.green,
.comp_online [data-radial-blur="green"] {
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(10, 39, 82, 0.30) 0%,
      rgba(5, 25, 58, 0.22) 48%,
      rgba(2, 15, 38, 0.14) 72%,
      rgba(2, 12, 30, 0.10) 100%
    ) !important;

  border: 2px solid rgba(45, 133, 255, 0.72) !important;

  box-shadow:
    0 0 0 4px rgba(32, 107, 215, 0.07),
    0 0 18px rgba(32, 119, 255, 0.16),
    0 8px 25px rgba(0, 0, 0, 0.28),
    inset 0 0 22px rgba(24, 89, 185, 0.08) !important;
}


/* ==========================================================================
   REMOVE O RADIAL/CANVAS ANTIGO
   ========================================================================== */

.comp_online #radial_progress {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}


/* Remove iluminação antiga do componente */
.comp_online #funsion_lights {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}


/* ==========================================================================
   HOVER
   ========================================================================== */

.comp_online .radial_blur:hover {
  transform:
    translateY(-2px)
    scale(1.025) !important;

  border-color:
    rgba(72, 153, 255, 0.90) !important;

  box-shadow:
    0 0 0 4px rgba(32, 107, 215, 0.09),
    0 0 24px rgba(32, 119, 255, 0.23),
    0 12px 28px rgba(0, 0, 0, 0.32),
    inset 0 0 24px rgba(24, 89, 185, 0.10) !important;
}


/* ==========================================================================
   ANIMAÇÃO DO STATUS
   ========================================================================== */

@keyframes scary-online-pulse {

  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

  .comp_online .radial_blur {
    width: 105px !important;
    height: 105px !important;

    min-width: 105px !important;
    min-height: 105px !important;
  }

  .comp_online .radial_blur::before {
    top: 5px !important;
    right: 5px !important;
    bottom: 5px !important;
    left: 5px !important;
  }

  .comp_online .comp_info span.online,
  .comp_online .comp_info span.offline {
    font-size: 11px !important;
    letter-spacing: 1.2px !important;
    gap: 5px !important;
  }

  .comp_online .status-icon {
    font-size: 19px !important;
  }

}

