* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: #f6efe2;
  background:
    radial-gradient(circle at top, rgba(190, 130, 45, 0.18), transparent 35%),
    linear-gradient(135deg, #070707 0%, #111016 45%, #050505 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black, transparent 75%);
  pointer-events: none;
}

.fog {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.08), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05), transparent 30%);
  filter: blur(35px);
  animation: fogMove 12s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes fogMove {
  from { transform: translateX(-40px) translateY(10px); }
  to { transform: translateX(40px) translateY(-20px); }
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.card {
  width: min(100%, 520px);
  padding: 36px;
  border: 1px solid rgba(214, 174, 92, 0.45);
  border-radius: 22px;
  background: rgba(8, 8, 10, 0.82);
  box-shadow:
    0 0 45px rgba(214, 174, 92, 0.12),
    inset 0 0 30px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.symbol {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(214, 174, 92, 0.6);
  border-radius: 50%;
  color: #d6ae5c;
  font-size: 34px;
  text-shadow: 0 0 18px rgba(214, 174, 92, 0.7);
}

.eyebrow {
  margin: 0;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d6ae5c;
  font-size: 12px;
}

h1 {
  margin: 10px 0 14px;
  text-align: center;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1;
}

.intro,
.secretText {
  line-height: 1.7;
  color: #d8d0c2;
  text-align: center;
}

form {
  margin-top: 26px;
}

label {
  display: block;
  margin: 16px 0 8px;
  color: #e8d6ad;
  font-size: 14px;
  letter-spacing: 1px;
}

input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(214, 174, 92, 0.45);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: #d6ae5c;
  box-shadow: 0 0 0 3px rgba(214, 174, 92, 0.13);
}

button {
  width: 100%;
  margin-top: 24px;
  padding: 15px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #d6ae5c, #8c5d19);
  color: #100b04;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  filter: brightness(1.12);
}

.error {
  display: none;
  color: #ff8f8f;
  text-align: center;
  margin-top: 18px;
}

.hint {
  margin-top: 18px;
  color: #8f887d;
  text-align: center;
  font-size: 13px;
}

.hidden {
  display: none;
}

.secret {
  animation: reveal 0.8s ease both;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sealed {
  margin: 24px 0 6px;
  padding: 18px;
  border: 1px dashed rgba(214, 174, 92, 0.65);
  border-radius: 14px;
  text-align: center;
  color: #f3dfae;
  background: rgba(214, 174, 92, 0.08);
}

@media (max-width: 480px) {
  .card {
    padding: 26px 20px;
  }
}
