* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
  background: #0a0a0f;
  color: #ededee;
  font-family: monospace;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: #0f0f1a;
  padding: 30px 0;
  text-align: center;
  border-bottom: 2px solid #8b5cf6;
}

.header h1 {
  color: #ffd700;
  font-size: 2em;
  margin-bottom: 8px;
}

.subtitle {
  color: #b0b0c0;
  font-size: 0.9em;
}

/* FOOTER */
.footer {
  background: #0f0f1a;
  padding: 30px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.8em;
  border-top: 1px solid #2a2a3a;
}

.footer a {
  color: #8b5cf6;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.copy {
  margin-top: 15px;
  color: #a0a0b0;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-card {
  max-width: 500px;
  width: 90%;
  background: #111118;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2a2a3a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.modal-title {
  color: #ffd700;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.modal-card p {
  margin: 15px 0;
  color: #ccc;
}

.modal-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.modal-links a {
  color: #8b5cf6;
  text-decoration: none;
  font-size: 0.9em;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-success {
  background: #22c55e;
  color: white;
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.modal-small {
  font-size: 0.7em;
  color: #888;
  margin-top: 20px;
}

/* RESULTADOS */
.ultimos-resultados {
  margin: 40px 0;
}

.ultimos-resultados h2 {
  color: #ffd700;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.resultados-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loading {
  text-align: center;
  color: #888;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .modal-card {
    width: 95%;
    padding: 20px;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.9em;
  }
}
