/*
 * CCC / Phantom-inspired neon accent layer. Load after cinematic-pages.css
 * and the existing component styles. Color presentation only; no new assets.
 * Black, electric blue and premium gold remain the identity anchors.
 * Never assign body/root theme tokens or match inside main.artist-page.
 * Latest owner direction: lots of eye-catching neon glow, not minimal accents.
 * Existing responsive geometry, motion preferences and semantic states remain.
 */
@media screen {
  /* Shared site chrome is intentionally allowed on artist-profile routes. */
  body.ccc-cinematic > .header {
    background-color: rgba(3, 5, 9, .96);
    background-image: radial-gradient(ellipse at 8% 0, rgba(0, 168, 255, .10), transparent 54%),
      radial-gradient(ellipse at 88% 0, rgba(128, 92, 246, .08), transparent 46%);
    border-bottom-color: rgba(151, 153, 255, .58);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25), 0 2px 24px rgba(0, 168, 255, .20), 0 4px 36px rgba(136, 85, 244, .17), 0 1px 18px rgba(230, 78, 172, .13);
  }

  body.ccc-cinematic > .topline {
    border-bottom-color: rgba(215, 180, 106, .20);
  }

  body.ccc-cinematic > .header .nav {
    border-color: rgba(111, 137, 221, .30);
  }

  body.ccc-cinematic > .header .nav a.active {
    color: #e3f4ff;
    background-image: linear-gradient(115deg, rgba(0, 168, 255, .18) 0%, rgba(116, 87, 226, .14) 76%, rgba(228, 77, 161, .10));
    border-color: rgba(143, 157, 247, .50);
    box-shadow: inset 0 0 12px rgba(0, 168, 255, .10), 0 0 18px rgba(128, 88, 239, .22), 0 0 28px rgba(225, 86, 177, .12);
  }

  body.ccc-cinematic > .header :is(.nav-dropdown-menu, .ccc-account-panel) {
    background-color: #070e17;
    background-image: linear-gradient(140deg, rgba(0, 168, 255, .06), rgba(117, 83, 222, .06) 78%, rgba(224, 73, 164, .035));
    border-color: rgba(134, 145, 224, .40);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .55), 0 0 22px rgba(0, 168, 255, .17), 0 0 32px rgba(154, 86, 235, .14), inset 0 1px rgba(215, 180, 106, .14);
  }

  body.ccc-cinematic > .header .ccc-account-trigger {
    color: #eaf4ff;
    background-color: #0c1b28;
    background-image: linear-gradient(115deg, #102a3b 0%, #18253d 66%, #29203b);
    border-color: rgba(215, 180, 106, .48);
    box-shadow: 0 0 16px rgba(0, 168, 255, .20), 0 0 24px rgba(153, 88, 238, .15), inset 0 0 10px rgba(215, 180, 106, .08);
  }

  body.ccc-cinematic > .header .ccc-account-trigger:hover,
  body.ccc-cinematic > .header .ccc-account-menu[open] > .ccc-account-trigger {
    color: #ffffff;
    background-image: linear-gradient(115deg, #153d50 0%, #302b50 76%, #442641);
    border-color: #b6b8ff;
    box-shadow: 0 0 22px rgba(0, 168, 255, .32), 0 0 32px rgba(143, 87, 239, .25), 0 0 18px rgba(223, 86, 168, .24);
  }

  body.ccc-cinematic > .header .ccc-account-panel .ccc-account-item:is(:hover, :focus-visible, [aria-current="page"]) {
    background-image: linear-gradient(115deg, rgba(0, 168, 255, .14), rgba(133, 96, 239, .12) 78%, rgba(229, 86, 175, .08));
    color: #ffffff;
  }

  body.ccc-cinematic > .header .nav a:hover,
  body.ccc-cinematic > .footer-cinematic :is(.footer-links a, .footer-contact):hover {
    color: #e8cfff;
  }

  body.ccc-cinematic > .footer-cinematic {
    background-color: #020407;
    background-image: radial-gradient(ellipse at 8% 0, rgba(0, 168, 255, .11), transparent 58%),
      radial-gradient(ellipse at 88% 0, rgba(131, 85, 230, .10), transparent 48%),
      radial-gradient(ellipse at 100% 100%, rgba(230, 76, 167, .055), transparent 42%);
    border-top-color: rgba(151, 153, 255, .52);
    box-shadow: 0 -2px 24px rgba(0, 168, 255, .15), 0 -2px 36px rgba(143, 83, 236, .13), 0 -1px 18px rgba(226, 76, 164, .10);
  }

  body.ccc-cinematic > .footer-cinematic .footer-bottom {
    border-top-color: rgba(215, 180, 106, .18);
  }

  body.ccc-cinematic > .footer-cinematic .footer-motto span {
    color: #b9caff;
  }

  /* Explicit action classes only: no generic button/input/state recolor.
     Disabled, destructive, success/error and premium-gold actions are excluded. */
  body.ccc-cinematic > .header .btn-primary:not(:disabled, [aria-disabled="true"], .btn-gold, .btn-danger, .is-danger, .admin-delete-button, .is-error, .is-success),
  body.ccc-cinematic main:not(.artist-page) :is(.btn-primary, .ccc-commerce-button.is-primary):not(main.artist-page *):not(:disabled, [aria-disabled="true"], .btn-gold, .btn-danger, .is-danger, .admin-delete-button, .is-error, .is-success) {
    background-color: #075588;
    background-image: linear-gradient(115deg, #075588 0%, #0870ab 56%, #493a91 83%, #882b66 100%);
    border-color: #82baff;
    color: #f5f7ff;
    box-shadow: 0 0 22px rgba(0, 168, 255, .30), 0 0 30px rgba(140, 86, 239, .20), 0 0 16px rgba(225, 80, 169, .15), inset 0 1px rgba(223, 199, 255, .18);
  }

  body.ccc-cinematic > .header .btn-primary:not(:disabled, [aria-disabled="true"], .btn-gold, .btn-danger, .is-danger, .admin-delete-button, .is-error, .is-success):hover,
  body.ccc-cinematic main:not(.artist-page) :is(.btn-primary, .ccc-commerce-button.is-primary):not(main.artist-page *):not(:disabled, [aria-disabled="true"], .btn-gold, .btn-danger, .is-danger, .admin-delete-button, .is-error, .is-success):hover {
    background-image: linear-gradient(115deg, #086394 0%, #0875b1 56%, #53449f 83%, #943070 100%);
    border-color: #c5b6ff;
    color: #ffffff;
    box-shadow: 0 0 28px rgba(0, 168, 255, .42), 0 0 42px rgba(145, 86, 245, .30), 0 0 24px rgba(226, 86, 179, .27);
  }

  body.ccc-cinematic main:not(.artist-page) :is(.btn-ghost, .btn-outline, .ccc-commerce-button:not(.is-primary), .site-select-video):not(main.artist-page *):not(:disabled, [aria-disabled="true"], .btn-gold, .btn-danger, .is-danger, .admin-delete-button, .is-error, .is-success):is(:hover, :focus-visible) {
    background-color: #101a29;
    background-image: linear-gradient(115deg, rgba(0, 168, 255, .10), rgba(123, 88, 225, .09) 78%, rgba(225, 82, 171, .065));
    border-color: #b0a8f3;
    color: #f0edff;
    box-shadow: 0 0 20px rgba(0, 168, 255, .24), 0 0 28px rgba(144, 88, 235, .19), 0 0 16px rgba(224, 81, 172, .16);
  }

  body.ccc-cinematic main:not(.artist-page) :is(.text-link, .filter-reset, .artist-card-actions a, .contact-page-info a):not(main.artist-page *):hover {
    color: #ecc7ff;
  }

  /* No full-page pink wash. Only existing card shells and section surfaces. */
  body.ccc-cinematic main:not(.artist-page) :is(.artist-card, .site-video-card, .music-release-card, .highlight-card, .family-visual-card, .ccc-commerce-card):not(main.artist-page *) {
    border-color: rgba(130, 146, 226, .30);
    background-color: #080e17;
    background-image: linear-gradient(145deg, #0a1522 0%, #090f1a 64%, #111021 88%, #160f1b 100%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .20), 0 0 18px rgba(0, 168, 255, .17), 0 0 28px rgba(141, 87, 233, .13), inset 0 0 12px rgba(208, 82, 176, .055);
  }

  body.ccc-cinematic main:not(.artist-page) :is(.artist-card, .site-video-card, .music-release-card, .highlight-card, .family-visual-card, .ccc-commerce-card):not(main.artist-page *):is(:hover, :focus-within) {
    border-color: rgba(183, 160, 255, .80);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .20), 0 0 24px rgba(0, 168, 255, .29), 0 0 38px rgba(151, 89, 240, .23), 0 0 20px rgba(225, 86, 177, .18);
  }

  /* Keep official CCC listings' existing gold top edge, including hover. */
  body.ccc-cinematic main:not(.artist-page) .ccc-commerce-card.is-ccc:not(main.artist-page *) {
    border-top-color: #d7b46a;
  }

  body.ccc-cinematic main:not(.artist-page) .event-row:not(main.artist-page *) {
    background-image: linear-gradient(115deg, #0b1928 0%, #090f19 72%, #161020);
    border-top-color: rgba(145, 126, 221, .38);
    border-right-color: rgba(130, 146, 226, .32);
    border-bottom-color: rgba(130, 146, 226, .32);
    box-shadow: 0 0 18px rgba(0, 168, 255, .15), 0 0 26px rgba(143, 85, 229, .12), inset 0 0 14px rgba(214, 86, 174, .04);
  }

  body.ccc-cinematic main:not(.artist-page) :is(.crew-hero, .ccc-about-community, .contact-page-info, .contact-page-form, .artist-directory-invite, .family-connect-strip, .featured-site-video, .radio-page):not(main.artist-page *) {
    background-color: #070d15;
    background-image: radial-gradient(ellipse at 0 0, rgba(0, 168, 255, .09), transparent 62%),
      radial-gradient(ellipse at 100% 100%, rgba(159, 87, 220, .065), transparent 52%);
    border-right-color: rgba(135, 139, 224, .30);
    border-bottom-color: rgba(135, 139, 224, .30);
    box-shadow: 0 0 22px rgba(0, 168, 255, .16), 0 0 34px rgba(140, 85, 233, .12), 0 0 18px rgba(225, 81, 173, .09), inset 0 0 20px rgba(0, 168, 255, .025);
  }

  body.ccc-cinematic main:not(.artist-page) :is(.video-section, .radio-section, .join-banner):not(main.artist-page *) {
    background-color: #040911;
    background-image: radial-gradient(ellipse at 14% 50%, rgba(0, 168, 255, .13), transparent 60%),
      radial-gradient(ellipse at 88% 50%, rgba(126, 86, 227, .11), transparent 48%),
      radial-gradient(ellipse at 100% 100%, rgba(228, 76, 167, .065), transparent 42%);
    box-shadow: inset 0 1px 20px rgba(0, 168, 255, .08), inset 0 -1px 26px rgba(154, 83, 237, .07);
  }

  /* Premium gold CTA fills and labels are retained; lighting joins the palette. */
  body.ccc-cinematic main:not(.artist-page) :is(.btn-gold, .join-banner .btn-light):not(main.artist-page *):not(:disabled, [aria-disabled="true"]) {
    box-shadow: 0 0 24px rgba(215, 180, 106, .28), 0 0 32px rgba(0, 168, 255, .18), 0 0 20px rgba(163, 87, 232, .14);
  }

  body.ccc-cinematic main:not(.artist-page) :is(.btn-gold, .join-banner .btn-light):not(main.artist-page *):not(:disabled, [aria-disabled="true"]):hover {
    box-shadow: 0 0 30px rgba(215, 180, 106, .38), 0 0 40px rgba(0, 168, 255, .27), 0 0 26px rgba(226, 86, 177, .21);
  }

  body.ccc-cinematic main:not(.artist-page) :is(.event-arrow, .card-arrow):not(main.artist-page *):hover {
    color: #e3cbff;
    border-color: #b0a8f3;
    background-color: #13192b;
  }

  body.ccc-cinematic main:not(.artist-page) .track-row:not(main.artist-page *):hover {
    background-color: rgba(59, 127, 202, .055);
    background-image: linear-gradient(115deg, rgba(0, 168, 255, .055), rgba(134, 85, 218, .04) 78%, rgba(220, 79, 165, .025));
  }

  /* Artist custom colors/fonts/backgrounds/button modes and Studio previews
     are never targeted. Only selected navigation tabs gain brand accents. */
  body.ccc-cinematic main.workspace:not(.artist-page) .editor-tab:is(.active, [aria-selected="true"]):not(main.artist-page *) {
    color: #dcd6ff;
    background-image: linear-gradient(115deg, rgba(0, 168, 255, .10), rgba(131, 90, 231, .09) 78%, rgba(220, 79, 167, .055));
    box-shadow: inset 0 -2px #aca0f7, 0 0 18px rgba(0, 168, 255, .20), 0 0 28px rgba(148, 87, 237, .18);
  }

  body.ccc-cinematic main.workspace:not(.artist-page) .ccc-admin-tabs button[aria-selected="true"]:not(main.artist-page *) {
    color: #f5f7ff;
    background-color: #075588;
    background-image: linear-gradient(115deg, #075588 0%, #0870ab 56%, #493a91 83%, #882b66);
    border-color: #b0a8f3;
    box-shadow: 0 0 20px rgba(0, 168, 255, .25), 0 0 30px rgba(148, 87, 237, .20), 0 0 16px rgba(221, 82, 172, .14);
  }

  /* Readable fallback before gradient-text support; no neon paragraph text.
     Homepage hero wordmark, gold headings, badges and logos are untouched. */
  body.ccc-cinematic main:not(.artist-page) :is(.section-head h2 > span, .feature-copy h2 > span, .page-hero h1 > span, .contact-page-heading h1 > span, .crew-hero h1 > span, .radio-label h2 > span, .join-banner h2 > span):not(main.artist-page *) {
    color: #b9d5ff;
    -webkit-text-fill-color: currentColor;
    background-image: none;
    text-shadow: 0 0 16px rgba(0, 168, 255, .28), 0 0 26px rgba(143, 86, 237, .22), 0 0 32px rgba(228, 81, 175, .14);
  }

  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    body.ccc-cinematic main:not(.artist-page) :is(.section-head h2 > span, .feature-copy h2 > span, .page-hero h1 > span, .contact-page-heading h1 > span, .crew-hero h1 > span, .radio-label h2 > span, .join-banner h2 > span):not(main.artist-page *) {
      background-image: linear-gradient(110deg, #77d7ff 0%, #a4c7ff 52%, #c3adff 80%, #ffb5df 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
    }
  }
}
