
/*
Theme Name: VibePostAI Theme
Theme URI: https://vibepostai.com
Author: VibePostAI Team
Version: 1.0
Description: Custom WordPress theme for VibePostAI prompt-sharing platform.
*/
/* Ensure visible, selectable space between label and value in profile meta lines */
.profile-meta-label {
  margin-right: 0.35em;
  white-space: normal;
}
/* -------- RESET -------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0B0F14;
  color: #E5E7EB;
  line-height: 1.6;
  overflow-x: hidden;
}

/* -------- ALPHA ENHANCEMENTS -------- */

/* Professional Header */
.alpha-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alpha-header.scrolled {
  background: rgba(11, 15, 20, 0.98);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ff00, #00cc00);
  transition: width 0.1s ease;
  width: 0%;
}

/* Header Container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  gap: 24px;
}

/* Header Sections */
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  flex: 1 1 auto;
  max-width: 600px;
  margin: 0 auto;
}

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Header Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border: 1px solid transparent;
}

.auth-btn.login-btn {
    color: var(--text-primary);
    background: transparent;
    border-color: var(--border-color);
}

.auth-btn.login-btn:hover {
    background: var(--background-secondary);
    border-color: var(--border-hover);
}

.auth-btn.signup-btn {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.auth-btn.signup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.auth-btn.signup-btn svg {
    transition: transform 0.2s ease;
}

.auth-btn.signup-btn:hover svg {
    transform: translateX(2px);
}

/* Header Search */
.header-search {
    position: relative;
    margin-right: 8px;
}

.search-form.compact {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field.compact {
    width: 240px;
    padding: 8px 12px 8px 36px;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-field.compact:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    width: 280px;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    z-index: 2;
}

.search-shortcut.compact {
    position: absolute;
    right: 8px;
    padding: 2px 6px;
    background: var(--background-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-secondary);
    font-family: monospace;
}

.mobile-hidden {
    display: block;
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
    
    .auth-buttons {
        gap: 8px;
    }
    
    .auth-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .auth-btn span {
        display: none;
    }
    
    .auth-btn.signup-btn {
        padding: 8px 12px;
        min-width: 40px;
        justify-content: center;
    }
}

/* Brand Styling */
.site-branding .brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.site-branding .brand-link:hover {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

/* Brand Mascot Logo */
.brand-mascot {
  display: flex;
  align-items: center;
  position: relative;
}

.mascot-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-link:hover .mascot-logo {
  filter: drop-shadow(0 4px 12px rgba(0, 255, 0, 0.4));
  transform: scale(1.05);
}

/* Legacy Logo Support (if needed) */
.brand-logo {
  display: flex;
  align-items: center;
  position: relative;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 255, 0, 0.3));
  transition: all 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  filter: drop-shadow(0 4px 12px rgba(0, 255, 0, 0.4));
  transform: scale(1.02);
}

/* WordPress Custom Logo Support */
.brand-logo .custom-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 255, 0, 0.3));
  transition: all 0.3s ease;
}

.brand-link:hover .custom-logo {
  filter: drop-shadow(0 4px 12px rgba(0, 255, 0, 0.4));
  transform: scale(1.02);
}

/* Legacy SVG Icon Support */
.brand-icon svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 8px rgba(0, 255, 0, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Hide brand text on landing page for cleaner logo-only look */
.landing-header .brand-text {
  display: none;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.brand-suffix {
  font-size: 14px;
  font-weight: 500;
  color: #00ff00;
  line-height: 1;
}

.brand-tagline {
  font-size: 11px;
  font-weight: 500;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* Navigation Menu */
.main-navigation .nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-menu .nav-item {
  margin: 0;
}

.nav-menu .nav-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #B0B7C3;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.nav-menu .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-menu .current-menu-item .nav-link,
.nav-menu .nav-link.active {
  color: #00ff00;
  background: rgba(0, 255, 0, 0.1);
}

/* Search Container */
.search-container {
  width: 100%;
  max-width: 480px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.search-field:focus {
  outline: none;
  border-color: #00ff00;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.1);
}

.search-field::placeholder {
  color: #6B7280;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: #6B7280;
  pointer-events: none;
}

.search-shortcut {
  position: absolute;
  right: 12px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 11px;
  color: #9CA3AF;
  pointer-events: none;
  font-family: ui-monospace, 'SF Mono', monospace;
}

/* Header Actions */
.header-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #B0B7C3;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-action:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  background: #ff4444;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Create Dropdown */
.create-dropdown {
  position: relative;
}

.create-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #1a1e24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 8px;
  z-index: 1001;
}

.create-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #E5E7EB;
  text-decoration: none;
  transition: all 0.2s ease;
}

.create-item:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.create-icon {
  font-size: 16px;
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-trigger:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
}

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

.status-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #0B0F14;
}

.status-indicator.online {
  background: #22c55e;
}

.dropdown-caret {
  color: #6B7280;
  transition: transform 0.2s ease;
}

.user-trigger[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  background: #1a1e24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 16px;
  z-index: 1001;
}

.user-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.user-details .user-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.user-details .user-email {
  font-size: 12px;
  color: #6B7280;
}

.user-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6B7280;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.online {
  background: #22c55e;
}

.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #E5E7EB;
  text-decoration: none;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.menu-item.text-danger {
  color: #ef4444;
}

.menu-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Auth Actions */
.auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-ghost {
  color: #B0B7C3;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff00, #00cc00);
  color: #000000;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00cc00, #009900);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  justify-content: center;
  align-items: center;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background: #B0B7C3;
  border-radius: 1px;
  transition: all 0.2s ease;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 20px;
  height: 14px;
}

.hamburger-icon .hamburger-line {
  width: 100%;
  height: 2px;
  background: #B0B7C3;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Auth Buttons Styling */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  color: #B0B7C3;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.login-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-signup-animated {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

.btn-signup-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-signup-animated:hover::before {
  left: 100%;
}

.btn-signup-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
  background: linear-gradient(135deg, #00ff00 0%, #00dd00 100%);
}

.btn-signup-animated:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.mobile-nav-content {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  max-width: 320px;
  width: 90%;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.mobile-nav-menu li {
  margin: 0 0 20px 0;
}

.mobile-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: block;
  padding: 10px 0;
}

.mobile-nav-link:hover {
  color: #00ff00;
  transform: translateX(10px);
}

.mobile-auth-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta {
  background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
  color: #000000;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

.mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
}

.mobile-login {
  color: #B0B7C3;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-login:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #00ff00;
  color: #000000;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 100000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Body offset for fixed header */
.site-page {
  margin-top: 64px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
    gap: 12px;
  }
  
  .header-center {
    order: 3;
    flex-basis: 100%;
    margin: 8px 0;
  }
  
  /* Show mobile menu toggle on mobile */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hide desktop navigation on mobile */
  .main-navigation {
    display: none;
  }
  
  /* Hide search bar on small screens */
  .header-search {
    display: none;
  }
}

/* Stack auth buttons vertically on very small screens */
@media (max-width: 480px) {
  .auth-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .login-btn,
  .btn-signup-animated {
    width: 100%;
    text-align: center;
  }
}
  
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .search-container {
    max-width: none;
  }
  
  .brand-text {
    display: none;
  }
}

/* -------- GLOBAL -------- */
a {
  color: #3AA3FF;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* -------- THEME COLORS -------- */
:root {
  --bg-dark: #0B0F14;
  --text-main: #E5E7EB;
  --accent-blue: #3AA3FF;
  --accent-purple: #8B5CF6;
  --success: #10B981;
  --danger: #EF4444;
  --card-bg: #111827;
  --border: #2D3748;
}

/* -------- CARDS -------- */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* -------- BUTTONS -------- */
button,
.button {
  background-color: var(--accent-blue);
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease-in-out, transform 0.2s ease;
}

button:hover,
.button:hover {
  background-color: #1D4ED8;
  transform: scale(1.05);
}

/* -------- AUTHOR PROFILE -------- */
.author-profile {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--accent-purple);
}

/* -------- PROMPT CARD -------- */
.prompt-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.prompt-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 6px 16px rgba(58, 163, 255, 0.1);
}

.prompt-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.prompt-card h2 a {
  color: var(--accent-blue);
}

.prompt-card p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
}

.prompt-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9CA3AF;
}

.prompt-meta span {
  display: inline-block;
  margin-right: 1rem;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .container {
    padding: 1rem 0;
  }

  .card,
  .prompt-card {
    padding: 1rem;
  }

  .prompt-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}
/* -------- SINGLE POST -------- */
.single-post {
  max-width: 768px;
  margin: 0 auto;
  padding: 2rem 0;
}

.single-post h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.single-post h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--accent-purple);
}

.single-post h3 {
  font-size: 1.25rem;
  margin: 1.2rem 0 0.8rem;
  color: var(--text-main);
}

.single-post p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  color: var(--text-main);
}

.single-post ul,
.single-post ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.single-post blockquote {
  border-left: 4px solid var(--accent-blue);
  background: #1A1A1A;
  color: #ccc;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 8px;
}

.single-post code {
  background-color: #1E293B;
  color: #93C5FD;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
}

.single-post pre {
  background-color: #1E293B;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  color: #93C5FD;
  margin-bottom: 2rem;
}

/* Meta Info (Date, Views, Author) */
.post-meta {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
/* -------- TAGS & CATEGORIES -------- */

/* Tag Badge (used below posts or in tag list) */
.tag-badge {
  display: inline-block;
  background-color: var(--accent-purple);
  color: white;
  padding: 0.3rem 0.7rem;
  margin: 0.25rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: lowercase;
  transition: background 0.2s ease-in-out;
}

.tag-badge:hover {
  background-color: var(--accent-blue);
  color: #fff;
}

/* Category Pill (used at top of cards or single post) */
.category-pill {
  display: inline-block;
  background-color: #1F2937;
  color: var(--accent-blue);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tag cloud spacing */
.tag-cloud a {
  display: inline-block;
  margin: 0.25rem;
  text-decoration: none;
}
/* -------- HEADER NAVIGATION -------- */

.site-header {
  background-color: var(--bg-dark);
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.site-logo span {
  color: #39FF14; /* Matrix-Green highlight on "AI" or logo part */
}

.main-nav {
  display: flex;
  gap: 1.2rem;
}

.main-nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease-in-out;
  position: relative;
}

.main-nav a:hover {
  color: #39FF14; /* Green hover effect */
}

/* Optional: underline animation */
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #39FF14;
  transition: width 0.2s ease-in-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* -------- MOBILE NAV (basic layout) -------- */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* We'll handle mobile menu JS later */
  }
}
.mobile-menu-icon {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}
/* -------- GRID LAYOUT -------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* -------- PROMPT & NEWS CARD -------- */

.post-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  border-color: #39FF14; /* Matrix-Green glow */
  transform: translateY(-4px);
}

.post-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.post-card p {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.85rem;
  color: #9CA3AF;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

/* Reuse Prompt styles */
/* -------- STICKY HEADER -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: all 0.3s ease-in-out;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 42px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-main);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.main-nav a:hover {
  color: var(--accent-blue);
}

/* -------- SCROLL PROGRESS BAR -------- */
.scroll-progress-bar {
  height: 4px;
  background-color: #39FF14; /* Matrix-Green */
  width: 0%;
  transition: width 0.25s ease-out;
}

/* -------- MOBILE HEADER -------- */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .site-header {
    padding: 0.8rem 0;
  }
}
/* -------- LIGHT MODE THEME -------- */
body.light-mode {
  --bg-dark: #FFFFFF;
  --text-main: #0B0F14;
  --accent-blue: #3AA3FF;
  --accent-purple: #8B5CF6;
  --matrix-green: #007A3D; /* Soft variant for UI (from logo) */
  --card-bg: #F9FAFB;
  --border: #E5E7EB;
  --success: #10B981;
  --danger: #EF4444;
}
/* -------- PROMPT GRID -------- */
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* -------- TAGS -------- */
.prompt-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.prompt-tags span {
  background-color: var(--accent-purple);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 600;
}

/* -------- PROMPT STATS -------- */
.prompt-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-top: 1rem;
  color: #9CA3AF;
}

.prompt-meta .stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.prompt-meta .stat svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-blue);
}
/* 🔻 Mobile Footer Nav (Sticky) */
.mobile-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0B0F14;
  border-top: 1px solid #1c1f25;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  z-index: 1000;
}

.mobile-footer-nav .nav-item {
  color: #E5E7EB;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.2s ease;
}

.mobile-footer-nav .nav-item span {
  font-size: 20px;
}

.mobile-footer-nav .nav-item:hover {
  color: #3AA3FF; /* Accent Blue */
}

.mobile-footer-nav .nav-item.central {
  font-size: 24px;
  background: #3AA3FF;
  color: #0B0F14;
  border-radius: 50%;
  padding: 10px;
  margin-top: -20px;
  box-shadow: 0 4px 12px rgba(58, 163, 255, 0.3);
  transition: transform 0.3s ease;
}

.mobile-footer-nav .nav-item.central:hover {
  transform: scale(1.1);
}

/* 🔒 Only show on small screens */
@media (min-width: 768px) {
  .mobile-footer-nav {
    display: none;
  }
}
.mobile-footer-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0B0F14;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 1px solid #1f1f1f;
  z-index: 999;
}

.mobile-footer-nav .nav-item {
  color: #8B5CF6;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-footer-nav .nav-item:hover,
.mobile-footer-nav .nav-item.active {
  color: #3AA3FF;
  transform: scale(1.1);
}

.create-btn {
  font-size: 24px;
  font-weight: bold;
  color: #10B981;
}
.homepage-block {
  padding: 40px 20px;
  border-bottom: 1px solid #222;
}

.prompt-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.prompt-card, .news-card {
  background: #111827;
  border-radius: 10px;
  padding: 20px;
  color: #E5E7EB;
  box-shadow: 0 0 0 1px #222;
  transition: 0.2s ease;
}

.prompt-card:hover, .news-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px #3AA3FF55;
}

.prompt-card a, .news-card a {
  color: #3AA3FF;
  text-decoration: underline;
}
.create-prompt-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #10B981;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 100px;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

.prompt-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.prompt-modal.hidden {
  display: none;
}

.modal-content {
  background: #111827;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content form input,
.modal-content form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 6px;
  background: #1f2937;
  color: #fff;
}

.modal-content form textarea {
  height: 150px;
}

.modal-content form button {
  width: 100%;
  padding: 0.75rem;
  background: #8B5CF6;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.modal-content form button:hover {
  background: #7c3aed;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  color: #aaa;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
}

/* ================================
   LOGO RESPONSIVE OPTIMIZATION
   ================================ */

/* Mobile Optimizations */
@media (max-width: 768px) {
  .brand-logo-img,
  .brand-logo .custom-logo {
    height: 32px;
    max-width: 120px;
  }
  
  .site-branding .brand-link {
    gap: 8px;
    padding: 6px 8px;
  }
  
  .brand-text {
    display: none; /* Hide text on mobile to save space */
  }
}

/* Tablet and up */
@media (min-width: 769px) {
  .brand-logo-img,
  .brand-logo .custom-logo {
    height: 40px;
    max-width: 160px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-logo-img,
  .brand-logo .custom-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode specific adjustments */
@media (prefers-color-scheme: dark) {
  .brand-logo-img,
  .brand-logo .custom-logo {
    filter: drop-shadow(0 2px 8px rgba(0, 255, 0, 0.4));
  }
  
  .brand-link:hover .brand-logo-img,
  .brand-link:hover .custom-logo {
    filter: drop-shadow(0 4px 12px rgba(0, 255, 0, 0.6));
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .brand-logo-img,
  .brand-logo .custom-logo,
  .brand-link:hover .brand-logo-img,
  .brand-link:hover .custom-logo {
    transition: none;
    transform: none;
  }
}

/* -------- GITHUB-INSPIRED MEGA MENU -------- */

/* Main Navigation Container */
.main-navigation {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: #E5E7EB;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: #00ff00;
  background-color: rgba(0, 255, 0, 0.05);
  transform: translateY(-1px);
}

.dropdown-icon {
  transition: transform 0.2s ease;
}

.nav-item.is-open .dropdown-icon {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 16px;
  padding: 2rem;
  min-width: 800px;
  max-width: 1000px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.4),
    0 10px 10px -5px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 255, 0, 0.1);
}

.nav-item:hover .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.menu-section h3 {
  color: #00ff00;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-section h3::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(to bottom, #00ff00, #00cc00);
  border-radius: 2px;
}

.menu-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-section li {
  margin-bottom: 0.25rem;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #E5E7EB;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.05), transparent);
  transition: left 0.4s ease;
}

.menu-item:hover::before {
  left: 100%;
}

.menu-item:hover {
  background-color: rgba(0, 255, 0, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

.item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.menu-item:hover .item-icon {
  background: rgba(0, 255, 0, 0.2);
  transform: scale(1.05);
}

.item-icon svg {
  color: #00ff00;
  transition: transform 0.2s ease;
}

.menu-item:hover .item-icon svg {
  transform: scale(1.1);
}

.item-content {
  flex: 1;
}

.item-title {
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.menu-item:hover .item-title {
  color: #00ff00;
}

.item-description {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* Featured Section Styling */
.featured-section {
  grid-column: span 3;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.featured-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.featured-item {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.1);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.featured-item:hover {
  background: rgba(0, 255, 0, 0.1);
  border-color: rgba(0, 255, 0, 0.3);
  transform: translateY(-2px);
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: unset;
    max-width: unset;
    border-radius: 0;
    padding: 1rem;
    transform: translateY(-100%);
  }
  
  .nav-item:hover .mega-menu,
  .nav-item.is-open .mega-menu {
    transform: translateY(0);
  }
  
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-height: 100vh;
    overflow-y: auto;
  }
  
  .featured-section {
    grid-column: span 1;
  }
}

/* Accessibility and Animation Preferences */
@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .mega-menu,
  .menu-item,
  .item-icon,
  .item-icon svg,
  .featured-item {
    transition: none;
  }
  
  .nav-link::before,
  .menu-item::before {
    display: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .mega-menu {
    background: #000000;
    border-color: #00ff00;
  }
  
  .menu-item {
    border: 1px solid transparent;
  }
  
  .menu-item:hover {
    border-color: #00ff00;
  }
}

/* -------- BLOCK 3 ENHANCEMENTS -------- */

/* Pulse Animation for Live Indicator */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Enhanced Browser Mockup Styles */
.browser-mockup {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browser-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 255, 0, 0.1);
}

/* Smooth Hover Effects for Prompt Cards */
.browser-mockup .browser-content > div:hover {
  background: rgba(0, 0, 0, 0.4) !important;
  transition: background 0.2s ease;
}

/* Activity Feed Animations */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.browser-content > div > div {
  animation: slideInFromLeft 0.6s ease-out;
}

/* Enhanced Form Field Focus States */
.wizard-form .form-group:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

/* Gradient Text Effects */
.live-community-title {
  background: linear-gradient(135deg, #ffffff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Button Hover */
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 255, 0, 0.3);
  transition: all 0.2s ease;
}

/* -------- NEURAL NETWORK PAC-MAN BACKGROUND -------- */

.pacman-game-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  overflow: hidden;
}

.gamification-section {
  position: relative;
  z-index: 2;
}

.pacman-maze-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.maze-instance {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.neural-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.maze-path {
  stroke: #00ff00;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawMaze 4s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes drawMaze {
  0% {
    stroke-dashoffset: 200;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -200;
  }
}

.pacman {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #00ff00;
  border-radius: 50%;
  animation: pacmanMove 8s linear infinite;
  animation-play-state: paused;
}

.pacman::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #0B0F14;
  transform: translateY(-50%);
  animation: pacmanMouth 0.3s ease-in-out infinite alternate;
}

@keyframes pacmanMouth {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(20deg);
  }
}

@keyframes pacmanMove1 {
  0% { left: 5%; top: 15%; }
  16% { left: 25%; top: 15%; }
  33% { left: 25%; top: 40%; }
  50% { left: 50%; top: 40%; }
  66% { left: 50%; top: 25%; }
  83% { left: 75%; top: 25%; }
  100% { left: 5%; top: 15%; }
}

@keyframes pacmanMove2 {
  0% { left: 30%; top: 50%; }
  20% { left: 45%; top: 50%; }
  40% { left: 45%; top: 65%; }
  60% { left: 70%; top: 65%; }
  80% { left: 70%; top: 35%; }
  100% { left: 30%; top: 50%; }
}

@keyframes pacmanMove3 {
  0% { left: 80%; top: 20%; }
  25% { left: 95%; top: 20%; }
  50% { left: 95%; top: 75%; }
  75% { left: 60%; top: 75%; }
  100% { left: 80%; top: 20%; }
}

.pacman-1 { animation: pacmanMove1 20s linear infinite; }
.pacman-2 { animation: pacmanMove2 25s linear infinite; }
.pacman-3 { animation: pacmanMove3 30s linear infinite; }

.ai-ghost {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(0, 255, 0, 0.3);
  border-radius: 50% 50% 0 0;
  animation: ghostMove 8s linear infinite;
  animation-play-state: paused;
}

.ai-ghost::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(45deg, 
    rgba(0, 255, 0, 0.3) 25%, 
    transparent 25%, 
    transparent 50%, 
    rgba(0, 255, 0, 0.3) 50%, 
    rgba(0, 255, 0, 0.3) 75%, 
    transparent 75%
  );
  background-size: 4px 4px;
}

@keyframes ghostMove1 {
  0% { left: 15%; top: 30%; }
  33% { left: 35%; top: 60%; }
  66% { left: 55%; top: 45%; }
  100% { left: 15%; top: 30%; }
}

@keyframes ghostMove2 {
  0% { left: 40%; top: 70%; }
  33% { left: 65%; top: 40%; }
  66% { left: 85%; top: 80%; }
  100% { left: 40%; top: 70%; }
}

@keyframes ghostMove3 {
  0% { left: 75%; top: 35%; }
  33% { left: 50%; top: 55%; }
  66% { left: 90%; top: 65%; }
  100% { left: 75%; top: 35%; }
}

.ghost-1 { animation: ghostMove1 18s linear infinite; }
.ghost-2 { animation: ghostMove2 22s linear infinite; }
.ghost-3 { animation: ghostMove3 26s linear infinite; }

.pacman-dots {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(0, 255, 0, 0.6);
  border-radius: 50%;
  animation: collectDot 2s ease-in-out infinite;
  animation-play-state: paused;
}

/* Full-width maze dots */
.dot-1 { left: 8%; top: 25%; animation-delay: 0s; }
.dot-2 { left: 22%; top: 35%; animation-delay: 0.4s; }
.dot-3 { left: 35%; top: 55%; animation-delay: 0.8s; }
.dot-4 { left: 48%; top: 45%; animation-delay: 1.2s; }
.dot-5 { left: 62%; top: 30%; animation-delay: 1.6s; }
.dot-6 { left: 75%; top: 60%; animation-delay: 2s; }
.dot-7 { left: 88%; top: 40%; animation-delay: 2.4s; }
.dot-8 { left: 42%; top: 75%; animation-delay: 2.8s; }

@keyframes collectDot {
  0%, 80% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.connection-line {
  stroke: rgba(0, 255, 0, 0.3);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 5, 5;
  animation: neuralPulse 3s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes neuralPulse {
  0%, 100% {
    stroke-opacity: 0.2;
  }
  50% {
    stroke-opacity: 0.6;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pacman-game-background {
    opacity: 0.06;
  }
  
  .maze-instance {
    min-height: 300px;
  }
  
  /* Hide some elements on tablet to reduce complexity */
  .pacman-3, .ghost-3, .pacman-dots.dot-7, .pacman-dots.dot-8 {
    display: none;
  }
}

@media (max-width: 480px) {
  .pacman-game-background {
    opacity: 0.04;
  }
  
  .maze-instance {
    min-height: 200px;
  }
  
  /* Minimal elements on mobile */
  .pacman-2, .pacman-3, .ghost-2, .ghost-3, 
  .pacman-dots.dot-5, .pacman-dots.dot-6, .pacman-dots.dot-7, .pacman-dots.dot-8 {
    display: none;
  }
}

/* -------- SCROLL FATIGUE REDUCTION -------- */

/* Optimize section spacing to reduce scroll fatigue */
section {
  padding: 60px 0 !important; /* Reduced from potentially larger values */
  margin: 0 !important;
}

section:first-child {
  padding-top: 80px !important;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Section transition animations */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger section animations */
section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }

/* Optimize container spacing */
.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Compact demo sections */
.demo-mockup {
  margin: 40px 0 !important; /* Reduced spacing */
}

.demo-header {
  margin-bottom: 30px !important; /* Reduced from potentially 50px+ */
}

/* Streamline feature cards */
.feature-card {
  margin-bottom: 30px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 255, 0, 0.1);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  section {
    padding: 40px 0 !important; /* Even more compact on mobile */
  }
  
  .demo-header h2 {
    font-size: 1.8rem !important;
  }
  
  .demo-header p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 480px) {
  section {
    padding: 30px 0 !important;
  }
  
  .container {
    padding: 0 15px !important;
  }
}

/* Scroll progress indicator */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00ff00, #00cc00);
  width: 0%;
  transition: width 0.1s ease;
}

/* ===================================================================
   VIBEPOSTAI SINGLE POST MODERN DESIGN STYLES
   ================================================================ */

/* VibePostAI Brand Colors - Enhanced */
:root {
    --vpa-primary: #3AA3FF;
    --vpa-secondary: #8B5CF6;
    --vpa-success: #10B981;
    --vpa-danger: #EF4444;
    --vpa-warning: #F59E0B;
    --vpa-dark: #0B0F14;
    --vpa-card: #111827;
    --vpa-border: #E5E7EB;
    --vpa-text: #374151;
    --vpa-text-light: #6B7280;
    --vpa-white: #FFFFFF;
    --vpa-gray-50: #F9FAFB;
    --vpa-gray-100: #F3F4F6;
    --vpa-shadow: rgba(0, 0, 0, 0.1);
    --vpa-shadow-lg: rgba(0, 0, 0, 0.25);
    --vpa-gradient: linear-gradient(135deg, var(--vpa-primary) 0%, var(--vpa-secondary) 100%);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(58, 163, 255, 0.1);
    z-index: 9999;
}

.reading-progress .progress-fill {
    height: 100%;
    background: var(--vpa-gradient);
    width: 0%;
    transition: width 0.3s ease;
}

/* Post Hero Section */
.post-hero-section {
    position: relative;
    background: var(--vpa-gradient);
    color: var(--vpa-white);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--vpa-gradient);
    opacity: 0.95;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.floating-circle.circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.floating-circle.circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 40px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 12px;
    opacity: 0.6;
}

.breadcrumb-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--vpa-white);
}

.breadcrumb-list .current span {
    color: var(--vpa-white);
    font-weight: 500;
}

/* Post Hero Header */
.post-hero-header {
    position: relative;
    z-index: 2;
}

.post-category {
    margin-bottom: 20px;
}

.post-category a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--vpa-white);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.post-category a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.post-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 30px 0;
    color: var(--vpa-white);
}

/* Post Hero Meta */
.post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.author-name a {
    color: var(--vpa-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.post-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-info svg {
    opacity: 0.8;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--vpa-white);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Main Content Section */
.post-content-section {
    background: var(--vpa-white);
    padding: 80px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Post Article */
.post-main-content {
    background: var(--vpa-white);
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--vpa-shadow);
}

.featured-image-container {
    margin: 0;
    position: relative;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.image-caption {
    background: var(--vpa-gray-50);
    padding: 16px;
    font-size: 14px;
    color: var(--vpa-text-light);
    font-style: italic;
    text-align: center;
}

/* Post Content Body */
.post-content-body {
    font-size: 18px;
    line-height: 1.7;
    color: var(--vpa-text);
}

.post-content-body h2,
.post-content-body h3,
.post-content-body h4 {
    color: var(--vpa-dark);
    margin: 40px 0 20px 0;
    font-weight: 600;
}

.post-content-body h2 {
    font-size: 32px;
    position: relative;
    padding-bottom: 12px;
}

.post-content-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--vpa-gradient);
    border-radius: 2px;
}

.post-content-body h3 {
    font-size: 24px;
}

.post-content-body h4 {
    font-size: 20px;
}

.post-content-body p {
    margin-bottom: 24px;
}

.post-content-body blockquote {
    background: var(--vpa-gray-50);
    border-left: 4px solid var(--vpa-primary);
    padding: 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--vpa-text);
}

.post-content-body ul,
.post-content-body ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content-body li {
    margin-bottom: 8px;
}

.post-content-body pre {
    background: var(--vpa-dark);
    color: var(--vpa-white);
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
}

.post-content-body code {
    background: var(--vpa-gray-100);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    color: var(--vpa-dark);
}

.post-content-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Page Links */
.page-links {
    margin: 40px 0;
    text-align: center;
}

.page-links a,
.page-links > span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: var(--vpa-gray-50);
    border: 1px solid var(--vpa-border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--vpa-text);
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: var(--vpa-primary);
    color: var(--vpa-white);
    border-color: var(--vpa-primary);
}

.page-links .current {
    background: var(--vpa-primary);
    color: var(--vpa-white);
    border-color: var(--vpa-primary);
}

/* Tags Section */
.post-tags-section {
    margin: 40px 0;
    padding: 32px;
    background: var(--vpa-gray-50);
    border-radius: 16px;
}

.tags-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--vpa-dark);
    margin-bottom: 16px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--vpa-white);
    border: 1px solid var(--vpa-border);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--vpa-text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--vpa-primary);
    color: var(--vpa-white);
    border-color: var(--vpa-primary);
    transform: translateY(-2px);
}

.tag-count {
    background: var(--vpa-gray-100);
    color: var(--vpa-text-light);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

.tag-link:hover .tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--vpa-white);
}

/* Post Engagement Section */
.post-engagement-section {
    margin: 60px 0;
    padding: 40px;
    background: var(--vpa-gray-50);
    border-radius: 16px;
    text-align: center;
}

.engagement-header {
    margin-bottom: 32px;
}

.engagement-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--vpa-dark);
    margin-bottom: 8px;
}

.engagement-subtitle {
    color: var(--vpa-text-light);
    font-size: 16px;
}

.engagement-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* VibePost Likes Integration Styling */
.vibepost-likes-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vibepost-likes-wrapper .vibepost-like-btn {
    background: var(--vpa-gradient);
    border: none;
    color: var(--vpa-white);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(58, 163, 255, 0.3);
    transition: all 0.3s ease;
}

.vibepost-likes-wrapper .vibepost-like-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 163, 255, 0.4);
}

.vibepost-likes-wrapper .vibepost-like-btn.liked {
    background: linear-gradient(135deg, var(--vpa-success) 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Engagement Buttons */
.engagement-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vpa-white);
    border: 2px solid var(--vpa-border);
    padding: 12px 24px;
    border-radius: 25px;
    color: var(--vpa-text);
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.engagement-btn:hover {
    border-color: var(--vpa-primary);
    color: var(--vpa-primary);
    transform: translateY(-2px);
}

.engagement-btn.bookmarked {
    background: var(--vpa-primary);
    border-color: var(--vpa-primary);
    color: var(--vpa-white);
}

/* Post Navigation */
.post-navigation-section {
    margin: 60px 0;
}

.post-navigation .nav-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--vpa-dark);
    margin-bottom: 24px;
    text-align: center;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.nav-link {
    display: block;
    background: var(--vpa-white);
    border: 1px solid var(--vpa-border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: var(--vpa-text);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--vpa-shadow);
}

.nav-link:hover {
    border-color: var(--vpa-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--vpa-shadow);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--vpa-text-light);
    font-weight: 500;
}

.nav-next .nav-direction {
    justify-content: flex-end;
}

.nav-post-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--vpa-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.nav-excerpt {
    font-size: 14px;
    color: var(--vpa-text-light);
    line-height: 1.5;
}

/* Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-widget {
    background: var(--vpa-white);
    border: 1px solid var(--vpa-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--vpa-shadow);
}

.widget-header {
    background: var(--vpa-gray-50);
    padding: 20px 24px;
    border-bottom: 1px solid var(--vpa-border);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--vpa-dark);
    margin: 0;
}

/* Author Widget */
.author-card {
    padding: 24px;
    text-align: center;
}

.author-avatar-large {
    border-radius: 50%;
    margin-bottom: 16px;
    border: 3px solid var(--vpa-border);
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-name a {
    color: var(--vpa-dark);
    text-decoration: none;
}

.author-bio {
    color: var(--vpa-text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.author-stats {
    margin-bottom: 20px;
}

.stat-item {
    font-size: 14px;
    color: var(--vpa-text-light);
}

.stat-item strong {
    color: var(--vpa-primary);
    font-weight: 600;
}

.view-author-posts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--vpa-primary);
    color: var(--vpa-white);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-author-posts:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Related Posts Widget */
.related-posts-list {
    padding: 0 24px 24px;
}

.related-post-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--vpa-border);
}

.related-post-item:last-child {
    border-bottom: none;
}

.related-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.related-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.related-title a {
    color: var(--vpa-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-title a:hover {
    color: var(--vpa-primary);
}

.related-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--vpa-text-light);
}

/* Newsletter Widget */
.newsletter-content {
    padding: 24px;
}

.newsletter-description {
    font-size: 14px;
    color: var(--vpa-text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--vpa-border);
    border-radius: 8px;
    font-size: 14px;
}

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

.newsletter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--vpa-primary);
    color: var(--vpa-white);
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Comments Section */
.comments-section {
    background: var(--vpa-gray-50);
    padding: 80px 0;
}

.comments-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Section */
.post-cta-section {
    background: var(--vpa-gradient);
    color: var(--vpa-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--vpa-white);
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.cta-btn.primary:hover {
    background: var(--vpa-gray-100);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--vpa-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cta-visual {
    position: relative;
    height: 200px;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.icon-item {
    position: absolute;
    font-size: 48px;
    animation: iconFloat 4s infinite ease-in-out;
}

.icon-item:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.icon-item:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: -1.3s;
}

.icon-item:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: -2.6s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 1;
    }
}

/* Share Modal */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.share-modal {
    background: var(--vpa-white);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px var(--vpa-shadow-lg);
}

.share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--vpa-border);
}

.share-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--vpa-dark);
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--vpa-text-light);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--vpa-text);
}

.share-modal-content {
    padding: 24px;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--vpa-gray-50);
    border: 1px solid var(--vpa-border);
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--vpa-text);
}

.share-option:hover {
    background: var(--vpa-primary);
    color: var(--vpa-white);
    border-color: var(--vpa-primary);
}

/* Message Toast */
.message-toast {
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 12px var(--vpa-shadow);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .post-sidebar {
        order: -1;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .post-hero-section {
        padding: 100px 0 60px;
    }
    
    .post-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .social-share {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .content-layout {
        gap: 32px;
    }
    
    .post-content-section {
        padding: 60px 0;
    }
    
    .engagement-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .post-hero-section {
        padding: 80px 0 40px;
    }
    
    .breadcrumb-list {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .post-hero-title {
        font-size: 28px;
    }
    
    .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .post-info {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .post-content-body {
        font-size: 16px;
    }
    
    .post-content-body h2 {
        font-size: 24px;
    }
    
    .post-content-body h3 {
        font-size: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        justify-content: center;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --vpa-white: #1f2937;
        --vpa-text: #f9fafb;
        --vpa-text-light: #d1d5db;
        --vpa-border: #374151;
        --vpa-gray-50: #111827;
        --vpa-gray-100: #1f2937;
        --vpa-shadow: rgba(0, 0, 0, 0.3);
        --vpa-card: #1f2937;
    }
}

/* Print Styles */
@media print {
    .post-hero-section,
    .post-sidebar,
    .post-cta-section,
    .engagement-actions,
    .social-share,
    .share-modal-overlay,
    .reading-progress {
        display: none !important;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .post-content-body {
        color: #000;
    }
}
