/* Base overrides */
body {
  min-height: 100dvh;
  padding-top: calc(80px + env(safe-area-inset-top));
  padding-bottom: calc(70px + env(safe-area-inset-bottom));
  padding-left: calc(12px + env(safe-area-inset-left));
  padding-right: calc(12px + env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
}

.container {
  display: grid;
  place-items: center;
  width: 100%;
  flex: 1;
}

/* Card */
.panel {
  width: 100%;
  max-width: 820px;
  background: rgba(0, 20, 40, 0.6);
  border: 1px solid rgba(0, 212, 232, 0.3);
  border-radius: 16px;
  padding: 32px;
  margin: 10px auto;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 212, 232, 0.15);
  animation: fadeInUp .5s ease-out both;
}
.title {
  margin: 6px 0 14px;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--brand-200);
  text-shadow: 0 0 18px rgba(0, 212, 232, 0.4);
  animation: fadeInUp .5s ease-out both .2s;
}
.choices {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  max-width: 520px;
  margin: 10px auto 6px;
  animation: fadeInUp .5s ease-out both .4s;
}
.btn {
  min-height: 56px;
}
.btn.ghost {
  background: rgba(0, 212, 232, 0.1);
  color: var(--brand-200);
  border-color: rgba(0, 212, 232, 0.35);
}
.btn.ghost:hover {
  background: rgba(0, 212, 232, 0.2);
}
.btn:active {
  transform: scale(0.97);
  transition-duration: .05s;
}

.result {
  font-weight: 900;
  color: var(--brand-200);
  font-size: 1.3rem;
  margin: 16px 0 6px;
  text-shadow: 0 0 14px rgba(0, 212, 232, 0.35);
  animation: fadeInUp .5s ease-out both .2s;
}
.hint {
  color: var(--brand-200);
  opacity: .95;
  margin: 0 0 10px;
  animation: fadeInUp .5s ease-out both .4s;
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* iPad-friendly adjustments */
@media (max-width: 560px) {
  .choices { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .panel {
    padding: 58px;
  }
  .logo { width: 200px; }
  .title { font-size: 2rem; }
  .choices { gap: 14px; max-width: 560px; }
  .btn { font-size: 1.125rem; }
  .result { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}


