body {
  margin: 0;
  padding: 0;
  font-family: "Comic Sans MS", cursive, sans-serif;
  background-image: url('https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExNGI4YTNjMmE5YjZkZGNjYjU4YjY4YjY4YjY4YjY4YjY4YjY4JmVwPXYxX2ludGVybmFsX2dpZl9ieV9pZCZjdD1n/3o7TKVUn7iM8FMEU24/giphy.gif');
  background-color: #0000ff;
  color: white;
  overflow-x: hidden;
}

/* OVERLAY DE VÍRUS - AJUSTADO PARA NÃO BLOQUEAR TUDO */
#virus-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* Mais transparente */
  z-index: 1000000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* Permite clicar no que está atrás */
}

.virus-box {
  background: #f0f0f0;
  color: #333;
  width: 90%;
  max-width: 400px;
  border: 5px solid red;
  box-shadow: 0 0 50px red;
  text-align: center;
  font-family: Arial, sans-serif;
  pointer-events: auto; /* Mas o alerta em si é clicável */
  position: relative;
}

.virus-header {
  background: red;
  color: white;
  padding: 10px;
  font-weight: bold;
}

.virus-content {
  padding: 20px;
}

.clean-button {
  background: #4CAF50;
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

/* AVAST ALERT */
#avast-alert {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background-color: #ff7800;
  color: white;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 2000000;
  display: none;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.avast-header {
  padding: 12px;
  background-color: #e66c00;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
}

.avast-content {
  padding: 15px;
  font-size: 13px;
}

.avast-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.avast-button {
  background: white;
  color: #ff7800;
  border: none;
  padding: 8px 15px;
  font-weight: bold;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 2px;
}

/* O resto do CSS... */
.top-announcement {
  background: yellow;
  color: black;
  font-weight: bold;
  border-bottom: 5px ridge #888;
}

.rainbow-text {
  background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 3rem;
  font-weight: black;
  animation: rainbow 1s infinite;
}

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.blink {
  animation: blinker 0.5s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

.red { color: red; font-weight: bold; }

.sidebar {
  position: fixed;
  top: 100px;
  width: 120px;
  background: #ccc;
  border: 4px outset #fff;
  padding: 10px;
  color: black;
  text-align: center;
}

.left { left: 10px; }
.right { right: 10px; }

.ad-box {
  background: white;
  border: 2px inset #000;
  margin-top: 10px;
  font-size: 0.7rem;
}

.container {
  max-width: 600px;
  margin: 20px auto;
  background: rgba(0,0,0,0.8);
  padding: 20px;
  border: 10px double gold;
  text-align: center;
}

.calculator {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  background-color: #888;
  padding: 10px;
  border: 5px ridge #eee;
}

.display {
  grid-column: 1 / -1;
  background-color: #000;
  border: 3px inset #444;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
}

.current-operand {
  font-family: 'Courier New', Courier, monospace;
  color: #0f0;
  font-size: 1.5rem;
}

button {
  padding: 15px 5px;
  font-weight: bold;
  border: 3px outset #fff;
  background: #ccc;
  cursor: pointer;
}

button:active { border-style: inset; }

.orange { background: orange; }
.yellow { background: yellow; }
.blue { background: lightblue; }
.green { background: #0f0; }

.visitor-counter {
  margin-top: 20px;
  font-size: 1.2rem;
  border-top: 2px dashed white;
  padding-top: 10px;
}

.fake-popup {
  position: fixed;
  width: 200px;
  background: silver;
  border: 2px outset white;
  padding: 5px;
  color: black;
  z-index: 9999;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.5);
}

.popup-header {
  background: navy;
  color: white;
  padding: 2px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

.alert-box {
  background: #ff0;
  color: #f00;
  border: 5px solid #f00;
  padding: 20px;
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: bold;
}
