diff --git a/package.json b/package.json
index 99751583..78d98e02 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,7 @@
     "@astrojs/tailwind": "^5.0.2",
     "astro": "4.16.16",
     "astro-compress": "^2.2.2",
-    "astro-purgecss": "^4.0.0",
+    "astro-purgecss": "^5.0.0",
     "tailwindcss": "^3.3.5"
   },
   "devDependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1b5c947b..d7abf0fb 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -30,8 +30,8 @@ importers:
         specifier: ^2.2.2
         version: 2.3.5(@types/node@22.10.1)(rollup@4.21.0)(sass@1.82.0)(typescript@5.7.2)
       astro-purgecss:
-        specifier: ^4.0.0
-        version: 4.9.0(astro@4.16.16(@types/node@22.10.1)(lightningcss@1.27.0)(rollup@4.21.0)(sass@1.82.0)(terser@5.36.0)(typescript@5.7.2))(purgecss@5.0.0)
+        specifier: ^5.0.0
+        version: 5.0.0(astro@4.16.16(@types/node@22.10.1)(lightningcss@1.27.0)(rollup@4.21.0)(sass@1.82.0)(terser@5.36.0)(typescript@5.7.2))(purgecss@5.0.0)
       tailwindcss:
         specifier: ^3.3.5
         version: 3.4.16
@@ -1423,10 +1423,10 @@ packages:
     resolution: {integrity: sha512-AGsGgcg7Jg9UpyCDgvl/EkdYpe1oMkFdmC2Zl+KWneoieLCtQIFjmcY8yt41gcNx4mby0w8BBJQcBmPuf8UAoQ==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
-  astro-purgecss@4.9.0:
-    resolution: {integrity: sha512-Ymio3P4kVCPqTbP2x/wpuDn4C3J0/kNYXW77BrDAZcj42CXRwVuo+9atyH9CN4i1efqTIOLvsh3JGcaalRVhHQ==}
+  astro-purgecss@5.0.0:
+    resolution: {integrity: sha512-7irETV3HSCAt0Z3t+QchTc0d5J6/ygrnz2DK3WZ/fVvpMBj1YK/EtKw478vK4aZ7Gd9NVTR1I6wgXy/fiSTX0g==}
     peerDependencies:
-      astro: ^4.0.0
+      astro: ^5.0.0
       purgecss: ^7.0.0
 
   astro@4.16.16:
@@ -5190,7 +5190,7 @@ snapshots:
       - supports-color
       - typescript
 
-  astro-purgecss@4.9.0(astro@4.16.16(@types/node@22.10.1)(lightningcss@1.27.0)(rollup@4.21.0)(sass@1.82.0)(terser@5.36.0)(typescript@5.7.2))(purgecss@5.0.0):
+  astro-purgecss@5.0.0(astro@4.16.16(@types/node@22.10.1)(lightningcss@1.27.0)(rollup@4.21.0)(sass@1.82.0)(terser@5.36.0)(typescript@5.7.2))(purgecss@5.0.0):
     dependencies:
       astro: 4.16.16(@types/node@22.10.1)(lightningcss@1.27.0)(rollup@4.21.0)(sass@1.82.0)(terser@5.36.0)(typescript@5.7.2)
       purgecss: 5.0.0