/* ============================================================
   DESIGN SYSTEM — Dark Mode Premium
   eojogodobicho.com
   ============================================================ */

/* === TOKENS === */
:root {
  /* Colors */
  --bg-dark: #0b0f1b;
  --bg-card: #161d2f;
  --bg-card-hover: #1c2540;
  --bg-header: #0d1117;
  --accent-gold: #f39c12;
  --accent-gold-hover: #f7b731;
  --accent-red: #e74c3c;
  --accent-green: #2ecc71;
  --accent-blue: #3498db;
  --text-primary: #e8e8e8;
  --text-secondary: #97a8b8;
  --text-muted: #9fb0c0;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(243, 156, 18, 0.3);
  --glow-gold: 0 0 20px rgba(243, 156, 18, 0.15);
  --glow-red: 0 0 15px rgba(231, 76, 60, 0.2);
  --white: #ffffff;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Typography */
  --font-main: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.85rem;
  --font-size-md: 0.95rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.3rem;
  --font-size-xxl: 1.5rem;
  --font-size-xxxl: 1.75rem;
  --line-height-tight: 1.3;
  --line-height-base: 1.7;
  --line-height-loose: 1.8;

  /* Transitions */
  --transition-fast: 0.15s;
  --transition-base: 0.2s;
  --transition-slow: 0.35s;

  /* Z-index */
  --z-base: 1;
  --z-header: 1000;
  --z-dropdown: 1050;
  --z-tooltip: 1200;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img,
svg {
  vertical-align: middle;
}

ol,
ul {
  padding-left: var(--spacing-lg);
}

/* === LINKS === */
a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--accent-gold-hover);
  text-decoration: underline;
}

/* Content links need underline for accessibility (non-color distinction) */
main a:not(.dnp-btn-main):not(.dnp-share-btn):not(.dnp-tool-card):not(.dnp-stats-link):not(.state-card):not(.tool-card):not(.trend-card):not(.pal-challenge-action):not(.toc-panel__link):not([class*="btn"]) {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(243, 156, 18, 0.4);
}

main a:not(.dnp-btn-main):not(.dnp-share-btn):not(.dnp-tool-card):not(.dnp-stats-link):not(.state-card):not(.tool-card):not(.trend-card):not(.pal-challenge-action):not(.toc-panel__link):not([class*="btn"]):hover {
  text-decoration-color: var(--accent-gold);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  line-height: var(--line-height-tight);
}

h1 {
  font-size: var(--font-size-xxxl);
  font-weight: 800;
}

h2 {
  font-size: var(--font-size-xxl);
  font-weight: 700;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

h5 {
  font-size: var(--font-size-md);
  font-weight: 600;
}

h6 {
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* === CONTAINER === */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-card);
  z-index: var(--z-header);
}

.main-nav {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--font-size-lg);
  letter-spacing: -0.3px;
}

.logo:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* Live Indicator */
.live-indicator {
  margin-left: auto;
  margin-right: 0.8rem;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 20px;
  background: rgba(46, 204, 113, 0.08);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-animation 2s ease-out infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.live-text {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hamburger Button */
.menu-toggle {
  background: none;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.menu-toggle:hover {
  border-color: var(--accent-gold);
  background: rgba(243, 156, 18, 0.08);
}

.menu-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.menu-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-slow);
}

.menu-toggle:hover .menu-hamburger span {
  background: var(--accent-gold);
}

.menu-toggle.active .menu-hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

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

.menu-toggle.active .menu-hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================================
   DROPDOWN NAV
   ============================================================ */
.dropdown-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
  background: var(--bg-card);
  border-top: 1px solid var(--border-card);
}

.dropdown-nav.active {
  max-height: 600px;
  border-bottom: 1px solid var(--border-card);
}

.dropdown-nav-list {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  columns: 2;
  column-gap: 0;
}

.dropdown-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
  break-inside: avoid;
}

.dropdown-nav-list li a:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.dropdown-nav-divider {
  border-top: 1px solid var(--border-card);
  margin: 0.3rem 0;
  column-span: all;
}

.dropdown-nav-label {
  padding: 0.4rem 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  column-span: all;
}

.dropdown-state {
  font-size: 0.85rem;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main {
  margin-top: 60px;
  padding-bottom: 2rem;
}

/* === Breadcrumbs === */
.breadcrumbs {
  padding: 0.8rem 0;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0;
  margin: 0;
}

/* === Date Picker === */
.date-info,
.picker_holder {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
}

.picker_holder {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.picker_holder label {
  color: var(--text-secondary);
}

.picker_holder input[type="date"] {
  background: var(--bg-dark);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
}

.picker_holder input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

/* === Result Blocks === */
.result-block {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  margin-bottom: 1.2rem;
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.result-block:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.result-block h2 {
  color: var(--accent-gold);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.8rem 1rem;
  margin: 0;
  border-bottom: 1px solid var(--border-card);
}

/* === Result Tables === */
.result-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.result-table th {
  background: linear-gradient(135deg, #1a2744, #243557);
  color: var(--text-primary);
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.result-table td {
  padding: 0.55rem 0.8rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.result-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.result-table td:nth-child(2) {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
}

/* === Notification Box === */
.notification-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--accent-red);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  min-height: 4.5rem;
  contain: content;
}

.notification-box strong {
  color: var(--text-primary);
}

/* === Buttons === */
.update,
.search-btn,
.btn-access {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-gold), #e67e22);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--glow-gold);
  text-decoration: none;
  text-align: center;
}

.update:hover,
.search-btn:hover,
.btn-access:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(243, 156, 18, 0.35);
  text-decoration: none;
  color: var(--white);
}

/* === Info Sections === */
.info-section,
.cta-section,
.statistics-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-section h2,
.info-section h3 {
  color: var(--accent-gold);
}

.info-section p {
  color: var(--text-secondary);
  line-height: var(--line-height-loose);
}

.info-section strong {
  color: var(--text-primary);
}

.info-section ul,
.info-section ol {
  color: var(--text-secondary);
}

.info-section li {
  margin-bottom: 0.4rem;
  line-height: var(--line-height-base);
}

.info-section li strong {
  color: var(--text-primary);
}

/* === Groups Grid (Bichos) === */
.group-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: all var(--transition-base);
}

.group-item:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

.group-number {
  color: var(--accent-gold);
  font-weight: 800;
}

.group-name {
  color: var(--text-primary);
  font-weight: 600;
}

.group-numbers {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* === FAQ Accordion === */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item h3 {
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
  transition: background var(--transition-base);
}

.faq-item h3:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item p,
.faq-item .answer {
  padding: 0.8rem 1.2rem;
  color: var(--text-secondary);
  line-height: var(--line-height-loose);
  border-top: 1px solid var(--border-card);
}

/* === State Cards (Result links) === */
.state-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  text-decoration: none;
}

.state-card:hover {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  text-decoration: none;
  color: var(--accent-gold);
}

.state-name {
  color: var(--text-primary);
}

.state-flag {
  vertical-align: middle;
  margin-right: 0.3rem;
}

/* === Tools Grid === */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

.tool-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
  text-decoration: none;
}

.tool-card h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-header);
  border-top: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0;
  margin-top: 2rem;
}

.site-footer h3 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.site-footer a {
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.site-footer a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding: 1rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

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

/* ============================================================
   PAGE-SPECIFIC: Sorteo Description
   ============================================================ */
.sorteo-description {
  margin-top: var(--spacing-sm);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-loose);
  padding: 0.6rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* === Featured Cards === */
.featured-cta,
.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.featured-cta:hover,
.featured-card:hover {
  border-color: var(--accent-gold);
}

/* === Statistics Tables === */
.stats-table {
  width: 100%;
  border-collapse: collapse;
}

.stats-table th {
  background: linear-gradient(135deg, #1a2744, #243557);
  color: var(--text-primary);
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

.stats-table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.stats-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* === Contact / Policies Pages === */
.contact-form input,
.contact-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
}

/* === 404 Page === */
.error-page {
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--accent-gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .dropdown-nav-list {
    columns: 1;
  }

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

  .result-table th,
  .result-table td {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.15rem;
  }

  .live-indicator {
    display: none;
  }

  .container {
    padding: 0 0.75rem;
  }
}

/* === Utility / Legacy Classes === */
.mb-0 {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.highlight-new {
  border: 2px solid var(--accent-gold);
  animation: 2s infinite pulse-highlight;
}

@keyframes pulse-highlight {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(243, 156, 18, 0);
  }
}

/* ==============================================
   DNP Dark Theme — Page Content Styles
   Applied to all resultado pages via shared CSS
   ============================================== */

/* Body dark override */
body {
  background: var(--bg-dark);
  color: var(--text-primary);
}

main {
  margin-top: 60px;
  padding-bottom: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  line-height: 1.3;
}

img,
svg {
  vertical-align: middle;
}

/* DNP Breadcrumbs */
.dnp-breadcrumbs {
  padding: .4rem 0;
  font-size: .85rem;
  color: var(--text-muted);
}

.dnp-breadcrumbs a {
  color: var(--text-secondary);
}

.dnp-breadcrumbs a:hover {
  color: var(--accent-gold);
}

/* DNP Hero */
.dnp-hero {
  text-align: center;
  padding: .5rem 0 .8rem;
}

.dnp-hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: .8rem;
}

.dnp-hero h1 .hl {
  color: var(--accent-gold);
}

.dnp-hero-intro {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-size: .95rem;
  line-height: 1.8;
}

.dnp-hero-intro strong {
  color: var(--text-primary);
}

/* DNP Live Bar */
.dnp-live-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--accent-red);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.dnp-live-time {
  color: var(--text-secondary);
  font-size: .9rem;
}

.dnp-live-time strong {
  color: var(--text-primary);
}

.dnp-live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #c0392b;
  color: #fff;
  padding: .25rem .7rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(192, 57, 43, 0);
  }
}

/* DNP Main Button */
.dnp-btn-main {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 1rem auto;
  padding: .8rem 2rem;
  background: linear-gradient(135deg, var(--accent-gold), #e67e22);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: var(--glow-gold);
  text-align: center;
  text-decoration: none;
}

.dnp-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(243, 156, 18, 0.35);
  color: #fff;
  text-decoration: none;
}

/* DNP Results Section */
.dnp-results-section {
  margin: 1.5rem 0;
}

.dnp-results-section>h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent-gold);
}

/* DNP Result Card */
.dnp-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: border-color .2s;
}

.dnp-result-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.dnp-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border-card);
}

.dnp-result-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0;
  flex: 1;
}

.status-publicado {
  color: var(--accent-green);
  font-size: .8rem;
  font-weight: 600;
}

.status-pendente {
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
}

/* DNP Table */
.dnp-table {
  width: 100%;
  border-collapse: collapse;
}

.dnp-table th {
  background: linear-gradient(135deg, #1a2744, #243557);
  color: var(--text-primary);
  padding: .6rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
}

.dnp-table td {
  padding: .55rem .8rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: .95rem;
}

.dnp-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dnp-milhar {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
}

.dnp-bicho-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}

.dnp-pending {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.7;
}

.dnp-pending a {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dnp-pending a:hover {
  color: #fff;
  text-decoration: none;
}

.dnp-btn-refresh {
  background: var(--accent-gold);
  color: #fff;
  border: none;
  padding: .4rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  margin-top: .5rem;
  font-size: .85rem;
}

/* DNP Sorteo Description (AI commentary) */
.dnp-sorteo-desc {
  padding: .6rem 1rem;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* DNP Share Bar */
.dnp-share-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem .7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dnp-share-label {
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 500;
  margin-right: .2rem;
}

.dnp-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all .2s ease;
  text-decoration: none;
}

.dnp-share-whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

.dnp-share-whatsapp:hover {
  background: #25d366;
  color: #fff;
  transform: scale(1.1);
  text-decoration: none;
}

.dnp-share-telegram {
  color: #0088cc;
  background: rgba(0, 136, 204, 0.1);
}

.dnp-share-telegram:hover {
  background: #0088cc;
  color: #fff;
  transform: scale(1.1);
  text-decoration: none;
}

.dnp-share-x {
  color: #e8e8e8;
  background: rgba(255, 255, 255, 0.08);
}

.dnp-share-x:hover {
  background: #1d9bf0;
  color: #fff;
  transform: scale(1.1);
  text-decoration: none;
}

.dnp-share-facebook {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
}

.dnp-share-facebook:hover {
  background: #1877f2;
  color: #fff;
  transform: scale(1.1);
  text-decoration: none;
}

.dnp-stats-link {
  margin-left: auto;
  color: var(--accent-blue);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  padding: .3rem .6rem;
  border: 1px solid var(--accent-blue);
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.dnp-stats-link:hover {
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
}

/* DNP Crónica */
.dnp-cronica {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.dnp-cronica-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(231, 76, 60, 0.2);
  color: #ff6b6b;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .8rem;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.dnp-cronica p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: .92rem;
}

.dnp-cronica p strong {
  color: var(--text-primary);
}

/* DNP Tools Grid */
.dnp-tools {
  margin: 2rem 0;
}

.dnp-tools h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dnp-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dnp-tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: all .2s;
  text-decoration: none;
}

.dnp-tool-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
  text-decoration: none;
}

.dnp-tool-card .tool-icon {
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.dnp-tool-card h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: .3rem;
  font-weight: 600;
}

.dnp-tool-card p {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
}

/* DNP Info Sections (FAQ, horarios, legal) */
.dnp-info {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.dnp-info h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border-card);
}

.dnp-info h3 {
  color: var(--accent-gold);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.2rem 0 .5rem;
}

.dnp-info p {
  color: var(--text-secondary);
  margin-bottom: .8rem;
  line-height: 1.8;
}

.dnp-info strong {
  color: var(--text-primary);
}

.dnp-info ul,
.dnp-info ol {
  margin: .5rem 0 1rem 1.2rem;
  color: var(--text-secondary);
}

.dnp-info li {
  margin-bottom: .4rem;
  line-height: 1.7;
}

.dnp-info li strong {
  color: var(--text-primary);
}

/* DNP FAQ accordion (details/summary) */
.dnp-faq {
  margin: 2rem 0;
}

.dnp-faq h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dnp-faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: .5rem;
  overflow: hidden;
}

.dnp-faq summary {
  padding: .9rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background .2s;
}

.dnp-faq summary::-webkit-details-marker {
  display: none;
}

.dnp-faq summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent-gold);
  font-weight: 700;
  transition: transform .2s;
}

.dnp-faq details[open] summary::after {
  content: "−";
}

.dnp-faq details[open] summary {
  background: rgba(255, 255, 255, 0.03);
}

.dnp-faq .faq-answer {
  padding: .8rem 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border-card);
}

/* DNP Info Table */
.dnp-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.dnp-info-table th {
  text-align: left;
  padding: .5rem .8rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dnp-info-table td {
  padding: .5rem .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: .9rem;
}

.dnp-info-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* DNP Legal */
.dnp-legal {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-muted);
  font-size: .8rem;
  border-top: 1px solid var(--border-card);
  margin-top: 2rem;
}

.dnp-legal--highlight {
  background: rgba(243, 156, 18, 0.06);
  border: 1px solid rgba(243, 156, 18, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.dnp-legal--highlight p {
  color: var(--text-secondary);
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: .5rem;
}

.dnp-legal--highlight p:last-child {
  margin-bottom: 0;
}

.dnp-legal--highlight strong {
  color: var(--accent-gold);
}

/* Aviso Legal e Jogo Responsável */
.dnp-responsible {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2rem;
}

.dnp-responsible h2 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.dnp-responsible-content p {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: .8rem;
}

.dnp-responsible-content p:last-child {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: .8rem;
}

.dnp-responsible-content a {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Responsive: dnp page */
@media (max-width: 768px) {
  .dnp-tools-grid {
    grid-template-columns: 1fr;
  }

  .dnp-hero h1 {
    font-size: 1.3rem;
  }

  .dnp-live-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .dnp-share-bar {
    flex-wrap: wrap;
  }
}

/* ==============================================
   AI Comments + Trends + Crónica
   ============================================== */

.dnp-sorteo-desc {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--text-muted);
  padding: .8rem 1rem;
  margin: 0;
  border-top: 1px solid var(--border-accent);
  background: rgba(243, 156, 18, 0.04);
}

.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.trend-card {
  background: var(--card-bg);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all .2s;
  display: block;
}

.trend-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.15);
  border-color: var(--accent-gold);
}

.card-gold {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.08), var(--card-bg));
}

.trend-badge {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  margin-bottom: .6rem;
}

.badge-red {
  background: rgba(231, 76, 60, 0.2);
  color: #ff6b6b;
}

.badge-gold {
  background: rgba(243, 156, 18, 0.2);
  color: var(--accent-gold);
}

.trend-main {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
}

.trend-main img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
}

.trend-main span {
  font-weight: 700;
  font-size: 1rem;
}

.trend-card p {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .trends-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   Outros Estados (cross-linking)
   ============================================== */

.dnp-states {
  margin: 2rem 0;
}

.dnp-states h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dnp-states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .7rem;
}

.dnp-state-link {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: .7rem 1rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: .9rem;
  transition: all .2s;
  text-decoration: none;
}

.dnp-state-link:hover {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  text-decoration: none;
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .dnp-states-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dnp-states-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   Notification Banner + Smart Interlinking
   ============================================== */

.dnp-notif-bar {
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid var(--border-accent);
  padding: .7rem 1rem;
  border-radius: var(--radius-md);
  margin: .8rem 0;
  text-align: center;
  animation: notifSlideIn .4s ease;
}

@keyframes notifSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notif-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.dnp-notif-bar span {
  font-size: .85rem;
  color: var(--text-primary);
}

.dnp-btn-sm {
  background: linear-gradient(135deg, var(--accent-gold), #e67e22);
  color: #fff;
  border: none;
  padding: .4rem 1rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 10px rgba(243, 156, 18, 0.25);
}

.dnp-btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.dnp-table td a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
  transition: all .2s;
}

.dnp-table td a:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  text-decoration: none;
}

/* ==============================================
   Bicho Page — Dark Theme Cards
   ============================================== */

/* Bicho Section Card */
.bicho-section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: border-color .2s;
}

.bicho-section:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.bicho-section h2 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border-card);
}

/* Bicho Layout */
.bicho-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.bicho-image {
  flex-shrink: 0;
}

.bicho-image img {
  border-radius: var(--radius-md);
  border: 2px solid var(--border-card);
  max-width: 140px;
  height: auto;
}

.bicho-details {
  flex: 1;
}

.bicho-details h3 {
  color: var(--text-primary);
  font-size: 1rem;
  margin: .8rem 0 .4rem;
}

.bicho-details p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: .6rem;
}

.bicho-details ul {
  margin: .3rem 0 .8rem 1.2rem;
  color: var(--text-secondary);
}

.bicho-details li {
  margin-bottom: .3rem;
  line-height: 1.6;
}

.bicho-details li strong {
  color: var(--text-primary);
}

/* Bicho Links (interlinking) */
.bicho-links {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border-card);
}

.bicho-links p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}

.bicho-links a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.bicho-links a:hover {
  color: var(--accent-gold-hover);
  text-decoration: underline;
}

/* Bicho Navigation Grid */
.bicho-navigation {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
  margin: 1rem 0;
}

.bicho-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}

.bicho-nav-item:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: rgba(243, 156, 18, 0.08);
  text-decoration: none;
}

/* Content Box (dark) */
.content-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin: 1rem 0;
}

.content-box h3 {
  color: var(--accent-gold);
  margin-bottom: .5rem;
}

.content-box p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-box ul {
  margin: .5rem 0 .8rem 1.2rem;
  color: var(--text-secondary);
}

.content-box li {
  margin-bottom: .3rem;
}

/* Tip Box */
.tip-box {
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  margin: .8rem 0;
  color: var(--text-secondary);
}

.tip-box strong {
  color: var(--accent-gold);
}

/* Important Note */
.important-note {
  background: rgba(52, 152, 219, 0.08);
  border: 1px solid rgba(52, 152, 219, 0.2);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  margin: .8rem 0;
  color: var(--text-secondary);
}

.important-note strong {
  color: var(--accent-blue);
}

@media (max-width: 768px) {
  .bicho-content {
    flex-direction: column;
  }

  .bicho-image img {
    max-width: 100%;
  }

  .bicho-navigation {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .bicho-navigation {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Example Box (bet examples) */
.example-box {
  background: rgba(243, 156, 18, 0.06);
  border: 1px solid rgba(243, 156, 18, 0.15);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  margin: .8rem 0;
  color: var(--text-secondary);
}

.example-box strong {
  color: var(--accent-gold);
}

/* Bicho Search Tool */
.bicho-search-tool {
  margin: 1.2rem 0;
}

.search-input-wrapper {
  display: flex;
  gap: .8rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrapper input[type="text"] {
  flex: 1;
  min-width: 180px;
  background: var(--bg-dark);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  padding: .7rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  transition: border-color .2s;
}

.search-input-wrapper input[type="text"]:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

.search-input-wrapper input[type="text"]::placeholder {
  color: var(--text-muted);
}

.search-result {
  margin-top: 1rem;
  background: rgba(243, 156, 18, 0.06);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  animation: fadeInResult .3s ease;
}

.search-result .result-animal {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: .3rem;
}

.search-result .result-group {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: .2rem;
}

.search-result .result-dezenas {
  font-size: .9rem;
  color: var(--text-secondary);
}

@keyframes fadeInResult {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================================
   Enhanced Search Card & Dream Calculator
   ============================================== */
.search-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.search-card__emoji {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.search-card__info {
  flex: 1;
}

.search-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .6rem;
}

.search-card__link {
  display: inline-block;
  padding: .3rem .8rem;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-gold);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}

.search-card__link:hover {
  background: var(--accent-gold);
  color: #fff;
  text-decoration: none;
}

.search-card__link--stats {
  background: rgba(52, 152, 219, 0.1);
  border-color: rgba(52, 152, 219, 0.3);
  color: var(--accent-blue);
}

.search-card__link--stats:hover {
  background: var(--accent-blue);
  color: #fff;
}

.search-card__share {
  padding: .3rem .8rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-sm);
  color: #25d366;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.search-card__share:hover {
  background: #25d366;
  color: #fff;
}

.dream-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .8rem;
}

.dream-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: .8rem;
  text-align: center;
  transition: all .2s;
}

.dream-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.dream-card__emoji {
  font-size: 2rem;
  margin-bottom: .3rem;
}

.dream-card__name {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: .95rem;
}

.dream-card__grupo {
  font-size: .8rem;
  color: var(--text-muted);
  margin: .2rem 0;
}

.dream-card__dezenas {
  font-size: .85rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.dream-card__link {
  display: inline-block;
  margin-top: .4rem;
  font-size: .75rem;
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.dream-card__link:hover {
  text-decoration: underline;
}

.dream-no-result {
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 480px) {
  .search-card {
    flex-direction: column;
    text-align: center;
  }

  .search-card__actions {
    justify-content: center;
  }

  .dream-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==============================================
   Floating TOC — FAB + Panel 
   ============================================== */

/* FAB Button */
.toc-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #e67e22);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.35);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.toc-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.toc-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 28px rgba(243, 156, 18, 0.45);
}

.toc-fab.is-active {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toc-fab__icon {
  pointer-events: none;
}

/* Panel */
.toc-panel {
  position: fixed;
  bottom: 82px;
  right: 24px;
  z-index: 999;
  width: 300px;
  max-height: 70vh;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.toc-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Progress bar */
.toc-panel__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), #e67e22);
  border-radius: 0 3px 3px 0;
  transition: width .15s ease-out;
}

/* Header */
.toc-panel__header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.toc-panel__header svg {
  color: var(--accent-gold);
  stroke: var(--accent-gold);
}

/* List */
.toc-panel__list {
  list-style: none;
  padding: .4rem 0;
  margin: 0;
  overflow-y: auto;
  flex: 1;
}

.toc-panel__item {
  border-left: 3px solid transparent;
  transition: all .2s;
}

.toc-panel__item.is-active {
  border-left-color: var(--accent-gold);
  background: rgba(243, 156, 18, 0.06);
}

.toc-panel__link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 500;
  transition: all .15s;
}

.toc-panel__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.toc-panel__item.is-active .toc-panel__link {
  color: var(--accent-gold);
  font-weight: 600;
}

.toc-panel__emoji {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.toc-panel__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 480px) {
  .toc-fab {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .toc-panel {
    bottom: 70px;
    right: 16px;
    width: calc(100vw - 32px);
    max-width: 320px;
  }
}

/* ==============================================
   Landing Page — Index "Jogo do Bicho"
   ============================================== */

/* Hero */
.lp-hero {
  text-align: center;
  padding: 1.5rem 0 1rem;
}

.lp-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #fff 50%, var(--accent-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: lp-shimmer 4s linear infinite;
  margin-bottom: .6rem;
  line-height: 1.2;
}

@keyframes lp-shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.lp-hero-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto .8rem;
  line-height: 1.7;
}

.lp-hero-sub strong {
  color: var(--text-primary);
}

.lp-hero-date {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: 20px;
  padding: .35rem 1rem;
  font-size: .85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* States Grid */
.lp-states {
  margin: 1.2rem 0 1.5rem;
}

.lp-states-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.lp-states-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-card), transparent);
}

.lp-states-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}

.lp-state-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}

.lp-state-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s;
}

.lp-state-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.15);
  text-decoration: none;
  color: var(--accent-gold);
}

.lp-state-card:hover::before {
  opacity: 1;
}

.lp-state-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
  z-index: 1;
}

.lp-state-info {
  z-index: 1;
  line-height: 1.3;
}

.lp-state-name {
  display: block;
  font-weight: 700;
  font-size: .9rem;
}

.lp-state-banca {
  display: block;
  font-weight: 400;
  font-size: .75rem;
  color: var(--text-muted);
}

.lp-state-card:hover .lp-state-banca {
  color: var(--text-secondary);
}

/* Feature Cards */
.lp-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.lp-feature {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}

.lp-feature:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.lp-feature--stats {
  border-left: 4px solid var(--accent-blue);
}

.lp-feature--palpites {
  border-left: 4px solid var(--accent-green);
}

.lp-feature--bichos {
  border-left: 4px solid var(--accent-gold);
}

.lp-feature-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .8rem;
}

.lp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.lp-feature--stats .lp-feature-icon {
  background: rgba(52, 152, 219, 0.12);
}

.lp-feature--palpites .lp-feature-icon {
  background: rgba(46, 204, 113, 0.12);
}

.lp-feature--bichos .lp-feature-icon {
  background: rgba(243, 156, 18, 0.12);
}

.lp-feature h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.lp-feature p {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: .8rem;
}

.lp-feature p strong {
  color: var(--text-primary);
}

.lp-feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}

.lp-highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .7rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

.lp-feature--stats .lp-highlight-tag {
  background: rgba(52, 152, 219, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.lp-feature--palpites .lp-highlight-tag {
  background: rgba(46, 204, 113, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.lp-feature--bichos .lp-highlight-tag {
  background: rgba(243, 156, 18, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(243, 156, 18, 0.2);
}

.lp-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.3rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}

.lp-feature--stats .lp-feature-cta {
  background: linear-gradient(135deg, var(--accent-blue), #2980b9);
  color: #fff;
  box-shadow: 0 2px 12px rgba(52, 152, 219, 0.3);
}

.lp-feature--palpites .lp-feature-cta {
  background: linear-gradient(135deg, var(--accent-green), #27ae60);
  color: #fff;
  box-shadow: 0 2px 12px rgba(46, 204, 113, 0.3);
}

.lp-feature--bichos .lp-feature-cta {
  background: linear-gradient(135deg, var(--accent-gold), #e67e22);
  color: #fff;
  box-shadow: 0 2px 12px rgba(243, 156, 18, 0.3);
}

.lp-feature-cta:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.lp-feature--stats .lp-feature-cta:hover {
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.45);
}

.lp-feature--palpites .lp-feature-cta:hover {
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.45);
}

.lp-feature--bichos .lp-feature-cta:hover {
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.45);
}

/* Counters Row */
.lp-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin: 1.5rem 0;
}

.lp-counter {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem .5rem;
}

.lp-counter-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  font-variant-numeric: tabular-nums;
}

.lp-counter-label {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: .2rem;
  display: block;
}

/* Landing FAQ */
.lp-faq {
  margin: 1.5rem 0;
}

.lp-faq h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .lp-hero h1 {
    font-size: 1.6rem;
  }

  .lp-states-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-counters {
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
  }

  .lp-counter-value {
    font-size: 1.1rem;
  }

  .lp-feature {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .lp-hero h1 {
    font-size: 1.35rem;
  }

  .lp-states-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-state-card {
    padding: .6rem .8rem;
    font-size: .85rem;
  }

  .lp-counters {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-counter {
    padding: .7rem .3rem;
  }

  .lp-counter-value {
    font-size: 1rem;
  }

  .lp-counter-label {
    font-size: .68rem;
  }

  .lp-feature-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
}