:root {
  --black: #000000;
  --white: #ffffff;
  --lilac: #c5b0e5;
  --light-lilac: #e5dbff;
  --purple: #764ba2;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--black);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
  background: #fafafa;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}


.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s ease;
}


.logo img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--lilac);
}

/* MAIN LAYOUT */
.main-layout {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1400px;
  margin: 100px auto 0;
  padding: 2rem;
  min-height: calc(100vh - 100px);
}

.blog-content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 350px;
  min-width: 350px;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Page Header */
.page-header {
  margin-bottom: 3rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Blog Post List */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-post {
  background: white;
  border: 1px solid #000;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.post-image:hover {
  transform: scale(1.02);
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.post-rating {
  background: var(--black);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--lilac);
}

.creator-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f8f9fa;
}

.creator-details h4 {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.creator-username {
  color: var(--purple);
  font-weight: 500;
  font-size: 0.9rem;
}

.post-excerpt {
  color: #000;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.post-tag {
  color: #000;
  background: #f0f0f0;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.5rem;
}

.read-more {
  background: var(--black);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: var(--lilac);
  transform: translateY(-1px);
}

.stat-item {
  background: var(--purple);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Sidebar Sections */
.sidebar-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e5e5;
}

.sidebar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* Product Card and Affiliate Banner */
.product-card {
  border: 1px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  background: white;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
}

/* SextPanther Features */
.sextpanther-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.8rem 0;
}

.product-feature {
  background: rgba(197, 176, 229, 0.1);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.product-audiences {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-audience {
  background: rgba(197, 176, 229, 0.15);
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.product-audience strong {
  color: var(--purple);
  font-weight: 700;
}

/* Fixed visibility for affiliate links */
.affiliate-link {
  display: block;
  background: #c5b0e5 !important;
  color: white !important;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

.affiliate-link:hover {
  background: #a691d4 !important;
  transform: translateY(-1px);
}

/* Categories */
.category-list {
  list-style: none;
}

.category-item {
  margin-bottom: 0.75rem;
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
}

.category-link:hover {
  background: #f5f5f5;
}

.category-count {
  background: #c5b0e5;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 35px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Popular Posts */
.popular-post {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.popular-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.popular-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.popular-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.popular-content h4 a {
  color: inherit;
  text-decoration: none;
}

.popular-content h4 a:hover {
  color: var(--lilac);
}

.popular-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Sidebar Newsletter Styles */
.sidebar-newsletter {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e9ecef;
}

.newsletter-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
  text-align: center;
}

.newsletter-description {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

.newsletter-form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input-sidebar {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 25px;
  background-color: #ffffff;
  color: var(--black);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

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

.newsletter-input-sidebar::placeholder {
  color: #9ca3af;
}

.newsletter-btn-sidebar {
  background-color: var(--black);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.newsletter-btn-sidebar:hover {
  background-color: var(--lilac);
  transform: translateY(-1px);
}

.gdpr-consent-sidebar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 0.5rem;
}

.gdpr-checkbox-sidebar {
  display: none;
}

.gdpr-label-sidebar {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
  gap: 8px;
  line-height: 1.4;
}

.gdpr-checkmark-sidebar {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #6b7280;
  border-radius: 3px;
  background-color: #ffffff;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.gdpr-checkbox-sidebar:checked + .gdpr-label-sidebar .gdpr-checkmark-sidebar {
  background-color: var(--lilac);
  border-color: var(--lilac);
}

.gdpr-checkbox-sidebar:checked + .gdpr-label-sidebar .gdpr-checkmark-sidebar::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.gdpr-text-sidebar {
  font-size: 0.75rem;
  color: var(--gray-600);
  flex: 1;
}

/* Rating Guide */
.rating-guide-content {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.rating-guide-item {
  margin-bottom: 0.75rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 4rem 0;
}

.pagination-btn {
  padding: 0.75rem 1rem;
  border: 1px solid var(--black);
  background: white;
  color: var(--gray-700);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 44px;
  text-align: center;
  text-decoration: none;
}

.pagination-btn:hover {
  background: var(--lilac);
  color: white;
}

.pagination-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: white;
}

/* Footer */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 16px;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-newsletter {
  flex: 1;
  max-width: 400px;
}

.footer-newsletter h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-signup {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.footer .newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #374151;
  border-radius: 25px;
  background-color: #1f2937;
  color: #ffffff;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.footer .newsletter-input:focus {
  outline: none;
  border-color: #6b7280;
}

.footer .newsletter-input::placeholder {
  color: #9ca3af;
}

.footer .newsletter-btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer .newsletter-btn:hover {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.gdpr-checkbox {
  display: none;
}

.gdpr-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
  gap: 8px;
  line-height: 1.4;
}

.gdpr-checkmark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #6b7280;
  border-radius: 3px;
  background-color: #1f2937;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.gdpr-checkbox:checked + .gdpr-label .gdpr-checkmark {
  background-color: #ffffff;
  border-color: #ffffff;
}

.gdpr-checkbox:checked + .gdpr-label .gdpr-checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.gdpr-text {
  font-size: 0.8rem;
  color: #d1d5db;
  flex: 1;
}

.privacy-link {
  color: #ffffff;
  text-decoration: underline;
}

.privacy-link:hover {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-layout {
    max-width: 100%;
    padding: 1.5rem;
  }
  
  .sidebar {
    width: 300px;
    min-width: 300px;
  }
}

@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .sidebar {
    width: 100%;
    min-width: auto;
    order: 1;
  }

  .blog-content {
    order: 0;
  }

  .page-header .product-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Header responsive */
  .nav {
    flex-direction: column;
    gap: 1rem;
    height: auto;
    padding: 15px 20px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 16px;
  }

  .header {
    position: relative;
  }

  .main-layout {
    margin-top: 1rem;
    padding: 1rem;
    gap: 1rem;
  }

   .product-image {
     width: 300px;
     height: 130px;
     object-fit: cover;
     justify-content: center;
    }

  #promo-img {
    width: 75px;
    height: 300px;
  }

  /* Page header responsive */
  .page-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .page-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  /* Blog posts responsive */
  .blog-post {
    border-radius: 12px;
  }

  .post-image {
    height: 200px;
  }

  .post-content {
    padding: 1.5rem;
  }

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

  .post-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .read-more {
    text-align: center;
    width: 100%;
  }

  .creator-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Sidebar responsive */
  .sidebar-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .sidebar-title {
    font-size: 1.2rem;
  }

  /* Affiliate banner mobile */

  #promo-banner {
    display: none;
  }

  #promo-card {
    display: none;
  }
  
  .product-info {
    padding: 0.75rem;
  }

  .product-feature {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  /* Popular posts mobile */
  .popular-post {
    flex-direction: column;
    text-align: center;
  }

  .popular-thumbnail {
    width: 100%;
    height: 120px;
    border-radius: 8px;
  }

  /* Categories mobile */
  .category-link {
    padding: 0.5rem;
  }

  /* Newsletter sidebar mobile */
  .sidebar-newsletter {
    padding: 1.5rem;
  }

  .newsletter-title {
    font-size: 1.1rem;
  }

  /* Footer responsive */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

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

  .footer-newsletter {
    max-width: 100%;
    width: 100%;
  }

  .newsletter-signup {
    flex-direction: column;
    gap: 1rem;
  }

  .footer .newsletter-input {
    width: 100%;
  }

  .footer .newsletter-btn {
    width: 100%;
  }

  .gdpr-consent {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .main-layout {
    padding: 0.75rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.9rem;
  }

  .post-content {
    padding: 1rem;
  }

  .post-title {
    font-size: 1.1rem;
  }

  .post-excerpt {
    font-size: 0.9rem;
  }

  /* Sidebar sections very small screens */
  .sidebar-section {
    padding: 1rem;
  }

  .sidebar-newsletter {
    padding: 1rem;
  }

  /* Footer very small screens */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .footer-links {
    gap: 1rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-newsletter h4 {
    font-size: 1rem;
  }

  .gdpr-text {
    font-size: 0.75rem;
  }

  .gdpr-text-sidebar {
    font-size: 0.7rem;
  }

  /* Pagination mobile */
  .pagination {
    gap: 0.5rem;
    margin: 2rem 0;
  }

  .pagination-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}
