﻿:root {
  --bg: #0c122b;
  --panel: #111827;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent2: #8b5cf6;
}
* { box-sizing: border-box; }
body.grid-page-body {
  margin: 0;
  min-height: 100vh;
  padding: 1rem 0.35rem 2rem;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(56,189,248,0.18), transparent 28%),
    radial-gradient(circle at 78% 6%, rgba(139,92,246,0.14), transparent 30%),
    linear-gradient(180deg, #090e25 0%, #0e1a43 58%, #071122 100%);
  color: var(--text);
}

.page-header {
  max-width: 980px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: rgba(8, 14, 34, 0.72);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 12px 45px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  padding: 1rem 1rem 0.8rem;
  text-align: center;
}
.page-header h1 { margin: 0.3rem 0 0.25rem; color: #f8fafc; letter-spacing: 0.2px; }
.page-header p { margin: 0 0 0.65rem; color: #cbd5e1; }
.page-header .btn { border-radius: 999px; font-weight: 600; color: #fff; }

.container {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(12, 19, 45, 0.75);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  box-shadow: 0 12px 45px rgba(0,0,0,0.35);
}

.row {
  animation: slideUp 0.45s ease forwards;
  opacity: 0;
  transform: translateY(8px);
}
.row:nth-child(1){ animation-delay: 0.1s; }
.row:nth-child(2){ animation-delay: 0.15s; }
.row:nth-child(3){ animation-delay: 0.2s; }
.row:nth-child(4){ animation-delay: 0.25s; }
.row:nth-child(5){ animation-delay: 0.3s; }

.p-3 {
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.24);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-3:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 30px rgba(0,0,0,0.32);
  border-color: rgba(56,189,248,0.48) !important;
}
.bg-light { background: rgba(255,255,255,0.08) !important; }
.bg-secondary { background: rgba(30, 41, 59, 0.9) !important; border-color: rgba(148,163,184,0.22) !important; }

.table, th, td { color: #f8fafc; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 780px) {
  body.grid-page-body { padding: 1rem 0.35rem 1.3rem; }
  .page-header { margin: 0 0 0.9rem; }
  .container { padding: 0.85rem; }
}
