:root {
  --background: #000000;
  --foreground: #ffffff;
  --emergency-red: #dc2626;
  --emergency-blue: #0066ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.background-elements::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 25%;
  width: 256px;
  height: 256px;
  border: 1px solid rgba(153, 0, 0, 0.2);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.background-elements::after {
  content: '';
  position: absolute;
  bottom: 33%;
  right: 25%;
  width: 384px;
  height: 384px;
  border: 1px solid rgba(153, 0, 0, 0.1);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
  animation-delay: 1s;
}

.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(153, 0, 0, 0.4);
  text-transform: uppercase;
  animation: pulse 1s ease-in-out infinite;
}

.main-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content.centered {
  justify-content: center;
  align-items: center;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.5rem 0;
  background: rgba(153, 0, 0, 0.5);
}

.marquee-container.reversed {
  background: rgba(153, 0, 0, 0.3);
}

.marquee-container-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-container.reversed .marquee-container-inner {
  animation: marquee-reverse 20s linear infinite;
}

.monospace {
  font-size: 3rem;
  font-weight: 700;
  font-family: monospace;
  color: #fff;
}

.marquee-text.reverse {
  animation: marquee-reverse 20s linear infinite;
}

.content-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.text-center {
  text-align: center;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.title-glow {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  animation: text-glow 2s ease-in-out infinite;
  margin-bottom: 1rem;
}

.title-glow.text-red {
  color: var(--emergency-red);
}

@media (min-width: 768px) {
  .title-glow {
    font-size: 6rem;
  }
  
  .marquee-text {
    font-size: 4.5rem;
  }
  
  .particle {
    font-size: 0.875rem;
  }
}

.siren {
  position: relative;
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .siren {
    width: 12rem;
    height: 12rem;
  }
}

.siren-light {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--emergency-red);
  box-shadow: 0 0 30px 15px rgba(220, 38, 38, 0.5);
  animation: pulse-urgent 1s ease-in-out infinite;
}

.siren-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 50%;
  background: var(--emergency-red);
  opacity: 0.3;
  filter: blur(2rem);
}

.description {
  color: #9ca3af;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .description {
    font-size: 1.25rem;
  }
}

.cta-button {
  position: relative;
  padding: 1rem 2rem;
  background: var(--emergency-red);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin: 0.5rem;
}

.cta-button.secondary {
  background: #333;
  box-shadow: 0 0 20px rgba(100, 100, 100, 0.3);
}

.cta-button.secondary:hover {
  background: #555;
  box-shadow: 0 0 30px rgba(100, 100, 100, 0.5);
}

.cta-button:hover {
  background: #b91c1c;
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(220, 38, 38, 0.8);
}

.cta-icon {
  display: flex;
  align-items: center;
  animation: blink-siren 0.8s ease-in-out infinite;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(153, 0, 0, 0.2);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes pulse-urgent {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes blink-siren {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.3;
  }
}

@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 10px var(--emergency-red), 0 0 20px var(--emergency-red), 0 0 30px var(--emergency-red);
  }
  50% {
    text-shadow: 0 0 20px #fff, 0 0 40px #fff, 0 0 60px #fff;
  }
}

/* Form Styles */
form {
  background-color: #111111;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
  width: 100%;
  max-width: 400px;
  border: 1px solid #333;
  margin: auto;
}

form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--emergency-red);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

form div {
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

form input[type="text"], 
form input[type="password"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #333;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: #0a0a0a;
  color: #fff;
  transition: all 0.3s ease;
}

form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23dc2626%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-13%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2013l120%20120c3.9%203.9%208.3%206%2013%206s9.3-2.1%2013-6l120-120c3.6-3.7%205.4-8%205.4-13.1z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form .checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

form .checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--emergency-red);
}

form .checkbox-field label {
  margin: 0;
  color: #888;
  text-transform: none;
}

form input[type="text"]:focus, 
form input[type="password"]:focus,
form input[type="email"]:focus {
  border-color: var(--emergency-red);
  outline: none;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

form input[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: var(--emergency-red);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

form input[type="submit"]:hover {
  background-color: #ff0000;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
  transform: scale(1.02);
}

form p {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #888;
}

form a {
  color: var(--emergency-red);
  text-decoration: none;
  font-weight: 700;
}

form a:hover {
  color: #ff0000;
}

.message {
  display: block;
  text-align: center;
  color: var(--emergency-red);
  background-color: rgba(220, 38, 38, 0.1);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-weight: 600;
  border: 1px solid var(--emergency-red);
}

.anonymous-banner {
  background: var(--emergency-red);
  color: #ffffff;
  padding: 20px 40px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  border: 3px solid #ff0000;
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
  margin-bottom: 40px;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px #ff0000;
  }
  50% {
    opacity: 0.8;
    text-shadow: 0 0 30px #ff0000;
  }
}

/* Report Form Styles */
.report-form-container {
  background: #111;
  padding: 40px;
  border-radius: 10px;
  border: 2px solid var(--emergency-red);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
  max-width: 700px;
  margin: auto;
}

.report-form-container h2 {
  text-align: center;
  color: var(--emergency-red);
  font-size: 2.5rem;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.crime-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media (max-width: 500px) {
  .crime-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crime-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  background: #0a0a0a;
  border: 2px solid #333;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.crime-type-btn:hover {
  border-color: var(--emergency-red);
  background: rgba(220, 38, 38, 0.1);
}

.crime-type-btn.active {
  border-color: var(--emergency-red);
  background: rgba(220, 38, 38, 0.2);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.crime-type-btn input {
  display: none;
}

.crime-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.crime-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.05em;
}

.checkbox-group {
  padding: 20px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.checkbox-container input {
  width: 20px;
  height: 20px;
  accent-color: var(--emergency-red);
}

.checkbox-text {
  color: var(--emergency-red);
  font-size: 14px;
}

.submit-btn {
  width: 100%;
  padding: 20px;
  background: var(--emergency-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.submit-btn:hover {
  background: #ff0000;
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
  transform: scale(1.02);
}

.back-link {
  text-align: center;
  margin-top: 25px;
}

.back-link a {
  color: #666;
  font-size: 14px;
}

/* Success Box */
.success-box {
  background: #111;
  padding: 60px 40px;
  border-radius: 10px;
  border: 2px solid #22c55e;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
  text-align: center;
  max-width: 500px;
}

.success-icon {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 20px;
}

.success-box h2 {
  color: #22c55e;
  font-size: 2rem;
  margin-bottom: 15px;
}

.success-box p {
  color: #888;
  margin-bottom: 20px;
}

.ref-number {
  color: #666;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.success-box .cta-button {
  margin-top: 20px;
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #0a0a0a;
  border: 2px dashed #333;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-label:hover {
  border-color: var(--emergency-red);
  background: rgba(220, 38, 38, 0.1);
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.upload-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.upload-hint {
  color: #666;
  font-size: 0.75rem;
  margin-top: 5px;
}

.file-preview {
  margin-top: 15px;
  text-align: center;
}

.preview-img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 8px;
  border: 2px solid var(--emergency-red);
}

.preview-video {
  max-width: 200px;
  max-height: 150px;
  border-radius: 8px;
  border: 2px solid var(--emergency-red);
}

.file-name {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 8px;
}