/* ============================================================
   CCG-EFFECTS.CSS — GLOBAL NEON FINESSE (A2)
   ------------------------------------------------------------
   • Button glow harmony & premium feel
   • Hover / focus / active consistency
   • Accessibility & reduced-motion preserved
   • Ambient overlays, scanlines, hover glows
   • NO layout or size changes
============================================================ */

/* ============================================================
   SCROLLBAR THEMING (UNCHANGED)
============================================================ */

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-rgb), 0.4) rgba(0,0,0,0.4);
}

*::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.6);
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(var(--accent-rgb), 0.55),
        rgba(var(--accent-rgb), 0.25)
    );
    border-radius: 8px;

    box-shadow:
        0 0 6px rgba(var(--accent-rgb), 0.30),
        inset 0 0 0 1px rgba(255,255,255,0.10);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(var(--accent-rgb), 0.75),
        rgba(var(--accent-rgb), 0.45)
    );
}


/* ============================================================
   ATMOSPHERIC OVERLAYS — GRIDLINES + SCANLINES
   ------------------------------------------------------------
   • Utility classes for layered backgrounds
   • Pointer-events disabled to keep UI interactive
   • Subtle motion respecting reduced motion preference
============================================================ */

.ccg-effect-gridlines,
.ccg-effect-scanlines,
.ccg-bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ccg-effect-gridlines {
    z-index: 1;

    background:
        repeating-linear-gradient(
            to right,
            rgba(var(--accent-rgb), 0.16) 0,
            rgba(var(--accent-rgb), 0.16) 1px,
            transparent 1px,
            transparent 42px
        ),
        repeating-linear-gradient(
            to bottom,
            rgba(var(--accent-rgb), 0.12) 0,
            rgba(var(--accent-rgb), 0.12) 1px,
            transparent 1px,
            transparent 42px
        );

    opacity: 0.18;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.25));

    animation: ccgGridSweep 26s linear infinite;
    will-change: transform, opacity;
}

.ccg-effect-scanlines {
    z-index: 2;

    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.04) 0px,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px,
        transparent 4px
    );

    mix-blend-mode: soft-light;
    opacity: 0.26;

    animation: ccgScanlinePulse 7s ease-in-out infinite;
}

.ccg-bg-particles {
    z-index: 1;
    overflow: hidden;
    mix-blend-mode: screen;
}

.ccg-bg-particles__spark {
    position: absolute;
    left: var(--ccg-particle-x, 50%);
    bottom: -8%;

    width: var(--ccg-particle-size, 2px);
    height: var(--ccg-particle-size, 2px);
    border-radius: 50%;

    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.92), rgba(var(--accent-rgb), 0.32));
    opacity: 0;

    filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.38));

    animation: ccgParticleFloat var(--ccg-particle-duration, 14s) linear infinite;
    animation-delay: calc(-1 * var(--ccg-particle-delay, 0s));
    will-change: transform, opacity;
}

@keyframes ccgGridSweep {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-36px, -22px, 0); }
}

@keyframes ccgScanlinePulse {
    0%, 100% { opacity: 0.22; }
    40% { opacity: 0.30; }
    70% { opacity: 0.28; }
}

@keyframes ccgParticleFloat {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    10% { opacity: 0.92; }
    70% { opacity: 0.78; }
    100% {
        transform: translate3d(8px, -132vh, 0);
        opacity: 0;
    }
}


/* ============================================================
   ACCESSIBLE FOCUS STATES — CONSISTENT CONTRAST
============================================================ */

:root {
    --ccg-focus-outline: rgba(var(--accent-rgb), 0.72);
    --ccg-focus-halo: rgba(var(--accent-rgb), 0.32);
    --ccg-neon-primary: rgba(var(--accent-rgb), 1);
}

body[data-ccg-mode="c64"] {
    --ccg-neon-primary: #00ccff;
}

body[data-ccg-mode="amiga"] {
    --ccg-neon-primary: #ff4bd8;
}

:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
    outline: 2px solid var(--ccg-focus-outline);
    outline-offset: 3px;

    box-shadow:
        0 0 0 2px rgba(0,0,0,0.70),
        0 0 0 6px var(--ccg-focus-halo),
        0 0 22px rgba(var(--accent-rgb), 0.32);

    color: #fff;
}

/* ============================================================
   NAVIGATION WOW PASS — GLOW INTENSITY ONLY
   • Visual polish without layout impact
============================================================ */

.ccg-nav__link,
.ccg-nav__more-toggle {
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.22));
}

.ccg-nav__link:hover,
.ccg-nav__link:focus-visible,
.ccg-nav__more-toggle:hover,
.ccg-nav__more-toggle:focus-visible {
    filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.38));
}

/* ============================================================
   OMEGA HUD DOCK — FLOATING NAV
   • Neon glass container
   • Mode-aware glow
   • Subtle motion cues
============================================================ */

.ccg-hud-dock {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(8, 20, 35, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 12px 14px;
    border: 1px solid var(--ccg-neon-primary);
    box-shadow:
        0 0 18px var(--ccg-neon-primary),
        inset 0 0 12px rgba(255,255,255,0.05);
    z-index: 9999;
    transition: box-shadow 240ms ease, border-color 240ms ease;
}

html.ccg-hud-dock-ready .ccg-hud-dock {
    animation: ccgHudPulse 8s ease-in-out infinite;
}

.ccg-hud-dock .omega-mobile-dock {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
    pointer-events: auto;
    opacity: 1;
}

.ccg-hud-dock .omega-mobile-dock__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: auto;
    animation: none;
}

.ccg-hud-dock .omega-mobile-dock__bar::after {
    display: none;
}

.ccg-hud-dock a,
.ccg-hud-dock button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.35);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    color: var(--ccg-text-light, #fff);
    text-decoration: none;
    box-shadow: inset 0 0 8px rgba(255,255,255,0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.ccg-hud-dock a::after,
.ccg-hud-dock button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    opacity: 0;
    transform: translateX(-140%);
    pointer-events: none;
}

.ccg-hud-dock a:hover,
.ccg-hud-dock a:focus-visible,
.ccg-hud-dock button:hover,
.ccg-hud-dock button:focus-visible {
    border-color: var(--ccg-neon-primary);
    box-shadow:
        0 0 12px rgba(0,0,0,0.4),
        0 0 18px var(--ccg-neon-primary),
        inset 0 0 12px rgba(255,255,255,0.12);
    transform: translateY(-1px) scale(1.03);
}

.ccg-hud-dock a:hover::after,
.ccg-hud-dock a:focus-visible::after,
.ccg-hud-dock button:hover::after,
.ccg-hud-dock button:focus-visible::after {
    opacity: 0.7;
    animation: ccgHudShimmer 0.85s ease;
}

.ccg-hud-dock a:active,
.ccg-hud-dock button:active {
    transform: scale(0.98);
    box-shadow:
        0 0 22px var(--ccg-neon-primary),
        inset 0 0 14px rgba(255,255,255,0.2);
}

.ccg-hud-dock .omega-mobile-dock__btn {
    min-height: auto;
    font-size: 0.7rem;
    text-transform: none;
}

.ccg-hud-dock .omega-mobile-dock__icon {
    font-size: 0.85rem;
}

.ccg-hud-dock .omega-mobile-dock__label {
    letter-spacing: 0.08em;
}

@media (max-width: 720px) {
    .ccg-hud-dock {
        bottom: 24px;
        left: 16px;
        gap: 12px;
        padding: 10px 12px;
        max-width: min(320px, calc(100vw - 32px));
    }

    .ccg-hud-dock .omega-mobile-dock__bar {
        gap: 12px;
    }

    .ccg-hud-dock a,
    .ccg-hud-dock button {
        padding: 6px 10px;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ccg-hud-dock,
    .ccg-hud-dock a,
    .ccg-hud-dock button {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes ccgHudPulse {
    0% {
        box-shadow:
            0 0 14px color-mix(in srgb, var(--ccg-neon-primary) 65%, transparent),
            inset 0 0 10px rgba(255,255,255,0.05);
    }
    50% {
        box-shadow:
            0 0 22px color-mix(in srgb, var(--ccg-neon-primary) 85%, transparent),
            inset 0 0 12px rgba(255,255,255,0.09);
    }
    100% {
        box-shadow:
            0 0 14px color-mix(in srgb, var(--ccg-neon-primary) 65%, transparent),
            inset 0 0 10px rgba(255,255,255,0.05);
    }
}

@keyframes ccgHudShimmer {
    0% {
        transform: translateX(-140%);
    }
    100% {
        transform: translateX(140%);
    }
}

/* ============================================================
   LOGO CLICK FEEDBACK — SPEECH BUBBLE
   • Positioned absolutely to avoid layout shifts
   • Neon/CRT styling using existing palette
============================================================ */

.ccg-brand {
    overflow: visible;
}

.ccg-logo-bubble {
    position: absolute;
    top: 50%;
    left: calc(100% + clamp(8px, 1.6vw, 16px));
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background:
        linear-gradient(
            135deg,
            rgba(var(--accent-rgb), 0.28),
            rgba(255,255,255,0.08)
        );
    color: #fff;
    font-family: var(--ccg-font-main);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
    white-space: normal;
    text-transform: none;
    max-width: min(320px, calc(100vw - 32px));
    text-wrap: balance;

    opacity: 0;
    transform: translateY(calc(-50% - 8px)) scale(0.95);
    transition: opacity 180ms ease, transform 200ms ease, box-shadow 200ms ease;
    pointer-events: none;
    z-index: 3;

    box-shadow:
        0 10px 22px rgba(0,0,0,0.65),
        0 0 16px rgba(var(--accent-rgb), 0.32);
}

.ccg-logo-bubble::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background:
        linear-gradient(
            135deg,
            rgba(var(--accent-rgb), 0.28),
            rgba(255,255,255,0.08)
        );
    border-left: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transform: rotate(45deg);
    box-shadow: -2px 2px 6px rgba(0,0,0,0.35);
}

.ccg-logo-bubble.is-visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    animation: ccgLogoBubblePop 220ms ease-out, ccgLogoBubblePulse 1600ms ease-in-out 240ms;
}

.ccg-logo-bubble__text {
    display: block;
    text-shadow:
        0 0 10px rgba(var(--accent-rgb), 0.45),
        0 0 18px rgba(var(--accent-rgb), 0.25);
}

.ccg-logo-bubble--swap .ccg-logo-bubble__text {
    animation: ccgLogoBubbleSwap 300ms ease;
}

@keyframes ccgLogoBubbleSwap {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    45% {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
    55% {
        opacity: 0;
        transform: translateY(4px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ccgLogoBubblePop {
    0% {
        opacity: 0;
        transform: translateY(calc(-50% - 8px)) scale(0.92);
        box-shadow:
            0 6px 16px rgba(0,0,0,0.55),
            0 0 6px rgba(var(--accent-rgb), 0.18);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow:
            0 10px 22px rgba(0,0,0,0.65),
            0 0 16px rgba(var(--accent-rgb), 0.32);
    }
}

@keyframes ccgLogoBubblePulse {
    0%,
    100% {
        box-shadow:
            0 10px 22px rgba(0,0,0,0.65),
            0 0 16px rgba(var(--accent-rgb), 0.32);
    }
    50% {
        box-shadow:
            0 12px 26px rgba(0,0,0,0.7),
            0 0 24px rgba(var(--accent-rgb), 0.45);
    }
}

/* ============================================================
   BUTTON PARITY PASS — GLOBAL
============================================================ */

/* ------------------------------------------------------------
   BUTTON PARITY PASS — GLOBAL
------------------------------------------------------------ */

.ccg-btn {
    position: relative;
    isolation: isolate;
    background-clip: padding-box;

    transition:
        transform 0.26s var(--ccg-ease-out),
        box-shadow 0.32s var(--ccg-ease-out),
        filter 0.26s ease,
        opacity 0.22s ease;

    will-change: transform, box-shadow;
}

/* ------------------------------------------------------------
   HOVER — POINTER DEVICES ONLY
------------------------------------------------------------ */

@media (hover: hover) and (pointer: fine) {

    .ccg-btn:hover {
        transform: translateY(-2px);
        filter: brightness(1.04);

        box-shadow:
            0 10px 24px rgba(0,0,0,0.55),
            0 0 16px rgba(var(--accent-rgb), 0.28);
    }
}

/* ------------------------------------------------------------
   KEYBOARD FOCUS — CLEAR, CONTROLLED
------------------------------------------------------------ */

.ccg-btn:focus-visible {
    outline: 2px solid var(--ccg-focus-outline);
    outline-offset: 2px;

    box-shadow:
        0 0 0 2px rgba(0,0,0,0.60),
        0 0 0 6px var(--ccg-focus-halo),
        0 0 18px rgba(var(--accent-rgb), 0.34),
        0 10px 26px rgba(0,0,0,0.60);
}

/* ------------------------------------------------------------
   ACTIVE / TAP — TOUCH PARITY
------------------------------------------------------------ */

.ccg-btn:active {
    transform: scale(0.97);
    filter: brightness(0.98);

    box-shadow:
        0 6px 14px rgba(0,0,0,0.60),
        0 0 12px rgba(var(--accent-rgb), 0.26);
}

/* ============================================================
   IMMERSIVE GLOW ACCENTS — HOVER & SCROLL STATES
============================================================ */

:where([data-ccg-wow], [data-ccg-glow]) {
    position: relative;
    isolation: isolate;
    transition:
        box-shadow 0.38s var(--ccg-ease-out, ease),
        filter 0.32s ease,
        transform 0.32s var(--ccg-ease-out, ease);
}

:where([data-ccg-wow], [data-ccg-glow])::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.24), transparent 58%);
    opacity: 0;
    pointer-events: none;
    filter: blur(8px);
    transition: opacity 0.35s ease;
    z-index: -1;
}

:where([data-ccg-wow], [data-ccg-glow]).is-lit {
    box-shadow:
        0 16px 34px rgba(0,0,0,0.55),
        0 0 18px rgba(var(--accent-rgb), 0.22);
}

:where([data-ccg-wow], [data-ccg-glow]).is-lit::after {
    opacity: 0.74;
}

@media (hover: hover) and (pointer: fine) {
    :where([data-ccg-wow], [data-ccg-glow]):hover {
        transform: translateY(-3px);
        filter: brightness(1.03);
    }

    :where([data-ccg-wow], [data-ccg-glow]):hover::after {
        opacity: 0.88;
    }
}

@media (hover: none) {
    :where([data-ccg-wow], [data-ccg-glow]) {
        transform: none !important;
    }
}

@media (min-width: 1024px) {
    html.ccg-perf-desktop :where([data-ccg-wow], [data-ccg-glow])::after {
        opacity: 0.5;
        filter: blur(6px);
    }

    html.ccg-perf-desktop :where([data-ccg-wow], [data-ccg-glow]).is-lit::after {
        opacity: 0.62;
    }
}

/* ------------------------------------------------------------
   SOFT GLOW PULSE — CTA LIVENESS (RESPECTS REDUCED MOTION)
------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {

    .ccg-btn::after {
        content: "";
        position: absolute;
        inset: 4px;
        border-radius: 10px;
        background: radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), 0.18), transparent 55%);
        opacity: 0;
        z-index: 0;
        transition: opacity 220ms ease;
        filter: blur(2px);
        pointer-events: none;
    }

    .ccg-btn:hover::after,
    .ccg-btn:focus-visible::after {
        opacity: 1;
        animation: ccgBtnPulse 2.6s ease-in-out infinite;
    }
}

@keyframes ccgBtnPulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0.22); }
    50% { box-shadow: 0 0 18px 6px rgba(var(--accent-rgb),0.28); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0.22); }
}

/* ------------------------------------------------------------
   DISABLED / INACTIVE SAFETY
------------------------------------------------------------ */

.ccg-btn[disabled],
.ccg-btn.is-disabled {
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.25);
}

/* ============================================================
   REDUCED MOTION — ACCESSIBILITY COMPLIANCE
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ccg-btn {
        transition: none;
        transform: none;
        filter: none;
    }

    .ccg-btn:hover,
    .ccg-btn:active {
        transform: none;
        filter: none;
        box-shadow:
            0 0 0 2px rgba(var(--accent-rgb), 0.45),
            0 0 12px rgba(var(--accent-rgb), 0.28);
    }

    .ccg-effect-gridlines,
    .ccg-effect-scanlines,
    .ccg-bg-particles__spark,
    .ccg-logo-bubble,
    .ccg-logo-bubble__text,
    :where([data-ccg-wow], [data-ccg-glow])::after {
        animation: none !important;
        transition-duration: 0s;
    }

    .ccg-effect-gridlines,
    .ccg-effect-scanlines,
    .ccg-bg-crt-overlay,
    .ccg-hero-scanlines,
    .home-hero__scanlines {
        opacity: 0.14;
    }

    :where([data-ccg-wow], [data-ccg-glow])::after {
        opacity: 0.3;
    }
}

@media (hover: none) and (pointer: coarse) {

    .ccg-btn {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }

    .ccg-btn::after {
        animation: none !important;
        opacity: 0 !important;
    }

    .ccg-btn:hover,
    .ccg-btn:active,
    .ccg-btn:focus-visible {
        transform: none !important;
        filter: none !important;
        box-shadow:
            0 0 0 1px rgba(var(--accent-rgb), 0.4),
            0 0 12px rgba(var(--accent-rgb), 0.24);
    }
}

/* ------------------------------------------------------------
   MOBILE — REMOVE BUTTON
------------------------------------------------------------ */

/* ===================================================
   OMEGA UI LOCK — FOCUS / TAP ARTEFACT PREVENTION
   Prevents browser blue flash regressions
   Why disabled tap highlight: browser UA tap flash creates
   blue artefacts that conflict with Omega neon glass visuals.
   Why focus-visible: preserves keyboard focus accessibility
   without restoring default browser blue outlines.
   =================================================== */

/* ============================================================
   OMEGA STABILITY LOCK: FOCUS / TAP ARTEFACT SUPPRESSION
   ------------------------------------------------------------
   Why: Prevent UA blue focus rectangles / tap highlights while
   preserving accessible keyboard focus via mode-aware neon ring.
   Do not remove: browser default blue flash and focus glow returns.
============================================================ */

:root {
    --ccg-focus-ring: rgba(var(--accent-rgb), 0.92);
    --ccg-focus-ring-halo: rgba(var(--accent-rgb), 0.34);
}

:where(a,
       button,
       input,
       select,
       textarea,
       [role="button"],
       input[type="button"],
       input[type="submit"],
       .ccg-btn,
       .nav-pill,
       .pill,
       .menu-pill,
       .floating-menu a,
       .floating-menu button,
       .ccg-nav__link,
       .ccg-nav__more-toggle,
       .ccg-nav-toggle,
       .omega-mobile-dock__btn) {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    outline: none;
    background-clip: padding-box;
    isolation: isolate;
}


:where(button,
       a,
       [role="button"]) {
    -webkit-appearance: none;
    appearance: none;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--ccg-focus-ring);
}

button:focus,
a:focus,
.ccg-btn:focus {
    box-shadow: none;
}

:where(a,
       button,
       [role="button"],
       input[type="button"],
       input[type="submit"],
       .ccg-btn,
       .nav-pill,
       .pill,
       .menu-pill,
       .floating-menu a,
       .floating-menu button,
       .ccg-nav__link,
       .ccg-nav__more-toggle,
       .ccg-nav-toggle,
       .omega-mobile-dock__btn):focus {
    outline: none;
    box-shadow: none;
}

:where(a,
       button,
       [role="button"],
       input[type="button"],
       input[type="submit"],
       .ccg-btn,
       .nav-pill,
       .pill,
       .menu-pill,
       .floating-menu a,
       .floating-menu button,
       .ccg-nav__link,
       .ccg-nav__more-toggle,
       .ccg-nav-toggle,
       .omega-mobile-dock__btn):focus-visible {
    outline: 2px solid var(--ccg-focus-ring);
    outline-offset: 3px;
    box-shadow:
        0 0 0 2px rgba(4, 8, 20, 0.88),
        0 0 0 6px var(--ccg-focus-ring-halo),
        0 0 20px rgba(var(--accent-rgb), 0.4);
}

:where(a,
       button,
       [role="button"],
       input[type="button"],
       input[type="submit"],
       .ccg-btn,
       .nav-pill,
       .pill,
       .menu-pill,
       .floating-menu a,
       .floating-menu button,
       .ccg-nav__link,
       .ccg-nav__more-toggle,
       .ccg-nav-toggle,
       .omega-mobile-dock__btn):active {
    outline: none;
}

:where(.ccg-btn,
       .ccg-nav__link,
       .ccg-nav__more-toggle,
       .ccg-nav-toggle,
       .menu-pill,
       .pill,
       .nav-pill,
       .floating-menu a,
       .floating-menu button,
       .omega-mobile-dock__btn)::before,
:where(.ccg-btn,
       .ccg-nav__link,
       .ccg-nav__more-toggle,
       .ccg-nav-toggle,
       .menu-pill,
       .pill,
       .nav-pill,
       .floating-menu a,
       .floating-menu button,
       .omega-mobile-dock__btn)::after {
    background-clip: padding-box;
    pointer-events: none;
}

/* ============================================================
   OMEGA STABILITY LOCK: SCROLL PERFORMANCE GUARDRAILS
   ------------------------------------------------------------
   Why: keep Omega effects while reducing paint churn on scroll.
============================================================ */

.ccg-hud-dock,
.ccg-nav,
.ccg-nav__bar,
.ccg-nav-drawer__panel {
    transform: translateZ(0);
}

.ccg-btn,
.ccg-nav__link,
.ccg-nav__more-toggle,
.omega-mobile-dock__btn,
.floating-menu a,
.floating-menu button {
    will-change: transform, box-shadow;
}

@media (prefers-reduced-motion: reduce) {
    :where(.ccg-nav,
           .ccg-nav__bar,
           .ccg-nav__link,
           .ccg-nav__more-toggle,
           .ccg-btn,
           .ccg-hud-dock,
           .omega-mobile-dock__btn,
           .floating-menu a,
           .floating-menu button) {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .ccg-hud-dock,
    .ccg-nav,
    .ccg-nav__bar,
    .ccg-nav-drawer__panel {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}
