/* ================================================
   Bailey Gwyn - Enhanced Neural Glass CSS
   For baileygwyn.xyz and baileygwyn.com
   ================================================ */

/* === ANIMATED NEURAL BACKGROUND === */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #4C608A 0%, #182A4A 100%);
  z-index: -2;
}

#neuron-zap-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Subtle neural aura overlays */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 20%, rgba(219, 154, 177, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(81, 96, 160, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

header,
main,
footer,
article,
section,
.site-content {
  position: relative;
  z-index: 1;
}

/* === BASE STYLING === */

body {
  color: #ffffff;
  background-color: #0b021991;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* === HEADER/FOOTER LINKS === */

[role="banner"] .wp-block-navigation a,
[role="contentinfo"] .wp-block-navigation a {
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

[role="banner"] .wp-block-navigation a:hover,
[role="contentinfo"] .wp-block-navigation a:hover {
  color: #DB9AB1 !important;
  text-shadow: 0 0 10px rgba(219, 154, 177, 0.5) !important;
}

/* === MOBILE NAVIGATION === */

.wp-block-navigation__responsive-container,
.wp-block-navigation__responsive-container-content {
  background: linear-gradient(135deg, rgba(122, 155, 219, 0.95) 0%, rgba(81, 96, 160, 0.95) 100%) !important;
  color: #ffffff !important;
  z-index: 9999 !important;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.wp-block-navigation__responsive-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(219, 154, 177, 0.1), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(81, 96, 160, 0.1), transparent 50%);
  pointer-events: none;
}

.wp-block-navigation__responsive-container-content a,
.wp-block-navigation__responsive-container-content .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container-content .wp-block-navigation-item__label {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.wp-block-navigation__responsive-container-content a:hover,
.wp-block-navigation__responsive-container-content a:focus {
  color: #DB9AB1 !important;
  text-shadow: 0 0 10px rgba(219, 154, 177, 0.5) !important;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  color: #ffffff !important;
  z-index: 10000;
  transition: all 0.3s ease;
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
  color: #DB9AB1 !important;
}

@media (min-width: 768px) {
  .wp-block-navigation__responsive-container,
  .wp-block-navigation__responsive-container-content {
    display: none !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background-color: transparent !important;
    overflow: visible !important;
  }
}

/* === CSS VARIABLES === */

:root {
  /* Neural pink/purple theme */
  --aura-bg: rgba(255, 255, 255, 0.08);
  --aura-border: rgba(255, 255, 255, 0.18);
  --aura-glow1: 219 154 177;  /* pink */
  --aura-glow2: 81 96 160;    /* neural blue-violet */
  --aura-text: #f7f2f6;
  --aura-text-dim: #d7c9d2;
  --neural-blue: #4C608A;
  --neural-deep: #182A4A;
  --neural-accent: #7A9BDB;
}

/* ================================================
   NEURAL GLASS BUTTON SYSTEM
   ================================================ */

.glass-btn {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), var(--aura-bg));
  border: 1px solid var(--aura-border);
  color: var(--aura-text);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.05rem;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.glass-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 18px 36px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(var(--aura-glow1)/.35),
    0 0 36px rgba(var(--aura-glow2)/.25);
}

.glass-btn:active {
  transform: translateY(0);
}

/* Soft aura highlight */
.glass-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    radial-gradient(120px 60px at 10% 10%, rgba(var(--aura-glow1)/.25), transparent 60%),
    radial-gradient(140px 80px at 90% 90%, rgba(var(--aura-glow2)/.22), transparent 60%);
  z-index: -1;
  pointer-events: none;
  filter: blur(18px);
}

/* Icon styling */
.glass-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: .95;
}

/* Compact variant */
.glass-compact {
  padding: .55rem .75rem;
  gap: .5rem;
  font-size: .92rem;
}

/* Circular floating button */
.glass-fab {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

/* Focus & reduced motion */
.glass-btn:focus-visible {
  outline: 2px solid rgba(var(--aura-glow1)/.9);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .glass-btn {
    transition: none;
  }
}

