/* Exploits tab — live executor status (polished) */
.exploits-tab {
    padding-bottom: 100px;
}

.exploits-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1000px);
    height: 520px;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 90% 50% at 30% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 45%),
        radial-gradient(ellipse 80% 40% at 70% 10%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
    pointer-events: none;
}


.exploits-wrap {
    max-width: 1520px;
    margin: 0 auto;
    padding: 92px 28px 0;
    position: relative;
}

.exploits-hero,
.exploits-toolbar {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

body.layout-compact.tab-exploits .exploits-wrap {
    padding-top: 76px;
}

/* —— Hero —— */
.exploits-hero {
    text-align: center;
    margin-bottom: 36px;
}

.exploits-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: var(--accent);
    margin-bottom: 14px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 59, 130, 246), 0.15) 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.06) 100%);
    border: 1px solid rgba(var(--accent-rgb, 59, 130, 246), 0.35);
    border-radius: 100px;
    box-shadow:
        0 0 28px -6px rgba(var(--accent-rgb, 59, 130, 246), 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(16px);
    animation: expBadgeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

@keyframes expBadgeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.exploits-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.96) 40%, rgba(255,255,255,0.88) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 14px;
    letter-spacing: -2.5px;
    line-height: 1.05;
    opacity: 0;
    transform: translateY(20px);
    animation: expHeroTitle 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes expHeroTitle {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.exploits-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    opacity: 0;
    transform: translateY(12px);
    animation: expHeroSub 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes expHeroSub {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* —— Toolbar —— */
.exploits-toolbar {
    position: relative;
    z-index: 24;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow:
        0 4px 24px -8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(8px);
    animation: expToolbarIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes expToolbarIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.exploits-toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Inline filters UI */
.exploits-filters-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.exploits-filter-quick {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exploits-filter-pill {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.exploits-filter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.exploits-filter-pill.active {
    background: rgba(var(--accent-rgb, 59, 130, 246), 0.2);
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.45);
    color: #bfdbfe;
}

.exploits-filter-more-wrap {
    position: relative;
}

.exploits-filter-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.exploits-filter-more-btn:hover,
.exploits-filter-more-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
}

.exploits-filter-more-btn.exploits-filter-trigger--has-active {
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.35);
    background: rgba(var(--accent-rgb, 59, 130, 246), 0.1);
    color: #bfdbfe;
}

.exploits-filter-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: min(700px, calc(100vw - 120px));
    padding: 16px;
    background:
        linear-gradient(165deg, rgba(20, 20, 26, 0.98) 0%, rgba(10, 10, 14, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow:
        0 34px 64px -16px rgba(0, 0, 0, 0.72),
        0 0 34px -20px rgba(var(--accent-rgb, 59, 130, 246), 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transform-origin: top left;
    transition:
        opacity 0.24s ease,
        transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1),
        visibility 0s linear 0.32s;
}

.exploits-filter-panel-wrap--open .exploits-filter-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.24s ease,
        transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1),
        visibility 0s linear 0s;
}

.exploits-filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.exploits-filter-panel-title {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.exploits-filter-reset {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 9px;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.exploits-filter-reset:hover {
    color: #fff;
    background: rgba(var(--accent-rgb, 59, 130, 246), 0.16);
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.4);
    transform: translateY(-1px);
}

.exploits-filter-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.exploits-filter-group {
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 95%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.exploits-filter-panel-wrap--open .exploits-filter-group {
    opacity: 1;
    transform: translateY(0);
}

.exploits-filter-panel-wrap--open .exploits-filter-group:nth-child(1) { transition-delay: 0.03s; }
.exploits-filter-panel-wrap--open .exploits-filter-group:nth-child(2) { transition-delay: 0.07s; }

.exploits-filter-group-label {
    margin: 0 0 8px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.64);
}

.exploits-filter-group-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exploits-filter-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.exploits-filter-option:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.exploits-filter-option:active {
    transform: scale(0.98);
}

.exploits-filter-option.active {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.52);
    background: linear-gradient(145deg, rgba(var(--accent-rgb, 59, 130, 246), 0.28) 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.12) 100%);
    box-shadow: 0 8px 16px -10px rgba(var(--accent-rgb, 59, 130, 246), 0.65);
}

.exploits-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.exploits-last-fetch {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}

.exploits-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid rgba(var(--accent-rgb, 59, 130, 246), 0.4);
    background: linear-gradient(180deg, rgba(var(--accent-rgb, 59, 130, 246), 0.2) 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.08) 100%);
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.25s var(--ease-snap), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.exploits-refresh-btn:hover:not(:disabled) {
    background: linear-gradient(180deg, rgba(var(--accent-rgb, 59, 130, 246), 0.35) 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.18) 100%);
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -8px rgba(var(--accent-rgb, 59, 130, 246), 0.4);
}

.exploits-refresh-btn:active:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -8px rgba(var(--accent-rgb, 59, 130, 246), 0.3);
}

.exploits-refresh-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.exploits-refresh-btn:focus-visible,
.exploits-retry-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 59, 130, 246), 0.5);
}

.exploits-refresh-btn.exploits-refresh-spin i {
    animation: expSpin 0.7s linear infinite;
}

@keyframes expSpin {
    to { transform: rotate(360deg); }
}

/* —— Loading —— */
.exploits-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 340px;
    padding: 56px;
    opacity: 0;
    animation: expFadeIn 0.5s ease 0.15s forwards;
}

@keyframes expFadeIn {
    to { opacity: 1; }
}

.exploits-loading-pulse {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, rgba(var(--accent-rgb, 59, 130, 246), 0.55), rgba(var(--accent-rgb, 59, 130, 246), 0.12));
    animation: expPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow:
        0 0 48px -6px rgba(var(--accent-rgb, 59, 130, 246), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@keyframes expPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.92; }
    50% { transform: scale(1.08); opacity: 1; }
}

.exploits-loading p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    letter-spacing: 0.2px;
}

/* —— Error —— */
.exploits-error {
    text-align: center;
    padding: 56px 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    max-width: 440px;
    margin: 0 auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(12px);
    animation: expErrorIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes expErrorIn {
    to { opacity: 1; transform: translateY(0); }
}

.exploits-error-icon {
    font-size: 2.75rem;
    color: #f59e0b;
    margin-bottom: 20px;
    opacity: 0.9;
}

.exploits-error h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: white;
    margin: 0 0 10px;
}

.exploits-error p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0 0 28px;
    line-height: 1.5;
}

.exploits-retry-btn {
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid rgba(var(--accent-rgb, 59, 130, 246), 0.5);
    background: linear-gradient(180deg, rgba(var(--accent-rgb, 59, 130, 246), 0.22) 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.1) 100%);
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.25s var(--ease-snap), background 0.25s, box-shadow 0.25s;
}

.exploits-retry-btn:hover {
    background: linear-gradient(180deg, rgba(var(--accent-rgb, 59, 130, 246), 0.35) 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.18) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -8px rgba(var(--accent-rgb, 59, 130, 246), 0.4);
}

.exploits-empty {
    text-align: center;
    padding: 52px 32px;
    max-width: 460px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.exploits-empty p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.exploits-empty code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

/* —— Grid —— */
.exploits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

/* —— Cards —— */
@property --exploit-border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@property --exploit-overlay-border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.exploit-card {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    overflow: visible;
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    animation: expCardIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.01) 100%);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.exploit-card--expanded {
    z-index: 50;
}

.exploit-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.exploit-card:focus-within {
    outline: none;
}

@keyframes expCardIn {
    from { opacity: 0; transform: translateY(28px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.exploit-card::before {
    content: '';
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 24px;
    padding: 4px;
    background: conic-gradient(
        from var(--exploit-border-angle) at 50% 50%,
        #1e3a8a 0deg,
        #1e40af 45deg,
        #2563eb 90deg,
        #3b82f6 135deg,
        #60a5fa 180deg,
        #93c5fd 225deg,
        #bfdbfe 270deg,
        #eff6ff 315deg,
        #1e3a8a 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.exploit-card:hover::before,
.exploit-card:focus-within::before {
    opacity: 1;
    animation: exploitBorderFlow 5s linear infinite;
}

.exploit-card::after {
    content: '';
    position: absolute;
    inset: -8px;
    z-index: -2;
    border-radius: 28px;
    background: radial-gradient(
        ellipse at center,
        rgba(59, 130, 246, 0.25) 0%,
        rgba(59, 130, 246, 0.08) 40%,
        transparent 70%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.exploit-card:hover::after,
.exploit-card:focus-within::after {
    opacity: 1;
    animation: exploitGlowPulse 2.5s ease-in-out infinite;
}

@keyframes exploitBorderFlow {
    to { --exploit-border-angle: 360deg; }
}

@keyframes exploitGlowPulse {
    0%, 100% { opacity: 0.5; filter: blur(12px); }
    50% { opacity: 1; filter: blur(16px); }
}

.exploit-card-inner {
    position: relative;
    z-index: 1;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    cursor: pointer;
    border-radius: 18px;
    transition: background 0.2s ease;
}

.exploit-card-inner:active {
    background: rgba(255, 255, 255, 0.01);
}

.exploit-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.exploit-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.exploit-card:hover .exploit-card-icon-wrap {
    transform: scale(1.06);
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    background: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.exploit-card-icon {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
}

.exploit-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.exploit-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 2px;
    line-height: 1.4;
    letter-spacing: -0.3px;
    transition: color 0.2s;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.exploit-card:hover .exploit-card-title {
    color: rgba(255, 255, 255, 0.98);
}

.exploit-card-version {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.exploit-card-expand-icon {
    flex-shrink: 0;
    margin-left: 10px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.7rem;
    transition: transform 0.3s var(--ease-snap), color 0.2s, background 0.2s;
}

.exploit-card-expand-icon:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.exploit-card--expanded .exploit-card-expand-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.exploit-card-platform {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.exploit-card-platform i {
    font-size: 0.8rem;
    opacity: 0.9;
}

#exploitsOverlayPortal {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
}

#exploitsOverlayPortal .exploit-card-details {
    pointer-events: auto;
}

.exploit-card-details {
    position: fixed;
    z-index: 9999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0.4) translateY(-16px);
    transform-origin: top center;
    transition:
        opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s 0.5s;
}

.exploit-card-details--open,
.exploit-card--expanded .exploit-card-details {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1) translateY(0);
    overflow: visible;
    transition:
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s;
    padding: 20px 22px;
    background: linear-gradient(180deg, rgba(18, 18, 24, 0.985) 0%, rgba(14, 14, 20, 0.98) 40%, rgba(10, 10, 16, 0.99) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    box-shadow:
        0 32px 64px -16px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.exploit-card-details--open::before,
.exploit-card--expanded .exploit-card-details::before {
    content: '';
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 20px;
    padding: 4px;
    background: conic-gradient(
        from var(--exploit-overlay-border-angle) at 50% 50%,
        #3b0764 0deg,
        #4c1d95 45deg,
        #5b21b6 90deg,
        #6d28d9 135deg,
        #7c3aed 180deg,
        #8b5cf6 225deg,
        #a78bfa 270deg,
        #c4b5fd 315deg,
        #3b0764 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: exploitOverlayBorderFlow 5s linear infinite;
}

.exploit-card-details--open::after,
.exploit-card--expanded .exploit-card-details::after {
    content: '';
    position: absolute;
    inset: -8px;
    z-index: -2;
    border-radius: 24px;
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.25) 0%,
        rgba(139, 92, 246, 0.08) 40%,
        transparent 70%
    );
    pointer-events: none;
    animation: exploitOverlayGlowPulse 2.5s ease-in-out infinite;
}

@keyframes exploitOverlayBorderFlow {
    to { --exploit-overlay-border-angle: 360deg; }
}

@keyframes exploitOverlayGlowPulse {
    0%, 100% { opacity: 0.5; filter: blur(12px); }
    50% { opacity: 1; filter: blur(16px); }
}

.exploit-card-details-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 360px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.exploit-card-details--open .exploit-card-details-inner,
.exploit-card--expanded .exploit-card-details .exploit-card-details-inner {
    opacity: 1;
    transform: translateY(0);
}

.exploit-card-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.exploit-card-status i {
    font-size: 0.74rem;
}

.exploit-card-status--updated {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.17);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 14px -8px rgba(16, 185, 129, 0.65);
}

.exploit-card-status--stale {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.42);
    box-shadow: 0 0 14px -8px rgba(239, 68, 68, 0.65);
}

.exploit-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.exploit-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.exploit-meta-item i {
    font-size: 0.7rem;
    opacity: 0.9;
}

.exploit-meta-cost {
    color: #c4b5fd;
}

.exploit-card-access {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.exploit-card-access i {
    font-size: 0.78rem;
}

.exploit-card-access--keyless {
    color: #bfdbfe;
    background: rgba(var(--accent-rgb, 59, 130, 246), 0.14);
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.38);
}

.exploit-card-access--has-key {
    color: #d8b4fe;
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(139, 92, 246, 0.38);
}

/* Features list: label + Yes/No with check or X */
.exploit-card-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.exploit-features-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.exploit-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.85rem;
    min-height: 28px;
}

.exploit-feature-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.exploit-feature-label {
    color: rgba(255, 255, 255, 0.85);
}

.exploit-feature-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    flex-shrink: 0;
}

.exploit-feature-value--yes {
    color: #34d399;
}

.exploit-feature-value--yes i {
    font-size: 0.75rem;
}

.exploit-feature-value--no {
    color: rgba(255, 255, 255, 0.35);
}

.exploit-feature-value--no i {
    font-size: 0.7rem;
}

.exploit-feature-row--score {
    padding: 8px 0 4px;
}

.exploit-feature-value--score {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'JetBrains Mono', monospace;
}

.exploit-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(221, 214, 254, 0.96);
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.34);
    border-radius: 10px;
}

.exploit-disclaimer i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.88rem;
    opacity: 0.95;
}

.exploit-card-updated {
    font-size: 0.72rem;
    color: var(--text-secondary);
    opacity: 0.9;
    line-height: 1.4;
}

.exploit-card-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.exploit-link {
    position: relative;
    min-width: 128px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 85%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.26s var(--ease-snap), background 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.exploit-link::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 45%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 0.55s var(--ease-snap);
    pointer-events: none;
}

.exploit-link:hover::before {
    transform: translateX(120%);
}

.exploit-link-icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.09);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.exploit-link-label {
    white-space: nowrap;
    line-height: 1;
}

.exploit-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.52);
}

.exploit-link:active {
    transform: translateY(0);
}

.exploit-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 59, 130, 246), 0.5);
}

.exploit-link--web {
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.35);
    background: linear-gradient(150deg, rgba(var(--accent-rgb, 59, 130, 246), 0.2) 0%, rgba(var(--accent-rgb, 59, 130, 246), 0.06) 90%);
}

.exploit-link--web:hover {
    border-color: rgba(var(--accent-rgb, 59, 130, 246), 0.58);
    color: #bfdbfe;
    box-shadow:
        0 12px 26px -10px rgba(0, 0, 0, 0.52),
        0 0 20px -10px rgba(var(--accent-rgb, 59, 130, 246), 0.7);
}

.exploit-link--discord:hover {
    border-color: rgba(88, 101, 242, 0.6);
    color: #c7d2fe;
    background: linear-gradient(150deg, rgba(88, 101, 242, 0.22) 0%, rgba(88, 101, 242, 0.08) 90%);
    box-shadow:
        0 12px 26px -10px rgba(0, 0, 0, 0.52),
        0 0 20px -10px rgba(88, 101, 242, 0.65);
}

.exploit-link--discord {
    border-color: rgba(88, 101, 242, 0.38);
    background: linear-gradient(150deg, rgba(88, 101, 242, 0.18) 0%, rgba(88, 101, 242, 0.04) 90%);
}

.exploit-link--purchase:hover {
    border-color: rgba(16, 185, 129, 0.6);
    color: #34d399;
    background: linear-gradient(150deg, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.08) 90%);
    box-shadow:
        0 12px 26px -10px rgba(0, 0, 0, 0.52),
        0 0 20px -10px rgba(16, 185, 129, 0.6);
}

.exploit-link--purchase {
    border-color: rgba(16, 185, 129, 0.36);
    background: linear-gradient(150deg, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0.03) 90%);
}

/* Credit footer */
.exploits-credit {
    text-align: center;
    margin-top: 56px;
    margin-bottom: 0;
    padding-top: 28px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.85;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.exploits-credit a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.exploits-credit a:hover {
    opacity: 0.95;
}

@media (max-width: 1100px) {
    .exploits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .exploits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .exploits-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .exploits-toolbar-left {
        flex-direction: column;
        align-items: stretch;
    }
    .exploits-actions {
        justify-content: space-between;
    }
    .exploits-filter-more-btn {
        width: 100%;
    }
    .exploits-filter-panel {
        width: min(560px, calc(100vw - 56px));
    }
    .exploits-filter-groups {
        grid-template-columns: 1fr;
    }
    .exploits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .exploit-card-inner {
        padding: 22px 20px;
    }
    .exploit-card-features {
        padding: 12px 14px;
    }
    .exploit-feature-row {
        padding: 5px 0;
    }
    .exploit-card-links {
        width: 100%;
    }
    .exploit-link {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .exploits-grid {
        grid-template-columns: 1fr;
    }
    .exploit-card-header {
        flex-wrap: wrap;
    }
    .exploit-card-status {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
    .exploits-filter-panel {
        width: calc(100vw - 36px);
    }
    .exploit-card-expand-icon {
        margin-left: auto;
    }
    .exploit-link {
        flex-basis: 100%;
    }
}
