/* ===================================
   LIQUID GLASS DESIGN SYSTEM
   SCH Brand Colors: Purple, Cyan, Gold on ultra-dark background
   =================================== */

:root {
    --glass-bg: 260 87% 3%;
    --glass-fg: 40 6% 95%;
    --glass-primary: 270 80% 62%;            /* SCH Purple — buttons, CTAs, active states */
    --glass-primary-fg: 0 0% 100%;           /* White text on purple background */
    --glass-accent: 185 100% 64%;            /* SCH Cyan/Light-Blue — highlights, numbers, links */
    --glass-gold: 43 96% 56%;               /* SCH Gold — premium badges, special accents */
    --glass-secondary: 240 4% 16%;
    --glass-border: 240 4% 20%;
    --glass-heading: 40 10% 96%;
    --glass-sub: 40 6% 82%;
    --glass-card: 240 6% 9%;
    --glass-muted: 240 4% 16%;
    --glass-muted-fg: 240 5% 65%;
    --glass-radius: 0.75rem;
}

/* --- Liquid glass border utility --- */
.liquid-glass {
    background: rgba(255, 255, 255, 0.03);
    background-blend-mode: luminosity;
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.12),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1),
        0 4px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.08) 30%,
        rgba(255,255,255,0.0) 50%,
        rgba(255,255,255,0.05) 70%,
        rgba(255,255,255,0.15) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* --- Glass card component --- */
.glass-card {
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.2) 0%,
        rgba(255,255,255,0.06) 30%,
        rgba(255,255,255,0) 50%,
        rgba(255,255,255,0.04) 70%,
        rgba(255,255,255,0.12) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 12px 48px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* --- Glass pill badge --- */
.glass-pill {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.3rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

/* --- Cyan live dot indicator --- */
.glass-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: hsl(var(--glass-accent));
    flex-shrink: 0;
    box-shadow: 0 0 6px hsl(var(--glass-accent) / 0.5);
    animation: glassPulse 2s ease-in-out infinite;
}
@keyframes glassPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px hsl(var(--glass-accent) / 0.5); transform: scale(1); }
    50%       { opacity: 0.5; box-shadow: 0 0 12px hsl(var(--glass-accent) / 0.8); transform: scale(1.15); }
}
/* Keep old name as alias */
@keyframes glassDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px hsl(var(--glass-accent) / 0.5); }
    50%       { opacity: 0.5; box-shadow: 0 0 12px hsl(var(--glass-accent) / 0.8); }
}

/* --- Glass CTA button — primary (purple) --- */
.glass-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.875rem;
    background: hsl(var(--glass-primary));
    color: hsl(var(--glass-primary-fg));
    font-weight: 700;
    font-size: 1rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px hsl(var(--glass-primary) / 0.35);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.glass-btn-primary:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px hsl(var(--glass-primary) / 0.45);
    color: hsl(var(--glass-primary-fg));
}
.glass-btn-primary svg {
    transition: transform 0.2s ease;
}
.glass-btn-primary:hover svg {
    transform: translateX(3px);
}

/* --- Glass CTA button — secondary --- */
.glass-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.875rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: hsl(var(--glass-fg));
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.glass-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: hsl(var(--glass-fg));
}

/* --- Glass divider --- */
.glass-divider {
    border: none;
    border-top: 1px solid hsl(var(--glass-border) / 0.5);
    margin: 0;
}

/* --- Typography helpers --- */
.glass-heading {
    color: hsl(var(--glass-heading)) !important;
    -webkit-text-fill-color: hsl(var(--glass-heading)) !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
}
.glass-sub {
    color: hsl(var(--glass-sub)) !important;
    -webkit-text-fill-color: hsl(var(--glass-sub)) !important;
    font-size: 1rem;
    line-height: 1.7;
}
.glass-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(240 5% 55%) !important;
}

/* --- CTA wrapper → premium glass card with strong glow --- */
.hacks-cta-glass-wrapper {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 2rem !important;
    padding: 5rem 3rem !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 16px 64px rgba(0, 0, 0, 0.3) !important;
}
.hacks-cta-glass-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 80%;
    background: radial-gradient(ellipse, hsl(var(--glass-primary) / 0.07) 0%, transparent 70%) !important;
    pointer-events: none;
    z-index: 0;
    inset: auto;
    border-radius: 0;
    padding: 0;
}
.hacks-cta-glass-wrapper::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, hsl(var(--glass-primary) / 0.04) 0%, transparent 70%) !important;
    pointer-events: none;
    z-index: 0;
}

/* --- Glass stat card — floating glow panels --- */
.glass-stat-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 2px solid hsl(var(--glass-accent) / 0.4);
    border-radius: 1.25rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-stat-card:hover {
    border-top-color: hsl(var(--glass-accent) / 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 20px hsl(var(--glass-accent) / 0.08);
    transform: translateY(-4px);
}

/* --- Glass section atmosphere wrapper --- */
.glass-section {
    position: relative;
    isolation: isolate;
}
.glass-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, hsl(var(--glass-primary) / 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.glass-section > * {
    position: relative;
    z-index: 1;
}

/* --- Scroll reveal animations --- */
@media (prefers-reduced-motion: no-preference) {
    .glass-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .glass-reveal.glass-visible {
        opacity: 1;
        transform: translateY(0);
    }
    .glass-reveal-stagger > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .glass-reveal-stagger.glass-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
    .glass-reveal-stagger.glass-visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
    .glass-reveal-stagger.glass-visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
    .glass-reveal-stagger.glass-visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
    .glass-reveal-stagger.glass-visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
    .glass-reveal-stagger.glass-visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
    .glass-reveal-stagger.glass-visible > *:nth-child(n+7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
}
/* When reduced motion preferred, show immediately */
@media (prefers-reduced-motion: reduce) {
    .glass-reveal,
    .glass-reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =================================== END LIQUID GLASS DESIGN SYSTEM === */

/* ===================================
   Hacks Dashboard CSS
   Web3 Exploits Intelligence Dashboard
   Design: Matches main site design language
   (purple/cyan accents, glass morphism, gradient orbs)
   Last updated: February 8, 2026
   =================================== */

/* ===================================
   PAGE WRAPPER
   Uses main site --dark-bg as base
   =================================== */

.hacks-page {
    background: var(--dark-bg);
    min-height: 100vh;
    position: relative;
}

/* Section Divider */
.hacks-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(168, 85, 247, 0.25) 15%,
        rgba(69, 244, 255, 0.3) 50%,
        rgba(168, 85, 247, 0.25) 85%,
        transparent 100%
    );
    margin: 0;
}

/* ===================================
   HERO SECTION
   Gradient orbs + grid pattern
   =================================== */

.hacks-hero {
    position: relative;
    padding: 5rem 2rem 2.5rem;
    text-align: center;
    overflow: hidden;
    background: var(--darker-bg);
}

/* Gradient orbs - matching main site hero */
.hacks-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: hacksOrbFloat1 20s ease-in-out infinite;
    pointer-events: none;
}

.hacks-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(69, 244, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: hacksOrbFloat2 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hacksOrbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes hacksOrbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.08); }
}

/* Subtle grid pattern overlay using site accent colors */
.hacks-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: hacksGridDrift 30s linear infinite;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

@keyframes hacksGridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hacks-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================
   HERO BADGE
   Matches main site .hero-badge style
   =================================== */

.hacks-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-primary-strong);
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: hacksFadeInUp 0.8s ease 0.1s forwards;
}

.hacks-hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
    animation: hacksBadgePulse 2s ease-in-out infinite;
}

@keyframes hacksBadgePulse {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 rgba(168, 85, 247, 0.4)); }
    50% { opacity: 0.7; filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0)); }
}

/* ===================================
   HERO TITLE
   Matches .hero-title / .hero-title-accent
   =================================== */

.hacks-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    opacity: 0;
    animation: hacksFadeInUp 0.8s ease 0.2s forwards;
}

.hacks-title-accent {
    background-image: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ===================================
   HERO SUBTITLE
   Matches .hero-subtitle
   =================================== */

.hacks-hero-subtitle,
.hacks-hero .hero-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin: 1.5rem auto 0;
    max-width: 680px;
    opacity: 0;
    animation: hacksFadeInUp 0.8s ease 0.35s forwards;
}

/* ===================================
   HERO ANIMATION KEYFRAMES
   =================================== */

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

/* ===================================
   HERO STATS ROW
   Glass morphism stat cards matching
   main site card style
   =================================== */

.hacks-stats-row {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: hacksFadeInUp 0.8s ease 0.5s forwards;
    margin-bottom: 0.5rem;
}

.hacks-stat,
.hacks-stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 175px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hacks-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    background: var(--accent-primary-soft);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    color: var(--accent-primary-strong);
    transition: all 0.3s ease;
}

.hacks-stat-icon svg {
    width: 20px;
    height: 20px;
}

.hacks-stat-card:hover .hacks-stat-icon {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.2);
}

/* Top edge glow on hover - purple accent */
.hacks-stat::before,
.hacks-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hacks-stat:hover,
.hacks-stat-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(69, 244, 255, 0.08);
}

.hacks-stat:hover::before,
.hacks-stat-card:hover::before {
    opacity: 1;
}

.hacks-stat-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    background-image: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hacks-stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* ===================================
   MAIN CONTENT AREA
   =================================== */

.hacks-content {
    padding: 0 2rem 6rem;
    background: var(--dark-bg);
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Transition glow from hero to content */
.hacks-content::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ===================================
   TOOLBAR / FILTERS
   Glass morphism sticky toolbar
   =================================== */

.hacks-toolbar {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: rgba(18, 18, 28, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 1px 0 rgba(168, 85, 247, 0.08) inset;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hacks-toolbar:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(168, 85, 247, 0.15),
        0 1px 0 rgba(168, 85, 247, 0.1) inset;
    border-color: rgba(168, 85, 247, 0.2);
}

.hacks-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hacks-filters {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    align-items: end;
}

.hacks-filters > .hacks-search-wrapper {
    grid-column: 1 / -1;
}

.hacks-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

/* Filter labels above each control */
.hacks-filter-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0.8;
    padding-left: 0.15rem;
    line-height: 1;
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Search wrapper with icon */
.hacks-search-wrapper {
    position: relative;
}

.hacks-search-icon {
    position: absolute;
    left: 0.85rem;
    bottom: 12px;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 1;
}

.hacks-search-wrapper .hacks-search-input {
    padding-left: 2.5rem;
}

.hacks-search-input:focus ~ .hacks-search-icon,
.hacks-search-wrapper:focus-within .hacks-search-icon {
    color: var(--accent-primary-strong);
}

/* Search input */
.hacks-search-input {
    width: 100%;
    height: 40px;
    padding: 0 1rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.hacks-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.hacks-search-input:focus {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.14), 0 0 16px rgba(168, 85, 247, 0.1);
    background: rgba(30, 30, 50, 0.95);
}

/* Select dropdowns */
.hacks-select {
    width: 100%;
    height: 40px;
    padding: 0 2.25rem 0 0.85rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.hacks-select:focus {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.hacks-select:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.hacks-select option {
    background: var(--darker-bg);
    color: var(--text-primary);
}

/* ===================================
   MULTI-SELECT DROPDOWN
   =================================== */

.hacks-multiselect {
    position: relative;
    width: 100%;
}

.hacks-multiselect-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 0.75rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    text-align: left;
    gap: 0.5rem;
    box-sizing: border-box;
}

.hacks-multiselect-toggle:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.hacks-multiselect-toggle:focus,
.hacks-multiselect.open .hacks-multiselect-toggle {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.hacks-multiselect-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.hacks-multiselect-arrow {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.hacks-multiselect.open .hacks-multiselect-arrow {
    transform: rotate(180deg);
}

.hacks-multiselect-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    min-width: 220px;
    max-height: 320px;
    background: rgba(20, 20, 38, 0.98);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 10px;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    flex-direction: column;
}

.hacks-multiselect.open .hacks-multiselect-dropdown {
    display: flex;
}

.hacks-multiselect-search-wrap {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hacks-multiselect-search {
    width: 100%;
    height: 32px;
    padding: 0 0.6rem;
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    outline: none;
    box-sizing: border-box;
}

.hacks-multiselect-search:focus {
    border-color: rgba(168, 85, 247, 0.4);
}

.hacks-multiselect-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hacks-multiselect-select-all,
.hacks-multiselect-deselect-all {
    flex: 1;
    padding: 0.3rem 0.5rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 6px;
    color: rgba(168, 85, 247, 0.9);
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.hacks-multiselect-select-all:hover,
.hacks-multiselect-deselect-all:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
}

.hacks-multiselect-options {
    overflow-y: auto;
    max-height: 260px;
    padding: 0.35rem 0;
}

.hacks-multiselect-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    transition: background 0.15s ease;
    font-size: 0.82rem;
    color: var(--text-primary);
    user-select: none;
}

.hacks-multiselect-option:hover {
    background: rgba(168, 85, 247, 0.1);
}

.hacks-multiselect-option input[type="checkbox"] {
    display: none;
}

.hacks-multiselect-check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(148, 163, 184, 0.4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    background: transparent;
}

.hacks-multiselect-option input[type="checkbox"]:checked + .hacks-multiselect-check {
    background: rgba(168, 85, 247, 0.8);
    border-color: rgba(168, 85, 247, 0.8);
}

.hacks-multiselect-option input[type="checkbox"]:checked + .hacks-multiselect-check::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -1px;
}

.hacks-multiselect-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.hacks-multiselect-option.hidden {
    display: none;
}

.hacks-multiselect-option--divider {
    margin-top: 0.25rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hacks-multiselect-option--divider .hacks-multiselect-label {
    font-style: italic;
    opacity: 0.75;
}

/* Scrollbar styling for dropdown */
.hacks-multiselect-options::-webkit-scrollbar {
    width: 6px;
}
.hacks-multiselect-options::-webkit-scrollbar-track {
    background: transparent;
}
.hacks-multiselect-options::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}
.hacks-multiselect-options::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.3);
}

/* Toolbar bottom row: results count + clear button on same line */
.hacks-toolbar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Results count badge */
.hacks-results-count {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    background: var(--accent-primary-soft);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    display: inline-block;
}

.hacks-results-count span {
    color: var(--accent-primary-strong);
    font-weight: 700;
}

/* Reset / Clear Filters button */
.hacks-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: transparent;
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 2rem;
    color: rgba(248, 113, 113, 0.9);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    flex-shrink: 0;
}

.hacks-reset-btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.hacks-reset-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.5);
    color: #f87171;
}

.hacks-reset-btn:focus-visible {
    outline: 2px solid rgba(220, 38, 38, 0.5);
    outline-offset: 2px;
}

/* Visible state - toggled by JS when any filter is active */
.hacks-reset-btn.hacks-reset--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Wider container for database section (reduces horizontal table scroll) */
.hacks-database-section .container {
    max-width: 1600px;
}
.hacks-database-section .section-header,
.hacks-attack-classes-section .section-header,
.hacks-seo-section .section-header,
.hacks-cta-section .section-header {
    text-align: center;
}

.hacks-database-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hacks-attack-classes-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hacks-seo-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hacks-cta-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}


/* ===================================
   DATA TABLE
   Premium dashboard table —
   Inspired by Linear / Vercel / Stripe
   =================================== */

.hacks-table-wrapper {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 15, 24, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.03) inset,
        0 4px 24px rgba(0, 0, 0, 0.25);
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.15) transparent;
}

.hacks-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.hacks-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.hacks-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.18);
    border-radius: 3px;
}

.hacks-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.3);
}

.hacks-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
    table-layout: fixed;
}

/* ---- Table header ---- */
.hacks-table thead {
    position: sticky;
    top: 0;
    z-index: 5;
}

/* Subtle separator line under header — single pixel, no glow */
.hacks-table thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 6;
    pointer-events: none;
}

.hacks-th {
    padding: 0.875rem 1.15rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: rgba(15, 15, 24, 0.95);
    border-bottom: none;
    text-align: left;
    white-space: nowrap;
    user-select: none;
    cursor: default;
    transition: color 0.2s ease;
    position: relative;
}

.hacks-th:first-child {
    border-top-left-radius: 13px;
}

.hacks-th:last-child {
    border-top-right-radius: 13px;
}

/* Non-sortable headers don't change on hover */
.hacks-th:hover {
    color: var(--text-muted);
    background: rgba(15, 15, 24, 0.95);
}

/* ---- Sortable column headers ---- */
.hacks-th--sortable {
    cursor: pointer;
    padding-right: 2rem;
    position: relative;
    transition: color 0.2s ease;
}

.hacks-th--sortable:hover {
    color: var(--text-secondary);
    background: rgba(15, 15, 24, 0.95);
}

/* Sort chevron indicator — clean SVG-style via CSS */
.hacks-th--sortable::after {
    content: '⌃';
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.12);
    transition: color 0.2s ease, transform 0.25s ease;
    line-height: 1;
}

.hacks-th--sortable:hover::after {
    color: rgba(255, 255, 255, 0.25);
}

.hacks-th--sortable.hacks-th--asc::after {
    transform: translateY(-50%) rotate(0deg);
    color: var(--accent-secondary);
}

.hacks-th--sortable.hacks-th--desc::after {
    transform: translateY(-50%) rotate(180deg);
    color: var(--accent-secondary);
}

/* Active sorted column — subtle highlight */
.hacks-th--sortable.hacks-th--asc,
.hacks-th--sortable.hacks-th--desc {
    color: var(--text-secondary);
}

/* ---- Table rows ---- */
.hacks-row {
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.hacks-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.012);
}

.hacks-row:nth-child(odd) {
    background: transparent;
}

.hacks-row:hover {
    background: rgba(168, 85, 247, 0.04);
}

.hacks-row:last-child {
    border-bottom: none;
}

.hacks-row:last-child .hacks-td:first-child {
    border-bottom-left-radius: 13px;
}

.hacks-row:last-child .hacks-td:last-child {
    border-bottom-right-radius: 13px;
}

/* ---- Table cells ---- */
.hacks-td {
    padding: 1rem 1.15rem;
    color: var(--text-secondary);
    vertical-align: middle;
    font-family: var(--font-primary);
    white-space: nowrap;
}

/* Links column: allow overflow for dropdown */
.hacks-td-links {
    overflow: visible !important;
}

/* ---- Project name ---- */
.hacks-td-name {
    font-weight: 600;
    color: var(--text-primary);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

.hacks-project-name {
    color: var(--text-primary);
    transition: color 0.15s ease;
}

a.hacks-project-link {
    text-decoration: none;
}

a.hacks-project-link:hover {
    color: var(--accent, #00d4ff);
    text-decoration: underline;
}

.hacks-row:hover .hacks-project-name {
    color: #fff;
}

/* ---- Date column ---- */
.hacks-td-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.7);
}

.hacks-date {
    color: inherit;
}

/* ---- Amount column — refined severity palette ---- */
.hacks-amount {
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.hacks-amount--critical {
    color: #f87171;
    text-shadow: 0 0 18px rgba(248, 113, 113, 0.2);
}

.hacks-amount--high {
    color: #fb923c;
    text-shadow: 0 0 14px rgba(251, 146, 60, 0.15);
}

.hacks-amount--medium {
    color: #fbbf24;
}

.hacks-amount--low {
    color: var(--text-secondary);
}

.hacks-amount--unknown {
    color: var(--text-muted);
    font-weight: 400;
    opacity: 0.4;
}

/* ---- Chain badge — refined pill ---- */
.hacks-chain-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
    background: rgba(168, 85, 247, 0.08);
    color: rgba(192, 132, 252, 0.9);
    border: 1px solid rgba(168, 85, 247, 0.15);
    white-space: nowrap;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.hacks-chain-badge:hover {
    background: rgba(168, 85, 247, 0.14);
    border-color: rgba(168, 85, 247, 0.3);
}

/* Custom CSS tooltip for multi-chain badges */
.hacks-chain-badge[data-tooltip] {
    cursor: help;
    position: relative;
}

.hacks-chain-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    padding: 0.45rem 0.75rem;
    background: rgba(15, 15, 24, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    color: rgba(192, 132, 252, 0.95);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 20;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hacks-chain-badge[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.hacks-chain-unknown {
    background: rgba(148, 163, 184, 0.05);
    color: var(--text-muted);
    border-color: rgba(148, 163, 184, 0.08);
}

/* Chain-specific badge colors */
.hacks-chain-badge[data-chain*="ethereum"] {
    background: rgba(98, 126, 234, 0.12);
    color: rgba(149, 170, 247, 0.95);
    border-color: rgba(98, 126, 234, 0.25);
}
.hacks-chain-badge[data-chain*="solana"] {
    background: rgba(20, 241, 149, 0.08);
    color: rgba(60, 220, 130, 0.95);
    border-color: rgba(20, 241, 149, 0.2);
}
.hacks-chain-badge[data-chain*="base"] {
    background: rgba(0, 82, 255, 0.1);
    color: rgba(77, 138, 255, 0.95);
    border-color: rgba(0, 82, 255, 0.2);
}
.hacks-chain-badge[data-chain*="bnb"],
.hacks-chain-badge[data-chain*="bsc"],
.hacks-chain-badge[data-chain*="binance"] {
    background: rgba(240, 185, 11, 0.08);
    color: rgba(240, 185, 11, 0.95);
    border-color: rgba(240, 185, 11, 0.2);
}
.hacks-chain-badge[data-chain*="arbitrum"] {
    background: rgba(40, 160, 240, 0.1);
    color: rgba(100, 190, 255, 0.95);
    border-color: rgba(40, 160, 240, 0.2);
}
.hacks-chain-badge[data-chain*="polygon"],
.hacks-chain-badge[data-chain*="matic"] {
    background: rgba(130, 71, 229, 0.1);
    color: rgba(175, 120, 255, 0.95);
    border-color: rgba(130, 71, 229, 0.2);
}
.hacks-chain-badge[data-chain*="avalanche"],
.hacks-chain-badge[data-chain*="avax"] {
    background: rgba(232, 65, 66, 0.1);
    color: rgba(255, 110, 110, 0.95);
    border-color: rgba(232, 65, 66, 0.2);
}
.hacks-chain-badge[data-chain*="optimism"] {
    background: rgba(255, 4, 32, 0.08);
    color: rgba(255, 100, 100, 0.95);
    border-color: rgba(255, 4, 32, 0.2);
}
.hacks-chain-badge[data-chain*="stellar"] {
    background: rgba(60, 180, 240, 0.1);
    color: rgba(100, 200, 255, 0.95);
    border-color: rgba(60, 180, 240, 0.2);
}
.hacks-chain-badge[data-chain*="fantom"],
.hacks-chain-badge[data-chain*="ftm"] {
    background: rgba(19, 181, 236, 0.1);
    color: rgba(80, 210, 255, 0.95);
    border-color: rgba(19, 181, 236, 0.2);
}

/* ---- Technique text ---- */
.hacks-technique-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    cursor: default;
}

.hacks-technique--muted {
    color: var(--text-muted);
    opacity: 0.4;
}

/* ---- Links dropdown column ---- */
.hacks-th--links {
    width: 8%;
    text-align: center;
    cursor: default;
}

.hacks-th--links:hover {
    color: var(--text-muted);
}

.hacks-td-links {
    text-align: center;
    position: relative;
    overflow: visible !important;
}

.hacks-links-dropdown {
    position: relative;
    display: inline-block;
}

.hacks-links-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: rgba(69, 244, 255, 0.05);
    border: 1px solid rgba(69, 244, 255, 0.12);
    border-radius: 8px;
    color: rgba(103, 232, 249, 0.8);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hacks-links-btn:hover {
    background: rgba(69, 244, 255, 0.1);
    border-color: rgba(69, 244, 255, 0.25);
    color: var(--accent-secondary);
}

.hacks-links-btn svg:first-child {
    width: 13px;
    height: 13px;
    opacity: 0.65;
}

.hacks-links-chevron {
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.hacks-links-dropdown.is-open .hacks-links-chevron {
    transform: rotate(180deg);
}

.hacks-links-dropdown.is-open .hacks-links-btn {
    background: rgba(69, 244, 255, 0.12);
    border-color: rgba(69, 244, 255, 0.3);
    color: var(--accent-secondary);
}

/* Dropdown menu — portalled to body, positioned via JS */
.hacks-links-menu {
    display: none;
    position: fixed;
    min-width: 180px;
    background: rgba(15, 18, 25, 0.97);
    border: 1px solid rgba(69, 244, 255, 0.12);
    border-radius: 10px;
    padding: 0.35rem;
    z-index: 10000;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 1px rgba(69, 244, 255, 0.1);
    animation: hacksMenuFadeIn 0.15s ease;
}

.hacks-links-menu--visible {
    display: block;
}

@keyframes hacksMenuFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.hacks-links-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 7px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.hacks-links-item:hover {
    background: rgba(69, 244, 255, 0.08);
    color: var(--accent-secondary);
}

.hacks-links-item svg {
    width: 13px;
    height: 13px;
    opacity: 0.5;
    flex-shrink: 0;
}

.hacks-links-item:hover svg {
    opacity: 0.85;
}

/* POC items — purple accent */
.hacks-links-item--poc {
    color: rgba(168, 85, 247, 0.85);
}

.hacks-links-item--poc:hover {
    background: rgba(168, 85, 247, 0.08);
    color: rgba(192, 132, 252, 1);
}

/* Attack class items — cyan accent */
.hacks-links-item--attack {
    color: rgba(103, 232, 249, 0.8);
}

.hacks-links-item--attack:hover {
    background: rgba(69, 244, 255, 0.08);
    color: var(--accent-secondary);
}

/* Source items — slate/neutral accent */
.hacks-links-item--source {
    color: rgba(148, 163, 184, 0.7);
}

.hacks-links-item--source:hover {
    background: rgba(148, 163, 184, 0.08);
    color: rgba(203, 213, 225, 1);
}

.hacks-no-links {
    color: var(--text-muted);
    opacity: 0.25;
}

/* ---- Row number column ---- */
.hacks-th--num {
    width: 4%;
    text-align: center;
    cursor: default;
}

.hacks-th--num:hover {
    color: var(--text-muted);
}

.hacks-td-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.35;
}

/* (Source column styles removed — merged into Links dropdown) */

/* Column width hints for balanced table layout (table-layout: fixed) */
.hacks-td-name {
    width: 14%;
}

.hacks-td-date {
    width: 10%;
}

.hacks-td-amount {
    width: 9%;
}

.hacks-td-chain {
    width: 12%;
}

.hacks-td-technique {
    width: 16%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* (Attack class, source, POC column styles removed — merged into Links dropdown) */

/* ===================================
   PAGINATION
   =================================== */

.hacks-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.hacks-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.hacks-pagination-btn:hover {
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--accent-primary-strong);
    background: var(--accent-primary-soft);
}

.hacks-pagination-btn--active {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: var(--accent-primary-strong);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.15);
}

.hacks-pagination-btn:disabled,
.hacks-pagination-btn--disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.hacks-pagination-ellipsis {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0 0.25rem;
}

.hacks-pagination-info {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 1rem;
}

/* ===================================
   LOADING / EMPTY STATES
   =================================== */

.hacks-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.hacks-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(168, 85, 247, 0.15);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: hacksSpin 0.8s linear infinite;
}

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

.hacks-loading-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* No results message */
.hacks-no-results-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.hacks-no-results-cell svg {
    opacity: 0.3;
}

.hacks-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
}

.hacks-empty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    color: var(--text-muted);
    opacity: 0.4;
}

.hacks-empty-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hacks-empty-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===================================
   ATTACK CLASSES SECTION
   Cards matching main site style
   =================================== */

.hacks-attack-classes-section .container {
    max-width: 1200px;
}

.hacks-attack-classes {
    text-align: center;
}

.hacks-section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.hacks-attack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.hacks-attack-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    animation: hacksCardReveal 0.5s ease-out forwards;
}

/* Top accent line on hover */
.hacks-attack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.hacks-attack-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.1),
        0 0 24px rgba(168, 85, 247, 0.12),
        0 12px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

.hacks-attack-card:hover::before {
    transform: scaleX(1);
}

.hacks-attack-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(69, 244, 255, 0.06) 100%);
    border: 1px solid rgba(168, 85, 247, 0.22);
    border-radius: 12px;
    color: var(--accent-primary-strong);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.08);
}

.hacks-attack-card-icon svg {
    width: 22px;
    height: 22px;
}

.hacks-attack-card:hover .hacks-attack-card-icon {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.2);
}

.hacks-attack-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.hacks-attack-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.hacks-attack-card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

.hacks-attack-card:hover .hacks-attack-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-secondary);
}

.hacks-attack-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
    line-height: 1.3;
}

.hacks-attack-card:hover .hacks-attack-card-title {
    color: var(--accent-secondary);
}

.hacks-attack-card-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: auto;
}

.hacks-attack-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.hacks-attack-stat svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ===================================
   SEO CONTENT BLOCK
   =================================== */

.hacks-seo-content {
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Top gradient accent line */
.hacks-seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.hacks-seo-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.hacks-seo-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-primary-strong);
    margin: 2rem 0 0.75rem;
}

.hacks-seo-content p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.hacks-seo-content a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.hacks-seo-content a:hover {
    color: var(--accent-secondary-strong);
    border-bottom-color: var(--accent-secondary-strong);
}

.hacks-seo-content ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.hacks-seo-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hacks-seo-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transform: rotate(45deg);
}

.hacks-seo-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===================================
   CTA SECTION
   Main site button styles
   =================================== */

.hacks-cta {
    padding: 3rem;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(69, 244, 255, 0.06) 0%, transparent 60%),
        var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Top gradient accent line */
.hacks-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
}

/* Ambient glow */
.hacks-cta::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* CTA section - when used with .section wrapper */
.hacks-cta-section {
    position: relative;
    overflow: hidden;
}

.hacks-cta-section .hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hacks-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hacks-cta-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.hacks-cta-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.hacks-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Primary CTA - accent gradient matching .btn-primary */
.hacks-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.125rem 2.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    letter-spacing: 0.02em;
}

.hacks-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hacks-cta-btn:hover::before {
    left: 100%;
}

.hacks-cta-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(69, 244, 255, 0.3);
}

.hacks-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(69, 244, 255, 0.45);
}

.hacks-cta-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.hacks-cta-primary:hover svg {
    transform: translateX(3px);
}

/* Secondary CTA - outline with cyan border matching .btn-secondary */
.hacks-cta-secondary {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--border-color-cyan);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hacks-cta-secondary:hover {
    background: rgba(69, 244, 255, 0.15);
    border-color: var(--accent-secondary);
    box-shadow: 0 6px 25px rgba(69, 244, 255, 0.4);
    transform: translateY(-2px);
}

/* ===================================
   BREADCRUMB
   =================================== */

.hacks-breadcrumb {
    position: relative;
    z-index: 10;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, rgba(22, 22, 34, 0.95) 0%, rgba(22, 22, 34, 0.7) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hacks-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    list-style: none;
    padding: 0;
}

.hacks-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hacks-breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hacks-breadcrumb-link:hover {
    color: var(--accent-secondary);
}

.hacks-breadcrumb-link svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.hacks-breadcrumb-separator {
    color: rgba(168, 85, 247, 0.4);
    font-size: 0.7rem;
    margin: 0 0.15rem;
}

.hacks-breadcrumb-current {
    color: var(--accent-secondary);
    font-weight: 500;
}

/* ===================================
   YEAR GROUP HEADERS
   =================================== */

.hacks-year-group {
    margin-top: 2.5rem;
}

.hacks-year-group:first-child {
    margin-top: 0;
}

.hacks-year-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary-strong);
    padding: 0.4rem 0.85rem;
    background: var(--accent-primary-soft);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 2rem;
    margin-bottom: 1rem;
}

/* ===================================
   MOBILE CARD LAYOUT (placeholder)
   Not used - table rows are restyled
   as cards via display:block at 768px.
   =================================== */

.hacks-mobile-cards {
    display: none;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Prevent horizontal overflow at every breakpoint */
.hacks-page {
    overflow-x: hidden;
}

/* -------------------------------------------------------------------
   1. LARGE DESKTOP  (max-width: 1200px)
   Tighten content padding, reduce grid column minimums.
   ------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .hacks-content {
        padding: 0 1.5rem 5rem;
    }

    .hacks-attack-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hacks-cta {
        padding: 2.5rem;
    }
}

/* -------------------------------------------------------------------
   2. TABLET  (max-width: 1024px)
   Compact hero, sc95llable table with momentum, two-column attack
   grid, filters wrap into pairs.
   ------------------------------------------------------------------- */

@media (max-width: 1024px) {
    /* -- Hero -- */
    .hacks-hero {
        padding: 5rem 1.5rem 2rem;
    }

    .hacks-stat,
    .hacks-stat-card {
        padding: 1.25rem 1.5rem;
        min-width: 140px;
    }

    .hacks-stat-value {
        font-size: 1.5rem;
    }

    /* -- Table: horizontal scroll with touch momentum -- */
    .hacks-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hacks-table {
        min-width: 760px;
    }

    /* -- Filters: 2-column grid with search spanning full width -- */
    .hacks-filters {
        grid-template-columns: 1fr 1fr;
    }

    /* -- Attack grid: force two columns -- */
    .hacks-attack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* -- Content blocks -- */
    .hacks-seo-content {
        padding: 2rem;
    }

    .hacks-cta {
        padding: 2.5rem 2rem;
    }

    .hacks-cta-title {
        font-size: 1.5rem;
    }
}

/* -------------------------------------------------------------------
   3. MOBILE  (max-width: 768px)
   TABLE BECOMES CARDS - the core responsive transformation.
   Filters stack vertically, stats become a 2x2 grid, single-column
   attack cards, CTA buttons go full-width, touch targets enforced.
   ------------------------------------------------------------------- */

@media (max-width: 768px) {

    /* -- Hero section -- */
    .hacks-hero {
        padding: 5.5rem 1rem 1.5rem;
    }

    .hacks-hero-content {
        max-width: 100%;
    }

    .hacks-hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hacks-hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
        line-height: 1.55;
    }

    .hacks-hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.9rem;
        margin-bottom: 1.25rem;
    }

    /* -- Stats row: compact 2x2 grid -- */
    .hacks-stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .hacks-stat,
    .hacks-stat-card {
        padding: 0.7rem 0.6rem;
        min-width: 0;
        flex: none;
        border-radius: 10px;
    }

    .hacks-stat-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 0.4rem;
        border-radius: 8px;
    }

    .hacks-stat-icon svg {
        width: 15px;
        height: 15px;
    }

    .hacks-stat-value {
        font-size: 1.15rem;
        margin-bottom: 0.2rem;
    }

    .hacks-stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    /* -- Content area -- */
    .hacks-content {
        padding: 0 1rem 4rem;
    }

    /* -- Toolbar -- */
    .hacks-toolbar {
        top: 60px;
        padding: 1rem;
        border-radius: 12px;
    }

    /* -- Filters: stack vertically, single column -- */
    .hacks-filters {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    /* Touch targets: minimum 44px for all interactive elements */
    .hacks-search-input {
        height: 44px;
    }

    .hacks-select {
        width: 100%;
        min-width: 0;
        height: 44px;
    }

    .hacks-multiselect-toggle {
        height: 44px;
    }

    /* Toolbar bottom: stack on mobile */
    .hacks-toolbar-bottom {
        flex-direction: column;
        gap: 0.6rem;
        align-items: stretch;
    }

    .hacks-results-count {
        width: 100%;
        text-align: center;
    }

    .hacks-reset-btn.hacks-reset--visible {
        align-self: center;
    }

    /* =========================================================
       TABLE -> CARDS TRANSFORMATION
       Break the <table> layout model so each <tr> renders
       as a standalone card with a refined interior layout.
       ========================================================= */

    /* Neutralize table display model */
    .hacks-table-wrapper {
        overflow-x: visible;
        border: none;
        background: none;
        border-radius: 0;
    }

    .hacks-table,
    .hacks-table thead,
    .hacks-table tbody,
    .hacks-row,
    .hacks-td,
    .hacks-th {
        display: block;
    }

    .hacks-table {
        min-width: 0;
        width: 100%;
        border-spacing: 0;
    }

    /* Hide table header */
    .hacks-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    /* Each <tr> becomes a compact card */
    .hacks-row {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto auto;
        gap: 0;
        padding: 0;
        margin-bottom: 1rem;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-left: 2px solid rgba(168, 85, 247, 0.3);
        border-radius: 10px;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        position: relative;
    }

    .hacks-row:last-child {
        margin-bottom: 0;
    }

    .hacks-row:hover,
    .hacks-row:active {
        border-color: rgba(168, 85, 247, 0.35);
        border-left-color: rgba(69, 244, 255, 0.5);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    }

    /* Remove alternating row tint in card mode */
    .hacks-row:nth-child(even) {
        background: var(--card-bg);
    }

    .hacks-row:nth-child(even):hover {
        background: var(--card-bg);
    }

    /* Reset last-row table border-radius (card handles it) */
    .hacks-row:last-child .hacks-td:first-child,
    .hacks-row:last-child .hacks-td:last-child {
        border-radius: 0;
    }

    /* Card cells: reset table display */
    .hacks-td {
        display: block;
        padding: 0;
        white-space: normal;
    }

    /* Hide ALL data-label pseudo-elements by default in card mode */
    .hacks-td::before {
        display: none !important;
    }

    /* Hide row number in card mode */
    .hacks-td-num {
        display: none;
    }

    /* ---- ROW 1: Project name (left) + Amount (right) ---- */
    .hacks-td-name {
        grid-column: 1;
        grid-row: 1;
        padding: 0.75rem 0.5rem 0.2rem 0.85rem;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-primary);
        max-width: none;
        width: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        letter-spacing: -0.01em;
        align-self: center;
        line-height: 1.3;
        min-width: 0;
    }

    .hacks-td-name .hacks-project-name {
        font-size: inherit;
    }

    .hacks-td-amount {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0.75rem 0.85rem 0.2rem 0.5rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hacks-td-amount::before {
        display: none !important;
    }

    .hacks-td-amount .hacks-amount {
        font-size: 0.92rem;
        font-weight: 700;
    }

    /* ---- ROW 2: Date (left) + Technique (right) ---- */
    .hacks-td-date {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        align-items: center;
        padding: 0.15rem 0.5rem 0.35rem 0.85rem;
    }

    .hacks-td-date::before {
        display: none !important;
    }

    .hacks-td-date .hacks-date {
        font-size: 0.73rem;
        color: var(--text-muted);
        white-space: nowrap;
    }

    .hacks-td-technique {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0.15rem 0.85rem 0.35rem 0.5rem;
    }

    .hacks-td-technique::before {
        display: none !important;
    }

    .hacks-td-technique .hacks-technique-text {
        font-size: 0.68rem;
        line-height: 1.3;
        color: var(--text-muted);
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 180px;
    }

    /* ---- ROW 3: Chain (left) + Links (right) ---- */
    .hacks-td-chain {
        grid-column: 1;
        grid-row: 3;
        display: flex;
        align-items: center;
        padding: 0.1rem 0.5rem 0.65rem 0.85rem;
    }

    .hacks-td-chain::before {
        display: inline !important;
        content: attr(data-label) ": ";
        font-family: var(--font-mono);
        font-size: 0.52rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-muted);
        opacity: 0.45;
        margin-right: 0.25rem;
        flex-shrink: 0;
    }

    .hacks-td-links {
        grid-column: 2;
        grid-row: 3;
        padding: 0 0.85rem 0.65rem 0.5rem;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .hacks-td-links .hacks-links-btn {
        height: 28px;
        font-size: 0.65rem;
        padding: 0 0.75rem;
        gap: 0.3rem;
    }

    .hacks-td-links .hacks-links-btn svg:first-child {
        width: 11px;
        height: 11px;
    }

    .hacks-td-links .hacks-links-chevron {
        width: 8px;
        height: 8px;
    }

    /* Accent line stays on left border */
    .hacks-row:hover {
        border-left-color: rgba(69, 244, 255, 0.5);
    }

    /* No-results row renders correctly in block mode */
    .hacks-no-results {
        display: block !important;
    }

    .hacks-no-results-cell {
        display: flex !important;
    }

    /* JS-hidden rows must stay hidden */
    .hacks-row.hacks-row-hidden {
        display: none;
    }

    /* =========================================================
       END TABLE -> CARDS
       ========================================================= */

    /* -- Attack class grid: single column -- */
    .hacks-attack-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hacks-attack-card {
        padding: 1.25rem;
    }

    /* -- SEO content block -- */
    .hacks-seo-content {
        padding: 1.5rem;
    }

    .hacks-seo-content h2 {
        font-size: 1.25rem;
    }

    /* -- CTA section -- */
    .hacks-cta {
        padding: 2rem 1.5rem;
    }

    .hacks-cta-title {
        font-size: 1.4rem;
    }

    .hacks-cta-text {
        font-size: 0.95rem;
    }

    /* CTA buttons: full width, stacked */
    .hacks-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hacks-cta-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    /* -- Section titles -- */
    .hacks-section-title {
        font-size: 1.25rem;
    }

    /* -- Breadcrumb -- */
    .hacks-breadcrumb {
        padding: 0.75rem 1rem;
    }

    .hacks-breadcrumb-list {
        font-size: 0.7rem;
        flex-wrap: wrap;
    }

    /* -- Pagination: touch-friendly sizing (44px min) -- */
    .hacks-pagination {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .hacks-pagination-btn {
        min-width: 44px;
        height: 44px;
        font-size: 0.8rem;
    }

    .hacks-pagination-info {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* -------------------------------------------------------------------
   4. SMALL MOBILE  (max-width: 480px)
   Tighter spacing, smaller typography, all-column layout.
   ------------------------------------------------------------------- */

@media (max-width: 480px) {
    /* -- Hero -- */
    .hacks-hero {
        padding: 5rem 0.75rem 1.25rem;
    }

    .hacks-hero-badge {
        font-size: 0.62rem;
        padding: 0.3rem 0.75rem;
        gap: 0.3rem;
        margin-bottom: 1rem;
    }

    .hacks-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hacks-hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }

    /* -- Stats: compact 2x2 -- */
    .hacks-stats-row {
        gap: 0.4rem;
    }

    .hacks-stat,
    .hacks-stat-card {
        padding: 0.6rem 0.5rem;
        border-radius: 8px;
    }

    .hacks-stat-icon {
        width: 26px;
        height: 26px;
        margin-bottom: 0.3rem;
        border-radius: 6px;
    }

    .hacks-stat-icon svg {
        width: 13px;
        height: 13px;
    }

    .hacks-stat-value {
        font-size: 1rem;
        margin-bottom: 0.15rem;
    }

    .hacks-stat-label {
        font-size: 0.5rem;
    }

    /* -- Content -- */
    .hacks-content {
        padding: 0 0.75rem 3rem;
    }

    /* -- Toolbar -- */
    .hacks-toolbar {
        padding: 0.75rem;
        top: 55px;
        border-radius: 10px;
    }

    .hacks-filters {
        gap: 0.5rem;
    }

    /* -- Table cards: tighter at 480px -- */
    .hacks-row {
        margin-bottom: 0.45rem;
        border-radius: 8px;
    }

    .hacks-td-name {
        font-size: 0.88rem;
        padding: 0.6rem 0.4rem 0.15rem 0.65rem;
    }

    .hacks-td-amount {
        padding: 0.6rem 0.65rem 0.15rem 0.4rem;
    }

    .hacks-td-amount .hacks-amount {
        font-size: 0.84rem;
    }

    .hacks-td-date {
        padding: 0.1rem 0.4rem 0.3rem 0.65rem;
    }

    .hacks-td-date .hacks-date {
        font-size: 0.67rem;
    }

    .hacks-td-technique {
        padding: 0.1rem 0.65rem 0.3rem 0.4rem;
    }

    .hacks-td-technique .hacks-technique-text {
        font-size: 0.63rem;
        max-width: 130px;
    }

    .hacks-td-chain {
        padding: 0.05rem 0.4rem 0.55rem 0.65rem;
    }

    .hacks-td-chain::before {
        font-size: 0.48rem !important;
    }

    .hacks-chain-badge {
        font-size: 0.65rem;
        padding: 0.1rem 0.4rem;
    }

    .hacks-td-links {
        padding: 0 0.65rem 0.55rem 0.4rem;
    }

    .hacks-td-links .hacks-links-btn {
        height: 26px;
        font-size: 0.6rem;
    }

    /* -- Attack cards -- */
    .hacks-attack-card {
        padding: 1rem;
    }

    .hacks-attack-card-title {
        font-size: 0.95rem;
    }

    .hacks-attack-card-stats {
        gap: 1rem;
    }

    /* -- SEO block -- */
    .hacks-seo-content {
        padding: 1.15rem;
        border-radius: 12px;
    }

    .hacks-seo-content h2 {
        font-size: 1.1rem;
    }

    .hacks-seo-content h3 {
        font-size: 1rem;
    }

    .hacks-seo-content p,
    .hacks-seo-content li {
        font-size: 0.85rem;
    }

    /* -- CTA -- */
    .hacks-cta {
        padding: 1.5rem 1rem;
        border-radius: 14px;
    }

    .hacks-cta-title {
        font-size: 1.2rem;
    }

    .hacks-cta-text {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .hacks-cta-btn {
        font-size: 0.88rem;
        padding: 0.85rem 1.25rem;
        min-height: 48px;
    }

    /* -- Section titles -- */
    .hacks-section-title {
        font-size: 1.1rem;
    }

    .hacks-section-subtitle {
        font-size: 0.85rem;
    }

    /* -- Year group -- */
    .hacks-year-label {
        font-size: 0.6rem;
    }

    /* -- Breadcrumb truncation -- */
    .hacks-breadcrumb-current {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* -- Pagination: keep touch-friendly -- */
    .hacks-pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }
}

/* ===================================
   ANIMATION: STAGGERED CARD REVEALS
   =================================== */

.hacks-attack-card:nth-child(1) { animation-delay: 0.05s; }
.hacks-attack-card:nth-child(2) { animation-delay: 0.1s; }
.hacks-attack-card:nth-child(3) { animation-delay: 0.15s; }
.hacks-attack-card:nth-child(4) { animation-delay: 0.2s; }
.hacks-attack-card:nth-child(5) { animation-delay: 0.25s; }
.hacks-attack-card:nth-child(6) { animation-delay: 0.3s; }
.hacks-attack-card:nth-child(7) { animation-delay: 0.35s; }
.hacks-attack-card:nth-child(8) { animation-delay: 0.4s; }
.hacks-attack-card:nth-child(9) { animation-delay: 0.45s; }
.hacks-attack-card:nth-child(10) { animation-delay: 0.5s; }
.hacks-attack-card:nth-child(11) { animation-delay: 0.55s; }
.hacks-attack-card:nth-child(12) { animation-delay: 0.6s; }

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

/* -------------------------------------------------------------------
   DATA ATTRIBUTION
   Minimal footnote below the table
   ------------------------------------------------------------------- */

.hacks-data-credit {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.hacks-data-credit:hover {
    opacity: 0.8;
}

.hacks-data-credit a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.hacks-data-credit a:hover {
    color: var(--accent-secondary);
}

/* -------------------------------------------------------------------
   5. REDUCED MOTION
   Respects user accessibility preferences.
   Disables all animations, transitions, and parallax effects.
   ------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    /* Kill all keyframe animations */
    .hacks-hero::before,
    .hacks-hero::after,
    .hacks-hero-grid {
        animation: none;
    }

    .hacks-hero-badge,
    .hacks-hero-title,
    .hacks-hero-subtitle,
    .hacks-stats-row,
    .hacks-attack-card,
    .hacks-mobile-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hacks-hero-badge svg {
        animation: none;
    }

    /* Remove hover transforms */
    .hacks-stat:hover,
    .hacks-attack-card:hover,
    .hacks-cta-btn:hover,
    .hacks-cta-primary:hover,
    .hacks-cta-secondary:hover,
    .hacks-row:hover {
        transform: none;
    }

    /* Stop loading spinner */
    .hacks-loading-spinner {
        animation: none;
        border-color: var(--accent-primary);
    }

    /* Flatten all transitions to near-instant */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================
   CUSTOM SCROLLBAR (page-level)
   =================================== */

.hacks-page ::-webkit-scrollbar {
    width: 8px;
}

.hacks-page ::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

.hacks-page ::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.2);
    border-radius: 4px;
}

.hacks-page ::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.35);
}

/* ===================================
   LOADING STATE FOR AJAX TABLE UPDATES
   =================================== */

.hacks-table--loading {
    position: relative;
    pointer-events: none;
}

.hacks-table--loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 16px;
    z-index: 10;
    animation: hacksPulseLoad 1s ease-in-out infinite alternate;
}

@keyframes hacksPulseLoad {
    from { opacity: 0.4; }
    to { opacity: 0.7; }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.hacks-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hacks-text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hacks-mono {
    font-family: var(--font-mono);
}

/* =========================================================
   LIQUID GLASS THEME OVERRIDES  (2026-03-24, updated 2026-03-24)
   SCH Brand Colors: Purple, Cyan, Gold on ultra-dark background.
   All rules scoped to .hacks-page context or specific selectors.
   ========================================================= */

/* --- Page background --- */
.hacks-page {
    background:
        radial-gradient(ellipse 120% 60% at 50% 0%, hsl(260 60% 8%) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 80% 20%, hsl(var(--glass-primary) / 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 20% 60%, hsl(260 80% 12% / 0.3) 0%, transparent 50%),
        hsl(var(--glass-bg)) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Hero --- */
.hacks-hero {
    background: transparent !important;
    position: relative;
}
/* Purple radial orb at top of hero */
.hacks-hero-content {
    position: relative;
    z-index: 2;
}
/* Override hero pseudo-elements with purple atmospheric orbs */
.hacks-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 80%;
    background: radial-gradient(ellipse at center, hsl(var(--glass-primary) / 0.06) 0%, transparent 60%) !important;
    pointer-events: none;
    z-index: 0;
    animation: none !important;
    border-radius: 0;
    filter: none;
    opacity: 1;
}
.hacks-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent, hsl(260 87% 3%)) !important;
    pointer-events: none;
    z-index: 1;
    width: 100%;
    border-radius: 0;
    filter: none;
    animation: none !important;
    opacity: 1;
    top: auto;
    transform: none;
}

/* Hero title warm white */
.hacks-hero .hero-title {
    color: hsl(var(--glass-heading)) !important;
}

/* Hero accent → cyan-to-purple gradient */
.hacks-hero .hero-title-accent,
.hacks-cta-title .hero-title-accent {
    background-image: linear-gradient(135deg, hsl(var(--glass-accent)) 0%, hsl(var(--glass-primary)) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Hero subtitle muted warm gray */
.hacks-hero .hero-subtitle {
    color: hsl(var(--glass-sub)) !important;
    -webkit-text-fill-color: hsl(var(--glass-sub)) !important;
}

/* Hero badge → purple tint */
.hacks-hero-badge {
    background: hsl(var(--glass-primary) / 0.07) !important;
    border-color: hsl(var(--glass-primary) / 0.2) !important;
    color: hsl(var(--glass-primary)) !important;
}
.hacks-hero-badge svg {
    color: hsl(var(--glass-primary)) !important;
}

/* --- Stat cards → stronger glass + cyan top border --- */
.hacks-stat,
.hacks-stat-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-top: 2px solid hsl(var(--glass-accent) / 0.4) !important;
    border-radius: 1.25rem !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.25) !important;
}
.hacks-stat:hover,
.hacks-stat-card:hover {
    border-top-color: hsl(var(--glass-accent) / 0.7) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 20px hsl(var(--glass-accent) / 0.08) !important;
    transform: translateY(-4px) !important;
}
/* Cyan top-edge glow on hover */
.hacks-stat::before,
.hacks-stat-card::before {
    background: linear-gradient(90deg, transparent, hsl(var(--glass-accent)), transparent) !important;
}
/* Stat value → cyan gradient text */
.hacks-stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background-image: linear-gradient(135deg, hsl(var(--glass-accent)) 0%, hsl(var(--glass-accent) / 0.7) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
/* Stat icon → cyan glass circle */
.hacks-stat-icon {
    width: 48px !important;
    height: 48px !important;
    background: hsl(var(--glass-accent) / 0.08) !important;
    border: 1px solid hsl(var(--glass-accent) / 0.15) !important;
    border-radius: 50% !important;
    color: hsl(var(--glass-accent)) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hacks-stat-card:hover .hacks-stat-icon {
    background: hsl(var(--glass-accent) / 0.14) !important;
    border-color: hsl(var(--glass-accent) / 0.3) !important;
    box-shadow: 0 0 12px hsl(var(--glass-accent) / 0.15) !important;
    transform: scale(1.05);
}

/* --- Toolbar → premium glass floating panel --- */
.hacks-toolbar {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 1.5rem !important;
    backdrop-filter: blur(24px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.2) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.25) !important;
    padding: 2rem !important;
}
.hacks-toolbar:hover {
    border-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 0 1px hsl(var(--glass-primary) / 0.08) !important;
}

/* Filter inputs → darker bg, purple focus ring */
.hacks-search-input:focus {
    border-color: hsl(var(--glass-primary) / 0.3) !important;
    background: hsl(240 6% 6%) !important;
    box-shadow:
        0 0 0 2px hsl(var(--glass-primary) / 0.2),
        0 0 12px hsl(var(--glass-primary) / 0.08) !important;
}
.hacks-select:focus {
    border-color: hsl(var(--glass-primary) / 0.5) !important;
    box-shadow: 0 0 0 3px hsl(var(--glass-primary) / 0.1) !important;
}
.hacks-select:hover {
    border-color: hsl(var(--glass-primary) / 0.3) !important;
}
.hacks-multiselect-toggle:hover {
    border-color: hsl(var(--glass-primary) / 0.3) !important;
}
.hacks-multiselect-toggle:focus,
.hacks-multiselect.open .hacks-multiselect-toggle {
    border-color: hsl(var(--glass-primary) / 0.5) !important;
    box-shadow: 0 0 0 3px hsl(var(--glass-primary) / 0.1) !important;
}
.hacks-multiselect-select-all,
.hacks-multiselect-deselect-all {
    background: hsl(var(--glass-primary) / 0.08) !important;
    border-color: hsl(var(--glass-primary) / 0.2) !important;
    color: hsl(var(--glass-primary)) !important;
}
.hacks-multiselect-select-all:hover,
.hacks-multiselect-deselect-all:hover {
    background: hsl(var(--glass-primary) / 0.18) !important;
    border-color: hsl(var(--glass-primary) / 0.4) !important;
}
.hacks-multiselect-option input[type="checkbox"]:checked + .hacks-multiselect-check {
    background: hsl(var(--glass-primary) / 0.8) !important;
    border-color: hsl(var(--glass-primary) / 0.8) !important;
}

/* Results count → cyan numbers */
.hacks-results-count span {
    color: hsl(var(--glass-accent)) !important;
}

/* --- Table → glass container with rounded overflow clip --- */
.hacks-table-wrapper {
    background: rgba(255, 255, 255, 0.015) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1.25rem !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}
.hacks-th {
    background: hsl(240 8% 7%) !important;
    color: hsl(240 5% 50%) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.hacks-th--sortable.hacks-th--asc::after,
.hacks-th--sortable.hacks-th--desc::after {
    color: hsl(var(--glass-accent)) !important;
}
/* Row hover → subtle glass highlight */
.hacks-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}
.hacks-row:hover {
    background: rgba(255, 255, 255, 0.025) !important;
}
/* Amount columns → severity colors preserved */
.hacks-td-amount .hacks-amount--critical,
.hacks-td-amount .hacks-amount--high {
    text-shadow: none;
}
/* Project name column → brighter white, medium weight primary identifier */
.hacks-td-name .hacks-project-name {
    color: hsl(40 10% 96%) !important;
    font-weight: 500 !important;
}
/* Project link hover → cyan */
a.hacks-project-link:hover {
    color: hsl(var(--glass-accent)) !important;
}
/* Chain badge → purple default */
.hacks-chain-badge {
    background: hsl(var(--glass-primary) / 0.07) !important;
    color: hsl(var(--glass-primary) / 0.9) !important;
    border-color: hsl(var(--glass-primary) / 0.15) !important;
}
.hacks-chain-badge:hover {
    background: hsl(var(--glass-primary) / 0.14) !important;
    border-color: hsl(var(--glass-primary) / 0.3) !important;
}
/* Chain-specific badges keep their unique colors (defined above); this only affects the default fallback */
.hacks-chain-unknown {
    background: rgba(148, 163, 184, 0.05) !important;
    color: hsl(var(--glass-muted-fg)) !important;
    border-color: rgba(148, 163, 184, 0.08) !important;
}
/* Links button → cyan tint */
.hacks-links-btn {
    background: hsl(var(--glass-accent) / 0.06) !important;
    border-color: hsl(var(--glass-accent) / 0.14) !important;
    color: hsl(var(--glass-accent) / 0.8) !important;
}
.hacks-links-btn:hover {
    background: hsl(var(--glass-accent) / 0.12) !important;
    border-color: hsl(var(--glass-accent) / 0.3) !important;
    color: hsl(var(--glass-accent)) !important;
}
.hacks-links-dropdown.is-open .hacks-links-btn {
    background: hsl(var(--glass-accent) / 0.14) !important;
    border-color: hsl(var(--glass-accent) / 0.35) !important;
    color: hsl(var(--glass-accent)) !important;
}

/* --- Pagination → purple active --- */
.hacks-pagination-btn--active {
    background: hsl(var(--glass-primary) / 0.18) !important;
    border-color: hsl(var(--glass-primary) / 0.5) !important;
    color: hsl(var(--glass-primary)) !important;
    box-shadow: 0 0 12px hsl(var(--glass-primary) / 0.15) !important;
}
.hacks-pagination-btn:not(.hacks-pagination-btn--active):not(.hacks-pagination-btn--disabled):hover {
    border-color: hsl(var(--glass-primary) / 0.4) !important;
    color: hsl(var(--glass-primary)) !important;
    background: hsl(var(--glass-primary) / 0.07) !important;
}

/* --- Attack class cards → glass dark --- */
.hacks-attack-card {
    background: hsl(var(--glass-card) / 0.72) !important;
    border-color: hsl(var(--glass-border) / 0.5) !important;
}
.hacks-attack-card:hover {
    border-color: hsl(var(--glass-primary) / 0.35) !important;
    box-shadow: 0 0 0 1px hsl(var(--glass-primary) / 0.1),
                0 0 24px hsl(var(--glass-primary) / 0.1),
                0 12px 40px rgba(0, 0, 0, 0.35) !important;
}
.hacks-attack-card::before {
    background: linear-gradient(135deg, hsl(var(--glass-primary)) 0%, hsl(var(--glass-accent)) 100%) !important;
}
.hacks-attack-card-icon {
    background: linear-gradient(135deg, hsl(var(--glass-primary) / 0.12) 0%, hsl(var(--glass-primary) / 0.05) 100%) !important;
    border-color: hsl(var(--glass-primary) / 0.22) !important;
    color: hsl(var(--glass-primary)) !important;
}
.hacks-attack-card:hover .hacks-attack-card-icon {
    background: hsl(var(--glass-primary) / 0.2) !important;
    border-color: hsl(var(--glass-primary) / 0.4) !important;
    box-shadow: 0 0 14px hsl(var(--glass-primary) / 0.2) !important;
}
.hacks-attack-card:hover .hacks-attack-card-title {
    color: hsl(var(--glass-primary)) !important;
}
.hacks-attack-card:hover .hacks-attack-card-arrow {
    color: hsl(var(--glass-primary)) !important;
}

/* --- SEO content block --- */
.hacks-seo-content {
    background: hsl(var(--glass-card) / 0.72) !important;
    border-color: hsl(var(--glass-border) / 0.5) !important;
}
.hacks-seo-content::before {
    background: linear-gradient(90deg, transparent, hsl(var(--glass-accent) / 0.4), transparent) !important;
}
.hacks-seo-content h2 { color: hsl(var(--glass-heading)) !important; }
.hacks-seo-content h3 { color: hsl(var(--glass-primary)) !important; }
.hacks-seo-content a  { color: hsl(var(--glass-accent) / 0.9) !important; }
.hacks-seo-content a:hover {
    color: hsl(var(--glass-accent)) !important;
    border-bottom-color: hsl(var(--glass-accent)) !important;
}
.hacks-seo-content li::before {
    background: linear-gradient(135deg, hsl(var(--glass-primary)) 0%, hsl(var(--glass-accent)) 100%) !important;
}

/* --- CTA section --- */
.hacks-cta-section { background: hsl(var(--glass-bg)) !important; }
.hacks-cta-content .hero-badge {
    background: hsl(var(--glass-primary) / 0.07) !important;
    border-color: hsl(var(--glass-primary) / 0.2) !important;
}
.hacks-cta-content .hero-badge-text {
    color: hsl(var(--glass-primary)) !important;
}
.hacks-cta-content .hero-badge-dot {
    background: hsl(var(--glass-primary)) !important;
    box-shadow: 0 0 6px hsl(var(--glass-primary) / 0.8) !important;
}
.hacks-cta-title {
    color: hsl(var(--glass-heading)) !important;
}
.hacks-cta-text {
    color: hsl(var(--glass-sub)) !important;
}

/* --- Breadcrumb --- */
.hacks-breadcrumb-separator { color: hsl(var(--glass-primary) / 0.4) !important; }
.hacks-breadcrumb-current   { color: hsl(var(--glass-accent)) !important; }

/* --- Section decorative divider → cyan tint --- */
.hacks-divider {
    background: linear-gradient(90deg,
        transparent 0%,
        hsl(var(--glass-primary) / 0.15) 15%,
        hsl(var(--glass-accent) / 0.2) 50%,
        hsl(var(--glass-primary) / 0.15) 85%,
        transparent 100%
    ) !important;
}

/* --- Year group label → cyan --- */
.hacks-year-label {
    color: hsl(var(--glass-accent)) !important;
    background: hsl(var(--glass-accent) / 0.08) !important;
    border-color: hsl(var(--glass-accent) / 0.25) !important;
}

/* --- Loading spinner → purple --- */
.hacks-loading-spinner {
    border-color: hsl(var(--glass-primary) / 0.15) !important;
    border-top-color: hsl(var(--glass-primary)) !important;
}

/* --- Data attribution links → cyan tint --- */
.hacks-data-credit a { color: hsl(var(--glass-accent) / 0.5) !important; }
.hacks-data-credit a:hover { color: hsl(var(--glass-accent)) !important; }

/* --- Mobile card left-border accent → cyan --- */
@media (max-width: 768px) {
    .hacks-row {
        border-left-color: hsl(var(--glass-accent) / 0.3) !important;
    }
    .hacks-row:hover,
    .hacks-row:active {
        border-left-color: hsl(var(--glass-accent) / 0.6) !important;
    }
}

/* --- Backdrop-filter fallback for unsupported browsers --- */
@supports not (backdrop-filter: blur(4px)) {
    .liquid-glass,
    .glass-card,
    .glass-btn-secondary,
    .hacks-toolbar,
    .hacks-table-wrapper,
    .hacks-stat,
    .hacks-stat-card,
    .hacks-cta-glass-wrapper {
        background: hsl(var(--glass-card) / 0.96) !important;
    }
}

/* =========================================================
   ANIMATIONS & MICRO-INTERACTIONS (Liquid Glass Theme)
   ========================================================= */

/* Fade-in-up for section reveals */
@keyframes glassCardReveal {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scale-up for stat cards on load */
@keyframes glassStatScale {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

/* Marquee keyframe (reserved) */
@keyframes marquee {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Staggered reveal for attack class cards */
.hacks-attack-grid .hacks-attack-card:nth-child(1)  { animation-delay: 0.00s; }
.hacks-attack-grid .hacks-attack-card:nth-child(2)  { animation-delay: 0.05s; }
.hacks-attack-grid .hacks-attack-card:nth-child(3)  { animation-delay: 0.10s; }
.hacks-attack-grid .hacks-attack-card:nth-child(4)  { animation-delay: 0.15s; }
.hacks-attack-grid .hacks-attack-card:nth-child(5)  { animation-delay: 0.20s; }
.hacks-attack-grid .hacks-attack-card:nth-child(6)  { animation-delay: 0.25s; }
.hacks-attack-grid .hacks-attack-card:nth-child(7)  { animation-delay: 0.28s; }
.hacks-attack-grid .hacks-attack-card:nth-child(8)  { animation-delay: 0.30s; }
.hacks-attack-grid .hacks-attack-card:nth-child(n+9){ animation-delay: 0.32s; }

/* Stat card scale-in on page load */
.hacks-stats-row .hacks-stat-card:nth-child(1) { animation: glassStatScale 0.5s ease 0.05s both; }
.hacks-stats-row .hacks-stat-card:nth-child(2) { animation: glassStatScale 0.5s ease 0.12s both; }
.hacks-stats-row .hacks-stat-card:nth-child(3) { animation: glassStatScale 0.5s ease 0.18s both; }
.hacks-stats-row .hacks-stat-card:nth-child(4) { animation: glassStatScale 0.5s ease 0.24s both; }

/* Smooth colour + transform transitions on all interactive elements */
.hacks-search-input,
.hacks-select,
.hacks-multiselect-toggle,
.hacks-pagination-btn,
.hacks-links-btn,
.hacks-chain-badge,
.hacks-attack-card,
.glass-btn-primary,
.glass-btn-secondary {
    transition: all 0.25s ease !important;
}

/* === Reduced-motion override — WCAG 2.1 AAA === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   END LIQUID GLASS THEME OVERRIDES
   ========================================================= */

/* =========================================================
   HACK RADAR — Live feed strip on the dashboard
   ========================================================= */
.hack-radar-section {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
    isolation: isolate;
}
.hack-radar-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}
.hack-radar-orb-1 {
    top: -10%;
    left: -5%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, hsl(var(--glass-accent) / 0.45), transparent 70%);
}
.hack-radar-orb-2 {
    bottom: -15%;
    right: -8%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, hsl(var(--glass-primary) / 0.35), transparent 70%);
}

.hack-radar-header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 860px) {
    .hack-radar-header { grid-template-columns: 1fr; }
}

.hack-radar-heading {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.hack-radar-eyebrow {
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--glass-sub));
}
.hack-radar-eyebrow span:not(.glass-live-dot) {
    color: hsl(var(--glass-fg));
}
.hack-radar-title {
    font-size: clamp(2rem, 4vw, 2.85rem);
    margin: 0;
    line-height: 1.05;
}
.hack-radar-subtitle {
    max-width: 56ch;
    margin: 0;
    font-size: 0.975rem;
    color: hsl(var(--glass-sub));
}

/* Subscribe panel (right column of header) */
.hack-radar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 1.25rem 1.25rem 1.125rem;
    border-radius: 1.125rem;
    align-self: stretch;
    justify-content: center;
}
.hack-radar-actions > * { position: relative; z-index: 2; }
.hack-radar-actions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.hack-radar-actions-meta {
    font-size: 0.72rem;
    color: hsl(240 5% 60%);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.hack-radar-alerts-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
}
.hack-radar-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.hack-radar-input-icon {
    position: absolute;
    left: 0.875rem;
    color: hsl(var(--glass-muted-fg));
    pointer-events: none;
}
.hack-radar-alerts-form input[type="email"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: hsl(var(--glass-fg));
    border-radius: 9999px;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hack-radar-alerts-form input[type="email"]::placeholder {
    color: hsl(240 5% 50%);
}
.hack-radar-alerts-form input[type="email"]:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    border-color: hsl(var(--glass-accent) / 0.55);
    box-shadow: 0 0 0 4px hsl(var(--glass-accent) / 0.14);
}
.hack-radar-alerts-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.4rem;
}
.hack-radar-alerts-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: none;
}
.hack-radar-alerts-feedback {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    margin: 0;
    color: hsl(var(--glass-muted-fg));
    min-height: 1rem;
    transition: color 0.2s ease;
}
.hack-radar-alerts-feedback.is-success { color: hsl(155 65% 60%); }
.hack-radar-alerts-feedback.is-error   { color: hsl(0 84% 70%); }

.hack-radar-embed-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: hsl(var(--glass-muted-fg));
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s ease, transform 0.2s ease;
}
.hack-radar-embed-link svg {
    color: hsl(var(--glass-accent));
    transition: transform 0.2s ease;
}
.hack-radar-embed-link:hover {
    color: hsl(var(--glass-fg));
}
.hack-radar-embed-link:hover svg {
    transform: translateX(-2px);
}

/* Cards grid */
.hack-radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.125rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hack-radar-card {
    list-style: none;
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hack-radar-card-link {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    height: 100%;
    padding: 1.125rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.28);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.hack-radar-card-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.05) 35%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.04) 80%,
        rgba(255,255,255,0.12) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.hack-radar-card:hover {
    transform: translateY(-3px);
}
.hack-radar-card:hover .hack-radar-card-link {
    border-color: hsl(var(--glass-accent) / 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 16px 48px hsl(var(--glass-accent) / 0.12),
        0 4px 12px rgba(0, 0, 0, 0.32);
}
.hack-radar-card:hover .hack-radar-card-cta {
    color: hsl(var(--glass-accent));
}
.hack-radar-card:hover .hack-radar-card-cta svg {
    transform: translateX(4px);
}

/* Unverified card variant — gold accent */
.hack-radar-card-unverified .hack-radar-card-link {
    background: rgba(180, 130, 0, 0.04);
    border-color: hsl(var(--glass-gold) / 0.35);
}
.hack-radar-card-unverified:hover .hack-radar-card-link {
    border-color: hsl(var(--glass-gold) / 0.55);
    background: rgba(180, 130, 0, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 48px hsl(var(--glass-gold) / 0.12),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.hack-radar-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.hack-radar-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: hsl(240 5% 65%);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hack-radar-time svg { opacity: 0.7; }

.hack-radar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.hack-radar-badge-verified {
    background: hsl(155 65% 45% / 0.13);
    color: hsl(155 65% 70%);
    border: 1px solid hsl(155 65% 45% / 0.4);
}
.hack-radar-badge-pending {
    background: hsl(var(--glass-gold) / 0.12);
    color: hsl(var(--glass-gold));
    border: 1px solid hsl(var(--glass-gold) / 0.45);
}

.hack-radar-name {
    color: hsl(var(--glass-heading));
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

.hack-radar-amount-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.hack-radar-amount {
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.hack-radar-amount-label {
    font-size: 0.72rem;
    color: hsl(240 5% 55%);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.hack-radar-amount-critical { color: hsl(0 84% 68%); text-shadow: 0 0 24px hsl(0 84% 60% / 0.45); }
.hack-radar-amount-high     { color: hsl(24 95% 64%); text-shadow: 0 0 18px hsl(24 95% 55% / 0.4); }
.hack-radar-amount-medium   { color: hsl(var(--glass-gold)); text-shadow: 0 0 14px hsl(var(--glass-gold) / 0.35); }
.hack-radar-amount-low      { color: hsl(var(--glass-sub)); }
.hack-radar-amount-unknown  { color: hsl(240 5% 55%); }

.hack-radar-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.hack-radar-chip {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: hsl(var(--glass-sub));
    letter-spacing: 0.01em;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hack-radar-chip-chain {
    color: hsl(var(--glass-accent));
    border-color: hsl(var(--glass-accent) / 0.25);
    background: hsl(var(--glass-accent) / 0.08);
    text-transform: lowercase;
}
.hack-radar-chip-technique {
    color: hsl(var(--glass-sub));
}

.hack-radar-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: hsl(240 5% 55%);
    transition: color 0.25s ease;
    letter-spacing: 0.01em;
}
.hack-radar-card-cta svg {
    transition: transform 0.25s ease;
}

@media (max-width: 540px) {
    .hack-radar-alerts-form { grid-template-columns: 1fr; }
    .hack-radar-alerts-btn { justify-content: center; }
}

.visually-hidden {
    position: absolute !important;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* =========================================================
   HACK RADAR EMBED DOCS PAGE
   ========================================================= */

/* --- Hero --- */
.embed-hero {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
    overflow: hidden;
    isolation: isolate;
}
.embed-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
    z-index: -1;
}
.embed-hero-orb-1 {
    top: -10%;
    left: -10%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, hsl(var(--glass-accent) / 0.55), transparent 70%);
}
.embed-hero-orb-2 {
    top: 5%;
    right: -15%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, hsl(var(--glass-primary) / 0.5), transparent 70%);
}
.embed-hero-content {
    max-width: 760px;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.embed-hero-eyebrow {
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--glass-sub));
}
.embed-hero-eyebrow span:not(.glass-live-dot) {
    color: hsl(var(--glass-fg));
}
.embed-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin: 0.25rem 0 0;
    line-height: 1.05;
}
.embed-hero-subtitle {
    max-width: 60ch;
    margin: 0;
    font-size: 1.05rem;
    color: hsl(var(--glass-sub));
}
.embed-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.625rem;
}
.embed-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    color: hsl(var(--glass-sub));
    font-weight: 500;
}
.embed-hero-meta-item svg {
    color: hsl(155 65% 60%);
}

/* --- Install + preview grid --- */
.embed-install-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}
.embed-install-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}
@media (max-width: 960px) {
    .embed-install-grid { grid-template-columns: 1fr; }
}
.embed-install-docs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

/* Step card */
.embed-step {
    border-radius: 1.25rem;
    padding: 1.5rem clamp(1.25rem, 2.5vw, 1.75rem);
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}
.embed-step > * { position: relative; z-index: 2; }
.embed-step-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.embed-step-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: hsl(var(--glass-accent));
    background: hsl(var(--glass-accent) / 0.1);
    border: 1px solid hsl(var(--glass-accent) / 0.3);
    box-shadow: 0 0 16px hsl(var(--glass-accent) / 0.18) inset;
}
.embed-step-title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--glass-heading));
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.embed-step-blurb {
    margin: 0;
    color: hsl(var(--glass-sub));
    line-height: 1.55;
    font-size: 0.95rem;
}

/* Inline code utility */
.embed-inline-code {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.83em;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: hsl(var(--glass-accent));
    white-space: nowrap;
}

/* Code block frame */
.embed-code-wrap {
    position: relative;
    border-radius: 0.875rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.embed-code-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.75rem;
    color: hsl(var(--glass-muted-fg));
    font-weight: 500;
    letter-spacing: 0.02em;
}
.embed-code-dots {
    display: inline-flex;
    gap: 0.3rem;
}
.embed-code-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}
.embed-code-dots i:nth-child(1) { background: #ff5f56; opacity: 0.7; }
.embed-code-dots i:nth-child(2) { background: #ffbd2e; opacity: 0.7; }
.embed-code-dots i:nth-child(3) { background: #27c93f; opacity: 0.7; }
.embed-code-method {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: hsl(155 65% 45% / 0.18);
    color: hsl(155 65% 70%);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    border: 1px solid hsl(155 65% 45% / 0.35);
}
.embed-code {
    margin: 0;
    padding: 1rem 5rem 1rem 1.25rem;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.825rem;
    color: hsl(var(--glass-fg));
    line-height: 1.55;
    overflow-x: auto;
    background: transparent;
    border-radius: 0;
    white-space: pre;
    scrollbar-width: thin;
}
.embed-code::-webkit-scrollbar { height: 6px; }
.embed-code::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
.embed-code code { color: inherit; background: transparent; padding: 0; font-family: inherit; font-size: inherit; }

/* Copy button — pinned top-right inside code-wrap */
.embed-copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: hsl(var(--glass-sub));
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: inherit;
    z-index: 3;
}
.embed-code-wrap .embed-copy-btn { top: 2.65rem; }
.embed-copy-btn:hover {
    background: hsl(var(--glass-accent) / 0.15);
    border-color: hsl(var(--glass-accent) / 0.5);
    color: hsl(var(--glass-accent));
}
.embed-copy-btn[data-state="copied"] {
    background: hsl(155 65% 45% / 0.18);
    border-color: hsl(155 65% 45% / 0.5);
    color: hsl(155 65% 70%);
}

/* Options list */
.embed-option-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.embed-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.875rem;
    align-items: baseline;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.embed-option > code.embed-inline-code { align-self: center; }
.embed-option-bullet {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: hsl(var(--glass-primary) / 0.12);
    color: hsl(var(--glass-primary));
    border: 1px solid hsl(var(--glass-primary) / 0.25);
}
.embed-option-desc {
    color: hsl(var(--glass-sub));
    line-height: 1.55;
    font-size: 0.9rem;
}
.embed-option-meta {
    color: hsl(var(--glass-muted-fg));
    font-size: 0.85em;
}

/* API specs */
.embed-api-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem 1.25rem;
    margin: 0;
}
.embed-api-spec {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.embed-api-spec dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(240 5% 55%);
    font-weight: 600;
}
.embed-api-spec dd {
    margin: 0;
    color: hsl(var(--glass-fg));
    font-size: 0.92rem;
    font-weight: 500;
}

/* Live preview aside */
.embed-preview {
    position: sticky;
    top: 6.5rem;
    min-width: 0;
}
@media (max-width: 960px) {
    .embed-preview { position: relative; top: 0; }
}
.embed-preview-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.embed-preview-card > * { position: relative; z-index: 2; }
.embed-preview-head {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.embed-preview-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--glass-accent));
}
.embed-preview-title {
    margin: 0;
    font-size: 1.2rem;
    color: hsl(var(--glass-heading));
    font-weight: 700;
    letter-spacing: -0.01em;
}
.embed-preview-blurb {
    margin: 0;
    color: hsl(var(--glass-sub));
    font-size: 0.875rem;
}
.embed-preview-frame {
    padding: 1.25rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    min-height: 220px;
}
.embed-preview-empty {
    margin: 0;
    text-align: center;
    color: hsl(var(--glass-muted-fg));
    font-size: 0.85rem;
}

/* --- Use cases --- */
.embed-uses-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.embed-uses-grid {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.embed-use {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 1.25rem;
}
.embed-use > * { position: relative; z-index: 2; }
.embed-use-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, hsl(var(--glass-accent) / 0.18), hsl(var(--glass-primary) / 0.18));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: hsl(var(--glass-accent));
    box-shadow: 0 0 22px hsl(var(--glass-accent) / 0.12) inset;
}
.embed-use-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: hsl(var(--glass-heading));
    letter-spacing: -0.005em;
    line-height: 1.25;
}
.embed-use-body {
    margin: 0;
    color: hsl(var(--glass-sub));
    font-size: 0.93rem;
    line-height: 1.55;
}

/* --- FAQ --- */
.embed-faq-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.embed-faq-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.embed-faq-item {
    border-radius: 1rem;
    transition: background 0.25s ease;
}
.embed-faq-item > * { position: relative; z-index: 2; }
.embed-faq-q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--glass-heading));
}
.embed-faq-q::-webkit-details-marker { display: none; }
.embed-faq-icon {
    color: hsl(var(--glass-accent));
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.embed-faq-item[open] .embed-faq-icon { transform: rotate(180deg); }
.embed-faq-a {
    margin: 0;
    padding: 0 1.25rem 1.125rem;
    color: hsl(var(--glass-sub));
    line-height: 1.6;
    font-size: 0.95rem;
}
.embed-faq-a a {
    color: hsl(var(--glass-accent));
    text-decoration: underline;
    text-decoration-color: hsl(var(--glass-accent) / 0.45);
    text-underline-offset: 3px;
}
.embed-faq-a a:hover {
    text-decoration-color: hsl(var(--glass-accent));
}

/* --- Final CTA --- */
.embed-cta-section {
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.embed-cta {
    position: relative;
    border-radius: 1.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 2rem;
    align-items: center;
    overflow: hidden;
}
@media (max-width: 760px) {
    .embed-cta { grid-template-columns: 1fr; }
}
.embed-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.embed-cta-orb-a {
    top: -20%;
    left: -5%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, hsl(var(--glass-accent) / 0.5), transparent 70%);
}
.embed-cta-orb-b {
    bottom: -25%;
    right: -5%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, hsl(var(--glass-primary) / 0.55), transparent 70%);
}
.embed-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.embed-cta-title {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.1;
}
.embed-cta-blurb {
    margin: 0;
    max-width: 56ch;
    font-size: 0.975rem;
}
.embed-cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.embed-cta-actions .glass-btn-primary {
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

/* ===================================
   Threat Intel Console Refinement
   Keeps the incident search workflow above the fold.
   =================================== */

.hacks-hero {
    padding: clamp(0.75rem, 1.4vw, 1.1rem) 2rem clamp(1rem, 1.8vw, 1.4rem);
    text-align: left;
}

.hacks-hero-console {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(0.75rem, 1.5vw, 1.1rem);
    align-items: end;
}

.hacks-hero-content {
    max-width: none;
    margin: 0;
}

.hacks-hero-badge {
    margin-bottom: 0.65rem;
}

.hacks-hero .hero-title {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hacks-hero .hero-subtitle {
    max-width: 680px;
    margin: 0.75rem 0 0;
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    line-height: 1.55;
}

.hacks-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.hacks-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.9rem;
    color: hsl(var(--glass-sub));
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hacks-hero-action:hover {
    color: hsl(var(--glass-heading));
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(69, 244, 255, 0.22);
    transform: translateY(-1px);
}

.hacks-hero-action-primary {
    color: #071117;
    background: linear-gradient(135deg, hsl(var(--glass-accent)), #bdfcff);
    border-color: hsl(var(--glass-accent) / 0.4);
}

.hacks-hero-action-primary:hover {
    color: #071117;
    background: linear-gradient(135deg, #a7f8ff, hsl(var(--glass-accent)));
}

.hacks-intel-panel {
    padding: 0.85rem;
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 100% 0%, hsl(var(--glass-primary) / 0.18), transparent 44%),
        rgba(13, 15, 27, 0.78);
}

.hacks-intel-panel h2 {
    margin: 0.35rem 0 0;
    color: hsl(var(--glass-heading));
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.hacks-intel-list {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.hacks-intel-list article {
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0.9rem;
}

.hacks-intel-list span,
.hacks-row-class {
    display: block;
    color: hsl(var(--glass-accent));
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hacks-intel-list strong {
    display: block;
    margin-top: 0.18rem;
    color: hsl(var(--glass-heading));
    font-size: 0.8rem;
    line-height: 1.28;
}

.hacks-intel-list em {
    display: block;
    margin-top: 0.18rem;
    color: hsl(var(--glass-sub) / 0.78);
    font-style: normal;
    font-size: 0.72rem;
    line-height: 1.32;
}

.hacks-kpi-ribbon {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.65rem;
    margin-bottom: 0;
}

.hacks-kpi-ribbon .hacks-stat-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "icon value" "icon label";
    align-items: center;
    gap: 0.05rem 0.65rem;
    min-width: 0;
    padding: 0.62rem 0.75rem;
    text-align: left;
    border-radius: 1rem;
}

.hacks-kpi-ribbon .hacks-stat-icon {
    grid-area: icon;
    width: 2rem;
    height: 2rem;
    margin: 0;
}

.hacks-kpi-ribbon .hacks-stat-value {
    grid-area: value;
    margin: 0;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    line-height: 1;
}

.hacks-kpi-ribbon .hacks-stat-label {
    grid-area: label;
    margin: 0.2rem 0 0;
    font-size: 0.62rem;
}

.hacks-divider {
    display: none;
}

.hacks-database-section {
    padding-top: clamp(0.9rem, 1.6vw, 1.25rem);
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.hacks-database-section.glass-reveal,
.hacks-database-section .glass-reveal {
    opacity: 1;
    transform: none;
}

.hacks-database-section .section-header {
    max-width: 820px;
    margin: 0 auto 0.85rem;
}

.hacks-database-section .section-title {
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.05;
}

.hacks-database-section .section-label {
    margin-bottom: 0.4rem;
}

.hacks-database-section .hacks-section-subtitle {
    margin-top: 0.45rem;
    font-size: 0.98rem;
}

.hacks-toolbar {
    top: 76px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 1.15rem;
}

.hacks-filters {
    grid-template-columns: minmax(260px, 1.5fr) repeat(5, minmax(150px, 1fr));
    gap: 0.62rem;
}

.hacks-filters > .hacks-search-wrapper {
    grid-column: auto;
}

.hacks-risk-lens {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
}

.hacks-risk-lens a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.68rem;
    color: hsl(var(--glass-sub));
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.hacks-risk-lens a:hover {
    color: hsl(var(--glass-accent));
    border-color: hsl(var(--glass-accent) / 0.28);
    background: hsl(var(--glass-accent) / 0.06);
}

.hacks-table-wrapper {
    border-radius: 1.15rem;
}

.hacks-table {
    table-layout: auto;
}

.hacks-td-name {
    min-width: 210px;
    max-width: 300px;
}

.hacks-row-class {
    margin-top: 0.28rem;
    color: hsl(var(--glass-sub) / 0.62);
    font-size: 0.58rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hacks-td-technique {
    max-width: 330px;
}

.hacks-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
}

.hacks-view-incident,
.hacks-links-btn {
    min-height: 2rem;
}

.hacks-view-incident {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.7rem;
    color: #071117;
    background: linear-gradient(135deg, hsl(var(--glass-accent)), #bffbff);
    border: 1px solid hsl(var(--glass-accent) / 0.35);
    border-radius: 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.hacks-links-btn {
    padding: 0.42rem 0.65rem;
}

.hacks-links-btn span {
    font-size: 0.72rem;
}

.hacks-attack-classes-section,
.hacks-seo-section,
.hacks-cta-section {
    padding-top: clamp(2.75rem, 5vw, 4rem);
    padding-bottom: clamp(2.75rem, 5vw, 4rem);
}

.hacks-pagination {
    margin-top: 1.6rem;
}

.hacks-data-credit {
    margin-top: 1.1rem;
}

@media (max-width: 1180px) {
    .hacks-hero-console {
        grid-template-columns: 1fr;
    }

    .hacks-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hacks-filters > .hacks-search-wrapper {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hacks-hero {
        padding: 1.2rem 1rem 1rem;
        text-align: left;
    }

    .hacks-hero .hero-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .hacks-hero .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hacks-hero-actions,
    .hacks-risk-lens {
        align-items: stretch;
        flex-direction: column;
    }

    .hacks-hero-action,
    .hacks-risk-lens a {
        width: 100%;
    }

    .hacks-kpi-ribbon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .hacks-kpi-ribbon .hacks-stat-card {
        grid-template-columns: 1fr;
        grid-template-areas: "value" "label";
        align-items: start;
        padding: 0.5rem 0.6rem;
    }

    .hacks-kpi-ribbon .hacks-stat-icon {
        display: none;
    }

    .hacks-kpi-ribbon .hacks-stat-value {
        font-size: 1.08rem;
    }

    .hacks-kpi-ribbon .hacks-stat-label {
        margin-top: 0.15rem;
        font-size: 0.48rem;
        line-height: 1.15;
    }

    .hacks-intel-panel {
        display: none;
    }

    .hacks-database-section {
        padding-top: 0.65rem;
    }

    .hacks-database-section .section-header {
        margin-bottom: 0.55rem;
        text-align: left;
    }

    .hacks-database-section .section-label,
    .hacks-database-section .hacks-section-subtitle {
        display: none;
    }

    .hacks-database-section .section-title {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .hacks-toolbar {
        position: relative;
        top: auto;
        padding: 0.9rem;
    }

    .hacks-row-actions {
        justify-content: stretch;
    }

    .hacks-view-incident,
    .hacks-links-dropdown,
    .hacks-links-btn {
        width: 100%;
    }

    .hacks-view-incident,
    .hacks-links-btn {
        justify-content: center;
    }

    .hacks-td-name {
        max-width: none;
    }

    .hacks-row-class {
        white-space: normal;
    }
}
