/* ============================================
   BLiga Theme — Bundesliga Analyse
   Black / Yellow / White energy palette
   ============================================ */

:root {
  --black: #1a1a1a;
  --black-deep: #111111;
  --yellow: #FFC107;
  --yellow-dark: #e5ac00;
  --yellow-light: #fff3cd;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #f0f0f0;
  --card: #ffffff;
  --border: #e5e5e5;
  --link: #d4a000;
  --link-hover: #FFC107;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER — Sticky, dark, bold
   ============================================ */

header {
  background: var(--black-deep);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--yellow);
}

header nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

header .logo .logo-bar {
  display: inline-block;
  width: 5px;
  height: 28px;
  background: var(--yellow);
  border-radius: 2px;
}

header .logo .logo-text {
  color: var(--white);
}

header .logo .logo-b {
  color: var(--yellow);
}

header ul {
  list-style: none;
  display: flex;
  gap: 0.15rem;
}

header ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
}

header ul li a:hover {
  color: var(--yellow);
  background: rgba(255, 193, 7, 0.08);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

main {
  max-width: 820px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

/* ============================================
   HERO — Bold yellow accent bar
   ============================================ */

.hero {
  background: var(--black);
  border-radius: 0;
  padding: 3.5rem 2.5rem 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--yellow);
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.6;
}

/* ============================================
   ARTICLE LIST
   ============================================ */

.latest h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--yellow);
}

.article-list {
  list-style: none;
}

.article-list li {
  background: var(--card);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.6rem;
  border-left: 4px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.article-list li:hover {
  border-left-color: var(--yellow);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.article-list a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}

.article-list a:hover {
  color: var(--yellow-dark);
}

.article-list time {
  display: block;
  color: var(--text-light);
  font-size: 0.78rem;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.article-list p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* Section listing */
.section-listing h1 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

/* ============================================
   ARTICLE — Single post
   ============================================ */

article h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

article .meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1rem;
  margin-bottom: 0;
  border-bottom: 3px solid var(--yellow);
}

article time,
article .author {
  color: var(--text-muted);
  font-size: 0.85rem;
}

article .author {
  font-weight: 600;
}

article .content {
  margin-top: 1.75rem;
  background: var(--card);
  padding: 2.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

article .content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2.5rem 0 0.75rem;
  color: var(--black);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--yellow);
}

article .content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: var(--black);
}

article .content p {
  margin-bottom: 1.1rem;
}

article .content a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(212, 160, 0, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

article .content a:hover {
  text-decoration-color: var(--yellow);
  color: var(--link-hover);
}

article .content strong {
  color: var(--black);
  font-weight: 700;
}

article .content em {
  color: var(--text-muted);
}

article .content ol,
article .content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

article .content li {
  margin-bottom: 0.5rem;
}

article .content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

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

article .content th {
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 0.75rem 1rem;
  text-align: left;
}

article .content td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}

article .content tr:nth-child(even) {
  background: var(--off-white);
}

article .content tr:hover {
  background: var(--yellow-light);
}

article .content blockquote {
  border-left: 4px solid var(--yellow);
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   FOOTER — 3-column, dark
   ============================================ */

footer {
  background: var(--black-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 2rem 1.5rem;
  margin-top: 3.5rem;
  border-top: 3px solid var(--yellow);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 2.5rem;
}

.footer-col h4 {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.15s;
}

.footer-bottom a:hover {
  color: var(--yellow);
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
  background: var(--card);
  padding: 2.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.legal-page h1 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--yellow);
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
}

.legal-page a {
  color: var(--link);
  font-weight: 600;
}

.legal-page a:hover {
  color: var(--link-hover);
}

/* Contact form */
.contact-form {
  margin-top: 1.75rem;
}

.contact-form .field {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--off-white);
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 0.75rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-form button:hover {
  background: var(--yellow-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  header nav {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1.25rem;
  }

  header ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 0.5rem;
  }

  header ul.open {
    display: flex;
  }

  header ul li a {
    display: block;
    padding: 0.6rem 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  main {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .hero {
    padding: 2.5rem 1.5rem 2rem;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  article h1 {
    font-size: 1.5rem;
  }

  article .content {
    padding: 1.5rem;
  }

  article .meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .legal-page {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1.25rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  article .content {
    padding: 1.25rem;
  }

  article .content h2 {
    font-size: 1.15rem;
  }

  .article-list li {
    padding: 1rem 1.25rem;
  }
}
