:root {
  /* Safe area variables for iOS */
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}

body {
  margin: 0;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-sizing: border-box;
}

.safe-top, .safe-bottom {
  text-align: center;
  padding: 1em;
  background: #222;
  color: white;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
  padding: 1em;
}

.card {
  background: white;
  padding: 1em 2em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 360px;
  text-align: center;
}
