:root {
  --bg: #0a0d14;
  --surface: #10141f;
  --surface-strong: #171c2a;
  --surface-soft: #1d2432;
  --text: #f5f7fb;
  --text-muted: #abb2c5;
  --text-dim: #7a8296;
  --text-primary: #f5f7fb;
  --text-secondary: #c7d5e6;
  --border: rgba(255, 255, 255, 0.09);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #00ff87;
  --accent-ink: #001b10;
  --accent-soft: rgba(0, 255, 135, 0.1);
  --accent-dim: rgba(0, 255, 135, 0.3);
  --ticket-flat-bg: #08231a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: none;
}

body {
  background: var(--bg);
  color: var(--text);
}

main {
  overflow-x: clip;
}

.site-header {
  background: rgba(10, 13, 20, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(10, 13, 20, 0.98);
  border-color: var(--border-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.header-inner {
  padding: 0.78rem 0;
}

.brand img {
  height: 34px;
  width: 34px;
}

.brand span {
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 1.2rem;
}

.nav-links a,
.nav-dropdown > span {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-dropdown-content {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
}

main.container,
main > .container,
.section.container,
.hero.container {
  max-width: 1120px;
}

main > .container[style*="border-bottom"],
main > .container[style*="breadcrumb"] {
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 0.75rem !important;
  padding-top: 0.75rem !important;
}

nav[aria-label*="breadcrumb" i],
nav[aria-label*="Breadcrumb" i] {
  color: var(--text-muted) !important;
}

nav[aria-label*="breadcrumb" i] a,
nav[aria-label*="Breadcrumb" i] a {
  color: var(--text-muted) !important;
}

.hero,
main > section.container:first-of-type:not(.section):not(.challenges-app):not(.plan-page) {
  border-bottom: 1px solid var(--border);
  max-width: none;
  padding-bottom: 2.25rem !important;
  padding-top: 3.5rem !important;
  text-align: center;
}

.hero .hero-simple,
.hero .hero-copy,
main > section.container:first-of-type:not(.section):not(.challenges-app):not(.plan-page) > div {
  max-width: 880px !important;
}

.hero h1,
main > section.container:first-of-type h1,
main.container > .section:first-child h1,
.plan-hero h1,
.challenges-hero h1 {
  color: var(--text);
  font-size: 3.25rem !important;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06 !important;
  overflow-wrap: anywhere;
}

.hero p:not(.hero-label),
main > section.container:first-of-type p:not(.hero-label),
main.container > .section:first-child p.lead,
.plan-hero p,
.challenges-hero p {
  color: var(--text-muted);
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.hero-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  padding-bottom: 2.25rem !important;
  padding-top: 2.25rem !important;
}

.section.container,
main.container,
main > .container,
.hero.container,
.quiz-section.container,
.challenges-hero.container,
.challenges-faq.container {
  margin-left: auto !important;
  margin-right: auto !important;
}

main.container > .section:first-child {
  border-top: 0 !important;
  padding-top: 3.25rem !important;
}

.section h1,
.section h2,
.section h3,
.section h4 {
  color: var(--text);
  letter-spacing: 0;
}

.section h2,
.challenges-faq h2,
.plan-section h2 {
  font-size: 2rem !important;
  font-weight: 700;
  line-height: 1.16 !important;
  margin-bottom: 0.9rem;
}

.section.container > h1,
.section.container > h2,
.section.container > .lead,
.section.container > p.lead,
main.container > .section > h1,
main.container > .section > h2,
main.container > .section > .lead,
main.container > .section > p.lead {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px;
  text-align: center !important;
}

.section.container > .section-header,
main.container > .section > .section-header {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px;
  text-align: center !important;
}

.section.container > .cards-grid,
.section.container > .guides-grid,
.section.container > .faq-grid,
main.container > .section > .cards-grid,
main.container > .section > .guides-grid,
main.container > .section > .faq-grid {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1120px;
}

.section p,
.section li,
.card-desc,
.faq-answer p,
.plan-section p,
.plan-section li {
  color: var(--text-muted);
}

.section p.lead,
.lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.section a:not(.btn),
.plan-section a:not(.btn),
.challenges-faq a:not(.btn) {
  color: var(--accent);
  text-decoration: none;
}

.section strong,
.card strong,
.plan-section strong {
  color: var(--text);
}

main div[style*="background: rgba(0,255,135"],
main div[style*="background: rgba(0, 255, 135"],
main div[style*="background: rgba(255,255,255"],
main div[style*="background: rgba(255, 255, 255"],
main div[style*="background: var(--surface-strong"],
main div[style*="background:var(--surface-strong"],
main div[style*="background: linear-gradient"],
main section[style*="background: rgba"],
main section[style*="background: linear-gradient"],
main article[style*="background: rgba"],
main article[style*="background: linear-gradient"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

main > section[style*="background: rgba"],
main > section[style*="background: linear-gradient"] {
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}

main div[style*="border-left: 3px"],
main div[style*="border-left:3px"] {
  border-left: 1px solid var(--border) !important;
}

main [style*="box-shadow"] {
  box-shadow: none !important;
}

.cards-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.cards-grid > .card,
.faq-item,
.challenge-faq-item,
.challenge-mobile-card,
.challenge-filters,
.challenge-list-panel,
.challenge-stat,
.plan-hero-card,
.plan-cta-box,
.plan-section,
.plan-faq-item,
.plan-summary div,
.winner-card,
.alternative-card,
#quiz-container,
.quiz-result,
main article[style*="border"],
main div[style*="border: 1px"][style*="border-radius"],
main div[style*="border:1px"][style*="border-radius"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.plan-main .plan-cta-box {
  background:
    linear-gradient(90deg, rgba(0, 255, 135, 0.08), rgba(0, 255, 135, 0) 46%),
    var(--surface) !important;
  border-color: rgba(0, 255, 135, 0.22) !important;
  box-shadow: none !important;
}

.plan-main .plan-cta-box .btn-primary {
  border-radius: 10px !important;
  box-shadow: none !important;
  min-height: 44px;
}

.card,
.cards-grid > .card {
  height: auto;
  padding: 0 !important;
}

.card-body {
  padding: 1rem !important;
}

.card h3,
.card h4,
.faq-item h3,
.challenge-faq-item h3 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.35;
}

.card:hover,
.cards-grid > .card:hover,
main article[style*="border"]:hover,
.challenge-mobile-card:hover,
.plan-section:hover {
  border-color: var(--border-strong) !important;
  transform: none !important;
}

#ofertas > article,
#offers > article {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  margin-bottom: 14px !important;
  padding: 18px !important;
}

#ofertas > article:first-of-type,
#offers > article:first-of-type {
  border-color: var(--accent-dim) !important;
}

#ofertas img,
#offers img,
.firm-logo,
.challenge-firm-logo {
  background: #05070c;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  object-fit: contain;
  padding: 6px;
}

main table {
  background: var(--surface);
  border-collapse: collapse;
  color: var(--text);
  width: 100%;
}

main th,
main td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

main th {
  background: var(--surface-strong) !important;
  color: var(--text-muted) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

main td {
  color: var(--text-muted);
}

main td strong,
main td a {
  color: var(--text);
}

main div[style*="overflow-x:auto"],
main div[style*="overflow-x: auto"],
.payout-table-wrap,
.plan-table-wrap,
.cheap-table-wrap {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1120px;
  overflow-x: auto;
}

.btn,
a.btn,
button.btn,
.copy-btn,
.filter-reset,
.challenge-cta,
.get-deal-btn {
  border-radius: 10px !important;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 42px;
}

.btn-primary,
.challenge-cta,
.get-deal-btn,
.btn-table-col,
a[style*="background: var(--accent)"],
a[style*="background:#00ff87"],
a[style*="background: #00ff87"],
button[style*="background: var(--accent)"],
button[style*="background:#00ff87"],
button[style*="background: #00ff87"] {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #03140b !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.btn-secondary {
  background: var(--surface-strong) !important;
  border: 1px solid var(--border-strong) !important;
  color: var(--text) !important;
}

.btn-primary:hover,
.btn-secondary:hover,
.challenge-cta:hover,
.get-deal-btn:hover,
.btn-table-col:hover {
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

.btn-primary *,
.challenge-cta *,
.get-deal-btn *,
.btn-table-col *,
a[style*="background: var(--accent)"] *,
a[style*="background:#00ff87"] *,
a[style*="background: #00ff87"] * {
  color: inherit !important;
}

.code-block {
  align-items: stretch;
  background: var(--ticket-flat-bg) !important;
  border: 1px solid var(--accent-dim) !important;
  border-radius: 10px !important;
  display: inline-flex;
  gap: 0;
  overflow: hidden;
}

.code-copy,
code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.code-copy {
  color: var(--accent) !important;
  font-weight: 800;
  padding: 0.65rem 0.85rem;
}

.copy-btn {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: #03140b !important;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
}

.copy-btn.is-copied,
.copy-btn.code-pill-col.is-copied {
  background: #10ff93 !important;
  border-color: #10ff93 !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.14) !important;
  color: #03140b !important;
  transform: translateY(-1px) !important;
}

.code-block.is-copied {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.1) !important;
}

.copy-btn.code-pill-col {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #03140b !important;
}

.copy-btn.code-pill-col .c-text,
.copy-btn.code-pill-col .c-icon {
  color: #03140b !important;
  opacity: 1 !important;
}

main code[style] {
  background: var(--ticket-flat-bg) !important;
  border: 1px solid var(--accent-dim);
  border-radius: 8px !important;
  color: var(--accent) !important;
}

.badge,
.firm-badge,
.disc-pct,
.plan-verdict-badge,
.active-sort-pill {
  background: var(--accent-soft) !important;
  border: 1px solid var(--accent-dim) !important;
  border-radius: 999px !important;
  color: var(--accent) !important;
}

.disc-code,
.code-val {
  color: var(--accent) !important;
}

.faq-grid,
.challenges-faq-grid,
.plan-faq {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.faq-item,
.challenge-faq-item,
.plan-faq-item {
  padding: 1rem !important;
}

.faq-question {
  color: var(--text);
  font-weight: 800;
}

.faq-answer {
  color: var(--text-muted);
}

.guide-card {
  transform: none !important;
}

.guide-card:hover {
  border-color: var(--border-strong) !important;
  box-shadow: none !important;
  transform: none !important;
}

.guide-card .card-body {
  min-height: 0 !important;
}

.guide-btn {
  border-radius: 10px !important;
}

.quiz-section {
  padding-bottom: 2.25rem;
  padding-top: 2.25rem;
}

.quiz-option,
.quiz-options button,
.filter-input,
.filter-select,
input,
select,
textarea {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
}

.quiz-option:hover,
.quiz-options button:hover,
.filter-input:focus,
.filter-select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-dim) !important;
  outline: 2px solid rgba(0, 255, 135, 0.16) !important;
}

.quiz-progress {
  background: var(--surface-strong) !important;
  border-radius: 999px !important;
  overflow: hidden;
}

.quiz-progress-bar {
  background: var(--accent) !important;
}

#perfiles,
#faq {
  margin-left: auto !important;
  margin-right: auto !important;
}

#perfiles > h2,
#faq > h2,
#faq > .lead {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 880px;
  text-align: center;
}

#perfiles > p {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px;
}

#perfiles > p:first-of-type {
  text-align: center;
}

#perfiles > div,
#faq .faq-grid {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1120px;
}

#perfiles > div > div,
#faq .faq-grid {
  text-align: left;
}

.challenge-table th {
  background: var(--surface) !important;
}

.challenge-list-toolbar,
.challenge-mobile-details div {
  background: var(--surface-strong) !important;
  border-color: var(--border) !important;
}

.plan-page.container,
.challenges-app.container {
  max-width: 1488px;
}

.plan-hero.container {
  max-width: none !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center !important;
}

.plan-hero-grid {
  justify-content: center;
  justify-items: center;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 980px !important;
  text-align: center !important;
  width: 100%;
}

.plan-hero-grid > div:first-child {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 860px;
  text-align: center !important;
  width: 100%;
}

.plan-hero h1,
.plan-hero p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.challenges-hero-grid {
  grid-template-columns: 1fr !important;
  justify-items: center;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px;
  text-align: center;
  width: 100%;
}

.challenges-hero {
  text-align: center !important;
}

.challenges-hero-grid > div:first-child {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 900px;
  text-align: center !important;
  width: 100%;
}

.challenges-hero h1 {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 880px;
  text-align: center !important;
}

.challenges-hero p {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  text-align: center !important;
}

.challenge-stats {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
  width: 100%;
}

.plan-layout,
.challenges-layout {
  gap: 1rem;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.footer-inner {
  gap: 1.5rem;
}

.footer-links a,
.footer p,
.footer small {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .hero h1,
  main > section.container:first-of-type h1,
  main.container > .section:first-child h1,
  .plan-hero h1,
  .challenges-hero h1 {
    font-size: 2.45rem !important;
  }

  .section h2,
  .challenges-faq h2,
  .plan-section h2 {
    font-size: 1.65rem !important;
  }

  .cards-grid,
  .guides-grid,
  .faq-grid,
  .challenges-faq-grid,
  .plan-summary {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  main.container,
  main > .container,
  .section.container,
  .hero.container {
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero,
  main > section.container:first-of-type:not(.section):not(.challenges-app):not(.plan-page) {
    padding-bottom: 1.7rem !important;
    padding-top: 2.4rem !important;
  }

  .hero .hero-simple,
  .hero .hero-copy,
  main > section.container:first-of-type:not(.section):not(.challenges-app):not(.plan-page) > div {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .hero h1,
  main > section.container:first-of-type h1,
  main.container > .section:first-child h1,
  .plan-hero h1,
  .challenges-hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.12 !important;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section {
    padding-bottom: 1.75rem !important;
    padding-top: 1.75rem !important;
  }

  .section > *,
  .cards-grid,
  .card,
  .card-body,
  main article,
  main div {
    min-width: 0;
  }

  .card-body,
  .faq-item,
  .challenge-faq-item,
  .plan-faq-item,
  #ofertas > article,
  #offers > article {
    padding: 1rem !important;
  }

  .btn,
  a.btn,
  button.btn,
  .challenge-cta,
  .get-deal-btn {
    justify-content: center;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    width: 100%;
  }

  .code-block {
    display: grid;
    width: 100%;
  }

  .copy-btn {
    width: 100%;
  }

  main table {
    min-width: 720px;
  }
}
