* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow: hidden;
}

body {
  font-family: IRANYekan;
  height: 100vh;
  width: 100vw;
  overflow: auto;
  display: flex;
  flex-direction: column;

  /* CHRISTMAS BACKGROUND */
  background-color: #0b0b0b;
  color: #f5f5f5;
}

/* 🎄 BACKGROUND IMAGE OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("../IMG_2224.JPG");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;

  filter: blur(2px) brightness(0.5);
}

/* 🎅 HEADER */
header {
  padding: 20px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #d4af37; /* GOLD */
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  position: fixed;
  width: 100%;
}

/* 🎄 MAIN */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

/* 🎁 CONTAINER */
.container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 16px;
  text-align: center;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);

  box-shadow:
    0 0 20px rgba(177, 18, 38, 0.3),
    0 0 40px rgba(31, 122, 74, 0.2);

  color: #f5f5f5;
}

/* 🎄 INPUTS */
input {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  border-radius: 6px;
  font-size: 14px;

  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
}

input:focus {
  border-color: #1f7a4a; /* GREEN */
  outline: none;
}

input::placeholder {
  text-align: right;
  color: #555;
}

/* 🎅 BUTTON */
button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  border: none;
  border-radius: 6px;

  background: linear-gradient(135deg, #b11226, #1f7a4a);
  color: white;
  font-size: 16px;
  font-weight: bold;

  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

button:disabled {
  background: #555;
  cursor: not-allowed;
}

/* ❌ ERROR */
.error {
  background: #b11226;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin: 0.5rem;
  padding: 0.3rem 1rem;
  border-radius: 0.25rem;
}

/* ✅ SUCCESS */
.success {
  color: #1f7a4a;
  font-size: 2rem;
  margin-top: 10px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(31, 122, 74, 0.6);
}

.hidden {
  display: none;
}
