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

html,
body {
  height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #0c0b0a;
  color: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 33%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 18px rgba(217, 123, 42, 0.5));
  animation: breathe 4s ease-in-out infinite;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes breathe {

  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(217, 123, 42, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 30px rgba(217, 123, 42, 0.75));
  }
}

.logo-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #9d9383;
}

.notice {
  padding: 12px 24px;
  background: rgba(29, 185, 84, 0.15);
  border: 1px solid rgba(29, 185, 84, 0.35);
  border-radius: 100px;
  color: #4ade80;
  font-size: 14px;
  font-weight: 700;
}

.error {
  color: #f87171;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.email-input {
  padding: 14px 20px;
  background: rgba(240, 237, 232, 0.07);
  border: 1px solid rgba(240, 237, 232, 0.15);
  border-radius: 100px;
  color: #f0ede8;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  width: 260px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.email-input::placeholder {
  color: rgba(240, 237, 232, 0.35);
}

.email-input:focus {
  border-color: rgba(217, 123, 42, 0.6);
  background: rgba(240, 237, 232, 0.1);
}

.submit-btn {
  padding: 14px 24px;
  background: #d97b2a;
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 20px rgba(217, 123, 42, 0.35);
}

.submit-btn:hover {
  transform: scale(1.04) translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 8px 32px rgba(217, 123, 42, 0.5);
}

.submit-btn:active {
  transform: scale(0.98);
  filter: brightness(0.96);
}

.subtext {
  font-size: 13px;
  color: rgba(240, 237, 232, 0.35);
  font-weight: 400;
}

@media (max-width: 480px) {
  .input-row {
    flex-direction: column;
    width: 100%;
    padding: 0 24px;
  }

  .field_with_errors {
    width: 100%
  }

  .email-input {
    width: 100%;
  }

  .submit-btn {
    width: 100%;
  }
}
