display: flex; justify-content: space-between; align-items: center; } .header-left { display: flex; align-items: center; gap: 40px; } .logo-section { display: flex; align-items: center; gap: 15px; } .logo-section img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; } .app-info h1 { margin: 0; font-size: 20px; font-weight: bold; color: #333; } .app-info p { margin: 3px 0 0 0; color: #666; font-size: 12px; } .categories-section { display: flex; gap: 25px; align-items: center; } .category-item { color: #333; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; font-size: 16px; font-weight: 500; padding: 5px 0; border-bottom: 2px solid transparent; } .category-item:hover, .category-item.active { color: #667eea; border-bottom-color: #667eea; } .search-section { flex: 0 0 400px; } .search-box { position: relative; background: #f8f9fa; border-radius: 25px; padding: 8px 15px; border: 1px solid #e9ecef; display: flex; .search-box { position: relative; background: white; border-radius: 20px; padding: 6px 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .search-box input { width: 100%; border: none; outline: none; padding: 6px 35px 6px 12px; font-size: 14px; background: transparent; } .search-box .search-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: #667eea; color: white; border: none; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; } .content-section { max-width: 1200px; margin: 20px auto; padding: 0 20px; } .category-block { background: white; border-radius: 12px; padding: 25px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border: 1px solid #f0f0f0; } .section-title { font-size: 18px; font-weight: bold; margin-bottom: 20px; color: #333; display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; } .section-title img { width: 24px; height: 24px; border-radius: 4px; } .resource-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; } .resource-card { background: #f8f9fa; border-radius: 8px; padding: 15px; transition: all 0.3s ease; border: 1px solid #e9ecef; text-decoration: none; color: inherit; } .resource-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); background: white; } .resource-image { width: 100%; height: 120px; border-radius: 6px; object-fit: cover; margin-bottom: 10px; background: #e9ecef; display: flex; align-items: center; justify-content: center; color: #6c757d; font-size: 12px; text-align: center; padding: 10px; } .resource-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 40px; } .resource-description { font-size: 12px; color: #666; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 34px; } .resource-meta { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e9ecef; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #999; } .resource-time { display: flex; align-items: center; gap: 4px; } .no-resources { text-align: center; padding: 40px; color: #999; font-size: 16px; grid-column: 1 / -1; } /* 响应式设计 */ @media (max-width: 1200px) { .resource-grid { grid-template-columns: repeat(4, 1fr); } } @media (max-width: 768px) { .header-content { flex-direction: column; gap: 15px; } .header-left { flex-direction: column; gap: 15px; width: 100%; } .categories-section { width: 100%; justify-content: center; } .search-section { flex: 1; width: 100%; } .resource-grid { grid-template-columns: repeat(2, 1fr); } .categories { justify-content: flex-start; } } @media (max-width: 480px) { .resource-grid { grid-template-columns: 1fr; } }
星星剧场,你的专属追剧神器!作为专业短剧与网剧搜索分享平台,每日同步更新最新、最齐全的热播资源,实时整理 2025 年热门短剧排行榜与精选免费推荐。轻轻一点,即刻开启沉浸式追剧,精彩绝不错过!