* { margin: 0; padding: 0; box-sizing: border-box; }
body {background: url('https://www.87yik.com/wp-content/uploads/2026/03/bg.jpg') center/cover fixed no-repeat;min-height: 100vh;font-family: 'Inter', system-ui, -apple-system, sans-serif;padding: 20px 16px 40px;display: flex;flex-direction: column;align-items: center;color: #1a2e4b;}
body::before {content: "";position: fixed;top: 0; left: 0;width: 100%; height: 100%;background: rgba(255,255,255,0.15);backdrop-filter: blur(2px);z-index: -1;}
.wrapper { position: relative; z-index: 1; max-width: 1280px; width: 100%; margin: 0 auto; }
/* 顶部栏 */
.top-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px 16px; }
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 2.4rem; color: #5a9cfe; filter: drop-shadow(0 4px 6px rgba(90,156,254,0.15)); }
.logo-text { font-size: 1.8rem; font-weight: 600; color: white; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.login-btn {background: rgba(255,255,255,0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);padding: 8px 12px; border-radius: 12px; font-size: 1rem; font-weight: 540; color: #1e3a6f;text-decoration: none; box-shadow: 0 8px 16px rgba(0,20,40,0.06); display: flex; align-items: center; gap: 4px;border: 1px solid rgba(90,156,254,0.25); transition: all 0.2s; cursor: pointer;}
.login-btn i { font-size: 1.1rem; color: #3b7cbf; }
.login-btn:hover { background: white; box-shadow: 0 12px 24px rgba(43,87,151,0.12); border-color: #a0c4e8; transform: translateY(-1px); }
/* 搜索区 */
.search-section { background: rgba(255,255,255,0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);border-radius: 48px; padding: 20px 24px 24px; margin-bottom: 44px;box-shadow: 0 20px 35px -8px rgba(28,52,84,0.12); border: 1px solid rgba(255,255,255,0.6);transition: box-shadow 0.3s;}
.search-section:hover { box-shadow: 0 24px 42px -10px rgba(28,67,110,0.16); }
.engine-icons { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 20px; flex-wrap: wrap; }
.engine-link {display: inline-block; width: 48px; height: 48px;background-size: contain; background-repeat: no-repeat; background-position: center;background-color: rgba(255,255,255,0.5); border-radius: 50%;backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);box-shadow: 0 6px 12px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.8);transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;cursor: pointer; border: none;}
.engine-link:hover { transform: scale(1.08); box-shadow: 0 12px 20px rgba(43,87,151,0.2); background-color: rgba(255,255,255,0.8); }
.engine-link.active { background-color: rgba(63,123,203,0.3); border: 2px solid #3f7bcb; box-shadow: 0 8px 18px rgba(63,123,203,0.3); }
.search-bar {display: flex; align-items: center; background: rgba(255,255,255,0.5);backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);border-radius: 60px; padding: 4px 4px 4px 20px; border: 1px solid rgba(255,255,255,0.6);}
.search-bar input {flex: 1; background: transparent; border: none; outline: none;font-size: 1.1rem; padding: 14px 8px 14px 0; color: #0b2a4a; font-weight: 450;}
.search-bar input::placeholder {color: #5f7d9c; font-weight: 350; }
.search-icon-btn {width: 48px; height: 48px; background-size: 24px; background-repeat: no-repeat; background-position: center; background-color: #6fa0e1; border-radius: 50%; border: none; cursor: pointer;box-shadow: 0 6px 14px rgba(63,123,203,0.35); transition: all 0.2s;border: 1px solid rgba(255,255,255,0.2); flex-shrink: 0;background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>'); /* 默认搜索图标，可换成自己的图片URL */}
.search-icon-btn:hover { background-color: #2b5797; transform: scale(1.02); box-shadow: 0 10px 20px rgba(43,87,151,0.45); }
/* 分类网格 */
.categories-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 28px 24px; margin-top: 10px; width: 100%;}
.category-card {background: rgba(255,255,255,0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);border-radius: 34px; padding: 24px 20px 30px;box-shadow: 0 20px 35px -10px rgba(21,50,90,0.08); border: 1px solid rgba(255,255,255,0.7);transition: transform 0.2s, box-shadow 0.3s; min-width: 0;}
.category-card:hover { box-shadow: 0 26px 45px -12px rgba(26,67,113,0.14); transform: translateY(-3px); background: rgba(255,255,255,0.75); }
.category-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; border-bottom: 2px solid rgba(90,156,254,0.25); padding-bottom: 16px; }
.category-icon {display: inline-block; width: 48px; height: 48px; background-size: contain; background-repeat: no-repeat; background-position: center;border-radius: 18px; background-color: rgba(63,123,203,0.1); flex-shrink: 0;}
.category-header h2 { font-size: 1.8rem; font-weight: 620; color: #1a3652; letter-spacing: -0.3px; }
.link-cloud { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px 10px; }
.nav-link {background: white; padding: 10px 16px; border-radius: 60px; font-size: 1rem; font-weight: 500;color: #1e3a6f; text-decoration: none; display: flex; align-items: center; justify-content: flex-start;gap: 10px; box-shadow: 0 6px 12px rgba(0,0,0,0.02); border: 1px solid rgba(63,123,203,0.2);transition: all 0.2s; backdrop-filter: blur(4px); background: rgba(255,255,255,0.9); white-space: nowrap;}
.nav-link:hover { background: #3f7bcb; color: white; border-color: #3f7bcb; box-shadow: 0 14px 20px -8px rgba(63,123,203,0.4); transform: translateY(-2px); }
.nav-link .link-icon { display: inline-block; width: 20px; height: 20px; background-size: contain; background-repeat: no-repeat; background-position: center; flex-shrink: 0; }
.footer-note { margin-top: 48px; text-align: center; opacity: 0.7; font-size: 0.9rem; color: #42648d; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-note i { color: #7999c2; }
.footer-note a { text-decoration: none; color: inherit; }
/* 移动端 */
@media (max-width: 600px) {
.engine-link { width: 40px; height: 40px; }
.engine-icons { gap: 16px; }
.search-section { padding: 16px 16px 20px; border-radius: 36px; }
.search-bar { padding: 4px 4px 4px 16px; }
.search-bar input { font-size: 1rem; padding: 12px 4px 12px 0; }
.search-icon-btn { width: 42px; height: 42px; background-size: 20px; }
.categories-grid { gap: 20px 16px; }
.category-card { padding: 20px 14px 24px; }
.category-header h2 { font-size: 1.5rem; }
.link-cloud { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px 6px; }
.nav-link { padding: 8px 10px; font-size: 0.9rem; white-space: nowrap; }
.category-icon { width: 40px; height: 40px; }
.login-btn{  padding: 6px 11px; }.login-btn i{ font-size: 0.8rem; }
}
@media (max-width: 380px) {
.nav-link { padding: 6px 8px; font-size: 0.85rem; }
.link-cloud { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nav-link .link-icon { width: 18px; height: 18px; }
.category-icon { width: 36px; height: 36px; }
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.02); }
::-webkit-scrollbar-thumb { background: #b0c8e0; border-radius: 10px; }