* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #faf7f2; /* slightly off-white */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2e2a26;
  position: relative;
  overflow-x: hidden;
}

.site-header {
  text-align: center;
  padding: 3rem 1rem 1rem;
}

.site-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2.2rem;
  color: #b32c2c; /* deep red */
}

.site-header p {
  margin: 0;
  color: #4a5a7a; /* muted blue */
}

.box-field {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  min-height: 420px;
  padding: 2rem;
}

.box {
  position: absolute;
  border-radius: 24px;
  opacity: 0.85;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.box-red {
  background: linear-gradient(135deg, #e85c5c, #b32c2c);
}

.box-blue {
  background: linear-gradient(135deg, #6e8fd6, #3a4f8a);
}

.box-1 { width: 90px;  height: 90px;  top: 0;    left: 5%;  }
.box-2 { width: 60px;  height: 60px;  top: 30px; left: 70%; }
.box-3 { width: 120px; height: 70px;  top: 200px; left: 0%; }
.box-4 { width: 80px;  height: 80px;  top: 260px; left: 80%; }
.box-5 { width: 50px;  height: 50px;  top: 350px; left: 30%; }
.box-6 { width: 100px; height: 60px;  top: 10px;  left: 35%; }

.card {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 80px auto 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee2d6;
}

.card h2 {
  margin-top: 0;
  color: #b32c2c;
}

.card button {
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: #3a4f8a;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.card button:hover {
  background: #2e3e6e;
  transform: translateY(-2px);
}

#click-msg {
  margin-top: 0.8rem;
  min-height: 1.2em;
  color: #4a5a7a;
  font-size: 0.95rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #8a8378;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .box-field {
    min-height: 340px;
  }
  .card {
    margin-top: 60px;
  }
}
