:root {
  --bg: #030712;
  --cyber-red: #ff003c;
  --cyber-neon: #ff3366;
}

body {
  background-color: var(--bg);
  color: #f3f4f6;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.font-orbitron {
  font-family: 'Orbitron', sans-serif;
}

.cyber-grid {
  background-image: none;
}

.glow-text {
  text-shadow: 0 0 10px rgba(255, 0, 60, 0.6), 0 0 20px rgba(255, 0, 60, 0.3);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 60, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #ff003c;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}
.whatsapp-btn {
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
}
.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.arcade-border {
  border: 2px solid #ff003c;
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.4), inset 0 0 15px rgba(255, 0, 60, 0.2);
}
.arcade-button {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border: 2px solid #ff003c;
  box-shadow: 0 4px 0 #991b1b, 0 6px 10px rgba(0,0,0,0.5);
  transition: all 0.05s ease;
}
.arcade-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #991b1b, 0 2px 5px rgba(0,0,0,0.5);
}

.screen-shake {
  animation: shake 0.3s cubic-bezier(.36,.07,.19,-0.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(8px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-container {
  background: #0b0f19;
  border: 1px solid rgba(255, 0, 60, 0.5);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 48rem;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(255, 0, 60, 0.25);
  overflow: hidden;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 0, 60, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111827;
  flex-shrink: 0;
}

.modal-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #ff003c;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: #ff3366;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d1d5db;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.modal-body h4 {
  font-family: 'Orbitron', sans-serif;
  color: #ff3366;
  margin: 1.2rem 0 0.4rem 0;
  font-size: 0.95rem;
}

.modal-body p {
  margin-bottom: 0.75rem;
}

.modal-body ul {
  margin: 0.5rem 0 1rem 1.25rem;
  list-style-type: disc;
}

.modal-body li {
  margin-bottom: 0.3rem;
}

.modal-body code {
  color: #ff3366;
  font-family: monospace;
  background: rgba(255, 0, 60, 0.08);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.modal-date {
  font-size: 0.75rem;
  color: #ff3366;
  margin-bottom: 1rem;
  font-family: monospace;
}