
/* CSS 样式代码 */
body { margin: 0; font-family: 'Arial', sans-serif; background: linear-gradient(135deg, #f0f8ff, #e6f7ff); color: #333; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1440px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.navbar .logo { font-size: 24px; font-weight: bold; color: #0078d4; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); }
.navbar .menu { display: none; }
.navbar .hamburger { display: block; font-size: 24px; cursor: pointer; color: #0078d4; }
@media (min-width: 768px) { .navbar .menu { display: flex; gap: 20px; } .navbar .hamburger { display: none; } }
.card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); }
.button { position: relative; overflow: hidden; background: #0078d4; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; transition: background 0.3s ease; }
.button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.5); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.4s ease, height 0.4s ease; }
.button:hover::after { width: 200px; height: 200px; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.image-grid img { width: 100%; height: auto; object-fit: cover; border-radius: 5px; }
@media (max-width: 480px) { .container { grid-template-columns: 1fr; } }
@media (min-width: 481px) and (max-width: 768px) { .container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 769px) and (max-width: 1024px) { .container { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1025px) { .container { grid-template-columns: repeat(4, 1fr); } }
.article-section { background: rgba(255, 255, 255, 0.8); padding: 20px; border-radius: 10px; margin-top: 80px; }
.article-section h2, .article-section h3 { color: #0078d4; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); }
.article-section pre { background: #f0f8ff; padding: 10px; border-radius: 5px; overflow-x: auto; }
.footer { text-align: center; padding: 20px; background: rgba(0, 120, 212, 0.8); color: white; margin-top: 20px; }

