@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Dark Mode (Default) */
    --bg-dark: #0B1120;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-inner-card: rgba(0, 0, 0, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #06b6d4;
    --accent-hover: #0891b2;
    --accent-warm: #3B82F6;
    --success: #10b981;
    --danger: #ef4444;
    --border: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.03);
    --border-strong: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(0, 0, 0, 0.2);
    --modal-bg: #0F172A;
    --modal-shadow: rgba(0, 0, 0, 0.5);
    --tooltip-bg: #1E293B;
    --tooltip-shadow: rgba(0, 0, 0, 0.5);
    --table-bg: rgba(11, 17, 32, 0.6);
    --table-header-bg: rgba(255, 255, 255, 0.02);
    --card-inner-bg: rgba(0, 0, 0, 0.2);
    --svg-opacity: 0.15;
    --grad-1: rgba(56, 189, 248, 0.1);
    --grad-2: rgba(6, 182, 212, 0.1);
    --warning: #fbbf24;
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-inner-card: rgba(0, 0, 0, 0.03);
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent: #0891b2;
    --accent-hover: #0e7490;
    --accent-warm: #c026d3;
    --success: #059669;
    --danger: #dc2626;
    --border: rgba(0, 0, 0, 0.1);
    --border-subtle: rgba(0, 0, 0, 0.04);
    --border-strong: rgba(0, 0, 0, 0.15);
    --input-bg: rgba(255, 255, 255, 0.9);
    --modal-bg: #ffffff;
    --modal-shadow: rgba(0, 0, 0, 0.1);
    --tooltip-bg: #ffffff;
    --tooltip-shadow: rgba(0, 0, 0, 0.1);
    --table-bg: rgba(255, 255, 255, 0.4);
    --table-header-bg: rgba(0, 0, 0, 0.02);
    --card-inner-bg: rgba(0, 0, 0, 0.04);
    --svg-opacity: 0.08;
    --grad-1: rgba(217, 70, 239, 0.05);
    --grad-2: rgba(6, 182, 212, 0.05);
    --warning: #d97706;
    /* darker amber for light mode contrast */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Soft glowing radial background for an ethereal feel */
    background: radial-gradient(circle at top right, var(--grad-1), transparent 40%),
        radial-gradient(circle at bottom left, var(--grad-2), transparent 40%),
        var(--bg-dark);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
    /* keep content above background animations */
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    min-height: 44px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    /* Pill shaped */
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background-color: var(--danger);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--bg-inner-card);
    color: var(--text-main);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn:disabled, button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Badges */
.badge {
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s ease;
}

.badge-online {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-offline {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
}

.badge-pending {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-bt-connected {
    background: rgba(59, 130, 246, 0.2);
    color: var(--friendly-text);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.badge-bt-disconnected {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.5);
}

.badge-beta {
    background: rgba(96, 165, 250, 0.2);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.hidden {
    display: none !important;
}

/* Dashboard Grid */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Form Elements */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.stat-row a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.disabled-link {
    color: var(--text-muted) !important;
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Toggle Switch Slider - Soft UI */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 34px;
    touch-action: none;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--accent);
}

input:focus+.slider {
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.3);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

input[type="number"],
input[type="text"],
input[type="time"],
input[type="datetime-local"],
textarea {
    min-height: 44px;
    border-radius: 12px;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--input-bg);
    color: var(--text-main);
    border: 1px solid var(--border);
}

input[type="number"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus {
    border-color: var(--accent);
    background: var(--input-bg);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ─── Tooltips ───────────────────────────────────────────────── */
.tip-wrap {
    display: inline-flex;
    position: relative;
    margin-left: 6px;
    vertical-align: middle;
}

.tip-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: help;
    background: rgba(255, 255, 255, 0.05);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tip-wrap:hover .tip-icon {
    background: var(--accent);
    color: white;
}

.tip-box {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--tooltip-bg);
    color: var(--text-main);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    width: 260px;
    z-index: 100;
    box-shadow: 0 10px 30px var(--tooltip-shadow);
    border: 1px solid var(--border);
    line-height: 1.5;
    font-weight: 400;
    pointer-events: none;
}

.tip-box::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--tooltip-bg);
}

.tip-wrap:hover .tip-box,
.tip-wrap:focus-within .tip-box {
    display: block;
    animation: fadeInTooltip 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ─── Transitions & Animations ───────────────────────────────── */
.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    opacity: 0;
}

.collapsible.expanded {
    max-height: 1200px;
    opacity: 1;
    margin-top: 1rem;
}

/* ─── Page header layout helper ───────────────────────────────── */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

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

/* ─── Admin table ─────────────────────────────────────────────── */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--table-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 0;
}

.table-scroll table {
    min-width: 600px;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.table-scroll th {
    font-family: 'Outfit', sans-serif;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    background: var(--table-header-bg);
    padding: 1rem 1.25rem;
}

.table-scroll td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

/* Monospace for admin data */
.mono-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* ─── Modals ──────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 12, 32, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal-content {
    background: var(--modal-bg);
    box-shadow: 0 25px 50px var(--modal-shadow);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Base Background Animation ───────────────────────────────── */
#background-jiggler {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.mouse-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    opacity: var(--svg-opacity);
    color: var(--accent);
    transition: none !important;
    transform-origin: center;
}

/* Keep subtle float animation if desired */
@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.01);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

/* ─── Atomic Responsive Utility Classes ──────────────────────── */

.firmware-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ota-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.ota-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.ota-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    display: block;
}

.ota-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.fw-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.freq-input {
    min-width: 70px;
    flex: 1;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
}

.home-container-top {
    margin-top: 8vh;
}


/* ─── Mobile Breakpoints (Fully Responsive design per PWA) ────── */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }

    .device-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet/Small Desktop ≤ 800px */
@media (max-width: 800px) {
    .device-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
}

/* Phone ≤ 768px */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .card {
        padding: 1.5rem;
        border-radius: 20px;
        margin-bottom: 1rem;
    }

    .firmware-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ota-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pwa-banner {
        font-size: 0.82rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1rem;
        gap: 1rem;
    }

    .page-header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .page-header-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    /* Larger, thumb-sized touch targets for mobile */
    .switch {
        width: 56px;
        height: 32px;
    }

    .slider:before {
        height: 26px;
        width: 26px;
    }

    input:checked+.slider:before {
        transform: translateX(24px);
    }

    input[type="number"],
    input[type="text"],
    input[type="time"],
    input[type="datetime-local"] {
        padding: 0.75rem !important;
        /* Increase touch target */
        font-size: 1rem;
        /* Prevent auto-zoom on iOS */
    }

    .btn {
        padding: 0.85rem 1.5rem;
    }
}

/* Small Phone ≤ 480px */
@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .card {
        padding: 1.25rem;
    }

    .home-container-top {
        margin-top: 4vh;
    }

    .ota-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-action-row {
        gap: 0.4rem;
    }

    .pwa-banner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .page-header-actions {
        grid-template-columns: 1fr;
    }

    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-subtle);
    }

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

    .stat-row>div {
        align-self: flex-start;
        width: 100%;
        justify-content: space-between;
    }

    .table-scroll table {
        font-size: 0.85rem;
    }

    .table-scroll td,
    .table-scroll th {
        padding: 1rem 0.75rem;
    }
}

/* Warning States */
.status-warning {
    color: var(--warning) !important;
    background: rgba(251, 191, 36, 0.1) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

.card-warning {
    background: rgba(251, 191, 36, 0.05) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

/* ─── Push Notification UI ────────────────────────────────────── */

.notif-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border);
}

.notif-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-align: center;
}

.notif-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.notif-prefs-title {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.notif-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.notif-toggle:hover {
    color: var(--text-main);
}

.notif-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.notif-test-row {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.notif-test-confirm {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
}

.notif-unsub-btn {
    margin-top: 1rem;
    opacity: 0.6;
    font-size: 0.75rem !important;
}

.notif-unsub-btn:hover {
    opacity: 1;
    color: var(--danger);
}

/* ─── PWA Install Banner ──────────────────────────────────────── */

.pwa-banner {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid var(--accent);
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-ghost-sm {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost-sm:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

/* ─── Install Modal Styles ────────────────────────────────────── */

.modal-box {
    background: var(--modal-bg);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px var(--modal-shadow);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.install-steps {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.install-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.icon-hint {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: serif;
}

/* ─── Vulnerability Alert Banner ─────────────────────────────── */

.vuln-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.83rem;
    color: #fca5a5;
    line-height: 1.45;
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vuln-alert-icon {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 0.05rem;
}

.vuln-alert-text {
    flex: 1;
}

.vuln-alert-dismiss {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(252, 165, 165, 0.7);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
    margin-top: -1px;
}

.vuln-alert-dismiss:hover {
    color: #f87171;
}

.theme-logo {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    transition: filter 0.3s ease;
}