/* ============================================
   RANKING.CSS — Main page & interior page styles
   ============================================ */

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(160deg, #0f1a2e 0%, var(--color-bg) 60%);
}

.hero .container {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.875rem 0.25rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-green);
  margin-bottom: 1.25rem;
}

.hero-badge [data-lucide] {
  width: 14px;
  height: 14px;
  stroke: var(--color-green);
}

.hero h1 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.hero-intro {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-meta {
  font-size: 0.8125rem;
  color: #64748B;
}

/* ============================================
   CONVERTER CARD
   ============================================ */

.converter-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(247,147,26,0.05);
}

.converter-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--color-border);
}

.converter-title [data-lucide] {
  width: 18px;
  height: 18px;
  stroke: var(--color-primary);
}

.converter-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.converter-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.converter-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.converter-field input {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font);
  padding: 0.625rem 0.875rem;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.converter-field input:focus {
  border-color: var(--color-primary);
}

.converter-field input#ngn-input {
  color: var(--color-green);
}

.converter-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  padding: 0.125rem 0;
}

.converter-swap [data-lucide] {
  width: 16px;
  height: 16px;
}

.converter-rate {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 0.375rem;
}

.converter-rate span {
  color: var(--color-text);
  font-weight: 600;
}

.converter-disclaimer {
  font-size: 0.75rem;
  color: #64748B;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.converter-disclaimer [data-lucide] {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #64748B;
}

.converter-updated {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.75rem;
}

/* ============================================
   ARTICLE SECTIONS
   ============================================ */

.article-body {
  padding: 3rem 0;
}

.article-body .container {
  display: grid;
  gap: 0;
}

@media (min-width: 1000px) {
  .article-body .container {
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
  }
}

.article-content {
  min-width: 0;
}

/* Sidebar */
.article-sidebar {
  display: none;
}

@media (min-width: 1000px) {
  .article-sidebar {
    display: block;
    position: sticky;
    top: 80px;
  }
}

.sidebar-cta {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.sidebar-cta p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ============================================
   ARTICLE TYPOGRAPHY
   ============================================ */

.article-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1.75rem 0 0.625rem;
}

.article-content p {
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.article-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.article-content li {
  margin-bottom: 0.375rem;
  line-height: 1.7;
}

/* Section snippet (featured snippet sentence) */
.snippet {
  background: rgba(247, 147, 26, 0.07);
  border-left: 3px solid var(--color-primary);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}

.comparison-table th {
  background: var(--color-surface-raised);
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.comparison-table th:first-child {
  min-width: 140px;
}

.comparison-table th:nth-child(2) {
  min-width: 100px;
}

.comparison-table td {
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  vertical-align: middle;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.comparison-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Top pick row */
.row-top-pick td {
  background: rgba(247, 147, 26, 0.05);
}

.row-top-pick td:first-child {
  color: var(--color-primary);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green);
}

.badge-orange {
  background: rgba(247, 147, 26, 0.15);
  color: var(--color-primary);
}

.badge-muted {
  background: rgba(148, 163, 184, 0.1);
  color: var(--color-muted);
}

.badge [data-lucide] {
  width: 10px;
  height: 10px;
}

/* Top pick label */
.top-pick-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.top-pick-label [data-lucide] {
  width: 14px;
  height: 14px;
  stroke: var(--color-primary);
}

/* ============================================
   STEPS
   ============================================ */

.steps-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #000;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.step-body p {
  margin: 0;
  font-size: 0.9375rem;
}

/* ============================================
   PREPARE LIST
   ============================================ */

.prepare-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prepare-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.prepare-list [data-lucide] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
}

/* ============================================
   SCAM PATTERNS
   ============================================ */

.scam-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.scam-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
}

.scam-item [data-lucide] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--color-danger);
  margin-top: 2px;
}

.scam-item-body {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.scam-item-body strong {
  color: var(--color-text);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

/* ============================================
   SAFETY CHECKLIST
   ============================================ */

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.checklist li {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.checklist [data-lucide] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  stroke: var(--color-green);
  margin-top: 2px;
}

/* ============================================
   LEGAL INFO BOX
   ============================================ */

.info-box {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}

.info-box [data-lucide] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--color-green);
  margin-top: 2px;
}

.info-box-body {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.info-box-body strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 1rem 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  transition: background 0.15s;
}

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

.faq-item summary:hover {
  background: var(--color-surface);
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--color-muted);
  transition: transform 0.2s;
}

.faq-item[open] summary {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  padding: 1rem 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================
   CONCLUSION CTA
   ============================================ */

.conclusion-cta {
  background: linear-gradient(135deg, rgba(247,147,26,0.1) 0%, rgba(247,147,26,0.04) 100%);
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.conclusion-cta p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.article-updated {
  font-size: 0.8125rem;
  color: #64748B;
  margin-top: 0.5rem;
}

/* ============================================
   DISCLAIMER
   ============================================ */

.disclaimer-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  font-size: 0.8125rem;
  color: #64748B;
  line-height: 1.6;
}

.disclaimer-box [data-lucide] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  stroke: #64748B;
  margin-top: 2px;
}

/* ============================================
   INTERIOR PAGES (about, contact, etc.)
   ============================================ */

.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--color-muted);
  font-size: 1rem;
}

.page-content {
  padding: 3rem 0;
  max-width: 720px;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 2rem 0 0.75rem;
}

.page-content p {
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.page-content ul {
  color: var(--color-muted);
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.page-content li {
  margin-bottom: 0.375rem;
  line-height: 1.7;
}

.page-content a {
  color: var(--color-primary);
}
