/* ============================================
   MINVEST — shared styles
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #080c10;
  --surface:  #0f1620;
  --surface2: #121c28;
  --border:   #1e2d3d;
  --accent:   #00e5a0;
  --accent2:  #0075ff;
  --text:     #c8d8e8;
  --text-hi:  #eef6fb;
  --muted:    #4a6070;
}

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
}

/* animated grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  animation: gridShift 20s linear infinite;
  z-index: -2;
}

@keyframes gridShift {
  from { background-position: 0 0; }
  to   { background-position: 48px 48px; }
}

/* radial glow */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,229,160,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 20%, rgba(0,117,255,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  background: rgba(8, 12, 16, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  animation: fadeDown 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .icon-sm {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand .word {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text-hi);
}

.brand .word span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-hi);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SHARED LAYOUT
   ============================================ */

.page-wrap {
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.corner {
  position: fixed;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  opacity: 0.5;
  z-index: 50;
}
.corner.tl { top: 90px; left: 28px; }
.corner.br { bottom: 24px; right: 28px; }

@media (max-width: 640px) {
  .corner { display: none; }
}

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

/* ============================================
   HERO (index page)
   ============================================ */

.stage {
  position: relative;
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}

.icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  margin-top: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  animation: fadeUp 0.9s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}

.divider {
  margin-top: 44px;
  width: 320px;
  max-width: 80vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent), var(--border), transparent);
  animation: fadeUp 0.9s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

.status {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 0.9s 0.35s cubic-bezier(0.16,1,0.3,1) both;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,160,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(0,229,160,0); }
}

/* ============================================
   CONTENT PAGES (about / data)
   ============================================ */

.content-stage {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 90px) 24px 100px;
}

.page-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

.page-title {
  margin-top: 14px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--text-hi);
  animation: fadeUp 0.7s 0.08s cubic-bezier(0.16,1,0.3,1) both;
}

.page-lede {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 600px;
  animation: fadeUp 0.7s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}

.section-divider {
  margin: 48px 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* generic content block */
.block {
  margin-top: 36px;
  animation: fadeUp 0.7s 0.2s cubic-bezier(0.16,1,0.3,1) both;
}

.block h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.block p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
}

.block p + p { margin-top: 12px; }

/* tag chips, e.g. "Soccer", "Coming soon" */
.chip-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.chip {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.chip.live {
  color: var(--accent);
  border-color: rgba(0,229,160,0.35);
}

/* ============================================
   DATA PAGE — report cards
   ============================================ */

.report-card {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  animation: fadeUp 0.7s 0.1s cubic-bezier(0.16,1,0.3,1) backwards;
}

.report-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.report-card-head h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-hi);
}

.report-card-head time {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-card-body {
  padding: 22px;
}

.report-card-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
}

/* image / chart placeholder slot */
.chart-slot {
  margin-top: 16px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--surface2);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
}

.chart-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.empty-state {
  margin-top: 40px;
  padding: 60px 30px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.1s cubic-bezier(0.16,1,0.3,1) both;
}

.empty-state .dot {
  margin: 0 auto 18px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 28px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .site-header { flex-wrap: wrap; gap: 14px; }
}
