body {
  padding: 20px;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #1b4747;
  text-align: center;
  min-height: 100vh;
  margin: 0;
  color: #e8d5b5;
}

h1 {
  font-size: 24px;
  margin: 0 0 10px 0;
  color: #fff;
}

.subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 20px 0;
}

p {
  background: rgba(255, 255, 255, 0.1);
  margin: 15px auto;
  padding: 15px;
  max-width: 400px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  line-height: 1.5;
}

#grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 15px auto;
  width: 320px;
  padding: 10px;
  background: #1d5959;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.cell {
  width: 70px;
  height: 70px;
  background: #2d8181;
  background-size: 85% 85%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  color: white;
  padding: 4px;
  font-size: 14px;
}

.cell:hover {
  background-color: #339393;
}

.controls {
  margin: 20px 0;
}

button {
  padding: 10px 30px;
  font-size: 16px;
  margin: 8px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

button:active {
  opacity: 0.9;
}

#dir {
  font-weight: bold;
  font-size: 32px;
  color: #ff6b6b;
  margin: 10px;
}

.disclaimer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 30px;
  margin-bottom: 20px;
}

footer {
  margin-top: 30px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info p {
  margin: 5px 0;
  background: none;
  padding: 0;
  backdrop-filter: none;
}

.contact-info a {
  color: #4CAF50;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: #45a049;
  text-decoration: underline;
}

.reward-section {
  margin-top: 20px;
  text-align: center;
}

.reward-section p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.reward-qr {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.reward-qr:hover {
  transform: scale(1.05);
}