/* =========================================================================
   VIRALOOP WP THEME — main.css
   Direção "Pop" 2026: dark bg + neon gradient rosa → roxo → ciano.
   Baseado no esqueleton skeleton, rebranded pro Viraloop.
   ========================================================================= */

:root {
  /* Neon brand */
  --vl-pink: #FF2D95;
  --vl-purple: #A855F7;
  --vl-cyan: #22D3EE;
  --vl-gradient: linear-gradient(135deg, #FF2D95 0%, #A855F7 50%, #22D3EE 100%);

  /* Surfaces (dark) */
  --color-bg: #050510;
  --color-bg-elev: #0A0A1A;
  --color-bg-soft: #13131F;
  --color-border: #1F1F2E;

  /* Text */
  --color-ink: #F5F5FA;
  --color-muted: #A3A3B8;
  --color-dim: #6B6B80;

  /* Aliases (compat w/ skeleton) */
  --color-background: var(--color-bg);
  --color-foreground: var(--color-ink);
  --color-card: var(--color-bg-elev);
  --color-muted-foreground: var(--color-muted);
  --color-primary: var(--vl-purple);
  --color-primary-hover: #C084FC;
  --color-primary-foreground: #FFFFFF;
  --color-primary-soft: rgba(168, 85, 247, 0.12);
  --color-primary-border: rgba(168, 85, 247, 0.3);
  --color-destructive: #EF4444;
  --color-success: #4ADE80;

  /* Type */
  --font-body: 'Satoshi', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Clash Display', 'Satoshi', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Menlo', monospace;

  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --container-max: 1200px;
  --header-height: 64px;
  --transition: 180ms ease;
}

/* =========================================================================
   RESET
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 30%, rgba(255, 45, 149, 0.10), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: var(--vl-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--vl-pink); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--color-ink); }
p { line-height: 1.7; color: var(--color-ink); }
strong, b { font-weight: 700; color: var(--color-ink); }
::selection { background: rgba(168, 85, 247, 0.4); color: #fff; }

/* =========================================================================
   UTILS
   ========================================================================= */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.25rem; font-weight: 500; font-size: 0.9rem;
  border-radius: var(--radius); transition: var(--transition);
  white-space: nowrap; cursor: pointer; line-height: 1; border: 0;
  font-family: inherit;
}
.btn-primary {
  background: var(--vl-gradient);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}
.btn-primary:hover { background-position: 100% 50%; color: #fff; box-shadow: 0 0 50px rgba(255, 45, 149, 0.4); }
.btn-outline, .btn-secondary {
  background: var(--color-bg-elev); color: var(--color-ink);
  border: 1px solid var(--color-border);
}
.btn-outline:hover, .btn-secondary:hover { border-color: var(--color-primary-border); background: var(--color-bg-soft); color: var(--color-ink); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1rem; }

.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.85rem; font-size: 0.7rem; font-weight: 500;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--color-primary-soft);
  color: var(--vl-purple);
  border: 1px solid var(--color-primary-border);
}
.badge-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-muted); }

.text-muted { color: var(--color-muted); }
.text-primary { color: var(--vl-purple); }
.text-gradient {
  background: var(--vl-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 1rem; }
.site-brand { display: inline-flex; align-items: center; gap: 0.55rem; flex-shrink: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.site-brand:hover { color: var(--color-ink); }
.site-brand svg { height: 28px; width: auto; }

.site-nav { display: none; flex: 1; justify-content: center; }
.site-nav ul { list-style: none; padding: 0; display: flex; gap: 0.35rem; font-size: 0.9rem; }
.site-nav a { color: var(--color-muted); font-weight: 500; padding: 0.4rem 0.8rem; border-radius: var(--radius); transition: var(--transition); }
.site-nav a:hover { color: var(--color-ink); background: var(--color-bg-soft); }

.site-header-actions { display: none; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.search-toggle {
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius);
  color: var(--color-muted); display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent;
}
.search-toggle:hover { background: var(--color-bg-soft); color: var(--color-ink); border-color: var(--color-border); }

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .site-header-actions { display: inline-flex; }
}

.nav-toggle { display: flex; padding: 0.5rem; border-radius: var(--radius); color: var(--color-ink); }
.nav-toggle:hover { background: var(--color-bg-soft); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.mobile-nav { display: none; padding: 1rem; border-top: 1px solid var(--color-border); background: var(--color-bg-elev); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a { display: block; padding: 0.65rem 0.75rem; border-radius: var(--radius); color: var(--color-ink); font-weight: 500; }
.mobile-nav a:hover { background: var(--color-bg-soft); color: var(--color-ink); }

.site-search { border-top: 1px solid var(--color-border); background: var(--color-bg-elev); padding: 1rem 0; }
.site-search form { display: flex; gap: 0.5rem; max-width: 640px; margin: 0 auto; }
.site-search input[type="search"] {
  flex: 1; padding: 0.75rem 1rem;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-bg); font-size: 1rem; color: var(--color-ink);
  font-family: inherit;
}
.site-search input[type="search"]:focus { outline: 2px solid var(--vl-purple); outline-offset: 1px; border-color: var(--vl-purple); }

/* =========================================================================
   BLOG HERO
   ========================================================================= */
.blog-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.15), transparent 60%);
  pointer-events: none;
}
.blog-hero > .container { position: relative; }
.blog-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0.9rem 0 0.6rem; font-weight: 700; }
.blog-hero h1 em { font-style: normal; background: var(--vl-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-hero p.lead { color: var(--color-muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.blog-hero .badge { margin-bottom: 0.5rem; }
.blog-hero form { max-width: 480px; margin: 1.5rem auto 0; display: flex; gap: 0.5rem; }

/* =========================================================================
   BLOG LAYOUT (2-col)
   ========================================================================= */
.blog-body { padding: 3rem 0 5rem; }
.blog-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .blog-layout { grid-template-columns: 1fr 300px; } }
.blog-main { min-width: 0; }

/* =========================================================================
   POSTS GRID + POST CARD
   ========================================================================= */
.posts-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-layout .posts-grid { grid-template-columns: repeat(2, 1fr); } }

.post-card {
  background: var(--color-bg-elev);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.post-card:hover { border-color: var(--color-primary-border); transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(168, 85, 247, 0.3); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-card-link:hover { color: inherit; }
.post-card-media { aspect-ratio: 16/9; background: var(--color-bg-soft); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-media-fallback { display: flex; align-items: center; justify-content: center; color: var(--vl-purple); opacity: 0.35; }
.post-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-card-category { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vl-purple); }
.post-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin: 0; transition: color var(--transition); color: var(--color-ink); }
.post-card:hover .post-card-title { color: var(--vl-pink); }
.post-card-excerpt { font-size: 0.88rem; color: var(--color-muted); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { font-size: 0.78rem; color: var(--color-dim); display: flex; gap: 0.4rem; margin-top: auto; align-items: center; }

/* =========================================================================
   SIDEBAR + WIDGETS
   ========================================================================= */
.blog-sidebar { display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 1024px) {
  .blog-sidebar { position: sticky; top: calc(var(--header-height) + 1.5rem); align-self: start; max-height: calc(100vh - var(--header-height) - 2rem); overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; padding-right: 0.25rem; }
  .blog-sidebar::-webkit-scrollbar { width: 4px; }
  .blog-sidebar::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
}

.widget { background: var(--color-bg-elev); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.25rem; min-width: 0; overflow: hidden; }
.widget-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-dim); margin-bottom: 1rem; font-family: var(--font-body); }

.widget-search form { display: flex; gap: 0.5rem; }
.widget-search input[type="search"] { flex: 1; min-width: 0; padding: 0.55rem 0.75rem; font-size: 0.88rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); color: var(--color-ink); font-family: inherit; }
.widget-search input[type="search"]:focus { outline: 2px solid var(--vl-purple); outline-offset: 1px; border-color: var(--vl-purple); }
.widget-search button { padding: 0.55rem 0.85rem; flex-shrink: 0; font-size: 0.82rem; white-space: nowrap; }

.widget-recent-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.widget-recent-list a { display: flex; gap: 0.75rem; align-items: center; color: var(--color-ink); min-width: 0; }
.widget-recent-list .thumb { width: 3.5rem; height: 3.5rem; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: var(--color-bg-soft); }
.widget-recent-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-list .meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; flex: 1; }
.widget-recent-list strong { font-size: 0.85rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--color-ink); }
.widget-recent-list small { font-size: 0.72rem; color: var(--color-dim); }
.widget-recent-list a:hover strong { color: var(--vl-pink); }

.widget-cats-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.widget-cats-list a { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.5rem 0.65rem; border-radius: var(--radius); font-size: 0.88rem; color: var(--color-muted); transition: var(--transition); }
.widget-cats-list a:hover { background: var(--color-primary-soft); color: var(--vl-purple); }
.widget-cats-list .count { font-size: 0.72rem; color: var(--color-dim); background: var(--color-bg-soft); padding: 0.1rem 0.5rem; border-radius: 999px; }

.widget-tags-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-pill { display: inline-block; padding: 0.3rem 0.75rem; font-size: 0.78rem; background: var(--color-bg-soft); color: var(--color-muted); border-radius: 999px; transition: var(--transition); border: 1px solid var(--color-border); }
.tag-pill:hover { background: var(--color-primary-soft); color: var(--vl-pink); border-color: var(--color-primary-border); }

/* =========================================================================
   SINGLE POST
   ========================================================================= */
.post-single-wrap { padding-bottom: 3rem; }

.breadcrumb { padding: 1.5rem 0 0; font-size: 0.82rem; color: var(--color-dim); }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--vl-cyan); }
.breadcrumb .sep { margin: 0 0.35rem; opacity: 0.5; }
.breadcrumb .current { color: var(--color-ink); }

.post-single-header { padding: 2.5rem 0 1.5rem; text-align: center; }
.post-category { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--vl-purple); margin-bottom: 0.75rem; }
.post-title { font-size: clamp(1.75rem, 3.8vw, 3rem); font-weight: 700; margin-bottom: 1rem; max-width: 820px; margin-left: auto; margin-right: auto; color: var(--color-ink); }
.post-meta-row { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--color-muted); }
.post-meta-row .dot { opacity: 0.5; }
.post-author-mini { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-muted); }
.post-author-mini .avatar { width: 28px; height: 28px; border-radius: 999px; }

.post-feat-image { margin: 1.5rem 0 2.5rem; }
.post-feat-image img { width: 100%; border-radius: var(--radius-xl); aspect-ratio: 2/1; object-fit: cover; }

/* Entry content (typography) */
.entry-content { font-size: 1.05rem; line-height: 1.75; color: var(--color-ink); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { margin-top: 2.2em; font-size: 1.75rem; color: var(--color-ink); }
.entry-content h3 { margin-top: 1.8em; font-size: 1.35rem; color: var(--color-ink); }
.entry-content h4 { margin-top: 1.5em; font-size: 1.1rem; color: var(--color-ink); }
.entry-content p { margin-top: 1em; color: var(--color-ink); }
.entry-content a { color: var(--vl-cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; color: var(--vl-pink); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li { margin-top: 0.4em; }
.entry-content li::marker { color: var(--vl-purple); }
.entry-content img, .entry-content figure img { border-radius: var(--radius); }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: 0.82rem; color: var(--color-dim); text-align: center; margin-top: 0.5em; }
.entry-content blockquote {
  border-left: 3px solid var(--vl-purple);
  background: var(--color-primary-soft);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-ink); font-style: italic;
}
.entry-content blockquote p { margin: 0; }
.entry-content code { background: var(--color-bg-soft); border: 1px solid var(--color-border); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; font-family: var(--font-mono); color: var(--vl-cyan); }
.entry-content pre { background: var(--color-bg-soft); border: 1px solid var(--color-border); padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); overflow-x: auto; font-size: 0.88rem; line-height: 1.6; color: var(--color-ink); }
.entry-content pre code { background: transparent; padding: 0; color: inherit; border: 0; }
.entry-content hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(168,85,247,0.4), transparent); margin: 2.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.entry-content th, .entry-content td { padding: 0.7rem 0.9rem; border: 1px solid var(--color-border); text-align: left; color: var(--color-ink); }
.entry-content th { background: var(--color-bg-soft); font-weight: 600; }

/* Tags */
.post-tags { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.post-tags-label { font-size: 0.82rem; color: var(--color-muted); font-weight: 600; margin-right: 0.35rem; }

/* Share buttons */
.post-share { margin-top: 2rem; padding: 1.25rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.post-share-label { font-size: 0.82rem; color: var(--color-muted); font-weight: 600; margin-right: 0.35rem; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; font-size: 0.82rem; font-weight: 500;
  border-radius: var(--radius); border: 1px solid var(--color-border);
  background: var(--color-bg-elev); color: var(--color-ink);
  cursor: pointer; transition: var(--transition);
}
.share-btn:hover { background: var(--color-bg-soft); border-color: var(--color-primary-border); color: var(--color-ink); }
.share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-x:hover { background: #000; color: #fff; border-color: #000; }
.share-ln:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.share-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-copy.is-copied { background: var(--color-success); color: #050510; border-color: var(--color-success); }

/* Author card */
.author-card { margin-top: 2.5rem; display: flex; gap: 1.25rem; padding: 1.5rem; background: var(--color-bg-elev); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.author-card .avatar { width: 72px; height: 72px; border-radius: 999px; flex-shrink: 0; }
.author-card-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-dim); font-weight: 600; margin-bottom: 0.25rem; }
.author-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.author-card p { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0.85rem; }

/* Post nav (prev/next) */
.post-nav { margin-top: 2.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav-item { padding: 1rem 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 0.25rem; transition: var(--transition); background: var(--color-bg-elev); color: var(--color-ink); min-width: 0; }
.post-nav-item:hover { border-color: var(--color-primary-border); transform: translateY(-1px); color: var(--color-ink); }
.post-nav-item small { font-size: 0.72rem; color: var(--color-dim); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.post-nav-item span { font-weight: 600; font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav-next { text-align: right; }

/* Related posts */
.related-posts { margin-top: 3rem; }
.related-posts h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.related-posts .posts-grid { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .related-posts .posts-grid { grid-template-columns: repeat(3, 1fr); } }

/* Comments */
.post-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.post-comments h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.comment-list li { background: var(--color-bg-elev); border: 1px solid var(--color-border); padding: 1rem; border-radius: var(--radius); }
.comment-list .comment-author { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.25rem; color: var(--color-ink); }
.comment-list .comment-meta { font-size: 0.78rem; color: var(--color-dim); margin-bottom: 0.5rem; }
.comment-form p { margin-top: 1rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-bg); font: inherit; color: var(--color-ink);
}
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--vl-purple); outline-offset: 1px; border-color: var(--vl-purple); }
.comment-form label { font-size: 0.85rem; font-weight: 500; display: block; margin-bottom: 0.3rem; color: var(--color-muted); }
.comment-form .form-submit input { padding: 0.8rem 1.3rem; background: var(--vl-gradient); color: #fff; border-radius: var(--radius); font-weight: 500; border: 0; cursor: pointer; box-shadow: 0 0 30px rgba(168, 85, 247, 0.3); }

/* =========================================================================
   PAGINATION
   ========================================================================= */
.pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { padding: 0.55rem 0.95rem; border-radius: var(--radius); font-size: 0.88rem; font-weight: 500; border: 1px solid var(--color-border); color: var(--color-muted); background: var(--color-bg-elev); transition: var(--transition); }
.pagination a:hover { background: var(--color-bg-soft); border-color: var(--color-primary-border); color: var(--color-ink); }
.pagination .current { background: var(--vl-gradient); color: #fff; border-color: transparent; }
.pagination .dots { border: 0; background: transparent; }

/* =========================================================================
   EMPTY STATE
   ========================================================================= */
.empty-state { text-align: center; padding: 3rem 1.5rem; background: var(--color-bg-elev); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.empty-state h2 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--color-ink); }
.empty-state p { color: var(--color-muted); margin-bottom: 1rem; }

/* =========================================================================
   FOOTER + CTA STRIP
   ========================================================================= */
.vl-cta-strip { padding: 4rem 0 1rem; }
.vl-cta-strip-card {
  position: relative;
  padding: 3rem 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 45, 149, 0.08), rgba(168, 85, 247, 0.08), rgba(34, 211, 238, 0.08));
}
.vl-cta-strip-card h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.6rem; }
.vl-cta-strip-card p { color: var(--color-muted); margin-bottom: 1.5rem; max-width: 540px; margin-left: auto; margin-right: auto; }

.site-footer { background: transparent; padding: 2.5rem 0; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.site-footer .container { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .site-footer .container { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer .copyright { font-size: 0.85rem; color: var(--color-dim); }
.site-footer nav ul { list-style: none; padding: 0; display: flex; gap: 1.5rem; font-size: 0.85rem; }
.site-footer nav a { color: var(--color-muted); }
.site-footer nav a:hover { color: var(--color-ink); }

/* =========================================================================
   PAGE (generic)
   ========================================================================= */
.post-single { max-width: 820px; margin: 0 auto; padding: 3rem 1rem; }
.post-single .post-title { text-align: center; margin-bottom: 2rem; }
.post-thumb { margin-bottom: 2rem; border-radius: var(--radius-xl); overflow: hidden; }

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
