/* ============================================================
   Public site styles
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.5; }

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* HEADER */
.site-header {
  background: #0f172a;
  color: #f1f5f9;
  padding: 14px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand img { height: 40px; }
.brand-text { color: #fbbf24; font-size: 20px; font-weight: 800; letter-spacing: 0.04em; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: #cbd5e1; font-size: 14px; font-weight: 500; }
.site-header nav a:hover { color: #fbbf24; text-decoration: none; }
.btn-cta {
  background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
  color: #0f172a !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.btn-cta:hover { opacity: 0.95; text-decoration: none; }

/* NOTICE */
.notice {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 6px;
  color: #78350f;
}

.page-title {
  font-size: 22px;
  color: #0f172a;
  margin: 24px 0 12px;
  text-align: center;
}

/* MARKETS */
.markets { margin: 24px 0; }
.markets h2 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.market-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.m-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.m-result {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 18px; font-weight: 700; color: #b91c1c;
  margin-bottom: 6px;
}
.m-jodi {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 2px 10px;
  border-radius: 6px;
  color: #c2410c;
}
.m-time {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
}
.m-actions {
  display: flex; justify-content: center; gap: 12px;
  font-size: 12px;
}
.m-actions .link { color: #2563eb; }

/* FORUM */
.forum-preview {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.forum-preview h2 {
  font-size: 18px; color: #0f172a;
  margin-bottom: 14px;
}
.forum-list { list-style: none; }
.forum-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}
.forum-list li:last-child { border-bottom: none; }
.forum-list small { color: #94a3b8; font-size: 12px; margin-left: 6px; }
.forum-msg { color: #334155; font-size: 14px; margin-top: 4px; }

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 18px 0;
  margin-top: 40px;
  font-size: 13px;
}
.site-footer .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: #cbd5e1; }

@media (max-width: 600px) {
  .site-header .container, .site-footer .container { flex-direction: column; }
  .site-header nav { justify-content: center; }
  .page-title { font-size: 18px; }
}
