/* ===== NSFWAIReviews.com - Main Stylesheet ===== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #222233;
  --border: #2a2a3a;
  --text-primary: #e8e8f0;
  --text-secondary: #9999aa;
  --text-muted: #666677;
  --accent: #ff2d75;
  --accent-hover: #ff4d8a;
  --accent-glow: rgba(255, 45, 117, 0.15);
  --gold: #ffd700;
  --green: #00d68f;
  --blue: #4da6ff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 8px; }

.nav a, .nav-dropdown > span {
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.nav a:hover, .nav-dropdown:hover > span {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 200px;
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.dropdown-menu a:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0a15 50%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 32px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-badge .icon { font-size: 1.2rem; }

/* ===== SECTION ===== */
.section {
  padding: 64px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== TOP PICKS CARDS ===== */
.top-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}

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

.pick-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.pick-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pick-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pick-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pick-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.pick-title .pick-type {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.pick-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.pick-features {
  list-style: none;
  margin-bottom: 20px;
}

.pick-features li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pick-features li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

.pick-price {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.pick-price strong {
  color: var(--text-primary);
  font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-glow);
  color: var(--accent-hover);
}

.btn-full { width: 100%; }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== COMPARISON TABLE ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table thead {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
}

.comparison-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comparison-table tbody tr {
  transition: background 0.2s;
}

.comparison-table tbody tr:hover {
  background: var(--bg-card);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  font-weight: 700;
  font-size: 0.8rem;
}

.rank-num.gold { background: var(--gold); color: #000; }
.rank-num.silver { background: #c0c0c0; color: #000; }
.rank-num.bronze { background: #cd7f32; color: #000; }

.score-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.score-high { background: rgba(0, 214, 143, 0.15); color: var(--green); }
.score-mid { background: rgba(77, 166, 255, 0.15); color: var(--blue); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.tag-yes { background: rgba(0, 214, 143, 0.1); color: var(--green); }
.tag-no { background: rgba(255, 45, 117, 0.1); color: var(--accent); }

/* ===== CATEGORY CARDS ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cat-card .icon { font-size: 2.5rem; margin-bottom: 12px; }

.cat-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

.cat-card p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 16px; }

/* ===== TRUST SECTION ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  padding: 20px;
}

.trust-item .icon { font-size: 2rem; margin-bottom: 12px; }

.trust-item h3 { font-size: 1rem; margin-bottom: 8px; }

.trust-item p { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== REVIEW PAGE ===== */
.review-hero {
  padding: 48px 20px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0a15 100%);
  border-bottom: 1px solid var(--border);
}

.review-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: center;
}

.review-hero-info { flex: 1; }

.review-hero h1 { font-size: 2.2rem; margin-bottom: 8px; }

.review-verdict {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.review-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.review-meta-item {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.review-meta-item strong { color: var(--text-primary); }

.review-score-big {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-score-big .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.review-score-big .label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.review-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px;
}

.review-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.review-content h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
}

.review-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.review-content ul, .review-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.review-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.pros, .cons {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
}

.pros h3 { color: var(--green); }
.cons h3 { color: var(--accent); }

.pros li::marker { color: var(--green); }
.cons li::marker { color: var(--accent); }

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}

.cta-box h3 { margin-bottom: 12px; font-size: 1.3rem; }
.cta-box p { margin-bottom: 20px; }

.screenshot-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  margin: 20px 0;
  font-size: 0.9rem;
}

.rating-bars { margin: 20px 0; }

.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rating-bar .label {
  width: 140px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rating-bar .bar {
  flex: 1;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar .bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.rating-bar .value {
  width: 36px;
  text-align: right;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-secondary), #2a1520);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body { padding: 20px; }

.blog-card-body .date {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-body h3 a { color: var(--text-primary); }
.blog-card-body h3 a:hover { color: var(--accent); }

.blog-card-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 { margin-bottom: 12px; }

.newsletter p { color: var(--text-secondary); margin-bottom: 24px; }

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
  margin-top: 64px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 12px;
}

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 8px; }

.footer li a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer li a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.affiliate-disclosure {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 24px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { margin: 0 6px; }

/* ===== SIMILAR PLATFORMS ===== */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.similar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  transition: all 0.2s;
}

.similar-card:hover {
  border-color: var(--accent);
}

.similar-card .icon { font-size: 2rem; margin-bottom: 8px; }
.similar-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.similar-card .score { color: var(--accent); font-weight: 700; font-size: 0.85rem; }

/* ===== ABOUT PAGE ===== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px;
}

.page-content h1 { font-size: 2rem; margin-bottom: 24px; }
.page-content h2 { font-size: 1.4rem; margin: 32px 0 16px; }
.page-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.page-content ul { padding-left: 24px; margin-bottom: 16px; }
.page-content li { color: var(--text-secondary); margin-bottom: 8px; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
  }

  .nav.open { display: flex; }

  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }

  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }

  .hero { padding: 48px 20px; }

  .top-picks { grid-template-columns: 1fr; }

  .pros-cons { grid-template-columns: 1fr; }

  .review-hero-inner { flex-direction: column; text-align: center; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .footer-bottom { flex-direction: column; gap: 8px; }

  .newsletter-form { flex-direction: column; }

  .newsletter { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
}
