/* ═══════════════════════════════════════════════════════════════════════════
   GINANRM - GHOST THEME
   Tema dark e gótico
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS (CSS Custom Properties)
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  /* ══════════════════════════════════
     GHOST CUSTOM FONTS (set via Ghost Admin)
     ══════════════════════════════════ */
  --gh-font-heading: inherit;
  --gh-font-body: inherit;
  
  /* ══════════════════════════════════
     PALETA DE CORES - Tema Dark e Gótico
     ══════════════════════════════════ */
  
  /* Cores Principais - Dark Gothic */
  --lc-black: #0d0d18;
  --lc-black-soft: #151520;
  --lc-dark-purple: #1a0d2e;
  --lc-purple: #2d1b3d;
  --lc-purple-light: #3d2a4d;
  --lc-amethyst: #9966cc;
  --lc-amethyst-dark: #7a4fa3;
  --lc-amethyst-light: #b88cd9;
  
  /* Cores de Acento */
  --lc-accent-purple: #6a4c93;
  --lc-accent-violet: #8b6faf;
  
  /* Cores da Noite - Mantidas para compatibilidade */
  --lc-night-deep: #0d0d18;
  --lc-night-purple: #1a0d2e;
  --lc-night-violet: #2d1b3d;
  --lc-night-lighter: #3d2a4d;
  
  /* Cores Neon - Adaptadas para tema gótico */
  --lc-neon-cyan: #9966cc;
  --lc-neon-blue: #8b6faf;
  --lc-neon-purple: #6a4c93;
  --lc-neon-pink: #b88cd9;
  
  /* Cores da Charlotte (Mascote) */
  --lc-charlotte-screen: #7dd3fc;
  --lc-charlotte-body: #6b7280;
  --lc-charlotte-beret: #22c55e;
  --lc-charlotte-glow: rgba(125, 211, 252, 0.4);
  
  /* Neutros */
  --lc-white: #fafafa;
  --lc-gray-50: #f9fafb;
  --lc-gray-100: #f3f4f6;
  --lc-gray-200: #e5e7eb;
  --lc-gray-300: #d1d5db;
  --lc-gray-400: #9ca3af;
  --lc-gray-500: #6b7280;
  --lc-gray-600: #4b5563;
  --lc-gray-700: #374151;
  --lc-gray-800: #1f2937;
  --lc-gray-900: #111827;
  --lc-black: #0d0d18;
  
  /* Cores Semânticas */
  --lc-success: #10b981;
  --lc-warning: #f59e0b;
  --lc-error: #ef4444;
  --lc-info: #3b82f6;
  
  /* Cores do Tema (customizáveis via Ghost) */
  --color-primary: var(--lc-amethyst);
  --color-accent: var(--lc-amethyst-dark);
  --color-background: var(--lc-black);
  --color-surface: var(--lc-dark-purple);
  --color-text: var(--lc-white);
  --color-text-muted: var(--lc-gray-400);
  
  /* ══════════════════════════════════
     TIPOGRAFIA
     ══════════════════════════════════ */
  
  /* Display - Títulos góticos elegantes */
  --font-display: 'Cinzel', 'Times New Roman', serif;
  
  /* Headings - Títulos góticos legíveis */
  --font-heading: 'Cinzel', 'Georgia', serif;
  
  /* Body - Leitura confortável */
  --font-body: 'Nunito', 'Quicksand', 'Segoe UI', system-ui, sans-serif;
  
  /* Mono - Código */
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  
  /* Tamanhos de fonte (Mobile First) */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  
  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* ══════════════════════════════════
     ESPAÇAMENTO (8px base system)
     ══════════════════════════════════ */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* ══════════════════════════════════
     LAYOUT
     ══════════════════════════════════ */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
  
  --sidebar-width: 320px;
  --header-height: 72px;
  --header-height-mobile: 56px;
  
  /* ══════════════════════════════════
     EFEITOS
     ══════════════════════════════════ */
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  
  /* Neon Glows - Adaptados para ametista */
  --glow-cyan: 0 0 5px var(--lc-amethyst), 0 0 10px var(--lc-amethyst), 0 0 20px rgba(153, 102, 204, 0.3);
  --glow-purple: 0 0 10px var(--lc-amethyst-dark), 0 0 20px var(--lc-amethyst-dark), 0 0 40px rgba(106, 76, 147, 0.4);
  --glow-pink: 0 0 10px var(--lc-amethyst-light), 0 0 20px var(--lc-amethyst-light);
  --glow-charlotte: 0 0 8px rgba(153, 102, 204, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Z-index layers */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CSS RESET & BASE
   ───────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--lc-black);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-text);
}

.display-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1, .text-5xl { font-size: var(--text-3xl); }
h2, .text-4xl { font-size: var(--text-2xl); }
h3, .text-3xl { font-size: var(--text-xl); }
h4, .text-2xl { font-size: var(--text-lg); }
h5, .text-xl { font-size: var(--text-base); }
h6, .text-lg { font-size: var(--text-sm); }

@media (min-width: 768px) {
  h1, .text-5xl { font-size: var(--text-5xl); }
  h2, .text-4xl { font-size: var(--text-4xl); }
  h3, .text-3xl { font-size: var(--text-3xl); }
  h4, .text-2xl { font-size: var(--text-2xl); }
  h5, .text-xl { font-size: var(--text-xl); }
  h6, .text-lg { font-size: var(--text-lg); }
}

p {
  margin-bottom: var(--space-4);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--lc-amethyst), var(--lc-amethyst-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-neon {
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
}

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid { display: grid; }

/* ─────────────────────────────────────────────────────────────────────────────
   BACKGROUND - TEMA DARK GÓTICO
   ───────────────────────────────────────────────────────────────────────────── */

.bg-city {
  background: transparent;
}

.bg-gradient-sunset {
  background: linear-gradient(180deg,
    var(--lc-sunset-gold) 0%,
    var(--lc-sunset-orange) 20%,
    var(--lc-sunset-pink) 40%,
    var(--lc-sunset-magenta) 60%,
    var(--lc-night-violet) 80%,
    var(--lc-night-deep) 100%
  );
}

.bg-surface {
  background-color: var(--color-surface);
}

.bg-glass {
  background: rgba(30, 17, 69, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Efeito de estrelas animadas */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 230px 80px, white, transparent),
    radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent);
  background-size: 350px 200px;
  animation: twinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER / NAVIGATION
   ───────────────────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  min-height: var(--header-height-mobile);
  height: auto;
  background: rgba(15, 10, 31, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
  overflow: visible;
}

@media (min-width: 768px) {
  .site-header {
    height: var(--header-height);
    min-height: var(--header-height);
  }
}

@media (min-width: 768px) {
  .site-header {
    height: var(--header-height);
  }
}

.site-header.scrolled {
  background: rgba(15, 10, 31, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Centered Navigation Layout */
.site-header.header-centered .header-inner {
  flex-wrap: wrap;
  justify-content: center;
}

.site-header.header-centered .site-logo {
  flex: 0 0 100%;
  justify-content: center;
  margin-bottom: var(--space-2);
}

@media (min-width: 1024px) {
  .site-header.header-centered .site-logo {
    flex: 0 0 auto;
    margin-bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .site-header.header-centered .main-nav {
    flex: 1;
    justify-content: center;
    margin: 0;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-3);
  gap: var(--space-2);
  position: relative;
  min-height: var(--header-height-mobile);
  overflow: visible;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 var(--space-8);
    gap: var(--space-4);
  }
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  order: 1;
  flex-shrink: 0;
  min-width: 0;
}

.site-logo img {
  height: 32px;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo {
    gap: var(--space-3);
  }
  
  .site-logo img {
    height: 50px;
  }
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
  display: none;
}

@media (min-width: 640px) {
  .site-logo-text {
    display: block;
  }
}

/* Navigation */
.main-nav {
  display: none; /* Hidden on mobile by default */
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  justify-content: center;
  margin: 0 var(--space-2);
  order: 2;
  position: relative;
}

/* Main Nav Mobile Menu - Dropdown */
@media (max-width: 767px) {
  .main-nav {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    right: 0;
    background: rgba(15, 10, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    margin: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(153, 102, 204, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal), max-height var(--transition-normal);
    z-index: var(--z-dropdown);
    max-height: 0;
    overflow: hidden;
  }
  
  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
    display: flex;
  }
  
  .main-nav > a.nav-link-button,
  .main-nav > a.nav-link {
    width: 100%;
    justify-content: center;
    padding: var(--space-4) var(--space-5);
    text-align: center;
  }
}

/* Hide any ul lists that might be rendered by {{navigation}} helper - but allow direct links */
.main-nav > ul {
  display: none !important;
}

.main-nav > ul > li {
  display: none !important;
}

/* Ensure direct anchor links are visible */
.main-nav > a.nav-link-button,
.main-nav > a.nav-link {
  display: inline-flex !important;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex !important;
    gap: var(--space-3);
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: none;
  }
  
  .main-nav > a.nav-link-button,
  .main-nav > a.nav-link {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    gap: var(--space-4);
    margin: 0;
    flex: 1;
    justify-content: center;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
}

/* Improve visibility for nav-link in header actions */
.header-actions .nav-link {
  color: var(--lc-white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  padding: var(--space-2) var(--space-4);
  background: rgba(153, 102, 204, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(153, 102, 204, 0.3);
  border-radius: var(--radius-md);
}

.header-actions .nav-link:hover {
  color: var(--lc-neon-cyan);
  background: rgba(153, 102, 204, 0.3);
  border-color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
}

/* Button-style navigation links in header */
.nav-link-button {
  font-weight: 700;
  color: var(--lc-white);
  padding: var(--space-3) var(--space-5);
  background: rgba(153, 102, 204, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(153, 102, 204, 0.4);
  transition: all var(--transition-fast);
  position: relative;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-link-button:hover {
  color: var(--lc-neon-cyan);
  background: rgba(153, 102, 204, 0.45);
  border-color: var(--lc-neon-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(153, 102, 204, 0.5);
  text-shadow: var(--glow-cyan);
}

.nav-link-button.active {
  color: var(--lc-neon-cyan);
  background: rgba(153, 102, 204, 0.4);
  border-color: var(--lc-neon-cyan);
  box-shadow: 0 0 8px rgba(153, 102, 204, 0.5), inset 0 0 15px rgba(153, 102, 204, 0.15);
  text-shadow: var(--glow-cyan);
}

.nav-link-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: var(--lc-neon-cyan);
  box-shadow: 0 0 8px var(--lc-neon-cyan);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  order: 3;
  flex-shrink: 0;
  min-width: 0;
}

@media (min-width: 768px) {
  .header-actions {
    gap: var(--space-4);
  }
}

/* Hide some actions on very small screens */
@media (max-width: 480px) {
  .header-actions .nav-link {
    display: none !important;
  }
  
  .header-actions .btn-primary.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
  
  .header-actions .btn-search {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
  
  .header-actions .btn-search svg {
    width: 18px;
    height: 18px;
  }
}

/* Ensure header doesn't clip elements on mobile */
@media (max-width: 767px) {
  .site-header {
    overflow: visible;
  }
  
  .header-inner {
    overflow: visible;
  }
}

/* Search Button */
.btn-search {
  display: flex;
  align-items: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .btn-search {
    width: auto;
    height: auto;
    padding: var(--space-2) var(--space-3);
  }
}

.btn-search {
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--lc-white);
  background: rgba(153, 102, 204, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(153, 102, 204, 0.3);
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn-search:hover {
  color: var(--lc-neon-cyan);
  background: rgba(153, 102, 204, 0.35);
  border-color: var(--lc-neon-cyan);
  box-shadow: 0 0 8px rgba(153, 102, 204, 0.4);
}

.btn-search svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: var(--header-height-mobile);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 10, 31, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: var(--z-fixed);
  overflow-y: auto;
  display: block;
  visibility: hidden;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
    visibility: hidden !important;
  }
}

.mobile-nav.active {
  visibility: visible;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--lc-neon-cyan);
  padding-left: var(--space-4);
}

/* ─────────────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--lc-neon-cyan);
  color: var(--lc-night-deep);
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  background: var(--lc-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--lc-neon-purple);
}

.btn-secondary:hover {
  background: var(--lc-neon-purple);
  box-shadow: var(--glow-purple);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: var(--lc-neon-cyan);
  color: var(--lc-neon-cyan);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height-mobile) + var(--space-8)) var(--space-4) var(--space-16);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: calc(var(--header-height) + var(--space-12)) var(--space-8) var(--space-20);
  }
}

.hero-background {
  display: none;
}

.hero-background img {
  display: none;
}

.hero-background::after {
  display: none;
}

.hero-content {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  max-width: 900px;
  width: calc(100% - var(--space-8));
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
}

.hero-content.visible {
  opacity: 1;
  bottom: var(--space-8);
}

@media (min-width: 768px) {
  .hero-content {
    bottom: -120px;
    width: calc(100% - var(--space-16));
  }
  
  .hero-content.visible {
    bottom: var(--space-12);
  }
}

@media (min-width: 1024px) {
  .hero-content {
    bottom: -160px;
  }
  
  .hero-content.visible {
    bottom: var(--space-16);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: var(--text-xl);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-2xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-3xl);
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--lc-gray-300);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Search */
.hero-search {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  bottom: 0;
}

.search-form {
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  padding-left: var(--space-12);
  font-size: var(--text-base);
  background: var(--lc-white);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  color: var(--lc-gray-800);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input::placeholder {
  color: var(--lc-gray-400);
}

.search-input:focus {
  outline: none;
  border-color: var(--lc-neon-cyan);
  box-shadow: var(--glow-cyan);
}

.search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--lc-gray-400);
  pointer-events: none;
}

/* Charlotte no Hero */
.hero-charlotte {
  position: absolute;
  right: 2%;
  bottom: 20%;
  width: 150px;
  opacity: 0.9;
  animation: float 4s ease-in-out infinite;
  display: none;
  filter: drop-shadow(0 0 5px rgba(153, 102, 204, 0.3));
}

@media (min-width: 768px) {
  .hero-charlotte {
    display: block;
    width: 200px;
  }
}

@media (min-width: 1024px) {
  .hero-charlotte {
    width: 280px;
    right: 3%;
    bottom: 22%;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Hero Style Variations (from custom settings) */
.hero.hero-minimal {
  min-height: 60vh;
  background: linear-gradient(180deg, var(--lc-night-purple) 0%, var(--lc-night-deep) 100%);
}

.hero.hero-minimal .hero-background,
.hero.hero-minimal .hero-charlotte {
  display: none !important;
}

.hero.hero-with-charlotte .hero-charlotte {
  display: block;
  width: 180px;
  right: 2%;
  left: auto;
  transform: none;
  bottom: auto;
  top: calc(var(--header-height) + var(--space-4));
}

@media (min-width: 768px) {
  .hero.hero-with-charlotte .hero-charlotte {
    width: 250px;
    right: 3%;
    left: auto;
    transform: none;
    top: auto;
    bottom: 22%;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   POST CARDS
   ───────────────────────────────────────────────────────────────────────────── */

.post-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.05);
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--glow-cyan);
  border-color: rgba(153, 102, 204, 0.4);
}

.post-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(30, 17, 69, 0.8));
}

.post-card-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-1) var(--space-3);
  background: var(--lc-neon-purple);
  color: var(--lc-white);
  border-radius: var(--radius-sm);
}

.post-card-content {
  padding: var(--space-5);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--lc-neon-cyan);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .post-card-title {
    font-size: var(--text-sm);
  }
}

.post-card-excerpt {
  font-size: var(--text-sm);
  color: var(--lc-gray-300);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--lc-gray-400);
}

.post-card-author-image {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

/* Featured Post Card (Larger) */
.post-card-featured {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .post-card-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
  }
  
  .post-card-featured .post-card-image {
    aspect-ratio: auto;
    min-height: 300px;
  }
  
  .post-card-featured .post-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-8);
  }
  
  .post-card-featured .post-card-title {
    font-size: var(--text-base);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   POST GRID
   ───────────────────────────────────────────────────────────────────────────── */

.posts-section {
  padding: var(--space-12) 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-base);
  }
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MAIN NAVIGATION SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.main-navigation-section {
  display: none !important;
}

.main-navigation-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  background: rgba(131, 56, 236, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(153, 102, 204, 0.3);
  box-shadow: 0 4px 20px rgba(153, 102, 204, 0.2);
  min-height: 60px;
}

/* Show navigation section only if has items */
.main-navigation-inner:empty {
  display: none;
}

.main-navigation-inner:not(:empty) {
  display: flex !important;
}

@media (min-width: 768px) {
  .main-navigation-inner {
    gap: var(--space-4);
    padding: var(--space-6) var(--space-8);
  }
}

.main-nav-item {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lc-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  background: rgba(153, 102, 204, 0.15);
  border: 1px solid transparent;
}

.main-nav-item:hover {
  color: var(--lc-neon-cyan);
  background: rgba(153, 102, 204, 0.25);
  border-color: var(--lc-neon-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(153, 102, 204, 0.4);
}

.main-nav-item.active {
  color: var(--lc-neon-cyan);
  background: rgba(153, 102, 204, 0.2);
  border-color: var(--lc-neon-cyan);
  box-shadow: 0 0 8px rgba(153, 102, 204, 0.4), inset 0 0 15px rgba(153, 102, 204, 0.1);
}

.main-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: var(--lc-neon-cyan);
  box-shadow: 0 0 8px var(--lc-neon-cyan);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ─────────────────────────────────────────────────────────────────────────────
   FEATURED SLIDER
   ───────────────────────────────────────────────────────────────────────────── */

.featured-slider {
  position: relative;
  margin-bottom: var(--space-12);
}

.slider-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .slider-wrapper {
    grid-template-columns: 1fr 200px;
    gap: var(--space-8);
  }
}

.slider-main {
  position: relative;
}

.slider-container {
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
}

.slider-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.slider-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: none;
}

.slider-slide.active {
  display: block;
}

.slide-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .slide-image-container {
    aspect-ratio: 16/9;
  }
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.slide-card {
  background: var(--lc-neon-purple);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .slide-card {
    padding: var(--space-8);
  }
}

.slide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(131, 56, 236, 0.3);
}

.slide-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.slide-card-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 0, 0, 0.2);
  color: var(--lc-white);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

.slide-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--lc-white);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .slide-card-title {
    font-size: var(--text-lg);
  }
}

.slide-card-excerpt {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.slide-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
}

/* Slider Sidebar Navigation */
.slider-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .slider-sidebar {
    display: block;
  }
}

.slider-sidebar-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lc-neon-cyan);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--lc-neon-purple);
}

.slider-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.slider-sidebar-item {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(0, 176, 212, 0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 80px;
}

.slider-sidebar-item:hover {
  border-color: var(--lc-neon-cyan);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(153, 102, 204, 0.5);
}

.slider-sidebar-item.active {
  border-color: var(--lc-neon-cyan);
  box-shadow: 0 0 10px rgba(153, 102, 204, 0.5), inset 0 0 15px rgba(153, 102, 204, 0.15);
}

.slider-sidebar-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.slider-sidebar-item:hover .slider-sidebar-item-image {
  transform: scale(1.05);
}

.slider-sidebar-item.active .slider-sidebar-item-image {
  transform: scale(1.02);
}

.slider-sidebar-item-image-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.slider-sidebar-item-text {
  display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SIDEBAR
   ───────────────────────────────────────────────────────────────────────────── */

.main-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .main-with-sidebar {
    grid-template-columns: 1fr var(--sidebar-width);
  }
}

.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

.sidebar-widget {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lc-neon-cyan);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--lc-neon-purple);
}

/* Sidebar Search */
.sidebar-search {
  position: relative;
}

.sidebar-search-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  padding-left: var(--space-10);
  font-size: var(--text-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sidebar-search-input::placeholder {
  color: var(--lc-gray-500);
}

.sidebar-search-input:focus {
  outline: none;
  border-color: var(--lc-neon-cyan);
  box-shadow: 0 0 0 3px rgba(153, 102, 204, 0.2);
}

.sidebar-search-icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--lc-gray-500);
  pointer-events: none;
}

/* Pinned Links */
.pinned-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pinned-link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  color: var(--lc-gray-300);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pinned-link:hover {
  background: rgba(153, 102, 204, 0.15);
  color: var(--lc-neon-cyan);
  transform: translateX(4px);
}

.pinned-link-icon {
  width: 20px;
  height: 20px;
  color: var(--lc-neon-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.pinned-link:hover .pinned-link-icon {
  color: var(--lc-neon-cyan);
}

.pinned-link-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.pinned-link-label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--lc-white);
}

.pinned-link-description {
  font-size: var(--text-xs);
  color: var(--lc-gray-400);
  line-height: var(--leading-relaxed);
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag-link {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  background: rgba(131, 56, 236, 0.2);
  color: var(--lc-gray-300);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.tag-link:hover {
  background: var(--lc-neon-purple);
  color: var(--lc-white);
}

/* ─────────────────────────────────────────────────────────────────────────────
   SINGLE POST
   ───────────────────────────────────────────────────────────────────────────── */

.post-full {
  padding-top: calc(var(--header-height-mobile) + var(--space-8));
}

@media (min-width: 768px) {
  .post-full {
    padding-top: calc(var(--header-height) + var(--space-12));
  }
}

.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-8);
  padding: 0 var(--space-4);
}

.post-header-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  background: var(--lc-neon-purple);
  color: var(--lc-white);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.post-full-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .post-full-title {
    font-size: var(--text-2xl);
  }
}

.post-full-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  color: var(--lc-gray-400);
  font-size: var(--text-sm);
}

.post-full-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.post-full-author-image {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

/* Feature Image */
.post-feature-image {
  position: relative;
  max-width: 1200px;
  margin: 0 auto var(--space-12);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.post-feature-image img {
  width: 100%;
  height: auto;
}

/* Post Content */
.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.post-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
  color: var(--lc-neon-cyan);
}

.post-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.post-content p {
  margin-bottom: var(--space-6);
}

.post-content a {
  color: var(--lc-neon-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.post-content a:hover {
  color: var(--lc-neon-purple);
}

.post-content ul,
.post-content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content li {
  margin-bottom: var(--space-2);
}

.post-content blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-6);
  background: var(--color-surface);
  border-left: 4px solid var(--lc-neon-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

.post-content pre {
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: var(--lc-night-deep);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.post-content code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.post-content p code {
  padding: var(--space-1) var(--space-2);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  color: var(--lc-neon-cyan);
}

.post-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.post-content figure {
  margin: var(--space-8) 0;
}

.post-content figcaption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
  margin-top: var(--space-3);
}

/* ─────────────────────────────────────────────────────────────────────────────
   GHOST CONTENT - kg-* CLASSES (Required by Ghost)
   ───────────────────────────────────────────────────────────────────────────── */

/* Ghost content wrapper */
.gh-content {
  position: relative;
}

/* Wide and full width image/card support */
.gh-content .kg-width-wide,
.post-content .kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1200px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.gh-content .kg-width-full,
.post-content .kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .gh-content .kg-width-wide,
  .post-content .kg-width-wide {
    width: calc(100% + 200px);
    max-width: 1200px;
  }
}

/* Ghost Card - Image */
.kg-image-card {
  margin: var(--space-8) 0;
}

.kg-image-card img {
  width: 100%;
  height: auto;
}

.kg-image-card.kg-width-wide img,
.kg-image-card.kg-width-full img {
  border-radius: 0;
}

.kg-image-card figcaption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
  margin-top: var(--space-3);
  padding: 0 var(--space-4);
}

/* Ghost Card - Gallery */
.kg-gallery-card {
  margin: var(--space-8) 0;
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.kg-gallery-row {
  display: flex;
  gap: var(--space-4);
}

.kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Ghost Card - Bookmark */
.kg-bookmark-card {
  margin: var(--space-8) 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition-fast);
}

.kg-bookmark-card:hover {
  border-color: var(--lc-neon-cyan);
}

.kg-bookmark-container {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 640px) {
  .kg-bookmark-container {
    flex-direction: row;
  }
}

.kg-bookmark-content {
  flex: 1;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
}

.kg-bookmark-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--lc-neon-cyan);
  margin-bottom: var(--space-2);
}

.kg-bookmark-description {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--lc-gray-500);
}

.kg-bookmark-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
}

.kg-bookmark-author {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.kg-bookmark-publisher {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.kg-bookmark-thumbnail {
  position: relative;
  min-width: 200px;
  max-height: 200px;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ghost Card - Callout */
.kg-callout-card {
  margin: var(--space-8) 0;
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.kg-callout-card-grey {
  background: var(--lc-gray-800);
}

.kg-callout-card-white {
  background: rgba(255, 255, 255, 0.05);
}

.kg-callout-card-blue {
  background: rgba(0, 180, 216, 0.15);
  border-left: 4px solid var(--lc-neon-blue);
}

.kg-callout-card-green {
  background: rgba(16, 185, 129, 0.15);
  border-left: 4px solid var(--lc-success);
}

.kg-callout-card-yellow {
  background: rgba(245, 158, 11, 0.15);
  border-left: 4px solid var(--lc-warning);
}

.kg-callout-card-red {
  background: rgba(239, 68, 68, 0.15);
  border-left: 4px solid var(--lc-error);
}

.kg-callout-card-pink {
  background: rgba(244, 114, 182, 0.15);
  border-left: 4px solid var(--lc-sunset-pink);
}

.kg-callout-card-purple {
  background: rgba(131, 56, 236, 0.15);
  border-left: 4px solid var(--lc-neon-purple);
}

.kg-callout-card-accent {
  background: rgba(153, 102, 204, 0.2);
  border-left: 4px solid var(--lc-neon-cyan);
}

.kg-callout-emoji {
  font-size: var(--text-2xl);
  line-height: 1;
}

.kg-callout-text {
  flex: 1;
}

/* Ghost Card - Toggle (Accordion) */
.kg-toggle-card {
  margin: var(--space-8) 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  cursor: pointer;
}

.kg-toggle-heading-text {
  font-family: var(--font-heading);
  font-weight: 600;
}

.kg-toggle-card-icon {
  transition: transform var(--transition-fast);
}

.kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-card-icon {
  transform: rotate(180deg);
}

.kg-toggle-content {
  padding: 0 var(--space-5) var(--space-5);
  display: none;
}

.kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-content {
  display: block;
}

/* Ghost Card - Button */
.kg-button-card {
  margin: var(--space-8) 0;
  text-align: center;
}

.kg-button-card.kg-align-left {
  text-align: left;
}

.kg-button-card a.kg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  background: var(--lc-neon-cyan);
  color: var(--lc-night-deep);
  box-shadow: var(--glow-cyan);
}

.kg-button-card a.kg-btn:hover {
  background: var(--lc-white);
  transform: translateY(-2px);
}

.kg-button-card a.kg-btn-accent {
  background: var(--lc-neon-purple);
  color: var(--lc-white);
  box-shadow: var(--glow-purple);
}

/* Ghost Card - Embed/Video */
.kg-embed-card {
  margin: var(--space-8) 0;
}

.kg-embed-card iframe {
  width: 100%;
  border-radius: var(--radius-lg);
}

.kg-video-card {
  margin: var(--space-8) 0;
}

.kg-video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.kg-video-player {
  width: 100%;
}

/* Ghost Card - File */
.kg-file-card {
  margin: var(--space-8) 0;
}

.kg-file-card-container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-fast);
}

.kg-file-card-container:hover {
  border-color: var(--lc-neon-cyan);
}

.kg-file-card-contents {
  flex: 1;
}

.kg-file-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--lc-neon-cyan);
}

.kg-file-card-caption {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
}

.kg-file-card-metadata {
  font-size: var(--text-xs);
  color: var(--lc-gray-500);
}

.kg-file-card-icon {
  width: 24px;
  height: 24px;
  color: var(--lc-neon-purple);
}

/* Ghost Card - Audio */
.kg-audio-card {
  margin: var(--space-8) 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

/* Ghost Card - Product */
.kg-product-card {
  margin: var(--space-8) 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kg-product-card-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .kg-product-card-container {
    grid-template-columns: auto 1fr;
  }
}

.kg-product-card-image {
  width: 100%;
  max-width: 200px;
}

.kg-product-card-title-container {
  padding: var(--space-4);
}

.kg-product-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--lc-neon-cyan);
  margin-bottom: var(--space-2);
}

.kg-product-card-description {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
}

/* Ghost Card - Header */
.kg-header-card {
  margin: var(--space-8) 0;
  padding: var(--space-12) var(--space-6);
  text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--lc-night-purple), var(--lc-night-violet));
}

.kg-header-card h2 {
  font-family: var(--font-display);
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
}

/* Ghost Card - Signup */
.kg-signup-card {
  margin: var(--space-8) 0;
  padding: var(--space-10);
  background: linear-gradient(135deg, var(--lc-night-purple), var(--lc-night-violet));
  border-radius: var(--radius-xl);
  text-align: center;
}

/* Ghost Card - NFT */
.kg-nft-card {
  margin: var(--space-8) 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--lc-night-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--lc-neon-cyan);
}

.footer-description {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  color: var(--lc-gray-400);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--lc-neon-cyan);
  color: var(--lc-night-deep);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-nav-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav-link {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--lc-neon-cyan);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--lc-gray-500);
}

.footer-powered {
  font-size: var(--text-sm);
  color: var(--lc-gray-500);
}

.footer-powered a {
  color: var(--lc-neon-cyan);
  transition: color var(--transition-fast);
}

.footer-powered a:hover {
  color: var(--lc-white);
}

/* ─────────────────────────────────────────────────────────────────────────────
   CHARLOTTE HELPER (Easter Egg / Assistant)
   ───────────────────────────────────────────────────────────────────────────── */

.charlotte-helper {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-fixed);
  cursor: pointer;
}

.charlotte-helper-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  padding: var(--space-2);
  box-shadow: var(--shadow-lg), var(--glow-charlotte);
  transition: transform var(--transition-bounce), box-shadow var(--transition-normal);
  animation: float 3s ease-in-out infinite;
}

.charlotte-helper:hover .charlotte-helper-avatar {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl), 0 0 6px rgba(153, 102, 204, 0.3);
}

.charlotte-helper-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SEARCH MODAL
   ───────────────────────────────────────────────────────────────────────────── */

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-20) var(--space-4);
  background: rgba(15, 10, 31, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  width: 100%;
  max-width: 600px;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-modal-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-gray-400);
  transition: color var(--transition-fast);
}

.search-modal-close:hover {
  color: var(--lc-white);
}

.search-modal-close svg {
  width: 32px;
  height: 32px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--lc-neon-cyan);
  color: var(--lc-neon-cyan);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
}

/* ─────────────────────────────────────────────────────────────────────────────
   NEWSLETTER
   ───────────────────────────────────────────────────────────────────────────── */

.newsletter-section {
  background: linear-gradient(135deg, var(--lc-night-purple), var(--lc-night-violet));
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  margin: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238338ec' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--lc-neon-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .newsletter-title {
    font-size: var(--text-base);
  }
}

.newsletter-description {
  font-size: var(--text-base);
  color: var(--lc-gray-300);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 450px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.newsletter-input::placeholder {
  color: var(--lc-gray-400);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--lc-neon-cyan);
}

/* ─────────────────────────────────────────────────────────────────────────────
   404 / ERROR PAGE
   ───────────────────────────────────────────────────────────────────────────── */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
}

.error-code {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  color: var(--lc-neon-purple);
  text-shadow: var(--glow-purple);
  margin-bottom: var(--space-4);
}

.error-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.error-description {
  color: var(--lc-gray-400);
  margin-bottom: var(--space-8);
  max-width: 400px;
}

.error-charlotte {
  width: 150px;
  margin-bottom: var(--space-8);
  animation: float 3s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────────────────────
   UTILITY CLASSES
   ───────────────────────────────────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Margin utilities */
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* Padding utilities */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }

/* ─────────────────────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes glow {
  0%, 100% {
    box-shadow: var(--glow-cyan);
  }
  50% {
    box-shadow: 0 0 8px var(--lc-amethyst), 0 0 15px var(--lc-amethyst), 0 0 25px rgba(153, 102, 204, 0.4);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.5s ease forwards;
}

.animate-slide-down {
  animation: slideDown 0.5s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   PRINT STYLES
   ───────────────────────────────────────────────────────────────────────────── */

@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .charlotte-helper,
  .newsletter-section {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }

/* ─────────────────────────────────────────────────────────────────────────────
   PÁGINA DE VENDAS (Sales Page)
   ───────────────────────────────────────────────────────────────────────────── */

.page-vendas {
  padding-top: var(--header-height-mobile);
}

@media (min-width: 768px) {
  .page-vendas {
    padding-top: var(--header-height);
  }
}

/* Hero Section */
.sales-hero {
  background: linear-gradient(135deg, var(--lc-black) 0%, var(--lc-dark-purple) 50%, var(--lc-purple) 100%);
  padding: var(--space-16) var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sales-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239966cc' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.sales-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.sales-hero-cover {
  margin-bottom: var(--space-8);
}

.ebook-cover-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(153, 102, 204, 0.3);
  transition: transform var(--transition-normal);
}

.ebook-cover-image:hover {
  transform: scale(1.05);
}

.sales-hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--lc-white);
  margin-bottom: var(--space-6);
  text-shadow: 0 0 20px rgba(153, 102, 204, 0.5);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .sales-hero-title {
    font-size: var(--text-5xl);
  }
}

.sales-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--lc-gray-300);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .sales-hero-subtitle {
    font-size: var(--text-xl);
  }
}

/* CTA Buttons */
.sales-cta-primary {
  margin-top: var(--space-8);
}

.btn-sales-primary,
.btn-sales-final {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-10);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--lc-black);
  background: var(--lc-amethyst);
  border: 2px solid var(--lc-amethyst);
  border-radius: var(--radius-lg);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-normal);
  box-shadow: 0 0 20px rgba(153, 102, 204, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-sales-primary::before,
.btn-sales-final::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;
}

.btn-sales-primary:hover::before,
.btn-sales-final:hover::before {
  left: 100%;
}

.btn-sales-primary:hover,
.btn-sales-final:hover {
  background: var(--lc-amethyst-light);
  border-color: var(--lc-amethyst-light);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(153, 102, 204, 0.7), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-text-main {
  font-size: var(--text-xl);
  font-weight: 700;
}

.btn-text-sub {
  font-size: var(--text-sm);
  font-weight: 500;
  opacity: 0.9;
}

.sales-cta-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
}

/* Sales Content */
.sales-content {
  padding: var(--space-12) 0;
}

.sales-content .gh-content {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--lc-gray-300);
}

.sales-content .gh-content h2,
.sales-content .gh-content h3 {
  font-family: var(--font-heading);
  color: var(--lc-white);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.sales-content .gh-content h2 {
  font-size: var(--text-3xl);
  border-bottom: 2px solid var(--lc-amethyst);
  padding-bottom: var(--space-2);
}

.sales-content .gh-content h3 {
  font-size: var(--text-2xl);
  color: var(--lc-amethyst);
}

.sales-content .gh-content p {
  margin-bottom: var(--space-6);
}

.sales-content .gh-content ul,
.sales-content .gh-content ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.sales-content .gh-content li {
  margin-bottom: var(--space-2);
  color: var(--lc-gray-300);
}

/* Section Titles */
.sales-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--lc-white);
  text-align: center;
  margin-bottom: var(--space-12);
  text-shadow: 0 0 15px rgba(153, 102, 204, 0.4);
}

@media (min-width: 768px) {
  .sales-section-title {
    font-size: var(--text-4xl);
  }
}

/* Seção: O Que Você NÃO Precisa */
.sales-no-need {
  padding: var(--space-16) 0;
  background: var(--lc-dark-purple);
  border-radius: var(--radius-xl);
  margin: var(--space-12) 0;
  padding: var(--space-12) var(--space-4);
}

.no-need-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .no-need-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.no-need-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--lc-black);
  border: 1px solid rgba(153, 102, 204, 0.2);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.no-need-item:hover {
  border-color: var(--lc-amethyst);
  transform: translateX(5px);
}

.no-need-icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.no-need-text {
  font-size: var(--text-base);
  color: var(--lc-gray-300);
  margin: 0;
  font-weight: 500;
}

/* Benefits Section */
.sales-benefits {
  padding: var(--space-16) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background: var(--lc-dark-purple);
  border: 2px solid rgba(153, 102, 204, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  border-color: var(--lc-amethyst);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(153, 102, 204, 0.3);
}

.benefit-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--lc-amethyst);
  margin-bottom: var(--space-3);
}

.benefit-description {
  font-size: var(--text-base);
  color: var(--lc-gray-300);
  line-height: var(--leading-relaxed);
}

/* Testimonials Section */
.sales-testimonials {
  padding: var(--space-16) 0;
  background: var(--lc-dark-purple);
  border-radius: var(--radius-xl);
  margin: var(--space-12) 0;
  padding: var(--space-12) var(--space-4);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--lc-black);
  border: 1px solid rgba(153, 102, 204, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--lc-amethyst);
  box-shadow: 0 5px 20px rgba(153, 102, 204, 0.2);
}

.testimonial-content {
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--lc-gray-300);
  font-style: italic;
  line-height: var(--leading-relaxed);
  position: relative;
  padding-left: var(--space-4);
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: var(--text-4xl);
  color: var(--lc-amethyst);
  opacity: 0.5;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(153, 102, 204, 0.2);
}

.testimonial-author strong {
  color: var(--lc-white);
  font-family: var(--font-heading);
}

.testimonial-author span {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
}

/* CTA Section */
.sales-cta-section {
  padding: var(--space-16) 0;
}

.sales-cta-box {
  background: linear-gradient(135deg, var(--lc-dark-purple), var(--lc-purple));
  border: 2px solid var(--lc-amethyst);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  box-shadow: 0 0 40px rgba(153, 102, 204, 0.3);
}

.sales-cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--lc-white);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .sales-cta-title {
    font-size: var(--text-3xl);
  }
}

.sales-cta-description {
  font-size: var(--text-lg);
  color: var(--lc-gray-300);
  margin-bottom: var(--space-8);
}

/* FAQ Section */
.sales-faq {
  padding: var(--space-16) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-4);
  background: var(--lc-dark-purple);
  border: 1px solid rgba(153, 102, 204, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--lc-amethyst);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--lc-white);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--lc-amethyst);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--lc-amethyst);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--lc-gray-300);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Seção de Entregáveis */
.sales-deliverables {
  padding: var(--space-16) 0;
  background: var(--lc-dark-purple);
  border-radius: var(--radius-xl);
  margin: var(--space-12) 0;
  padding: var(--space-12) var(--space-4);
}

.sales-deliverables-subtitle {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--lc-gray-300);
  margin-bottom: var(--space-8);
  font-style: italic;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .deliverables-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.deliverable-card {
  background: var(--lc-black);
  border: 2px solid rgba(153, 102, 204, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-normal);
}

.deliverable-card:hover {
  border-color: var(--lc-amethyst);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(153, 102, 204, 0.3);
}

.deliverable-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.deliverable-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--lc-amethyst);
  margin-bottom: var(--space-3);
}

.deliverable-description {
  font-size: var(--text-base);
  color: var(--lc-gray-300);
  line-height: var(--leading-relaxed);
}

/* Guarantee Section */
.sales-guarantee {
  padding: var(--space-16) 0;
}

.guarantee-box {
  background: linear-gradient(135deg, var(--lc-black), var(--lc-dark-purple));
  border: 3px solid var(--lc-amethyst);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  box-shadow: 0 0 50px rgba(153, 102, 204, 0.4);
  position: relative;
  overflow: hidden;
}

.guarantee-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(153, 102, 204, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.guarantee-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.guarantee-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--lc-amethyst);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .guarantee-title {
    font-size: var(--text-3xl);
  }
}

.guarantee-description {
  font-size: var(--text-lg);
  color: var(--lc-gray-300);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* CTA Final */
.sales-cta-final {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, var(--lc-black) 0%, var(--lc-dark-purple) 100%);
  border-radius: var(--radius-xl);
  margin: var(--space-12) 0;
}

.sales-cta-final-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.sales-cta-final-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--lc-white);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 20px rgba(153, 102, 204, 0.5);
}

@media (min-width: 768px) {
  .sales-cta-final-title {
    font-size: var(--text-4xl);
  }
}

.sales-cta-final-subtitle {
  font-size: var(--text-lg);
  color: var(--lc-gray-300);
  margin-bottom: var(--space-8);
}

.btn-sales-final {
  margin-bottom: var(--space-6);
}

.sales-cta-security {
  font-size: var(--text-sm);
  color: var(--lc-gray-400);
  margin-top: var(--space-4);
}

  
  .post-content {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   IMAGENS INTERATIVAS - EFEITO NEON ROXO AMETISTA E LIGHTBOX
   ═══════════════════════════════════════════════════════════════════════════ */

/* Efeito de brilho neon roxo ametista no hover de todas as imagens */
img:not(.lightbox-image):not(.hero-charlotte):not(.site-logo img):not(.footer-logo img):not(.charlotte-helper-avatar img) {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

img:not(.lightbox-image):not(.hero-charlotte):not(.site-logo img):not(.footer-logo img):not(.charlotte-helper-avatar img):hover {
  filter: brightness(1.1) saturate(1.2);
  box-shadow: 
    0 0 20px rgba(153, 102, 204, 0.6),
    0 0 40px rgba(153, 102, 204, 0.4),
    0 0 60px rgba(153, 102, 204, 0.2),
    inset 0 0 20px rgba(153, 102, 204, 0.1);
  transform: scale(1.02);
}

/* Efeito adicional para imagens em cards */
.post-card-image img:hover,
.post-feature-image img:hover,
.slide-image:hover,
.kg-image-card img:hover,
.kg-gallery-image img:hover {
  box-shadow: 
    0 0 25px rgba(153, 102, 204, 0.7),
    0 0 50px rgba(153, 102, 204, 0.5),
    0 0 75px rgba(153, 102, 204, 0.3),
    inset 0 0 30px rgba(153, 102, 204, 0.15);
  transform: scale(1.03);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.lightbox-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.lightbox-image {
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 
    0 0 30px rgba(153, 102, 204, 0.5),
    0 0 60px rgba(153, 102, 204, 0.3);
  animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-caption {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--lc-white);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-3) var(--space-6);
  background: rgba(26, 13, 46, 0.9);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  max-width: 80%;
  box-shadow: 0 0 20px rgba(153, 102, 204, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(26, 13, 46, 0.9);
  border: 2px solid rgba(153, 102, 204, 0.5);
  border-radius: var(--radius-full);
  color: var(--lc-white);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(153, 102, 204, 0.3);
  border-color: var(--lc-amethyst);
  box-shadow: 
    0 0 20px rgba(153, 102, 204, 0.6),
    0 0 40px rgba(153, 102, 204, 0.4);
  transform: rotate(90deg);
}

.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 24px;
  background: currentColor;
  border-radius: 2px;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

/* Navegação entre imagens (se implementada) */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(26, 13, 46, 0.9);
  border: 2px solid rgba(153, 102, 204, 0.5);
  border-radius: var(--radius-full);
  color: var(--lc-white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.lightbox-nav:hover {
  background: rgba(153, 102, 204, 0.3);
  border-color: var(--lc-amethyst);
  box-shadow: 
    0 0 20px rgba(153, 102, 204, 0.6),
    0 0 40px rgba(153, 102, 204, 0.4);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-nav::before {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.lightbox-nav.prev::before {
  transform: rotate(-135deg);
}

.lightbox-nav.next::before {
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-nav.prev {
    left: 10px;
  }
  
  .lightbox-nav.next {
    right: 10px;
  }
  
  .lightbox-caption {
    bottom: -40px;
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
  }
}

