/*
Theme Name: The Psychic Readers
Theme URI: https://the-psychic-readers.com
Author: The Psychic Readers
Description: Premium psychic reading review & affiliate theme. SEO-optimized, Schema.org markup, light mystical design. For The-Psychic-Readers.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: psychic-readers
Tags: affiliate, review, seo, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --pu: #6B4FA0;
  --pul: #8B6BBD;
  --puu: #F3EFFE;
  --puul: #EAE0FC;
  --go: #B8860B;
  --gol: #D4A017;
  --gob: #FFF8E7;
  --wh: #FFFFFF;
  --bg: #FAF8FF;
  --bg2: #F3EFFE;
  --tx: #1A1035;
  --txm: #5A4F7A;
  --txl: #9488B3;
  --bdr: #DDD5F5;
  --bdr2: #C4B8E8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(107,79,160,0.12);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--pu); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pul); }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: .9em; }
ul, ol { padding-left: 1.4em; margin-bottom: 1em; }
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.25;
  color: var(--tx);
}
h1 { font-size: clamp(1.6rem,3vw,2.3rem); }
h2 { font-size: clamp(1.2rem,2.2vw,1.65rem); margin-bottom: .5rem; }
h3 { font-size: 1rem; margin-bottom: .4rem; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 20px; }
.section-alt { background: var(--bg2); }
.section-title { text-align: center; margin-bottom: 8px; }
.section-sub {
  text-align: center; color: var(--txm);
  font-size: .9rem; max-width: 520px;
  margin: 0 auto 32px;
}

/* ============================================================
   HEADER
============================================================ */
#site-header {
  background: var(--wh);
  border-bottom: 1.5px solid var(--bdr);
  position: sticky; top: 0; z-index: 999;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  max-width: 1060px; margin: 0 auto;
  padding: 13px 20px; gap: 12px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--tx); line-height: 1.1; }
.logo-text small {
  display: block; font-size: .68rem;
  font-family: 'Inter', sans-serif; color: var(--txm);
  font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.main-nav { display: flex; gap: 20px; }
.main-nav a { color: var(--txm); font-size: .82rem; font-weight: 500; }
.main-nav a:hover { color: var(--pu); }
.header-cta {
  background: var(--pu); color: #fff !important;
  padding: 8px 18px; border-radius: 30px;
  font-size: .78rem; font-weight: 600; white-space: nowrap;
}
.header-cta:hover { background: var(--pul) !important; }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  background: linear-gradient(158deg,#fff 0%,#F3EFFE 55%,#EDE3FC 100%);
  padding: 52px 20px 44px; text-align: center;
  border-bottom: 1.5px solid var(--bdr);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wh); border: 1.5px solid var(--bdr2);
  color: var(--pu); padding: 5px 15px; border-radius: 30px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-sub { max-width: 600px; margin: 0 auto 28px; color: var(--txm); font-size: .95rem; }
.hero-buttons { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.btn-primary {
  background: var(--pu); color: #fff;
  padding: 12px 26px; border-radius: 40px;
  font-size: .9rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--pul); color: #fff; transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--bdr2); color: var(--pu);
  padding: 11px 22px; border-radius: 40px; font-size: .88rem; font-weight: 500;
}
.btn-outline:hover { background: var(--puu); }
.hero-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-tag {
  background: var(--wh); border: 1.5px solid var(--bdr);
  color: var(--txm); padding: 6px 14px; border-radius: 30px;
  font-size: .78rem; font-weight: 500;
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar { background: var(--wh); border-bottom: 1.5px solid var(--bdr); }
.trust-inner {
  display: flex; justify-content: center;
  max-width: 1060px; margin: 0 auto; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-right: 1px solid var(--bdr);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--puul); border: 1.5px solid var(--bdr2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 13px; color: var(--pu);
}
.trust-text strong { display: block; font-size: .78rem; color: var(--tx); font-weight: 600; line-height: 1.2; }
.trust-text span { display: block; font-size: .67rem; color: var(--txl); }

/* ============================================================
   RANKING CARDS
============================================================ */
.rankings-section { padding: 52px 20px; }
.filter-bar {
  display: flex; justify-content: center; gap: 7px;
  flex-wrap: wrap; margin-bottom: 26px;
}
.filter-btn {
  background: var(--wh); border: 1.5px solid var(--bdr);
  color: var(--txm); padding: 6px 16px; border-radius: 30px;
  cursor: pointer; font-size: .78rem; font-weight: 500;
  font-family: inherit; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--puul); border-color: var(--bdr2); color: var(--pu);
}
.rankings-list { display: flex; flex-direction: column; gap: 14px; max-width: 900px; margin: 0 auto; }
.rank-card {
  background: var(--wh); border: 1.5px solid var(--bdr); border-radius: 16px;
  padding: 20px 22px;
  display: grid; grid-template-columns: 44px 110px 1fr 108px;
  align-items: center; gap: 16px;
  transition: box-shadow .2s, transform .2s;
  position: relative; overflow: visible;
}
.rank-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rank-card.top-pick { border: 2px solid var(--pu); }
.top-badge {
  position: absolute; top: -11px; left: 16px;
  background: var(--pu); color: #fff;
  font-size: .61rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 3px 11px; border-radius: 20px;
}
.rank-number { text-align: center; }
.rank-num { font-family: 'Playfair Display', serif; font-size: 1.65rem; font-weight: 700; color: var(--pu); }
.rank-lbl { font-size: .6rem; color: var(--txl); text-transform: uppercase; letter-spacing: .06em; }
.rank-logo {
  background: #fff; border: 1.5px solid var(--bdr); border-radius: 11px;
  height: 60px; display: flex; align-items: center; justify-content: center;
  padding: 8px; overflow: hidden;
}
.rank-logo img { max-width: 94px; max-height: 42px; object-fit: contain; }
.rank-logo-text {
  font-family: 'Playfair Display', serif; font-size: .75rem;
  font-weight: 600; color: var(--pu); text-align: center; line-height: 1.3;
}
.rank-info h3 { font-size: .9rem; margin-bottom: 4px; }
.offer-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--gob); border: 1px solid #E8C84A; color: #7A5C00;
  padding: 3px 9px; border-radius: 20px; font-size: .68rem; font-weight: 600; margin-bottom: 7px;
}
.rank-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.rank-features li { font-size: .75rem; color: var(--txm); display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; }
.feat-check {
  width: 13px; height: 13px; border-radius: 50%; background: var(--puul);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 9px; color: var(--pu);
}
.rank-action { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.score-ring {
  width: 52px; height: 52px; border-radius: 50%; background: var(--puu);
  border: 2.5px solid var(--pu); display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-num { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--pu); line-height: 1; }
.score-lbl { font-size: .5rem; color: var(--txl); text-transform: uppercase; }
.stars { display: flex; gap: 1px; }
.star { width: 10px; height: 10px; fill: #D4A017; }
.star-empty { width: 10px; height: 10px; fill: var(--bdr); }
.visit-btn {
  background: var(--pu); color: #fff !important;
  padding: 8px 13px; border-radius: 22px; font-size: .72rem; font-weight: 600;
  text-align: center; display: block; white-space: nowrap;
}
.visit-btn:hover { background: var(--pul) !important; transform: translateY(-1px); }

/* ============================================================
   COMPARISON TABLE
============================================================ */
.compare-wrap { overflow-x: auto; max-width: 900px; margin: 0 auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.compare-table th {
  background: var(--puul); color: var(--pu);
  padding: 10px 12px; text-align: left;
  font-weight: 600; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
}
.compare-table td { padding: 9px 12px; border-bottom: 1px solid var(--bdr); color: var(--txm); vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--puu); }
.tag-pill { display: inline-block; background: var(--puul); color: var(--pu); padding: 2px 8px; border-radius: 10px; font-size: .67rem; font-weight: 600; }
.tag-green { background: #E1F5EE; color: #085041; }
.tag-amber { background: var(--gob); color: #7A5C00; }

/* ============================================================
   ARTICLE / CONTENT
============================================================ */
.article-body { max-width: 820px; margin: 0 auto; font-size: .93rem; }
.article-body h2 { margin: 2rem 0 .75rem; }
.article-body h3 { margin: 1.5rem 0 .5rem; color: var(--pu); }
.article-body p { color: var(--txm); line-height: 1.8; }
.article-body ul { list-style: none; padding: 0; margin: .5em 0 1em; }
.article-body ul li { font-size: .88rem; color: var(--txm); display: flex; align-items: flex-start; gap: 8px; margin-bottom: .45em; }
.article-body ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pu); flex-shrink: 0; margin-top: .45em;
}
.stats-strip {
  background: var(--puul); border: 1.5px solid var(--bdr2); border-radius: 14px;
  padding: 24px 20px; margin: 2rem 0;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 16px; text-align: center;
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--pu); }
.stat-lbl { font-size: .75rem; color: var(--txm); margin-top: 2px; }
.signs-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 14px; margin: 1.5rem 0; }
.sign-card { background: var(--wh); border: 1.5px solid var(--bdr); border-radius: 14px; padding: 18px 16px; }
.sign-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--puul); line-height: 1; margin-bottom: 6px; }
.sign-card h3 { font-size: .88rem; margin-bottom: 5px; }
.sign-card p { font-size: .78rem; color: var(--txm); margin: 0; line-height: 1.55; }
.warn-box {
  background: #FFF8E7; border: 1.5px solid #E8C84A; border-radius: 12px;
  padding: 18px 20px; margin: 1.5rem 0; display: flex; gap: 13px;
}
.warn-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.warn-box h4 { font-size: .88rem; color: #7A5C00; margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.warn-box p { font-size: .8rem; color: #9A7720; margin: 0; line-height: 1.6; }

/* ============================================================
   REVIEWS
============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(235px,1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.review-card { background: var(--wh); border: 1.5px solid var(--bdr); border-radius: 13px; padding: 18px 16px; }
.review-quote { font-size: 2.2rem; color: var(--puul); line-height: .65; font-family: 'Playfair Display', serif; margin-bottom: 7px; display: block; }
.review-text { font-size: .8rem; color: var(--txm); line-height: 1.65; margin-bottom: 12px; font-style: italic; }
.review-footer { display: flex; align-items: center; justify-content: space-between; }
.review-user { display: flex; align-items: center; gap: 8px; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; flex-shrink: 0; }
.review-name { font-size: .78rem; font-weight: 600; color: var(--tx); }
.review-meta { font-size: .67rem; color: var(--txl); }
.review-badge { font-size: .63rem; background: var(--puul); color: var(--pu); padding: 2px 7px; border-radius: 10px; font-weight: 600; }

/* ============================================================
   HOW TO CHOOSE
============================================================ */
.choose-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(195px,1fr)); gap: 13px; max-width: 960px; margin: 0 auto; }
.choose-card { background: var(--wh); border: 1.5px solid var(--bdr); border-radius: 13px; padding: 18px 15px; }
.choose-card:hover { box-shadow: 0 3px 16px rgba(107,79,160,.09); }
.choose-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--puul); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 1.1rem; }
.choose-card h3 { font-size: .85rem; margin-bottom: 5px; }
.choose-card p { font-size: .76rem; color: var(--txm); margin: 0; line-height: 1.55; }

/* ============================================================
   FAQ
============================================================ */
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 9px; }
.faq-item { background: var(--wh); border: 1.5px solid var(--bdr); border-radius: 11px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 15px 17px; color: var(--tx); font-size: .85rem;
  font-family: inherit; font-weight: 500; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 9px;
}
.faq-question:hover { background: var(--bg2); }
.faq-item.open .faq-question { background: var(--puu); color: var(--pu); }
.faq-chevron {
  width: 22px; height: 22px; border-radius: 50%; background: var(--bg2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .15s, transform .25s; font-size: 11px; color: var(--txm);
}
.faq-item.open .faq-chevron { background: var(--pu); color: #fff; transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 17px 14px; color: var(--txm); font-size: .81rem; line-height: 1.75; border-top: 1px solid var(--bdr); }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   DISCLAIMER
============================================================ */
.disclaimer { background: #FFF9F0; border-top: 1.5px solid #EDD89A; padding: 13px 20px; text-align: center; }
.disclaimer p { font-size: .7rem; color: #7A6020; max-width: 860px; margin: 0 auto; }

/* ============================================================
   FOOTER
============================================================ */
#site-footer { background: var(--tx); padding: 38px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; max-width: 1060px; margin: 0 auto 24px; }
.footer-logo-row { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: .95rem; color: #fff; }
.footer-desc { font-size: .75rem; color: #9B92B8; line-height: 1.6; }
.footer-col h4 { color: #9B92B8; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 11px; font-family: 'Inter', sans-serif; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #C4BADB; font-size: .75rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 15px; text-align: center; color: #7069A0; font-size: .7rem; max-width: 1060px; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .rank-card { grid-template-columns: 38px 1fr; }
  .rank-logo { grid-column: 2; }
  .rank-info { grid-column: 1 / -1; }
  .rank-action { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-item { width: 50%; border-right: none; border-bottom: 1px solid var(--bdr); }
}
@media (max-width: 480px) {
  .rank-card { padding: 16px 14px; gap: 12px; }
  .hero-section { padding: 36px 16px 32px; }
}

/* ============================================================
   LOGO FIX v2 — 2026-05-09 09:39:23
============================================================ */
.rank-logo {
    background: #ffffff !important;
    border: 1.5px solid #DDD5F5 !important;
    border-radius: 11px !important;
    height: 64px !important;
    width: 110px !important;
    min-width: 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    overflow: hidden !important;
}
.rank-logo img {
    max-width: 94px !important;
    max-height: 44px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}
.rank-logo-text,
.rank-logo .rank-logo-text {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #6B4FA0 !important;
    text-align: center !important;
    line-height: 1.3 !important;
}
.reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
    max-width: 1060px !important;
    margin: 0 auto !important;
}
.choose-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 13px !important;
    max-width: 1060px !important;
    margin: 0 auto !important;
}
@media (max-width: 900px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .choose-grid  { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
    .reviews-grid { grid-template-columns: 1fr !important; }
    .choose-grid  { grid-template-columns: 1fr !important; }
}
