/* Bacureba Replay — Shared UI (index.php / status.php / doacao.php)
   Place as /var/www/html/app.css
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji','Segoe UI Emoji';
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  --bg:#0b1020;
  --card:#121a33;
  --card2:#0f1630;
  --text:#e8ecff;
  --muted:#a9b3dd;
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --shadow-strong: 0 18px 60px rgba(0,0,0,.55);
  --radius: 16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--font-sans);
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(96,165,250,.25), transparent 60%),
    radial-gradient(900px 700px at 80% 0%, rgba(94,234,212,.18), transparent 60%),
    radial-gradient(900px 700px at 60% 90%, rgba(251,113,133,.14), transparent 60%),
    var(--bg);
  min-height:100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  letter-spacing: .1px;
}

a{color:inherit}
.wrap{max-width: 980px; margin: 0 auto; padding: 28px 16px 40px;}
.wrap-wide{max-width: 1100px;}
/* Top bar / chips / back button */
.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}
.top-right{display:flex; align-items:center; gap:10px; margin-left:auto;}
.back{
  color: rgba(232,236,255,.9);
  text-decoration:none;
  border: 1px solid rgba(232,236,255,.14);
  background: rgba(18,26,51,.55);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.back:hover{border-color: rgba(94,234,212,.35)}
.chip{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(232,236,255,.14);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(18,26,51,.55);
  backdrop-filter: blur(8px);
}

/* Brand header (index) */
header{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-bottom: 18px;
}
.brand{display:flex; gap:12px; align-items:center;}
.logo{
  width:44px;height:44px;border-radius:14px;
  background: linear-gradient(135deg, rgba(96,165,250,.85), rgba(94,234,212,.85));
  display:grid;place-items:center;
  box-shadow: var(--shadow);
  font-size:22px;
}
h1{margin:0; font-size: 18px; letter-spacing:.2px; font-weight: 900;}
.sub{margin:2px 0 0; color: var(--muted); font-size: 13px;}

/* Grid & cards */
.grid{display:grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 14px;}
.card{
  grid-column: span 12;
  background: linear-gradient(180deg, rgba(18,26,51,.92), rgba(15,22,48,.92));
  border: 1px solid rgba(232,236,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  text-decoration:none;
  color: inherit;
  position:relative;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{transform: translateY(-2px); border-color: rgba(94,234,212,.35);}
.row{display:flex; align-items:flex-start; gap: 14px;}
.ico{
  width: 44px; height: 44px; border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(232,236,255,.08);
  border: 1px solid rgba(232,236,255,.14);
  flex: 0 0 auto;
  font-size: 22px;
}
.meta{flex:1 1 auto; min-width:0}
.title{display:flex; gap:10px; align-items:center; justify-content:space-between;}
.title strong{font-size: 16px; letter-spacing:.2px;}
.badge{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(232,236,255,.16);
  color: rgba(232,236,255,.9);
  background: rgba(232,236,255,.06);
  white-space: nowrap;
}
.badge.ok{ border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.12); color: rgba(232,236,255,.95); }
.badge.danger{ border-color: rgba(251,113,133,.4); background: rgba(251,113,133,.12); color: rgba(232,236,255,.95); }
.badge.muted{ border-color: rgba(232,236,255,.16); background: rgba(232,236,255,.06); color: rgba(232,236,255,.9); }

.desc{margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35;}
.hint{margin: 10px 0 0; font-size: 12px; color: rgba(232,236,255,.72); display:flex; gap:8px; align-items:center;}
.arrow{margin-left:auto; opacity:.9; font-size: 16px;}
/* Clickable snapshots */
.snap{
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(232,236,255,.12);
  overflow:hidden;
  background: rgba(0,0,0,.18);
}
.snap a{display:block}
.snap a:hover{outline: 2px solid rgba(96,165,250,.35); outline-offset: -2px;}
.snap img{display:block; width:100%; height:auto}

/* Donation boxes */
.box{
  border: 1px solid rgba(232,236,255,.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0,0,0,.18);
}
.label{ font-size: 12px; color: rgba(232,236,255,.75); margin-bottom: 6px; }
.value{ font-size: 14px; color: rgba(232,236,255,.95); word-break: break-word; }
textarea.mono{
  width:100%;
  min-height: 92px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid rgba(232,236,255,.14);
  background: rgba(11,16,32,.6);
  color: rgba(232,236,255,.95);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.35;
  outline: none;
}
.btn{
  cursor:pointer;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(52,211,153,.35);
  background: rgba(52,211,153,.12);
  color: rgba(232,236,255,.95);
  font-weight: 700;
  font-size: 13px;
}
.btn:hover{border-color: rgba(52,211,153,.55)}
.row2{display:flex; gap:12px; flex-wrap:wrap; margin-top: 10px; font-size: 12.5px; color: rgba(232,236,255,.72);}
.pill{border: 1px solid rgba(232,236,255,.12); background: rgba(0,0,0,.18); padding: 6px 10px; border-radius: 999px;}

/* Footer */
.brand-footer{
  margin-top: 22px;
  text-align: center;
  display: flex;
  justify-content: center;
  padding: 6px 0 2px;
  color: rgba(232,236,255,.78);
  font-size: 13.5px;
  line-height: 1.35;
  letter-spacing: .2px;
}
.brand-footer .footer-text{
  max-width: 920px;
  padding: 0 10px;
  font-weight: 600;
  opacity: .92;
}

/* Responsive */
@media (min-width: 720px){
  .card{grid-column: span 4; padding: 18px;}
  h1{font-size: 20px}
  .sub{font-size: 13px}
}
@media (min-width: 820px){
  .wrap-wide .card{grid-column: span 6;}
}
@media (min-width: 1100px){
  .wrap-wide .card{grid-column: span 4;}
}


h2{margin:0; font-weight:900; letter-spacing:.2px;}

