/*
Theme Name: Noxalmusic
Theme URI: https://noxalmusic.autonomaailab.com
Description: Custom professional theme for Noxalmusic — Love at first synth.
Author: Noxalmusic
Template: generatepress
Version: 1.0.0
Text Domain: noxalmusic
*/

/* ============================================================
   IMPORTS & FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-primary:     #09090f;
  --bg-secondary:   #0f0f1a;
  --bg-card:        #12121f;
  --bg-card-hover:  #181828;
  --bg-glass:       rgba(255,255,255,0.03);
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(139,92,246,0.4);

  --accent:         #8b5cf6;
  --accent-bright:  #a78bfa;
  --accent-glow:    rgba(139,92,246,0.25);
  --accent2:        #ec4899;
  --accent2-glow:   rgba(236,72,153,0.2);

  --text-primary:   #f0f0f8;
  --text-secondary: #9090b0;
  --text-muted:     #5a5a78;

  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-dark:   linear-gradient(180deg, #0f0f1a 0%, #09090f 100%);
  --gradient-card:   linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(236,72,153,0.04) 100%);

  --font-heading: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-card:  0 4px 32px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 40px rgba(139,92,246,0.15);
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   GENERATEPRESS LAYOUT OVERRIDES
   ============================================================ */
.site-content,
#page,
.site-container {
  background: var(--bg-primary) !important;
}

.inside-site-container {
  max-width: 100%;
  padding: 0;
}

.site-main,
#main {
  background: transparent;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { color: var(--text-secondary); margin-bottom: 1.5rem; }

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: #fff; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header,
#masthead {
  background: rgba(9, 9, 15, 0.9) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 !important;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(9, 9, 15, 0.98) !important;
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.inside-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 2rem !important;
  max-width: 1400px;
  margin: 0 auto;
  height: 70px;
}

/* Site title / logo */
.site-title,
.site-branding .site-title {
  font-family: var(--font-heading) !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  margin: 0 !important;
  padding: 0 !important;
}

.site-title a,
.site-branding .site-title a {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none !important;
  transition: var(--transition);
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.4));
}

.site-title a:hover {
  filter: drop-shadow(0 0 30px rgba(139,92,246,0.7));
}

.site-description {
  display: none;
}

/* Navigation */
.main-navigation,
nav.main-navigation {
  background: transparent !important;
}

.main-navigation ul,
.nav-primary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-navigation ul li a,
.nav-primary ul li a {
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
  display: block;
}

.main-navigation ul li a:hover,
.nav-primary ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--text-primary) !important;
  background: rgba(139,92,246,0.12) !important;
}

/* Dropdown menus */
.main-navigation ul ul,
.nav-primary ul ul {
  background: var(--bg-card) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.5rem;
  min-width: 200px;
}

.main-navigation ul ul li a {
  border-radius: var(--radius-sm);
}

/* ============================================================
   HERO SECTION (Homepage)
   ============================================================ */
.nox-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-secondary);
}

.nox-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139,92,246,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(236,72,153,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.nox-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 100%);
}

.nox-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  width: 100%;
}

.nox-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.nox-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.nox-hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.nox-hero-title .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nox-hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.nox-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Featured post in hero */
.nox-hero-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .nox-hero-featured { grid-template-columns: 1fr; gap: 2rem; }
}

.nox-hero-featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.nox-hero-featured-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.nox-hero-featured-card:hover img {
  transform: scale(1.04);
}

.nox-hero-featured-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(9,9,15,0.95));
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, .nox-btn, button.nox-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,92,246,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(139,92,246,0.08);
  color: var(--accent-bright);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.nox-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nox-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}

.nox-section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.nox-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.nox-section-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nox-section-link:hover {
  color: var(--accent-bright);
}

.nox-section-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.nox-section-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   POST GRID
   ============================================================ */
.nox-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.nox-posts-grid.grid-featured {
  grid-template-columns: repeat(3, 1fr);
}

.nox-posts-grid.grid-featured .post-card:first-child {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .nox-posts-grid.grid-featured {
    grid-template-columns: repeat(2, 1fr);
  }
  .nox-posts-grid.grid-featured .post-card:first-child {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nox-posts-grid,
  .nox-posts-grid.grid-featured {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   POST CARD
   ============================================================ */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.post-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(139,92,246,0.12);
}

.post-card:hover::before {
  opacity: 1;
}

.post-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-card-image img {
  transform: scale(1.06);
}

.post-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(139,92,246,0.08) 100%);
}

.post-card-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.post-card-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.875rem;
  width: fit-content;
  transition: var(--transition);
}

.post-card:hover .post-card-category {
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.4);
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: var(--transition);
  letter-spacing: -0.02em;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
}

.post-card:hover .post-card-title {
  color: #fff;
}

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.post-card-meta .meta-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.post-card-meta .meta-read-time {
  margin-left: auto;
  color: var(--accent-bright);
  opacity: 0.7;
}

/* Large card variant */
.post-card.card-large .post-card-title {
  font-size: 1.5rem;
}

.post-card.card-large .post-card-excerpt {
  -webkit-line-clamp: 4;
}

/* ============================================================
   GENERATEPRESS CONTENT AREA
   ============================================================ */
.content-area {
  padding: 0;
  background: transparent;
}

#content {
  padding: 0;
}

/* Override GeneratePress grid */
.generate-columns-container,
.grid-container {
  background: transparent;
}

/* Remove GeneratePress default article styles */
article.post,
article.page {
  background: transparent;
  padding: 0 !important;
  margin: 0 !important;
}

article.post .inside-article,
article.page .inside-article {
  padding: 0;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 1100px) {
  .single-post-wrapper {
    grid-template-columns: 1fr;
  }
}

.single-post-header {
  padding: 5rem 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.single-post-hero {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.single-post-hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.single-post-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.single-post-content p { color: var(--text-secondary); }

.single-post-content a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(139,92,246,0.3);
  text-underline-offset: 3px;
}

.single-post-content a:hover {
  text-decoration-color: var(--accent-bright);
}

.single-post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(139,92,246,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-primary);
}

.single-post-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(139,92,246,0.1);
  padding: 0.2em 0.5em;
  border-radius: var(--radius-sm);
  color: var(--accent-bright);
}

.single-post-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.single-post-content li { margin-bottom: 0.5rem; }

/* Post tags */
.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.post-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  transition: var(--transition);
}

.post-tag:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
}

/* ============================================================
   SIDEBAR (Single Post)
   ============================================================ */
.nox-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   CATEGORY TICKER
   ============================================================ */
.nox-ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.nox-ticker-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nox-ticker-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nox-ticker-item::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.5rem;
}

/* ============================================================
   WAVEFORM DECORATION
   ============================================================ */
.nox-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.nox-waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--gradient-accent);
  animation: waveform 1.2s ease-in-out infinite;
}

.nox-waveform span:nth-child(1) { height: 8px; animation-delay: 0s; }
.nox-waveform span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.nox-waveform span:nth-child(3) { height: 24px; animation-delay: 0.2s; }
.nox-waveform span:nth-child(4) { height: 16px; animation-delay: 0.3s; }
.nox-waveform span:nth-child(5) { height: 8px; animation-delay: 0.4s; }
.nox-waveform span:nth-child(6) { height: 20px; animation-delay: 0.15s; }
.nox-waveform span:nth-child(7) { height: 12px; animation-delay: 0.25s; }

@keyframes waveform {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.nox-stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
}

.nox-stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .nox-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

.nox-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.nox-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#colophon {
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border);
  padding: 0 !important;
}

.nox-footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .nox-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .nox-footer-top { grid-template-columns: 1fr; }
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.footer-brand-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: rgba(139,92,246,0.15);
  border-color: var(--accent);
  color: var(--accent-bright) !important;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-bright) !important;
  padding-left: 4px;
}

.nox-footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copyright span {
  color: var(--accent-bright);
}

/* ============================================================
   SEARCH & 404
   ============================================================ */
.nox-empty-state {
  max-width: 500px;
  margin: 6rem auto;
  text-align: center;
  padding: 0 2rem;
}

.nox-empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.paging-navigation,
.post-navigation {
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  transition: var(--transition);
}

.page-numbers:hover,
.pagination a:hover {
  background: rgba(139,92,246,0.15);
  border-color: var(--accent);
  color: var(--accent-bright) !important;
}

.page-numbers.current {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff !important;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.5); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(139,92,246,0.3);
  color: #fff;
}

/* ============================================================
   LOADING ANIMATION
   ============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fade-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 768px) {
  .nox-section { padding: 3rem 1.25rem; }
  .inside-header { padding: 0 1.25rem !important; }
  .single-post-wrapper { padding: 2rem 1.25rem; }
  .nox-footer-bottom { padding: 1.25rem; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile navigation */
@media (max-width: 768px) {
  .main-navigation,
  .nav-primary {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(9,9,15,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .main-navigation.nav-open,
  .nav-primary.nav-open {
    display: block;
  }
  .main-navigation ul,
  .nav-primary ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  .main-navigation ul li a,
  .nav-primary ul li a {
    padding: 0.75rem 1rem !important;
  }
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
  }
  .mobile-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}

/* ============================================================
   HIDE GENERATEPRESS ELEMENTS WE REPLACE
   ============================================================ */
.generate-back-to-top { display: none; }

/* Widget area sidebar - hide default GP sidebar */
.widget-area {
  display: none;
}
