/* 重置和基础样式 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #000000; color: white; min-height: 100vh; overflow-x: hidden; } /* 头部样式 */ .header { text-align: center; padding: 20px; margin-bottom: 0px; } .site-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; background: linear-gradient(45deg, #fff, #f0f0f0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .tagline { font-size: 14px; font-weight: 400; } /* 主要内容区域 */ .main-content { padding: 0 20px; display: flex; flex-direction: column; gap: 16px; max-width: 400px; margin: 0 auto; } /* 卡片基础样式 */ .card { border-radius: 5px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; margin-bottom: 5px; position: relative; } .status-dot { margin: 58px 0 0 10px; position: absolute; top: 8px; left: 8px; width: 8px; height: 8px; border-radius: 50%; z-index: 10; box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); } .status-dot.red { background: #ff4757; box-shadow: 0 0 10px rgba(255, 71, 87, 0.6); } .status-dot.green { background: #2ed573; box-shadow: 0 0 10px rgba(46, 213, 115, 0.6); } .card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); } .card-link { text-decoration: none; color: inherit; display: block; } .card-img { width: 100%; height: auto; display: block; object-fit: contain; object-position: center; max-width: 100%; max-height: none; } /* 首页专用样式 */ body.index-page { display: flex; align-items: center; justify-content: center; } .index-page .container { text-align: center; width: 100%; max-width: 400px; padding: 20px; } .index-page .site-title { font-size: 28px; font-weight: 700; margin-bottom: 40px; color: white; background: none; -webkit-text-fill-color: white; } .index-page .button-container { display: flex; flex-direction: column; gap: 16px; width: 100%; } .index-page .region-button { display: flex; align-items: center; padding: 20px 24px; border-radius: 12px; text-decoration: none; color: white; font-weight: 500; font-size: 20px; transition: all 0.3s ease; position: relative; overflow: hidden; } .index-page .region-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); } .index-page .japan-button { background: linear-gradient(90deg, #4A90E2, #9B59B6); } .index-page .vietnam-button { background: linear-gradient(90deg, #2ECC71, #1ABC9C); } .index-page .flag-icon { width: 48px; height: 48px; margin-right: 16px; display: flex; align-items: center; justify-content: center; } .index-page .flag-circle { width: 40px; height: 40px; border-radius: 50%; position: relative; } .index-page .japan-flag .flag-circle { background: white; } .index-page .japan-flag .flag-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; background: #DC143C; border-radius: 50%; } .index-page .vietnam-flag .flag-circle { background: #DC143C; } .index-page .vietnam-flag .flag-star { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; background: #FFD700; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); } .index-page .region-text { flex: 1; text-align: left; font-weight: 500; } .index-page .go-button { background: white; color: #333; padding: 12px 20px; border-radius: 8px; font-size: 18px; font-weight: 600; border: none; } .index-page .japan-button .go-button { color: #4A90E2; } .index-page .vietnam-button .go-button { color: #2ECC71; } /* 响应式设计 */ @media (max-width: 480px) { .main-content { padding: 0 16px; } .site-title { font-size: 24px; } .index-page .container { padding: 16px; } .index-page .site-title { font-size: 24px; margin-bottom: 30px; } .index-page .region-button { padding: 18px 18px; font-size: 18px; } .index-page .flag-icon { width: 44px; height: 44px; margin-right: 12px; } .index-page .flag-circle { width: 36px; height: 36px; } .index-page .japan-flag .flag-center { width: 18px; height: 18px; } .index-page .vietnam-flag .flag-star { width: 18px; height: 18px; } } /* 滚动条样式 */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.5); }