  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  html,
  body {
      height: 100%;
      margin: 0;
  }


  body {
      min-height: 100vh;
      font-family: 'Inter', sans-serif;
      background: var(--bg-mood, #0f2027);
      background-attachment: fixed;
      color: white;
      display: flex;
      justify-content: center;
      padding: 20px 10px;
      animation: solarPulse 8s ease-in-out infinite;

  }

  .container {
      max-width: 450px;
      width: 100%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(25px);
      padding: 30px;
      border-radius: 40px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  }

  /* Gauge Customizado */
  .gauge-section {
      text-align: center;
      margin-bottom: 25px;
  }

  .gauge {
      position: relative;
      width: 220px;
      height: 110px;
      overflow: hidden;
      margin: 0 auto;
  }

  .gauge-body {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 200%;
      border-radius: 50%;
      /* Gradiente Linear: Verde (0%) -> Amarelo (50%) -> Vermelho (100%) */
      background: conic-gradient(from 270deg at 50% 50%,
              #2ecc71 0deg,
              /* Verde - Seguro */
              #f1c40f 90deg,
              /* Amarelo - Atenção (Meio do caminho) */
              #e74c3c 180deg,
              /* Vermelho - Crítico */
              transparent 180deg
              /* Esconde a metade de baixo */
          );
      /* A rotação inicial deve ser 0 para alinhar com o cálculo do JS */
      transform: rotate(0deg);
      transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .gauge-cover {
      position: absolute;
      width: 85%;
      height: 170%;
      background: #1b3540;
      /* Cor sólida para o recorte interno */
      border-radius: 50%;
      top: 15%;
      left: 7.5%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-bottom: 50%;
  }

  #sis-value {
      padding-top: 30px;
      font-size: 3rem;
      font-weight: 600;
  }

  .sis-label {
      font-size: 0.50rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      opacity: 0.6;
      margin-top: 10px;
  }

  #sis-status {
      font-weight: 600;
      font-size: 0.85rem;
      margin-top: 5px;
  }

  .human-text {
      text-align: center;
      font-size: 1.05rem;
      line-height: 1.5;
      font-weight: 300;
      margin-bottom: 30px;
      padding: 0 10px;
  }

  /* Stats Grid */
  .stats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 25px;
  }

  .stat-card {
      background: rgba(255, 255, 255, 0.06);
      padding: 5px;
      border-radius: 15px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.05);
      max-height: 60px;
  }

  .stat-card.active {
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
      transform: scale(1.05);
  }

  .stat-val {
      display: block;
      font-size: 1.2rem;
      font-weight: 600;
  }

  .stat-label {
      font-size: 0.6rem;
      text-transform: uppercase;
      opacity: 0.5;
      margin-top: 0px;
      margin-bottom: 0px;
  }

  .reference-collapse {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 15px;
      overflow: hidden;
  }

  summary {
      padding: 15px;
      cursor: pointer;
      font-size: 0.8rem;
      font-weight: 600;
      color: #fbbf24;
      list-style: none;
      display: flex;
      justify-content: space-between;
  }

  .ref-content {
      padding: 0 15px 15px;
      font-size: 0.8rem;
  }

  .ref-row {
      display: flex;
      justify-content: space-between;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }


  #particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
  }

  .container {
      position: relative;
      z-index: 1;
  }

  @keyframes solarPulse {
      0% {
          filter: brightness(1) saturate(1);
      }

      50% {
          filter: brightness(1.2) saturate(1.2);
      }

      100% {
          filter: brightness(1) saturate(1);
      }
  }


  @keyframes shake {
      0% {
          transform: translate(0px, 0px);
      }

      25% {
          transform: translate(1px, -1px);
      }

      50% {
          transform: translate(-1px, 1px);
      }

      75% {
          transform: translate(1px, 1px);
      }

      100% {
          transform: translate(0px, 0px);
      }
  }

  @keyframes pulseCard {
      0% {
          transform: scale(1);
      }

      50% {
          transform: scale(1.01);
      }

      100% {
          transform: scale(1);
      }
  }