/* RealWorldPrizes product shell — matches apex marketing theme */
:root {
  --bg0: #1a1a2e;
  --bg1: #16213e;
  --bg2: #0f3460;
  --accent: #f39c12;
  --accent2: #e74c3c;
  --text: #fff;
  --muted: #a0a0a0;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --ok: #3f9e6a;
  --err: #e74c3c;
  --warn: #f1c40f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(135deg, var(--bg0) 0%, var(--bg1) 50%, var(--bg2) 100%);
  min-height: 100vh;
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 28px;
}
.logo {
  font-weight: 800; font-size: 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.nav a { color: #fff; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--accent); }
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 30px; font-weight: 600;
  border: none; cursor: pointer; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
}
.btn-outline {
  border: 2px solid var(--accent); color: var(--accent); background: transparent;
}
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; margin-bottom: 16px;
}
h1 { font-size: 1.8rem; margin-bottom: 8px; }
h2 { font-size: 1.25rem; margin-bottom: 12px; }
.muted { color: var(--muted); }
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(0,0,0,0.25); color: var(--text); font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.alert {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 0.95rem;
}
.alert-err { background: rgba(231,76,60,0.15); border: 1px solid var(--err); color: #ffb4a8; }
.alert-ok { background: rgba(63,158,106,0.15); border: 1px solid var(--ok); color: #b8e0c8; }
.alert-warn { background: rgba(241,196,15,0.12); border: 1px solid var(--warn); color: #ffe9a0; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px;
}
.prize-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.prize-img {
  width: 100%; height: 140px; object-fit: cover; border-radius: 12px;
  background: rgba(0,0,0,0.25); margin-bottom: 4px;
}
.points { font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.stat { font-size: 1.8rem; font-weight: 800; margin-top: 4px; }
.badge {
  display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px;
  background: rgba(243,156,18,0.15); color: var(--accent); border: 1px solid rgba(243,156,18,0.35);
}
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stack { max-width: 440px; margin: 0 auto; }
.footer { margin: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
.hidden { display: none !important; }
.list { display: flex; flex-direction: column; gap: 10px; }
.list-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}
.list-main { flex: 1; min-width: 0; }
.list-title { font-weight: 700; margin-bottom: 4px; }
.list-meta { text-align: right; flex-shrink: 0; }
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border); text-transform: lowercase;
}
.pill.ok { background: rgba(63,158,106,0.2); border-color: var(--ok); color: #b8e0c8; }
.pill.err { background: rgba(231,76,60,0.2); border-color: var(--err); color: #ffb4a8; }
.pill.warn { background: rgba(241,196,15,0.15); border-color: var(--warn); color: #ffe9a0; }
.track { margin-top: 6px; font-size: 0.9rem; }
.track code {
  background: rgba(0,0,0,0.35); padding: 2px 8px; border-radius: 6px; font-size: 0.85rem;
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

.prize-card:hover { border-color: var(--accent); }
.prize-card h3 { font-size: 1.1rem; }
.points { color: var(--accent); font-weight: 800; font-size: 1.25rem; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: rgba(243,156,18,0.15); border: 1px solid rgba(243,156,18,0.4); color: var(--accent);
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
.stack { max-width: 420px; margin: 40px auto; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.footer { margin: 40px 0 24px; color: var(--muted); font-size: 0.85rem; text-align: center; }
.stat { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.hidden { display: none !important; }
@media (max-width: 640px) {
  .topbar { flex-direction: column; gap: 12px; align-items: flex-start; }
}
