/* ========================================
   SoulHackGuru.com — Editorial Listicle
   Clean editorial listicle layout
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --red: #2563eb;
  --red-dark: #1d4ed8;
  --red-gradient: linear-gradient(to right, #2563eb, #3b82f6);
  --white: #ffffff;
  --bg-body: #e8edf2;
  --bg-content: #ffffff;
  --text-dark: #1a1a2e;
  --text-body: #3a3a4a;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --badge-bg: #f3f4f6;
  --badge-text: #374151;
  --star-gold: #f59e0b;
  --shadow-content: 0 0 30px rgba(0, 0, 0, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 780px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--red-dark);
}

/* === TOP HEADER (Blue Bar) === */
.top-header {
  background: var(--red);
  padding: 0.65rem 1.5rem;
}

.top-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-text {
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-search {
  position: relative;
  width: 320px;
}

.header-search input {
  width: 100%;
  padding: 0.55rem 2.5rem 0.55rem 1rem;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  background: var(--white);
  color: var(--text-dark);
}

.header-search input::placeholder {
  color: var(--text-light);
}

.header-search .search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 1rem;
  pointer-events: none;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 1;
  color: var(--white);
}

/* === NAV BAR === */
.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
}

.nav-bar a {
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-bar a:hover {
  background: #eff6ff;
  color: var(--red-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* === CONTENT WRAPPER === */
.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg-content);
  box-shadow: var(--shadow-content);
  min-height: 100vh;
}

.content-inner {
  padding: 2.5rem 2.5rem;
}

/* === ARTICLE HEADER === */
.article-header {
  text-align: center;
  margin-bottom: 2rem;
}

.article-header h1 {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.article-meta .separator {
  color: var(--border);
}

.article-meta a {
  color: var(--text-gray);
  text-decoration: underline;
}

.article-meta a:hover {
  color: var(--red);
}

/* === HERO IMAGE GRID === */
.hero-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-image-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* === INTRO TEXT === */
.intro-text {
  margin-bottom: 2rem;
}

.intro-text p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

/* === DIVIDER === */
.item-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* === LIST ITEM === */
.list-item {
  margin-bottom: 0;
}

.item-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.item-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.item-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.item-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--badge-bg);
}

/* Image with star rating overlay */
.item-image-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}

.item-image-wrapper .item-image {
  margin-bottom: 0;
}

.star-rating {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.star-rating .stars {
  color: var(--star-gold);
  letter-spacing: 1px;
}

.item-text p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

/* === CTA BUTTON (Blue Gradient) === */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--red-gradient);
  color: var(--white) !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  margin-top: 0.5rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
  color: var(--white) !important;
}

/* === DISCLOSURE BANNER === */
.disclosure-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.disclosure-banner a {
  color: var(--red);
}

/* === NEWSLETTER === */
.newsletter-box {
  background: var(--red);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.newsletter-box h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.newsletter-box p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
}

.newsletter-form button {
  background: var(--text-dark);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #000;
}

/* === FOOTER === */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

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

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
}

/* === COMPLIANCE PAGES === */
.compliance-page {
  padding: 2rem 0;
}

.compliance-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.compliance-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5rem 0 0.75rem;
}

.compliance-page p,
.compliance-page li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.compliance-page ul {
  padding-left: 1.5rem;
}

/* === HOMEPAGE === */
.home-hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.home-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.home-hero p {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.home-hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--red-gradient);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s;
}

.home-hero .hero-cta:hover {
  transform: translateY(-2px);
  color: var(--white) !important;
}

.trending-section {
  background: var(--badge-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.trending-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.trending-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.trending-section h3 a {
  color: var(--text-dark);
}

.trending-section h3 a:hover {
  color: var(--red);
}

.trending-section p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

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

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.category-card .icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* === SCROLL PROGRESS BAR === */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--red-gradient);
  z-index: 999;
  transition: width 0.1s;
}

/* === DISCLAIMERS SECTION === */
.disclaimers-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.disclaimers-section p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1.25rem;
}

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

.disclaimers-section strong {
  color: #334155;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .top-header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-search {
    width: 100%;
    order: 3;
  }

  .social-icons {
    display: none;
  }

  .nav-bar-inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.25rem;
  }

  .nav-bar-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-bar-inner a {
    font-size: 0.7rem;
    white-space: nowrap;
    padding: 0.75rem 0.5rem;
  }

  .content-inner {
    padding: 1.5rem 1.25rem;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

  .item-title {
    font-size: 1.25rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .home-hero h1 {
    font-size: 1.75rem;
  }

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

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

@media (max-width: 480px) {
  .article-meta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}