/* The site's own look (the live React build): near-black ground, #121212 cards with a soft gold
   glow, gold #c6a87c accents, Cairo. The verdict colours stay readable on black: green = covered,
   red = ended or void, gold = not activated yet. */
:root {
  --bg: #0a0a0a;
  --card: #121212;
  --tile: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.06);
  --gold: #c6a87c;
  --gold-deep: #8a7a63;
  --text: #ffffff;
  --soft: #9ca3af;
  --faint: #6b7280;
  --ok: #34d399;
  --bad: #f87171;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #000; }

main { width: 100%; max-width: 28rem; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; align-items: center; }

.brand img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; margin: 4px 0 28px; }

.card {
  position: relative;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2.5rem;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  animation: enter 0.5s ease-out both;
}
@keyframes enter { from { opacity: 0; transform: translateY(20px) scale(0.95); } }
.glow { position: absolute; width: 12rem; height: 12rem; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.glow-a { top: -5rem; right: -5rem; background: rgba(198, 168, 124, 0.1); }
.glow-b { bottom: -5rem; left: -5rem; background: rgba(198, 168, 124, 0.05); }
.watermark { position: absolute; inset: 0; margin: auto; width: 20rem; height: 20rem; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.03; pointer-events: none; }
.card > *:not(.glow):not(.watermark) { position: relative; z-index: 1; }

.head { text-align: center; padding: 16px 0 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.badge {
  width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #000;
  box-shadow: 0 0 30px rgba(198, 168, 124, 0.3);
}
.badge svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.badge.bad { background: linear-gradient(135deg, #7f1d1d, #3f0d0d); color: var(--bad); box-shadow: 0 0 30px rgba(248, 113, 113, 0.2); }
h1 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.01em; }
.store { margin: 0; color: var(--gold); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; }

.loading { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 0; color: var(--soft); }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(198, 168, 124, 0.2); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* The verdict */
.verdict { text-align: center; margin-bottom: 24px; }
.verdict .status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 1.05rem; }
.verdict .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.verdict .status.ok { color: var(--ok); background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.25); }
.verdict .status.bad { color: var(--bad); background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.25); }
.verdict .status.wait { color: var(--gold); background: rgba(198, 168, 124, 0.1); border: 1px solid rgba(198, 168, 124, 0.3); }
.verdict p { margin: 12px 0 0; color: var(--soft); font-weight: 600; }
.verdict p b { color: var(--text); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.fact { background: var(--tile); border: 1px solid var(--line); border-radius: 1.25rem; padding: 14px 16px; }
.fact .k { color: var(--faint); font-size: 0.75rem; font-weight: 700; }
.fact .v { font-size: 1rem; font-weight: 800; margin-top: 2px; overflow-wrap: anywhere; }
.fact.wide { grid-column: 1 / -1; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

h2 { font-size: 0.8rem; font-weight: 800; color: var(--gold); letter-spacing: 0.1em; margin: 8px 4px 12px; }
.part { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--tile); border: 1px solid var(--line); border-radius: 1.25rem; padding: 14px 16px; margin-bottom: 8px; }
.part .name { font-weight: 800; }
.part .until { font-size: 0.8rem; color: var(--soft); margin-top: 2px; }
.pill { white-space: nowrap; font-size: 0.8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.pill.ok { color: var(--ok); background: rgba(52, 211, 153, 0.1); }
.pill.bad { color: var(--bad); background: rgba(248, 113, 113, 0.1); }
.pill.wait { color: var(--gold); background: rgba(198, 168, 124, 0.12); }

.message { text-align: center; color: var(--soft); line-height: 1.8; margin: 0 0 20px; }

.lookup label { display: block; font-weight: 700; margin-bottom: 10px; color: var(--soft); }
.lookup .row { display: flex; gap: 10px; }
.lookup input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.08em;
  background: var(--tile); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; outline: none;
}
.lookup input:focus { border-color: var(--gold); }
button, .whatsapp, .home { font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; border-radius: 999px; }
.lookup button { border: 0; background: #fff; color: #000; padding: 12px 24px; }
.lookup button:hover { background: #e5e7eb; }
.hint { color: var(--faint); font-size: 0.8rem; margin: 12px 4px 0; }

.whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 20px;
  background: #25d366; color: #000; height: 56px; box-shadow: 0 0 30px rgba(37, 211, 102, 0.2); transition: transform 0.2s;
}
.whatsapp:hover { background: #20b858; transform: scale(1.02); }
.whatsapp svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home { margin-top: 16px; color: var(--soft); font-size: 0.9rem; font-weight: 700; }
.home:hover { color: var(--gold); }

@media (max-width: 340px) { .facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .card, .spinner { animation: none; } }
