/* Pro Evolution Rugby — Blog SEO — Global Styles */
:root {
  --bg-primary: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #273548;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #FF6B35;
  --accent-hover: #e85d2c;
  --accent-light: rgba(255, 107, 53, 0.15);
  --border: #334155;
  --success: #22c55e;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.nav-logo span { color: var(--accent); }
.nav-logo img { height: 36px; width: 36px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===== MAIN ===== */
main { padding-top: 80px; }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--accent); }
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}
.hero-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }

/* ===== SECTIONS ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.feature-list li .icon { font-size: 1.5rem; flex-shrink: 0; }
.feature-list li .text { font-size: 0.95rem; }
.feature-list li .text strong { color: var(--text-primary); }
.feature-list li .text span { color: var(--text-secondary); }

/* ===== ARTICLE CONTENT ===== */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.article p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}
.article ul, .article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--accent-light);
  border-radius: 0 8px 8px 0;
  color: var(--text-primary);
  font-style: italic;
}
.article strong { color: var(--text-primary); }
.article .meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.article .cta-box {
  background: linear-gradient(135deg, var(--accent), #c44d1a);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}
.article .cta-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.5rem; margin-top: 0; }
.article .cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.article .cta-box a {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 800;
}
.article .cta-box a:hover { background: #f1f5f9; }

/* ===== TABLE ===== */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.styled-table th, .styled-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.styled-table th {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.styled-table td { color: var(--text-secondary); font-size: 0.95rem; }
.styled-table tr:last-child td { border-bottom: none; }

/* ===== CHANGELOG ===== */
.changelog-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.changelog-entry.major { border-color: var(--accent); }
.changelog-version {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 0.5rem;
}
.changelog-date { color: var(--text-muted); font-size: 0.85rem; }
.changelog-entry h3 { font-size: 1.15rem; margin: 0.75rem 0; }
.changelog-entry ul { list-style: none; padding: 0; }
.changelog-entry li {
  padding: 0.3rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col a { display: block; color: var(--text-secondary); margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { margin: 0 0.4rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }
  .nav-toggle { display: block; }
  .hero { padding: 2.5rem 1rem 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
