/* =========================================================================
 * Cinémas LeClub — Custom theme stylesheet
 * Design system : Tech Vaporwave Synth (id tech-vaporwave-04)
 * Header layout : logo-left-menu-center-cta-right
 * Hero          : parallax-scroll
 * Category      : intro-faq
 * Mega menu     : disabled
 * Dark toggle   : disabled
 * Menu icons    : disabled
 * Mouse effect  : cursor_glow_dot
 * ======================================================================= */

:root {
  --a39-primary:     #FF2121;
  --a39-accent:      #F5C518;
  --a39-text:        #F1F1F1;
  --a39-text-soft:   #9A8FB5;
  --a39-bg:          #0F0710;
  --a39-surface:     #1C1136;
  --a39-line:        #2E1F4A;

  --a39-neon-pink:   #FF71CE;
  --a39-neon-cyan:   #01CDFE;

  --a39-font-head:   'VT323', ui-monospace, monospace;
  --a39-font-body:   'Roboto Mono', ui-monospace, monospace;

  --a39-radius:      8px;
  --a39-shadow:      0 0 25px rgba(255,33,33,0.18);
  --a39-shadow-cyan: 0 0 25px rgba(1,205,254,0.18);

  --a39-max-w:       1240px;
  --a39-gap:         1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--a39-bg); }
body, .a39-body {
  margin: 0;
  background: var(--a39-bg);
  color: var(--a39-text);
  font-family: var(--a39-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Vaporwave neon grid background overlay (subtle) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(255,113,206,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(1,205,254,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

main, .a39-main {
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--a39-font-head);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
  color: var(--a39-text);
  text-shadow: 0 0 12px rgba(255,33,33,0.18);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.18; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.22; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: var(--a39-accent); text-decoration: none; transition: color .18s, opacity .18s; }
a:hover { color: var(--a39-primary); }

img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.a39-container { width: 100%; max-width: var(--a39-max-w); margin: 0 auto; padding: 0 1.25rem; }
.a39-eyebrow {
  display: inline-block;
  font-family: var(--a39-font-head);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a39-accent);
  border: 1px solid var(--a39-accent);
  padding: .25rem .75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.a39-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--a39-line), transparent); border: 0; margin: 2rem 0; }

/* =========================================================================
 * BUTTONS
 * ======================================================================= */
.a39-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  font-family: var(--a39-font-head);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a39-text);
  background: transparent;
  border: 1.5px solid var(--a39-line);
  border-radius: var(--a39-radius);
  cursor: pointer;
  transition: all .22s;
  text-decoration: none;
}
.a39-btn:hover { color: var(--a39-accent); border-color: var(--a39-accent); transform: translateY(-1px); }

.a39-btn--cta {
  background: var(--a39-primary);
  color: #fff !important;
  border-color: var(--a39-primary);
  box-shadow: 0 0 14px rgba(255,33,33,0.45);
}
.a39-btn--cta:hover {
  background: var(--a39-accent);
  border-color: var(--a39-accent);
  color: var(--a39-bg) !important;
  box-shadow: 0 0 22px rgba(245,197,24,0.55);
}

.a39-btn--ghost {
  background: transparent;
  border-color: var(--a39-accent);
  color: var(--a39-accent);
}
.a39-btn--ghost:hover {
  background: var(--a39-accent);
  color: var(--a39-bg);
}

/* =========================================================================
 * HEADER — logo-left-menu-center-cta-right
 * ======================================================================= */
.a39-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(15,7,16,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--a39-line);
  box-shadow: 0 1px 0 rgba(255,113,206,0.18), 0 0 22px rgba(0,0,0,0.45);
}
.a39-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--a39-max-w);
  margin: 0 auto;
  padding: .65rem 1.25rem;
  min-height: 64px;
}

/* Brand (logo left) */
.a39-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  margin-right: 1rem;
}
.a39-brand-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--a39-text);
}
.a39-brand-logo {
  width: auto;
  /* hauteur auto pour ne pas conflit avec a39_logo_size */
  flex-shrink: 0;
}
.a39-brand-name {
  font-family: var(--a39-font-head);
  font-size: 1.45rem;
  /* Title Case style — pas de text-transform */
  letter-spacing: .01em;
  color: var(--a39-text);
  text-shadow: 0 0 8px rgba(255,33,33,0.35);
  line-height: 1;
  white-space: nowrap;
}

/* Nav desktop (center) — by default hidden on mobile */
.a39-nav-desktop { display: none; }
.a39-nav-desktop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.a39-nav-desktop-list a {
  display: inline-block;
  padding: .4rem .25rem;
  color: var(--a39-text);
  text-decoration: none;
  font-family: var(--a39-font-body);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.a39-nav-desktop-list a:hover {
  color: var(--a39-accent);
  border-bottom-color: var(--a39-accent);
}
.a39-nav-desktop-list .current-menu-item a,
.a39-nav-desktop-list .current-cat a {
  color: var(--a39-primary);
  border-bottom-color: var(--a39-primary);
}

/* CTA header (right) — desktop only when CTA_HEADER=yes */
.a39-header-cta-desktop {
  flex-shrink: 0;
  padding: .55rem 1.1rem;
  font-size: 1.05rem;
}

/* Burger (mobile only) */
.a39-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin-left: auto;
  padding: 8px;
  background: rgba(28,17,54,0.92);
  border: 1.5px solid var(--a39-neon-pink);
  border-radius: var(--a39-radius);
  color: var(--a39-text);
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.a39-burger:hover { border-color: var(--a39-accent); box-shadow: 0 0 12px rgba(245,197,24,0.45); }
.a39-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
  justify-content: space-between;
}
.a39-burger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .15s;
}
.a39-burger.is-open .a39-burger-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.a39-burger.is-open .a39-burger-bars span:nth-child(2) { opacity: 0; }
.a39-burger.is-open .a39-burger-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile (hidden by default) */
.a39-nav-mobile { display: none; }
.a39-overlay { display: none; }

/* =========================================================================
 * HERO — parallax-scroll style
 * ======================================================================= */
.a39-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--a39-bg);
}
.a39-hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.a39-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(.75) saturate(1.1);
  /* parallax via JS — translateY based on scroll */
  will-change: transform;
}
.a39-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,113,206,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1,205,254,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.a39-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--a39-max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
  color: #fff;
}
.a39-hero-title {
  font-family: var(--a39-font-head);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 14px rgba(255,33,33,0.55),
    0 2px 24px rgba(0,0,0,0.7),
    0 0 30px rgba(245,197,24,0.35);
  margin: 0 0 1rem;
}
.a39-hero-subtitle {
  font-family: var(--a39-font-body);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(241,241,241,0.92);
  max-width: 720px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.a39-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.a39-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--a39-accent);
  font-family: var(--a39-font-head);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: .85rem;
  animation: a39-bounce 2.2s ease-in-out infinite;
  text-decoration: none;
}
@keyframes a39-bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* =========================================================================
 * EDITORIAL BLOC (after hero)
 * ======================================================================= */
.a39-editorial {
  background: var(--a39-bg);
  padding: 4rem 0;
  position: relative;
}
.a39-editorial-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.a39-editorial h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--a39-accent);
  text-shadow: 0 0 14px rgba(245,197,24,0.32);
  margin-bottom: 1.2rem;
}
.a39-editorial h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  color: var(--a39-primary);
  margin: 2.2rem 0 .8rem;
}
.a39-editorial p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--a39-text);
}
.a39-editorial .a39-editorial-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--a39-text);
  border-left: 3px solid var(--a39-primary);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.a39-editorial-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.a39-editorial-pillar {
  background: var(--a39-surface);
  border: 1px solid var(--a39-line);
  border-radius: var(--a39-radius);
  padding: 1.25rem;
}
.a39-editorial-pillar h3 {
  font-size: 1.25rem;
  color: var(--a39-accent);
  margin: 0 0 .5rem;
}
.a39-editorial-pillar p {
  font-size: .92rem;
  color: var(--a39-text-soft);
  margin: 0;
}
.a39-editorial-credo {
  background: linear-gradient(135deg, rgba(28,17,54,0.85), rgba(15,7,16,0.85));
  border: 1px solid var(--a39-accent);
  border-radius: var(--a39-radius);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 0 22px rgba(245,197,24,0.18);
}
.a39-editorial-credo p { color: var(--a39-text); margin: 0; }

/* =========================================================================
 * CATEGORIES section (home)
 * ======================================================================= */
.a39-categories {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--a39-bg) 0%, rgba(28,17,54,0.4) 100%);
}
.a39-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.a39-section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--a39-accent);
  margin: 0 0 .5rem;
}
.a39-section-head p {
  color: var(--a39-text-soft);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}
.a39-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: var(--a39-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.a39-cat-card {
  position: relative;
  display: block;
  border-radius: var(--a39-radius);
  overflow: hidden;
  background: var(--a39-surface);
  border: 1px solid var(--a39-line);
  text-decoration: none;
  color: var(--a39-text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 260px;
}
.a39-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--a39-accent);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 18px rgba(245,197,24,0.25);
}
.a39-cat-card-img {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  inset: 0;
  filter: brightness(.55) saturate(1.05);
  transition: filter .3s, transform .4s;
}
.a39-cat-card:hover .a39-cat-card-img { filter: brightness(.7) saturate(1.15); transform: scale(1.04); }
.a39-cat-card-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255,33,33,0.35), transparent 60%),
    linear-gradient(135deg, var(--a39-surface), var(--a39-bg));
}
.a39-cat-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(15,7,16,0.95) 0%, rgba(15,7,16,0.4) 70%, transparent 100%);
  z-index: 2;
}
.a39-cat-card-name {
  font-family: var(--a39-font-head);
  font-size: 1.85rem;
  color: var(--a39-accent);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  letter-spacing: 0.02em;
  margin: 0 0 .25rem;
  line-height: 1;
}
.a39-cat-card-meta {
  font-size: .82rem;
  color: var(--a39-text-soft);
  font-family: var(--a39-font-body);
}

/* =========================================================================
 * LATEST ARTICLES grid (home + 12 articles, 3 cols)
 * ======================================================================= */
.a39-latest {
  padding: 4rem 0;
  background: var(--a39-bg);
}
.a39-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--a39-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.a39-article-card {
  display: flex;
  flex-direction: column;
  background: var(--a39-surface);
  border: 1px solid var(--a39-line);
  border-radius: var(--a39-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--a39-text);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.a39-article-card:hover {
  transform: translateY(-3px);
  border-color: var(--a39-primary);
  box-shadow: 0 0 22px rgba(255,33,33,0.25);
}
.a39-article-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--a39-bg);
  overflow: hidden;
}
.a39-article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.a39-article-card:hover .a39-article-card-thumb img { transform: scale(1.05); }
.a39-article-card-thumb-fallback {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,113,206,0.1) 0 6px, transparent 6px 12px),
    linear-gradient(135deg, var(--a39-surface), var(--a39-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--a39-font-head);
  font-size: 3rem;
  color: rgba(245,197,24,0.35);
}
.a39-article-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.a39-article-card-cat {
  display: inline-block;
  font-family: var(--a39-font-head);
  font-size: .95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a39-accent);
}
.a39-article-card-title {
  font-family: var(--a39-font-head);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--a39-text);
  margin: 0;
}
.a39-article-card:hover .a39-article-card-title { color: var(--a39-accent); }
.a39-article-card-excerpt {
  font-size: .9rem;
  color: var(--a39-text-soft);
  line-height: 1.55;
  margin: 0;
}
.a39-article-card-meta {
  margin-top: auto;
  padding-top: .5rem;
  font-size: .8rem;
  color: var(--a39-text-soft);
  font-family: var(--a39-font-body);
}

.a39-latest-empty {
  text-align: center;
  color: var(--a39-text-soft);
  padding: 2rem;
  background: var(--a39-surface);
  border-radius: var(--a39-radius);
  max-width: 620px;
  margin: 0 auto;
}

/* =========================================================================
 * HOME TOOL embed (TOOL_ON_HOME=yes)
 * ======================================================================= */
.a39-home-tool {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--a39-bg) 0%, rgba(28,17,54,0.6) 100%);
}
.a39-home-tool-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.a39-home-tool h2 {
  color: var(--a39-accent);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: .8rem;
}
.a39-home-tool > .a39-home-tool-inner > p {
  color: var(--a39-text-soft);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.a39-home-tool-embed { text-align: left; }

/* =========================================================================
 * PAGE CONTENT (À propos, Contact, etc.)
 * ======================================================================= */
.a39-page {
  background: var(--a39-bg);
  padding: 4rem 0;
}
.a39-page-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--a39-text);
  font-size: 1rem;
  line-height: 1.7;
}
.a39-page-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--a39-accent);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 18px rgba(245,197,24,0.25);
}
.a39-page-inner h2 {
  font-size: 1.75rem;
  color: var(--a39-primary);
  margin: 2.5rem 0 1rem;
}
.a39-page-inner h3 {
  font-size: 1.35rem;
  color: var(--a39-accent);
  margin: 1.8rem 0 .6rem;
}
.a39-page-inner ul, .a39-page-inner ol { padding-left: 1.3rem; }
.a39-page-inner li { margin-bottom: .4rem; }
.a39-page-inner strong { color: var(--a39-accent); }

/* Persona photo on About page */
.a39-persona-photo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 3px solid var(--a39-primary);
  box-shadow: 0 0 28px rgba(255,33,33,0.4), 0 0 60px rgba(245,197,24,0.18);
  object-fit: cover;
  aspect-ratio: 1;
}

/* Contact form wrapper */
.a39-contact-form {
  margin: 2rem 0;
  background: var(--a39-surface);
  padding: 1rem;
  border: 1px solid var(--a39-line);
  border-radius: var(--a39-radius);
}
.a39-contact-form iframe {
  display: block;
  background: #fff;
  border-radius: 6px;
}

/* =========================================================================
 * CATEGORY PAGE (intro-faq layout)
 * ======================================================================= */
.a39-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--a39-bg);
}
.a39-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(.55) saturate(1.1);
}
.a39-cat-hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--a39-surface) 0%, var(--a39-bg) 100%);
  z-index: 1;
}
.a39-cat-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(15,7,16,0.85) 100%);
  padding: 0 1.25rem 1.8rem;
}
.a39-cat-hero-overlay-inner {
  max-width: var(--a39-max-w);
  margin: 0 auto;
  width: 100%;
}
.a39-cat-hero h1 {
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7), 0 0 18px rgba(255,33,33,0.45);
  font-size: clamp(2rem, 5vw, 3.6rem);
}
.a39-cat-breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .85rem;
  color: var(--a39-text-soft);
  margin-bottom: .5rem;
}
.a39-cat-breadcrumb a { color: var(--a39-text-soft); }
.a39-cat-breadcrumb a:hover { color: var(--a39-accent); }

.a39-cat-content {
  padding: 3rem 0 4rem;
  background: var(--a39-bg);
}
.a39-cat-intro {
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.a39-cat-intro p {
  font-size: 1.02rem;
  color: var(--a39-text);
  line-height: 1.7;
}
.a39-cat-faq {
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.a39-cat-faq h2 {
  font-size: 1.7rem;
  color: var(--a39-accent);
  margin-bottom: 1.2rem;
}
.a39-cat-faq details {
  background: var(--a39-surface);
  border: 1px solid var(--a39-line);
  border-radius: var(--a39-radius);
  padding: .9rem 1.15rem;
  margin-bottom: .8rem;
  transition: border-color .2s;
}
.a39-cat-faq details[open] { border-color: var(--a39-accent); }
.a39-cat-faq summary {
  cursor: pointer;
  font-family: var(--a39-font-head);
  font-size: 1.2rem;
  color: var(--a39-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.a39-cat-faq summary::-webkit-details-marker { display: none; }
.a39-cat-faq summary::after {
  content: '+';
  color: var(--a39-accent);
  font-family: var(--a39-font-head);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .25s;
}
.a39-cat-faq details[open] summary::after { transform: rotate(45deg); }
.a39-cat-faq details p { margin: .8rem 0 0; color: var(--a39-text-soft); }

.a39-cat-posts {
  max-width: var(--a39-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.a39-cat-posts h2 {
  font-size: 1.7rem;
  color: var(--a39-accent);
  margin-bottom: 1.5rem;
}

/* =========================================================================
 * TOOL PAGE container
 * ======================================================================= */
.a39-tool-page {
  background: var(--a39-bg);
  padding: 3rem 0 5rem;
}
.a39-tool-page-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.a39-tool-page h1 {
  text-align: center;
  margin-bottom: 1rem;
}
.a39-tool-intro {
  color: var(--a39-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--a39-surface);
  border-left: 3px solid var(--a39-accent);
  border-radius: var(--a39-radius);
}
.a39-tool-faq {
  margin-top: 3rem;
}
.a39-tool-faq h2 { color: var(--a39-accent); margin-bottom: 1.2rem; }
.a39-tool-faq details {
  background: var(--a39-surface);
  border: 1px solid var(--a39-line);
  border-radius: var(--a39-radius);
  padding: .9rem 1.15rem;
  margin-bottom: .7rem;
}
.a39-tool-faq summary {
  cursor: pointer;
  font-family: var(--a39-font-head);
  font-size: 1.15rem;
  color: var(--a39-text);
}

/* =========================================================================
 * FOOTER — synth_columns style (4 columns)
 * ======================================================================= */
.a39-footer {
  position: relative;
  background: linear-gradient(180deg, var(--a39-bg) 0%, #060309 100%);
  border-top: 1px solid var(--a39-line);
  margin-top: 4rem;
  padding: 3.5rem 0 0;
  color: #ffffff;
}
.a39-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--a39-primary), var(--a39-neon-pink), var(--a39-accent), var(--a39-neon-cyan), transparent);
  opacity: 0.7;
}
.a39-footer-inner {
  max-width: var(--a39-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.a39-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.a39-footer-col h3, .a39-footer-title {
  font-family: var(--a39-font-head);
  font-size: 1.35rem;
  color: #ffffff;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(255,255,255,0.25);
}
.a39-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 160px;
}
.a39-footer-brand-pitch {
  font-size: .92rem;
  line-height: 1.65;
  color: #ffffff;
  margin: 0 0 1.2rem;
}
.a39-footer-brand-cta {
  display: inline-block;
  padding: .5rem 1rem;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: var(--a39-radius);
  color: #ffffff;
  font-family: var(--a39-font-head);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all .2s;
}
.a39-footer-brand-cta:hover {
  background: #ffffff;
  color: var(--a39-bg);
  box-shadow: 0 0 16px rgba(255,255,255,0.45);
}
.a39-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.a39-footer-links li { margin-bottom: .5rem; }
.a39-footer-links a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.35);
  font-size: .92rem;
  transition: color .2s, text-decoration-color .2s;
}
.a39-footer-links a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Social icons row */
.a39-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.a39-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: #ffffff;
  transition: all .2s;
}
.a39-footer-social a:hover {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
}
.a39-footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.a39-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #ffffff;
}
.a39-footer-bottom a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.a39-footer-bottom a:hover { color: #ffffff; text-decoration-color: #ffffff; }

/* Metrics links block (Home only) */
.a39-metrics-links {
  padding: 2.5rem 0;
  background: var(--a39-surface);
  border-top: 1px solid var(--a39-line);
  border-bottom: 1px solid var(--a39-line);
}
.a39-metrics-links-inner {
  max-width: var(--a39-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.a39-metrics-links h3 {
  color: var(--a39-accent);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.a39-metrics-links ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}
.a39-metrics-links a {
  color: var(--a39-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .92rem;
}

/* =========================================================================
 * MEGA-MENU panels (disabled here but reserved)
 * ======================================================================= */
.a39-mega-panel { display: none; }

/* =========================================================================
 * Animations - CTA glow_button + CTR + CTO
 * ======================================================================= */
@keyframes a39-cta-glow {
  0%   { box-shadow: 0 0 0 0 rgba(255,33,33,0.7), 0 0 6px rgba(255,33,33,0.5); }
  50%  { box-shadow: 0 0 0 12px rgba(255,33,33,0), 0 0 22px rgba(245,197,24,0.55); }
  100% { box-shadow: 0 0 0 0 rgba(255,33,33,0), 0 0 6px rgba(255,33,33,0.5); }
}
.a39-btn--cta, .a39-cta-glow { animation: a39-cta-glow 2.4s ease-in-out infinite; }
.a39-btn--cta:hover { animation-play-state: paused; transition: transform 0.15s ease; }

@keyframes a39-ctr-fade {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes a39-cto-popup-in {
  0%   { opacity: 0; transform: translateY(40px) scale(0.96); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================================
 * RESPONSIVE
 * ======================================================================= */

/* Desktop (>=1024px): nav horizontal visible, burger hidden, CTA visible */
@media (min-width: 1024px) {
  .a39-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.25rem;
    min-width: 0;
  }
  .a39-burger { display: none !important; }
  .a39-nav-mobile { display: none !important; }
  .a39-overlay { display: none !important; }
  .a39-drawer-cta { display: none !important; }
}

/* Mobile (<1024px): nav horizontal hidden, burger visible */
@media (max-width: 1023px) {
  .a39-header-inner { padding: .5rem 1rem; }
  .a39-nav-desktop { display: none !important; }
  .a39-header-cta-desktop { display: none !important; }
  /* Wrap that contains burger MUST stay visible */
  .a39-header-actions, .a39-header-cta-wrap, .a39-burger-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
  .a39-brand-name { font-size: 1.2rem; }

  /* Mobile drawer */
  .a39-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: var(--a39-bg);
    padding: 4.5rem 1.25rem 1.5rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    border-left: 1px solid var(--a39-neon-pink);
  }
  .a39-nav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
  }
  .a39-nav-mobile-list li {
    border-bottom: 1px solid var(--a39-line);
  }
  .a39-nav-mobile-list a {
    display: block;
    padding: 1rem .25rem;
    color: var(--a39-text);
    text-decoration: none;
    font-family: var(--a39-font-head);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    transition: color .2s, padding-left .2s;
  }
  .a39-nav-mobile-list a:hover { color: var(--a39-accent); padding-left: .5rem; }
  .a39-drawer-cta {
    display: block !important;
    margin: 2rem 0 0 !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--a39-primary) !important;
    color: #fff !important;
    border-radius: var(--a39-radius) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-family: var(--a39-font-head) !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.06em !important;
    box-shadow: 0 0 22px rgba(255,33,33,0.55) !important;
  }
  /* Overlay backdrop */
  .a39-overlay.is-visible {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15,7,16,0.7);
    z-index: 9998;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  /* Burger label hide */
  .a39-burger-label { display: none !important; }

  /* Latest grid 2 cols */
  .a39-latest-grid { grid-template-columns: repeat(2, 1fr); }
  /* Footer 2 cols */
  .a39-footer-cols { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .a39-hero-inner { padding: 4rem 1.25rem; }
}

@media (max-width: 640px) {
  .a39-categories-grid { grid-template-columns: 1fr; }
  .a39-latest-grid { grid-template-columns: 1fr; }
  .a39-footer-cols { grid-template-columns: 1fr; }
  .a39-footer-bottom { flex-direction: column; text-align: center; }
  .a39-hero { min-height: 65vh; }
  .a39-hero-inner { padding: 3rem 1rem; }
  .a39-cat-hero { height: 240px; }
}

/* Accessibility — 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; }
  .a39-hero-bg { transform: none !important; }
}

/* =========================================================================
 * Cursor glow dot effect (vaporwave)
 * ======================================================================= */
.a39-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.85) 0%, rgba(255,33,33,0.6) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  z-index: 99998;
  will-change: transform;
  transition: width 0.18s, height 0.18s, opacity 0.18s;
}
.a39-cursor-glow.is-hover {
  width: 56px;
  height: 56px;
  opacity: 0.85;
}
@media (hover: none), (max-width: 768px) {
  .a39-cursor-glow { display: none !important; }
}

/* Print */
@media print {
  .a39-header, .a39-footer, .a39-burger, .a39-cursor-glow { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}


/* Mouse effect : cursor_glow_dot */
/* Vaporwave glow dot follower */
.a39-cursor-glow { position: fixed; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle, rgba(245,197,24,0.85) 0%, rgba(255,33,33,0.6) 40%, transparent 70%); pointer-events: none; transform: translate(-50%, -50%); mix-blend-mode: screen; z-index: 99998; will-change: transform; transition: width 0.18s, height 0.18s, opacity 0.18s; }
.a39-cursor-glow.is-hover { width: 56px; height: 56px; opacity: 0.85; }
@media (hover: none), (max-width: 768px) { .a39-cursor-glow { display: none !important; } }
