/* ============================================================
   PAGES — Cosmic defaults for non-front pages
============================================================ */

body{
  background:
    radial-gradient(circle at 12% 12%, rgba(168,85,247,.18), transparent 55%),
    radial-gradient(circle at 88% 18%, rgba(34,211,238,.14), transparent 55%),
    radial-gradient(circle at 45% 92%, rgba(249,115,22,.14), transparent 60%),
    linear-gradient(180deg, var(--cc-bg-mid) 0%, var(--cc-bg-deep) 70%);
  min-height: 100vh;
}

/* Subtle stars overlay (CSS-only). 404 uses its own canvas starfield. */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.34) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 160px 160px, 260px 260px;
  background-position: 0 0, 80px 120px;
  opacity: 0.10;
  z-index: 0;
}
body.error404::before{ display:none; }

/* Keep primary layout above the star layer */
.cc-nav,
.cc-main,
.ccseo-footer{
  position: relative;
  z-index: 1;
}

/* Inputs + buttons (global) */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select{
  background: rgba(0,0,0,0.28) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.92) !important;
  border-radius: 12px !important;
}

button,
input[type="submit"],
.wp-block-button__link{
  border-radius: 999px !important;
  font-weight: 800 !important;
  background: linear-gradient(120deg, var(--cc-orange), var(--cc-pink)) !important;
  color: #061018 !important;
  border: 0 !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

/* Keep Gutenberg groups from defaulting to white */
.wp-block-group,
.wp-block-columns,
.wp-block-cover{
  background-color: transparent;
}
