diff --git a/src/pages/index.astro b/src/pages/index.astro index 3e0c126..1f59b9b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -40,7 +40,7 @@ import { BmuViewer } from '@/components/BmuViewer'; * { margin: 0; padding: 0; box-sizing: border-box; } html { background: #06080b; color: #fff; overflow-x: hidden; } body { background: #06080b; min-height: 100vh; font-family: 'Courier New', monospace; } - .scroll-track { height: 1000vh; position: relative; z-index: 1; } + .scroll-track { height: 1000vh; position: relative; z-index: 1; pointer-events: none; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; } /* Loader */ @@ -93,7 +93,7 @@ import { BmuViewer } from '@/components/BmuViewer'; /* Formats */ .ov-formats { bottom: clamp(30px, 5vh, 60px); left: 50%; transform: translateX(-50%); display: flex; gap: 12px; max-width: 820px; width: 92vw; } .ov-formats.on { transform: translateX(-50%); } - .fmt { flex: 1; padding: 14px 16px; border-radius: 8px; background: rgba(6,8,11,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05); text-align: center; text-decoration: none; color: inherit; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; } + .fmt { flex: 1; padding: 14px 16px; border-radius: 8px; background: rgba(6,8,11,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05); text-align: center; text-decoration: none; color: inherit; cursor: pointer; pointer-events: auto; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; } .fmt:hover { background: rgba(6,8,11,0.85); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); } .fmt-t { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; } .fmt-d { font-size: 10px; color: rgba(255,255,255,0.35); } diff --git a/src/pages/preview.astro b/src/pages/preview.astro index 4bc2f2a..fa591a6 100644 --- a/src/pages/preview.astro +++ b/src/pages/preview.astro @@ -37,7 +37,7 @@ import { BmuViewer } from '@/components/BmuViewer'; * { margin: 0; padding: 0; box-sizing: border-box; } html { background: #06080b; color: #fff; overflow-x: hidden; } body { background: #06080b; min-height: 100vh; font-family: 'Courier New', monospace; } - .scroll-track { height: 1000vh; position: relative; z-index: 1; } + .scroll-track { height: 1000vh; position: relative; z-index: 1; pointer-events: none; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; } /* Loader */ @@ -84,7 +84,7 @@ import { BmuViewer } from '@/components/BmuViewer'; /* Formats */ .ov-formats { bottom: clamp(30px, 5vh, 60px); left: 50%; transform: translateX(-50%); display: flex; gap: 12px; max-width: 820px; width: 92vw; } .ov-formats.on { transform: translateX(-50%); } - .fmt { flex: 1; padding: 14px 16px; border-radius: 8px; background: rgba(6,8,11,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05); text-align: center; text-decoration: none; color: inherit; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; } + .fmt { flex: 1; padding: 14px 16px; border-radius: 8px; background: rgba(6,8,11,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05); text-align: center; text-decoration: none; color: inherit; cursor: pointer; pointer-events: auto; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; } .fmt:hover { background: rgba(6,8,11,0.85); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); } .fmt-t { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; } .fmt-d { font-size: 10px; color: rgba(255,255,255,0.35); }