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

body {
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #00ff99;
  position: relative;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.overlay {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at center, rgba(0, 255, 140, 0.08), rgba(0, 0, 0, 0.75));
}

.content {
  text-align: center;
  padding: 40px 32px;
  border: 1px solid rgba(0, 255, 153, 0.35);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 30px rgba(0, 255, 153, 0.18);
  max-width: 760px;
  width: 100%;
}

h1 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8ffd8;
  text-shadow: 0 0 8px rgba(0, 255, 153, 0.6), 0 0 18px rgba(0, 255, 153, 0.35);
  animation: flicker 3s infinite;
}

p {
  margin-top: 16px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #75f7ba;
  letter-spacing: 0.08em;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 50%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.08)
  );
  background-size: 100% 4px;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.contact-btn,
.submit-btn,
.close-btn {
  font: inherit;
  border: 1px solid rgba(0, 255, 153, 0.45);
  background: rgba(0, 255, 153, 0.1);
  color: #caffdf;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-btn,
.submit-btn {
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-btn:hover,
.submit-btn:hover,
.close-btn:hover {
  background: rgba(0, 255, 153, 0.2);
  box-shadow: 0 0 18px rgba(0, 255, 153, 0.2);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.contact-modal.active {
  display: flex;
}

.contact-card {
  position: relative;
  width: min(100%, 520px);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 153, 0.35);
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 0 30px rgba(0, 255, 153, 0.15);
  backdrop-filter: blur(8px);
}

.contact-card h2 {
  margin-bottom: 18px;
  font-size: 1.25rem;
  color: #b8ffd8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 0.9rem;
  color: #8effc6;
  text-align: left;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 153, 0.25);
  background: rgba(0, 0, 0, 0.65);
  color: #d9ffe9;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 255, 153, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 255, 153, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #75f7ba;
  letter-spacing: normal;
}

.form-status {
  min-height: 1.2em;
  margin-top: 0;
  font-size: 0.9rem;
  color: #ffb3b3;
  letter-spacing: normal;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.75;
  }
}

@media (max-width: 600px) {
  .content {
    padding: 28px 20px;
  }

  .contact-card {
    padding: 24px 18px;
  }

  h1 {
    letter-spacing: 0.08em;
  }
}