:root {
  color-scheme: dark;
  font-family: "AtHauss", ui-sans-serif, system-ui, sans-serif;
  background: #0c002b;
  color: #f1edf5;
}

* { box-sizing: border-box; }

@font-face {
  font-family: "AtHauss";
  src: url("fonts/AtHaussArabic-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AtHauss";
  src: url("fonts/AtHaussArabic-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AtHauss";
  src: url("fonts/AtHaussArabic-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 23px;
  background: radial-gradient(120% 105% at 50% 118%, #4e1487 0%, #3a0e66 30%, #1a0540 60%, #0c002b 88%);
}

.card {
  width: min(100%, 520px);
  padding: 45px 32px;
  text-align: center;
  background: radial-gradient(115% 90% at 94% -4%, #2e0b52 0%, #1b0538 40%, #0c002b 78%);
  border: 1px solid rgba(241, 237, 245, 0.2);
  border-radius: 6px;
  box-shadow: 0 32px 64px rgba(12, 0, 43, 0.48);
}

.app-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 32px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}

h1 { margin: 0 0 16px; font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
p { color: #f1edf5; line-height: 1.6; }
.actions { display: grid; gap: 11px; margin-top: 32px; }

.button {
  display: block;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #7019bd;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover, .button:focus-visible { background: #552b81; }
.button.secondary { background: #f1edf5; color: #0c002b; }
.button.secondary:hover, .button.secondary:focus-visible { background: #ffffff; }
.button:focus-visible { outline: 3px solid #614bf9; outline-offset: 3px; }
.note { margin: 23px 0 0; font-size: 0.75rem; }

@media (max-width: 420px) {
  .card { padding: 32px 23px; }
  .app-icon { width: 96px; height: 96px; margin-bottom: 23px; border-radius: 20px; }
}
