/* ---------------------------
   Global Base
---------------------------- */
:root {
  --six2-bg: var(--wp--preset--color--bg);
  --six2-surface: var(--wp--preset--color--surface);
  --six2-text: var(--wp--preset--color--text);
  --six2-muted: var(--wp--preset--color--muted);
  --six2-orange: var(--wp--preset--color--orange);
  --six2-purple: var(--wp--preset--color--purple);
  --six2-border: var(--wp--preset--color--border);
}

html, body {
  background: var(--six2-bg);
}

body {
  color: var(--six2-text);
}

/* Background “wavy lines” placeholder.
   We'll swap this to your exact SVG once we extract/replicate it. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(92,42,135,0.25), rgba(0,0,0,0) 55%),
    radial-gradient(circle at 85% 10%, rgba(254,158,27,0.16), rgba(0,0,0,0) 50%),
    repeating-radial-gradient(circle at 30% 55%,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 1px,
      rgba(0,0,0,0) 22px,
      rgba(0,0,0,0) 34px
    );
}

/* Make sure content sits above the fixed background */
.wp-site-blocks {
  position: relative;
  z-index: 1;
}

/* ---------------------------
   Utility: Cards + Glow
---------------------------- */
.is-card {
  background: rgba(18,18,18,0.78);
  border: 1px solid var(--six2-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
}

.glow-purple {
  box-shadow:
    0 0 0 1px rgba(92,42,135,0.55),
    0 0 30px rgba(92,42,135,0.28);
}

.glow-orange {
  box-shadow:
    0 0 0 1px rgba(254,158,27,0.55),
    0 0 26px rgba(254,158,27,0.22);
}

/* ---------------------------
   Buttons (match React feel)
---------------------------- */
.wp-block-button .wp-block-button__link {
  transition: transform 140ms ease, filter 140ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 0 0 1px rgba(254,158,27,0.5), 0 0 18px rgba(254,158,27,0.20);
}

/* Outline button style (we’ll apply via editor style variations later) */
.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--six2-text) !important;
  border: 1px solid rgba(255,255,255,0.18);
}

.is-style-outline .wp-block-button__link:hover {
  border-color: rgba(92,42,135,0.55);
  box-shadow: 0 0 0 1px rgba(92,42,135,0.45), 0 0 20px rgba(92,42,135,0.18);
}

/* ---------------------------
   Navigation “active pill”
---------------------------- */
.wp-block-navigation a {
  color: var(--six2-text);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: background 160ms ease, box-shadow 180ms ease, color 160ms ease;
}

.wp-block-navigation a:hover {
  background: rgba(255,255,255,0.06);
}

.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current_page_item > a,
.wp-block-navigation .current-menu-ancestor > a {
  background: rgba(92,42,135,0.14);
  box-shadow: 0 0 0 1px rgba(92,42,135,0.55), 0 0 22px rgba(92,42,135,0.18);
}

/* ---------------------------
   Reveal Animations
---------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal="left"] { transform: translateX(-14px); }
[data-reveal="right"] { transform: translateX(14px); }
[data-reveal="up"] { transform: translateY(14px); }

.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.six2-accent-orange { color: var(--six2-orange); }

.six2-stack { position: relative; }

.six2-card-offset-1 { transform: translateY(-6px); }
.six2-card-offset-2 { transform: translateY(10px); }

@media (max-width: 900px) {
  .six2-card-offset-1,
  .six2-card-offset-2 { transform: none; }
}