/* assets/css/new-tools.css */
/* Bright, Airy & Creative Editorial Showcase Design for /new-tools */

.nt-page {
    padding: 1.75rem 0 4.5rem;
    background: var(--bg-page);
    overflow-x: hidden;
}

/* ---------- 1. Bright Pastel Cloud Hero & Interactive Arrival Showcase ---------- */
.nt-hero {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 48%, #ecfdf5 100%);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    padding: 2.35rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 20px 45px -18px rgba(79, 70, 229, 0.14);
    overflow: hidden;
}

html.dark .nt-hero {
    background: linear-gradient(135deg, #131b2e 0%, #172038 52%, #0f2626 100%);
    border-color: var(--border-color);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.55);
}

.nt-hero::before,
.nt-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(42px);
    opacity: 0.55;
}

.nt-hero::before {
    width: 340px;
    height: 340px;
    top: -120px;
    right: -60px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
}

.nt-hero::after {
    width: 280px;
    height: 280px;
    bottom: -110px;
    left: -60px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 70%);
}

.nt-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 2.25rem;
    align-items: center;
}

.nt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #eef2ff 0%, #ecfdf5 100%);
    border: 1px solid #c7d2fe;
    color: #4338ca;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

html.dark .nt-eyebrow {
    background: rgba(99, 102, 241, 0.16);
    border-color: rgba(129, 140, 248, 0.3);
    color: #a5b4fc;
}

.nt-hero-title {
    font-size: clamp(2rem, 3.3vw, 2.85rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 0.85rem;
}

.nt-hero-title span {
    background: linear-gradient(135deg, #4f46e5 0%, #0d9488 55%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .nt-hero-title span {
    background: linear-gradient(135deg, #818cf8 0%, #2dd4bf 55%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.nt-hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 570px;
    margin: 0 0 1.4rem;
}

/* Integrated Hero Search Pill */
.nt-hero-search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 0.38rem 0.42rem 0.38rem 1rem;
    max-width: 560px;
    box-shadow: 0 8px 22px -10px rgba(15, 23, 42, 0.12);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0.9rem;
}

.nt-hero-search:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.nt-hero-search svg.nt-search-ico {
    color: var(--text-muted);
    flex-shrink: 0;
    margin-right: 0.65rem;
}

.nt-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.94rem;
    font-weight: 500;
    padding: 0.5rem 0.4rem;
}

.nt-search-input:focus {
    outline: none;
}

.nt-search-clear {
    border: none;
    background: var(--bg-surface-secondary);
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 0.45rem;
}

.nt-search-clear.visible {
    display: inline-flex;
}

.nt-search-btn {
    border: none;
    background: linear-gradient(135deg, #4f46e5 0%, #0d9488 100%);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.62rem 1.15rem;
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.nt-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px -6px rgba(79, 70, 229, 0.45);
}

/* Quick Discovery Tags */
.nt-quick-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
}

.nt-quick-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 0.2rem;
}

.nt-quick-pill {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    border-radius: 9999px;
    padding: 0.28rem 0.78rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nt-quick-pill:hover {
    border-color: #0d9488;
    color: #0d9488;
    background: #f0fdfa;
    transform: translateY(-1px);
}

html.dark .nt-quick-pill:hover {
    background: rgba(20, 184, 166, 0.14);
    color: #5eead4;
}

/* Hero Metrics Strip */
.nt-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.nt-stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.nt-stat-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-primary);
}

.nt-stat-lbl {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Right Column: Light Frosted Interactive Fresh Arrival Deck */
.nt-deck {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 1.35rem;
    box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.1);
}

html.dark .nt-deck {
    background: rgba(15, 23, 42, 0.72);
}

.nt-deck-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.nt-deck-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nt-shuffle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    border-radius: 9999px;
    padding: 0.32rem 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.nt-shuffle-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.nt-deck-stage {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.nt-deck-panel {
    display: none;
    animation: ntDeckIn 0.25s ease;
}

.nt-deck-panel.active {
    display: block;
}

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

.nt-deck-panel-top {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.nt-deck-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

html.dark .nt-deck-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.nt-deck-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.nt-deck-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0d9488;
    margin-bottom: 0.15rem;
}

html.dark .nt-deck-cat {
    color: #34d399;
}

.nt-deck-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.nt-deck-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-deck-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nt-deck-chips {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.nt-mini-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.58rem;
    border-radius: 9999px;
    background: var(--bg-surface-secondary);
    color: var(--text-secondary);
}

.nt-deck-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.48rem 0.95rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.nt-deck-cta:hover {
    transform: translateX(2px);
}

/* Interactive Thumbnail Selector Strip */
.nt-deck-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.nt-thumb-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.4rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-surface);
    cursor: pointer;
    text-align: center;
    transition: all 0.16s ease;
}

.nt-thumb-btn:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.nt-thumb-btn.active {
    border-color: #0d9488;
    background: #f0fdfa;
    box-shadow: 0 4px 12px -4px rgba(13, 148, 136, 0.25);
}

html.dark .nt-thumb-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: #34d399;
}

.nt-thumb-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.nt-thumb-btn span {
    font-size: 0.69rem;
    font-weight: 700;
    color: var(--text-primary);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 2. Bright Trio Highlight Cards (Just Launched Picks) ---------- */
.nt-spotlight-section {
    margin-bottom: 2.25rem;
}

.nt-sec-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.nt-sec-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

.nt-sec-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0.2rem 0 0;
}

.nt-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.nt-trio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    padding: 1.35rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    overflow: hidden;
}

.nt-trio-card.theme-0 {
    background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%);
    border-color: #c7d2fe;
}

.nt-trio-card.theme-1 {
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
    border-color: #a7f3d0;
}

.nt-trio-card.theme-2 {
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    border-color: #bae6fd;
}

html.dark .nt-trio-card.theme-0 {
    background: linear-gradient(145deg, #131b2e 0%, #1e1b4b 100%);
    border-color: rgba(129, 140, 248, 0.28);
}

html.dark .nt-trio-card.theme-1 {
    background: linear-gradient(145deg, #131b2e 0%, #064e3b 100%);
    border-color: rgba(52, 211, 153, 0.28);
}

html.dark .nt-trio-card.theme-2 {
    background: linear-gradient(145deg, #131b2e 0%, #0c4a6e 100%);
    border-color: rgba(56, 189, 248, 0.28);
}

.nt-trio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.nt-trio-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.nt-trio-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html.dark .nt-trio-icon {
    background: rgba(255, 255, 255, 0.12);
}

.nt-trio-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.nt-drop-pill {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.28rem 0.72rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

html.dark .nt-drop-pill {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
}

.nt-trio-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.45rem;
}

.nt-trio-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 1.05rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-trio-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

html.dark .nt-trio-foot {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.nt-trio-go {
    color: #0d9488;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

html.dark .nt-trio-go {
    color: #34d399;
}

/* ---------- 3. Filter & View Control Toolbar ---------- */
.nt-toolbar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.nt-filters {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.nt-filter-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-surface-secondary);
    color: var(--text-secondary);
    border-radius: 9999px;
    padding: 0.44rem 0.92rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

.nt-filter-btn:hover {
    border-color: #0d9488;
    color: var(--text-primary);
}

.nt-filter-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #0d9488 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 14px -5px rgba(79, 70, 229, 0.45);
}

.nt-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nt-count-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.nt-sort-select {
    height: 38px;
    padding: 0 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.nt-view-toggle {
    display: inline-flex;
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.nt-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.36rem 0.72rem;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nt-view-btn.active {
    background: var(--bg-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* ---------- 4. Creative Ribbon-Header Cards (3-Col Grid & 2-Col Compact List) ---------- */
.nt-catalog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.nt-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.nt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px -14px rgba(15, 23, 42, 0.16);
    border-color: var(--card-accent, #0d9488);
}

.nt-card.is-hidden {
    display: none !important;
}

/* Soft pastel top header strip inside card */
.nt-card-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    background: var(--card-bg, #f8fafc);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

html.dark .nt-card-ribbon {
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nt-card-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.nt-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

html.dark .nt-card-icon {
    background: #1e293b;
}

.nt-card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.nt-card-cat {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nt-pill-new {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.24rem 0.65rem;
    border-radius: 9999px;
    background: #ffffff;
    color: #059669;
    border: 1px solid #a7f3d0;
    flex-shrink: 0;
}

html.dark .nt-pill-new {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.nt-pill-feat {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.24rem 0.65rem;
    border-radius: 9999px;
    background: #ffffff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    flex-shrink: 0;
}

html.dark .nt-pill-feat {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(129, 140, 248, 0.35);
    color: #a5b4fc;
}

.nt-card-body {
    padding: 1.1rem 1.15rem 0.9rem;
    flex: 1 1 auto;
}

.nt-card-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.42rem;
    transition: color 0.16s ease;
}

.nt-card:hover .nt-card-title {
    color: var(--card-accent, #0d9488);
}

.nt-card-desc {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
}

.nt-tag-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.56rem;
    border-radius: 8px;
    background: var(--bg-surface-secondary);
    color: var(--text-secondary);
}

.nt-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.15rem;
    border-top: 1px solid var(--border-color-subtle);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.nt-open-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--card-accent, #0d9488);
    transition: transform 0.18s ease;
}

.nt-card:hover .nt-open-link {
    transform: translateX(3px);
}

/* Compact 2-Column List Mode */
.nt-catalog.is-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.nt-catalog.is-list .nt-card {
    flex-direction: row;
    align-items: center;
    padding: 0.85rem 1.1rem;
    gap: 1rem;
}

.nt-catalog.is-list .nt-card-ribbon {
    background: transparent;
    border-bottom: none;
    padding: 0;
    flex-shrink: 0;
}

.nt-catalog.is-list .nt-card-cat,
.nt-catalog.is-list .nt-card-tags,
.nt-catalog.is-list .nt-pill-new,
.nt-catalog.is-list .nt-pill-feat {
    display: none;
}

.nt-catalog.is-list .nt-card-icon {
    background: var(--card-bg, #f1f5f9);
    width: 48px;
    height: 48px;
}

html.dark .nt-catalog.is-list .nt-card-icon {
    background: #1e293b;
}

.nt-catalog.is-list .nt-card-body {
    padding: 0;
    min-width: 0;
}

.nt-catalog.is-list .nt-card-desc {
    -webkit-line-clamp: 1;
    margin-bottom: 0;
}

.nt-catalog.is-list .nt-card-foot {
    border-top: none;
    padding: 0;
    flex-shrink: 0;
}

.nt-catalog.is-list .nt-card-foot > span:first-child {
    display: none;
}

/* ---------- 5. Empty State & Bottom CTA ---------- */
.nt-empty-state {
    display: none;
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--bg-surface);
    border: 1px dashed var(--border-color);
    border-radius: 20px;
}

.nt-empty-state.visible {
    display: block;
}

.nt-bottom-cta {
    margin-top: 2.75rem;
    border-radius: 22px;
    padding: 2.1rem 2.35rem;
    background: linear-gradient(135deg, #eef2ff 0%, #ecfdf5 100%);
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

html.dark .nt-bottom-cta {
    background: linear-gradient(135deg, #172554 0%, #064e3b 100%);
    border-color: rgba(129, 140, 248, 0.3);
}

.nt-bottom-cta h2 {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nt-bottom-cta p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.nt-bottom-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nt-cta-primary {
    padding: 0.72rem 1.3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #0d9488 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.16s ease;
}

.nt-cta-primary:hover {
    transform: translateY(-2px);
}

.nt-cta-secondary {
    padding: 0.72rem 1.3rem;
    border-radius: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .nt-hero-grid {
        grid-template-columns: 1fr;
    }
    .nt-trio-grid,
    .nt-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .nt-hero {
        padding: 1.4rem;
    }
    .nt-trio-grid,
    .nt-catalog,
    .nt-catalog.is-list {
        grid-template-columns: 1fr;
    }
    .nt-deck-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
