* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Courier New", "Courier", monospace;
  background: linear-gradient(135deg, #8b7355 0%, #d2b48c 50%, #8b7355 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://www.transparenttextures.com/patterns/paper.png");
  opacity: 0.3;
  pointer-events: none;
}

.container {
  background: #f5e6d3;
  background-image: linear-gradient(
      90deg,
      transparent 79px,
      #e8d4b8 79px,
      #e8d4b8 81px,
      transparent 81px
    ),
    linear-gradient(#eee 0.1em, transparent 0.1em);
  background-size: 100% 1.5em;
  padding: 50px 45px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  text-align: center;
  max-width: 550px;
  width: 100%;
  position: relative;
  border: 1px solid #d4c4a8;
  border-left: 3px solid #c8a882;
}

/* Paper clip decoration */
.container::before {
  content: "📎";
  position: absolute;
  top: -15px;
  right: 30px;
  font-size: 3rem;
  transform: rotate(45deg);
  opacity: 0.8;
}

/* Coffee stain effect */
.container::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle,
    rgba(139, 90, 43, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

h1 {
  color: #3e2723;
  margin-bottom: 15px;
  font-size: 2.8rem;
  font-family: "Georgia", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  letter-spacing: 1px;
}

.subtitle {
  color: #5d4037;
  margin-bottom: 35px;
  font-size: 1.15rem;
  font-family: "Georgia", serif;
  font-style: italic;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.btn {
  padding: 18px 35px;
  font-size: 1.2rem;
  font-weight: 700;
  border: 3px solid #8b6f47;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 1px;
  font-family: "Courier New", "Courier", monospace;
  position: relative;
  background: #e8d4b8;
  color: #3e2723;
  box-shadow: 0 3px 0 #6d5637, 0 5px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://www.transparenttextures.com/patterns/cardboard.png");
  opacity: 0.4;
  pointer-events: none;
  border-radius: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 4px 0 #6d5637, 0 8px 15px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #6d5637, 0 2px 5px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.status {
  padding: 18px;
  border-radius: 2px;
  font-size: 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Courier New", "Courier", monospace;
  font-weight: 600;
  border: 2px dashed #8b6f47;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status.success {
  background-color: rgba(220, 237, 200, 0.7);
  color: #2d5016;
  border-color: #6b8e23;
  border-style: solid;
}

.status.error {
  background-color: rgba(245, 198, 203, 0.7);
  color: #5c1a1a;
  border-color: #8b4513;
  border-style: solid;
}

.status.info {
  background-color: rgba(209, 236, 241, 0.7);
  color: #0c4552;
  border-color: #5f9ea0;
  border-style: solid;
}

@media (max-width: 500px) {
  .container {
    padding: 40px 25px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .btn {
    padding: 15px 25px;
    font-size: 1.05rem;
  }

  .container::before {
    font-size: 2.5rem;
    top: -12px;
    right: 20px;
  }
}
