:root {
  --night: #06101f;
  --accent: #5934ac;
  --accent-dark: #39216e;
  --lime: #ccff33;
  --ink: #111827;
  --muted: #596170;
  --paper: #fff;
  --soft: #f6f7fa;
  --line: #dfe3e9;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--night); }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 28px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: radial-gradient(circle at 18% 12%, rgba(118,87,255,.22), transparent 38%), linear-gradient(135deg, #06101f, #13182a 56%, #251541);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.consent-panel {
  width: min(100%, 620px);
  padding: clamp(22px, 3vw, 30px);
  text-align: center;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
.logo-area { display: block; width: fit-content; max-width: 100%; margin: 0 auto 24px; }
.logo { display: block; width: min(220px, 65vw); max-width: 100%; height: auto; object-fit: contain; }
h1 { margin: 0; font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; line-height: 1.14; text-transform: uppercase; }
.translation { margin: 12px 0 0; font-size: clamp(17px, 2vw, 19px); font-weight: 700; line-height: 1.3; color: var(--muted); }
.choice-prompt { margin: 14px 0 0; font-size: 20px; line-height: 1.2; color: var(--accent); }
.choice-prompt span { font-weight: 500; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.choice { min-height: 160px; padding: 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, #fff, var(--soft)); border: 1px solid var(--line); border-radius: 10px; transition: border-color .18s ease, transform .18s ease, background-color .18s ease; }
.choice:hover { border-color: var(--accent); transform: translateY(-2px); }
.choice:active { transform: none; background: #eee9f8; }
.choice img { width: 98px; height: 98px; max-width: 100%; object-fit: contain; }
.choice strong { font-size: 18px; line-height: 1.2; }
.choice small { font-size: 14px; line-height: 1.2; color: var(--muted); }
.consent-footer { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; color: var(--muted); }
.subject { display: block; margin-top: 10px; font-size: .78em; color: var(--accent); }
.intro { margin: 22px 0 0; font-size: 17px; line-height: 1.35; color: var(--muted); }
.language-choices .choice { min-height: 132px; }
.language-choices svg { width: 92px; height: 62px; border-radius: 5px; border: 1px solid var(--line); }
.language-choices .flag { width: 92px; height: 62px; border-radius: 5px; border: 1px solid var(--line); object-fit: cover; }
.share-link { display: inline-block; margin-top: 24px; padding: 13px 18px; min-height: 48px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.share-link:hover { background: var(--accent-dark); }
.back-link { display: block; width: fit-content; margin: 20px auto 0; color: var(--accent); font-size: 14px; line-height: 1.5; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--night); background: var(--lime); }
@media (max-width: 560px) {
  body { padding: 18px 12px; align-items: flex-start; }
  .consent-panel { padding: 24px 16px; }
  .logo-area { margin-bottom: 20px; }
  .logo { width: 190px; }
  h1 { font-size: 24px; }
  .choices { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .identity-choices .choice { min-height: 124px; padding: 12px; gap: 6px; }
  .identity-choices .choice img { width: 76px; height: 76px; }
  .consent-footer { margin-top: 24px; padding-top: 16px; }
  .language-choices { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .language-choices .choice { min-height: 126px; padding: 12px 8px; }
  .language-choices svg { width: min(92px,100%); height: auto; aspect-ratio: 3/2; }
}
@media (prefers-reduced-motion: reduce) { .choice { transition: none; } }
