<br />
<b>Warning</b>:  Undefined array key "cor_primaria" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>6</b><br />
<br />
<b>Warning</b>:  Undefined array key "nome_painel" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>9</b><br />
<br />
<b>Warning</b>:  Undefined array key "logo_url" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>10</b><br />
<br />
<b>Warning</b>:  Undefined array key "dns_servidor" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>11</b><br />
<br />
<b>Warning</b>:  Undefined array key "key_tmdb" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>12</b><br />
<br />
<b>Warning</b>:  Undefined array key "favicon_url" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>13</b><br />
<br />
<b>Warning</b>:  Undefined array key "background_url" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>14</b><br />
<br />
<b>Warning</b>:  Undefined array key "descricao_site" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>15</b><br />
<br />
<b>Warning</b>:  Undefined array key "modo_manutencao" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>16</b><br />
<br />
<b>Warning</b>:  Undefined array key "versao_sistema" in <b>/www/wwwroot/demo.webplay.monster/includes/config.php</b> on line <b>17</b><br />

:root {
    --bg-dark: #121212;
    --primary: ; /* Cor personalizada usada em todo o tema */
    --color-primary: ;
    --white: #ffffff;
    --overlay: rgba(0,0,0,0.05);
    --input-bg: #1f1f1f;
    --input-focus: #141b29;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html, body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    height: 100%;
    overflow: hidden;
}
.background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 5px;
    padding: 10px;
    z-index: 1;
    opacity: 0.15;
    overflow: hidden;
}
.background img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 6px;
    animation: float 20s linear infinite;
}
@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}



/* Desktop padrão */
@media (min-width: 1024px) {
  .background {
    /* aumenta o tamanho mínimo de cada card (de 120px → 260px) */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    padding: 16px;
  }
  .background img {
    border-radius: 10px;
  }
}

/* Monitores muito grandes (opcional) */
@media (min-width: 1440px) {
  .background {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}




.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--overlay);
    z-index: 2;
}

.login-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.login-box {
    background-color: rgba(0,0,0,0.85);
    padding: 30px 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.login-box img.logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.login-box h1 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: none;
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--white);
    font-size: 16px;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.login-box input:focus {
    outline: none;
    background: var(--input-bg);
    box-shadow: 0 0 0 2px var(--primary);
}

.login-box button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-box button:hover {
    background-color: #0f1521;
}

.footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #aaa;
    z-index: 3;
}

.footer a {
    color: #ffcc00;
    text-decoration: none;
}

@media (max-width: 480px) {
    .login-box h1 {
        font-size: 22px;
    }
    .login-box img.logo {
        max-width: 140px;
    }
}


/* ===== LOADING OVERLAY (estilo streaming) ===== */
#loading-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 70% 10%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(1000px 600px at 20% 90%, rgba(255,255,255,0.04), transparent 65%),
    var(--primary); /* base sólida */
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity .35s ease;
  opacity: 0;
}

#loading-overlay.show { display: flex; opacity: 1; }

/* Aurora animada de fundo */
.loading-aurora::before,
.loading-aurora::after {
  content:"";
  position: absolute;
  inset: -20%;
  filter: blur(60px);
  opacity: .35;
  background: conic-gradient(from 0deg,
    var(--primary), #6c5ce7, #00d4ff, #00ffa3, var(--primary));
  animation: auroraSpin 12s linear infinite;
}
.loading-aurora::after {
  animation-duration: 18s;
  mix-blend-mode: screen;
}
@keyframes auroraSpin { to { transform: rotate(360deg) } }

.loading-card {
  position: relative;
  width: min(520px, 92vw);
  backdrop-filter: blur(12px);
  background: rgba(18,18,22,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 24px 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Cabeçalho/brand */
.loading-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.brand-badge {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #6c5ce7);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.brand-icon { font-weight: 900; color: #fff; transform: translateX(1px); }
.brand-title { font-weight: 700; letter-spacing:.2px; color:#eaeaf0 }

/* Spinner conic */
.loading-spinner {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 6px auto 14px;
  background:
    conic-gradient(from 0deg, var(--primary), transparent 60%),
    radial-gradient(circle at 50% 50%, #0c0c12 56%, transparent 57%);
  animation: spin 1.15s linear infinite;
  mask: radial-gradient(circle at center, transparent 52%, #000 53%);
}
@keyframes spin { to { transform: rotate(360deg) } }

/* Barra de progresso (indeterminada por padrão) */
.loading-progress {
  height: 8px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,0.08);
  position: relative;
  margin: 4px 2px 14px;
}
.loading-progress-fill {
  height: 100%; width: 30%;
  background: linear-gradient(90deg, var(--primary), #00d4ff);
  border-radius: inherit;
  animation: slideIndeterminate 1.2s ease-in-out infinite;
}
#loading-overlay.determinate .loading-progress-fill {
  animation: none; /* quando setar progresso, vira determinate */
}
@keyframes slideIndeterminate {
  0%   { transform: translateX(-40%) }
  50%  { transform: translateX(15%) }
  100% { transform: translateX(120%) }
}

/* Frase */
.loading-phrase {
  text-align: center; color: #d6d8e1; font-size: 16px;
  min-height: 24px; line-height: 24px; margin: 4px 0 6px;
  opacity: .9; transition: opacity .35s ease, transform .35s ease;
}
.loading-phrase.fade-out { opacity: 0; transform: translateY(4px); }
.loading-phrase.fade-in  { opacity: 1; transform: translateY(0) }

/* Hint */
.loading-hints {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  color: #aab; font-size: 12px; opacity: .85;
}
.hint-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 18px var(--primary);
}

/* toques responsivos */
@media (max-width: 480px) {
  .loading-card { padding: 22px 16px 16px }
  .brand-title { font-size: 14px }
  .loading-phrase { font-size: 15px }
}


.switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 15px;
    font-size: 14px;
    color: #ccc;
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  background-color: #444;
  border-radius: 34px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: 0.3s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}
input:checked + .slider {
  background-color: var(--primary);
}
input:checked + .slider:before {
  transform: translateX(18px);
}

