/* ============================================================
   99BettingTips — Article Content Styles
   (Dark premium theme — complements styles.css)
   ============================================================ */

/* ── Page layout ── */
body {
  background: var(--bg-primary);
}

/* ── Main article wrapper ── */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  margin-top: 1.5rem;
}

/* ── Headings ── */
.content h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ── Paragraphs & text ── */
.content p {
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.content p:last-child {
  margin-bottom: 0;
}

/* ── Links ── */
.content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(159, 103, 255, 0.3);
  transition: all 0.2s ease;
}

.content a:hover {
  color: #fff;
  text-decoration-color: var(--accent-light);
}

/* ── Lists ── */
.content ul,
.content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.content li {
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.content ul li { list-style: disc; }
.content ol li { list-style: decimal; }

.content ul ul,
.content ol ol,
.content ul ol,
.content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ── Strong / emphasis ── */
.content strong {
  color: #fff;
  font-weight: 600;
}

.content em {
  color: var(--text-muted);
  font-style: italic;
}

/* ── Highlight / info boxes ── */
.highlight-box {
  background: rgba(124, 58, 237, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.content blockquote {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary);
  font-style: italic;
}

/* ── CTA Box ── */
.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.15) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.cta-box p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-box p:first-child {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cta-box a {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-box a:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

/* ── Related articles box ── */
.related-articles {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.related-articles h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-light);
  margin-top: 0;
  margin-bottom: 1rem;
}

.related-articles ul {
  margin-bottom: 0;
}

.related-articles li {
  margin-bottom: 0.6rem;
}

.related-articles a {
  color: var(--accent-light);
  font-weight: 500;
  text-decoration: none;
}

.related-articles a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Back link ── */
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  padding: 0.4rem 0;
}

.back-link:hover {
  color: #fff;
  transform: translateX(-4px);
}

/* ── Navigation links ── */
.nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nav a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.1);
}

/* ── Tables ── */
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.content thead {
  background: var(--accent);
}

.content th {
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
}

.content td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.content tr:nth-child(even) td {
  background: var(--bg-secondary);
}

/* ── Code / pre ── */
.content code {
  background: var(--bg-secondary);
  color: var(--accent-light);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.content pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.content pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* ── Featured / card class ── */
.featured,
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer p { margin-bottom: 0.5rem; }
.footer a { color: var(--accent-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .content {
    padding: 1.5rem;
  }
  .content h1 {
    font-size: 1.7rem;
  }
  .content h2 {
    font-size: 1.35rem;
  }
  .article {
    padding: 1rem 0 3rem;
  }
}

/* ── Section divider ── */
.content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}