/* ================================================
   dcen.net - Best Maryland Sports Betting Sites
   Clean, simple, mobile-first design
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a73e8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout Container --- */
.container { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* --- Header --- */
.site-header {
  padding: 12px 0;
  border-bottom: 2px solid #f0f0f0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-logo span { color: #1a73e8; }
.header-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Hero / H1 Section --- */
.hero {
  padding: 25px 0 10px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero .subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* --- Author Byline (under H1) --- */
.author-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}
.author-byline img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.author-byline-text {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}
.author-byline-text strong {
  color: #333;
  font-weight: 600;
}
.author-byline-text .date {
  color: #999;
}

/* ================================================
   TOPLIST - The main conversion element
   Very simple: #position | logo | bonus | CTA
   ================================================ */
.toplist {
  padding: 0 0 30px;
}
.toplist-heading {
  font-size: 14px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* Individual toplist entry */
.toplist-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.toplist-entry:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-color: #ddd;
}
/* Highlight #1 */
.toplist-entry.top-pick {
  background: #f0f7ff;
  border-color: #b3d4fc;
  border-width: 2px;
}

/* Position number */
.toplist-position {
  font-size: 22px;
  font-weight: 900;
  color: #1a73e8;
  min-width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.top-pick .toplist-position { color: #0d47a1; }

/* Logo */
.toplist-logo-wrap {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toplist-logo-wrap img {
  max-width: 90px;
  max-height: 45px;
  object-fit: contain;
}

/* Info section (brand name + bonus) */
.toplist-info {
  flex: 1;
  min-width: 0;
}
.toplist-brand {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toplist-bonus {
  font-size: 17px;
  font-weight: 800;
  color: #d63031;
  margin-top: 2px;
  line-height: 1.3;
}
.toplist-tag {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* CTA button */
.toplist-cta {
  flex-shrink: 0;
}
.toplist-cta a {
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.toplist-cta a:hover {
  background: #218838;
  text-decoration: none;
  transform: translateY(-1px);
}

/* --- Toplist Mobile --- */
@media (max-width: 640px) {
  .toplist-entry {
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  .toplist-position {
    font-size: 18px;
    min-width: 26px;
  }
  .toplist-logo-wrap {
    width: 70px;
  }
  .toplist-logo-wrap img {
    max-width: 70px;
    max-height: 38px;
  }
  .toplist-bonus {
    font-size: 15px;
  }
  .toplist-brand {
    font-size: 13px;
  }
  .toplist-cta {
    width: 100%;
    margin-top: 4px;
  }
  .toplist-cta a {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: 24px;
  }
}

/* ================================================
   CONTENT SECTIONS (below toplist)
   ================================================ */
.content-section {
  padding: 10px 0;
}
.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 35px 0 15px;
  padding-top: 10px;
  letter-spacing: -0.3px;
}
.content-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 28px 0 10px;
}
.content-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 15px 0 8px;
}
.content-section p {
  margin-bottom: 15px;
  color: #333;
}
.content-section ul, .content-section ol {
  margin: 10px 0 15px 24px;
}
.content-section li {
  margin-bottom: 6px;
  color: #333;
}
.content-section blockquote {
  border-left: 4px solid #1a73e8;
  padding: 14px 18px;
  background: #f0f7ff;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #333;
}

/* Tables */
.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.content-section th, .content-section td {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  text-align: left;
}
.content-section th {
  background: #f5f5f5;
  font-weight: 700;
  color: #333;
}
.content-section tr:nth-child(even) {
  background: #fafafa;
}
@media (max-width: 640px) {
  .content-section table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Review Cards --- */
.review-card {
  background: #f9fafb;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  margin: 25px 0;
}
.review-card h3 {
  margin-top: 0;
  font-size: 20px;
  color: #1a1a1a;
}
.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 12px 0;
  font-size: 14px;
}
.review-meta span {
  color: #555;
}
.review-meta strong {
  color: #1a1a1a;
}
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 15px 0;
}
.pros-cons h4 {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pros h4 { color: #28a745; }
.cons h4 { color: #dc3545; }
.pros-cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.pros-cons li {
  padding: 3px 0;
  padding-left: 18px;
  position: relative;
}
.pros li::before { content: "+"; position: absolute; left: 0; color: #28a745; font-weight: 700; }
.cons li::before { content: "-"; position: absolute; left: 2px; color: #dc3545; font-weight: 700; }
.review-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 15px 0;
  font-size: 13px;
}
.review-ratings span {
  background: #e8f0fe;
  color: #1a73e8;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.review-cta {
  text-align: center;
  margin-top: 20px;
}
.review-cta a {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.review-cta a:hover {
  background: #155ab6;
  text-decoration: none;
}
@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
  .review-card { padding: 16px; }
}

/* --- FAQ Section --- */
.faq-section {
  margin: 40px 0;
}
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}
.faq-item:first-child { border-top: 1px solid #eee; }
.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.faq-answer {
  color: #555;
  font-size: 15px;
}

/* --- Author Bio (at bottom of page) --- */
.author-bio {
  background: #f5f8ff;
  border-radius: 12px;
  padding: 28px;
  margin: 40px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.author-bio img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-bio-text h3 {
  margin: 0 0 5px;
  font-size: 17px;
  color: #1a1a1a;
}
.author-bio-text .author-title {
  font-size: 13px;
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 8px;
}
.author-bio-text p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
}

/* --- Footer --- */
.site-footer {
  background: #f5f5f5;
  padding: 30px 20px;
  margin-top: 50px;
  text-align: center;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}
.site-footer a {
  color: #666;
  text-decoration: underline;
}
.age-badge {
  display: inline-block;
  background: #dc3545;
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.responsible-gambling-text {
  max-width: 600px;
  margin: 0 auto;
}
.footer-links {
  margin-top: 15px;
}
.footer-links a {
  margin: 0 8px;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
